]> sourceware.org Git - glibc.git/blob - ChangeLog
tst-getpw: Rewrite.
[glibc.git] / ChangeLog
1 2015-01-21 Carlos O'Donell <carlos@redhat.com>
2
3 * pwd/tst-getpw.c: Rewrite.
4
5 [BZ #17702]
6 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7 (modules-names): Add moddummy1 and moddummy2.
8 ($(objpfx)tst-rec-dlopen): Define.
9 * dlfcn/moddummy1.c: New file.
10 * dlfcn/moddummy2.c: New file.
11 * dlfcn/tst-rec-dlopen.c: New file.
12 * elf/dl-cache.c (_dl_load_cache_lookup):
13 Return char*. Copy result with alloca/strcpy/strdup.
14 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
15 returns char*. Free cached. If not saving realname
16 free cached.
17 * elf/dl-open.c (dl_open_worker): Do not assert that
18 _r_debug->r_state is RT_CONSISTENT.
19 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
20 returns char*.
21
22 2015-01-21 Torvald Riegel <triegel@redhat.com>
23 Carlos O'Donell <carlos@redhat.com>
24
25 [BZ #12674]
26 * nptl/sem_waitcommon.c: New file.
27 * nptl/sem_wait.c: Include sem_waitcommon.c.
28 (__sem_wait_cleanup, do_futex_wait): Remove.
29 (__new_sem_wait): Adapt.
30 (__new_sem_trywait): New function.
31 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
32 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
33 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
34 (sem_timedwait): Adapt.
35 * nptl/sem_post.c (__new_sem_post): Adapt.
36 (futex_wake): New function.
37 (__old_sem_post): Add release MO fence.
38 * nptl/sem_open.c (sem_open): Adapt.
39 * nptl/sem_init.c (__new_sem_init): Adapt.
40 (futex_private_if_supported): New function.
41 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
42 (__old_sem_getvalue): Add using previous code.
43 * sysdeps/nptl/internaltypes.h: Adapt.
44 * nptl/tst-sem13.c (do_test): Adapt.
45 * nptl/tst-sem11.c (main): Adapt.
46 * nptl/sem_trywait.c: Remove.
47 * nptl/DESIGN-sem.txt: Remove.
48 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
49 (gen-as-const-headers): Remove structsem.sym.
50 * nptl/structsem.sym: Remove.
51 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
52 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
53 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
54 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
55 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
56 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
57 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
58 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
59 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
60 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
61 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
62 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
63 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
64 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
65 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
66 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
67 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
68 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
69 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
70 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
71 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
72 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
73
74 2015-01-20 Carlos O'Donell <carlos@redhat.com>
75
76 * INSTALL: Regenerated.
77
78 * po/libc.pot: Regenerated.
79
80 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
81 Sandra Loosemore <sandra@codesourcery.com>
82 Andrew Jenner <andrew@codesourcery.com>
83 Joseph Myers <joseph@codesourcery.com>
84 Nathan Sidwell <nathan@codesourcery.com>
85
86 * NEWS: Mention new Nios II port.
87 * sysdeps/nios2/Implies: New file.
88 * sysdeps/nios2/Makefile: New file.
89 * sysdeps/nios2/Subdirs: New file.
90 * sysdeps/nios2/Versions: New file.
91 * sysdeps/nios2/__longjmp.S: New file.
92 * sysdeps/nios2/abort-instr.h: New file.
93 * sysdeps/nios2/backtrace.c: New file.
94 * sysdeps/nios2/bits/endian.h: New file.
95 * sysdeps/nios2/bits/fenv.h: New file.
96 * sysdeps/nios2/bits/link.h: New file.
97 * sysdeps/nios2/bits/setjmp.h: New file.
98 * sysdeps/nios2/bsd-_setjmp.S: New file.
99 * sysdeps/nios2/bsd-setjmp.S: New file.
100 * sysdeps/nios2/configure: New generated file.
101 * sysdeps/nios2/configure.ac: New file.
102 * sysdeps/nios2/crti.S: New file.
103 * sysdeps/nios2/crtn.S: New file.
104 * sysdeps/nios2/dl-init.c: New file.
105 * sysdeps/nios2/dl-machine.h: New file.
106 * sysdeps/nios2/dl-sysdep.h: New file.
107 * sysdeps/nios2/dl-tls.h: New file.
108 * sysdeps/nios2/dl-trampoline.S: New file.
109 * sysdeps/nios2/gccframe.h: New file.
110 * sysdeps/nios2/gmp-mparam.h: New file.
111 * sysdeps/nios2/jmpbuf-offsets.h: New file.
112 * sysdeps/nios2/jmpbuf-unwind.h: New file.
113 * sysdeps/nios2/ldsodefs.h: New file.
114 * sysdeps/nios2/libc-tls.c: New file.
115 * sysdeps/nios2/libm-test-ulps: New file.
116 * sysdeps/nios2/machine-gmon.h: New file.
117 * sysdeps/nios2/math-tests.h: New file.
118 * sysdeps/nios2/math_private.h: New file.
119 * sysdeps/nios2/memusage.h: New file.
120 * sysdeps/nios2/nptl/Makefile: New file.
121 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
122 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
123 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
124 * sysdeps/nios2/nptl/pthreaddef.h: New file.
125 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
126 * sysdeps/nios2/nptl/tls.h: New file.
127 * sysdeps/nios2/preconfigure: New file.
128 * sysdeps/nios2/s_fma.c: New file.
129 * sysdeps/nios2/s_fmaf.c: New file.
130 * sysdeps/nios2/setjmp.S: New file.
131 * sysdeps/nios2/sfp-machine.h: New file.
132 * sysdeps/nios2/sotruss-lib.c: New file.
133 * sysdeps/nios2/stackguard-macros.h: New file.
134 * sysdeps/nios2/stackinfo.h: New file.
135 * sysdeps/nios2/start.S: New file.
136 * sysdeps/nios2/sysdep.h: New file.
137 * sysdeps/nios2/tls-macros.h: New file.
138 * sysdeps/nios2/tst-audit.h: New file.
139 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
140 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
141 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
142 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
143 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
144 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
145 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
146 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
147 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
148 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
149 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
150 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
151 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
152 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
153 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
154 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
155 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
156 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
157 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
158 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
159 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
160 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
161 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
162 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
163 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
164 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
165 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
166 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
167 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
168 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
169 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
170 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
171 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
172 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
173 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
174 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
175 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
176 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
177 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
178 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
179 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
180 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
181 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
182 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
183
184 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
185
186 [BZ #17844]
187 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
188 (getutent): Use weak_alias in non SHARED case
189 and default_symbol_version in SHARED case.
190 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
191 (getutent_r, pututline): Likewise.
192 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
193 (getutid): Likewise.
194 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
195 (getutid_r): Likewise.
196 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
197 (getutline): Likewise.
198 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
199 (getutline_r): Likewise.
200 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
201 (updwtmp): Likewise.
202
203 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
204
205 [BZ #17848]
206 * sysdeps/s390/s390-32/memcmp.S
207 (memcmp_g5): Rename to __memcmp_g5.
208 * sysdeps/s390/s390-32/memcpy.S
209 (memcpy_g5): Rename to __memcpy_g5.
210 Jump to __memcpy_mvcle instead of memcpy_mvcle.
211 (memcpy_mvcle) Rename to __memcpy_mvcle.
212 * sysdeps/s390/s390-32/memset.S
213 (memset_g5): Rename to __memset_g5.
214 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
215 (IFUNC_RESOLVE): Prefix ifunc-resolve function
216 and use prefixed functions.
217 * sysdeps/s390/s390-32/multiarch/memcmp.S
218 (memcmp_z196): Rename to __memcmp_z196.
219 (memcmp_z10): Rename to __memcmp_z10.
220 (memcmp): Set alias to __memcmp_g5.
221 (bcmp): Set alias to __memcmp_g5.
222 * sysdeps/s390/s390-32/multiarch/memcpy.S
223 (memcpy_z196): Rename to __memcpy_z196.
224 Jump to __memcpy_mvcle instead of memcpy_mvcle.
225 (memcpy_z10): Rename to __memcpy_z10.
226 Jump to __memcpy_mvcle instead of memcpy_mvcle.
227 (memcpy): Set alias to __memcpy_g5.
228 * sysdeps/s390/s390-32/multiarch/memset.S
229 (memset_z196): Rename to __memset_z196.
230 Jump to __memset_mvcle instead of memset_mvcle.
231 (memset_z10): Rename to __memset_z10.
232 Jump to __memset_mvcle instead of memset_mvcle.
233 (memset_mvcle) Rename to __memset_mvcle.
234 (memset): Set alias to __memset_g5.
235 * sysdeps/s390/s390-64/memcmp.S
236 (memcmp_z900): Rename to __memcmp_z900.
237 * sysdeps/s390/s390-64/memcpy.S
238 (memcpy_z900): Rename to __memcpy_z900.
239 Jump to __memcpy_mvcle instead of memcpy_mvcle.
240 (memcpy_mvcle) Rename to __memcpy_mvcle.
241 * sysdeps/s390/s390-64/memset.S
242 (memset_z900): Rename to __memset_z900.
243 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
244 (IFUNC_RESOLVE): Prefix ifunc-resolve function
245 and use prefixed functions.
246 * sysdeps/s390/s390-64/multiarch/memcmp.S
247 (memcmp_z196): Rename to __memcmp_z196.
248 (memcmp_z10): Rename to __memcmp_z10.
249 (memcmp): Set alias to __memcmp_z900.
250 (bcmp): Set alias to __memcmp_z900.
251 * sysdeps/s390/s390-64/multiarch/memcpy.S
252 (memcpy_z196): Rename to __memcpy_z196.
253 Jump to __memcpy_mvcle instead of memcpy_mvcle.
254 (memcpy_z10): Rename to __memcpy_z10.
255 Jump to __memcpy_mvcle instead of memcpy_mvcle.
256 (memcpy): Set alias to __memcpy_z900.
257 * sysdeps/s390/s390-64/multiarch/memset.S
258 (memset_z196): Rename to __memset_z196.
259 Jump to __memset_mvcle instead of memset_mvcle.
260 (memset_z10): Rename to __memset_z10.
261 Jump to __memset_mvcle instead of memset_mvcle.
262 (memset_mvcle) Rename to __memset_mvcle.
263 (memset): Set alias to __memset_z900.
264
265 2015-01-14 Joseph Myers <joseph@codesourcery.com>
266
267 [BZ #17748]
268 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
269 __fesetenv instead of fesetenv.
270
271 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
272
273 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
274 macro.
275
276 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
277
278 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
279 regression on LE.
280
281 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
282 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
283 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
284 strncmp-power8 object.
285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
286 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
287 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
288 * NEWS: Update.
289
290 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
291 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
292
293 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
294 trailing byte check.
295
296 2015-01-13 David S. Miller <davem@davemloft.net>
297
298 * include/signal.h (__sigreturn): Guard with __USE_MISC.
299
300 2015-01-13 Roland McGrath <roland@hack.frob.com>
301
302 * login/logout.c (logout): Use memset rather than bzero.
303 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
304 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
305 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
306 (_gethtbyaddr): Likewise.
307 * locale/programs/simple-hash.c (bcopy): Macro removed.
308
309 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
310
311 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
312 Add strcmp-power8 object.
313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
314 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
315 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
316 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
317 __strcmp_power8 implementation.
318 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
319 * NEWS: Update.
320
321 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
322 Add strncpy-power8 and stpncpy-power8 objects.
323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
324 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
325 implementations.
326 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
327 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
328 __stpncpy_power8 implementation.
329 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
330 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
331 __strncpy_power8 implementation.
332 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
333 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
334 * NEWS: Update.
335
336 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
337 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
338 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
339
340 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
341 strncat-power8 object.
342 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
343 __strcat_power8 implementation.
344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
345 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
346 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
347 optimized strcat for power8.
348
349 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
350 strcpy-power8 and stpcpy-power8 objects.
351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
352 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
353 implementations.
354 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
355 multiarch stpcpy implementation for POWER8.
356 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
357 multiarch strcpy implementation for POWER8.
358 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
359 __strcpy_power8 function.
360 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
361 stpcpy for POWER8.
362 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
363 strcpy for POWER8.
364 * NEWS: Update.
365
366 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
367
368 [BZ #16009]
369 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
370 weights and rules. Use do_xfrm_cached if data fits in cache,
371 do_xfrm otherwise. Moved former main loop to...
372 * (do_xfrm_cached): New function.
373 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
374 find_idx, find_position and stack_push.
375 * (find_idx): New function.
376 * (find_position): Likewise.
377 * localedata/sort-test.sh: Added test run for do_xfrm.
378 * localedata/xfrm-test.c (main): Added command line option
379 -nocache to run the test with strings that are too large for
380 the STRXFRM cache.
381
382 2015-01-13 Torvald Riegel <triegel@redhat.com>
383
384 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
385 variable to lll_futex_wake call, not the value itself.
386
387 2015-01-12 Joseph Myers <joseph@codesourcery.com>
388
389 [BZ #17803]
390 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
391 twom64. Adjust value to 0x1p-64L.
392 (__scalblnl): Only return standard underflowing result for K <=
393 -64 not K <= -63; adjust exponent for underflowing result by 64
394 not 63.
395 * math/libm-test.inc (scalbn_test_data): Add more tests.
396 (scalbln_test_data): Likewise.
397
398 [BZ #17834]
399 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
400 0x1p63L.
401 (__scalblnl): Get new exponent of adjusted subnormal value from ES
402 not HX.
403 * math/libm-test.inc (scalbn_test_data): Add more tests.
404 (scalbln_test_data): Likewise.
405
406 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
407 Stefani Seibold <stefani@seibold.net>
408
409 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
410 (sysdep_routines): Add dl-vdso here, ...
411 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
412 (sysdep_routines): ... not here.
413 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
414 fallback when vDSO is not presented.
415 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
416 Define with libc_hidden_proto/libc_hidden_data_def definitions.
417 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
418 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
419 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
420 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
421 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
422 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
423 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
424 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
425 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
426 fallback configurable symbol when vDSO is not available.
427 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
428 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
429 be able to redefine fallback symbol when vDSO is not available.
430 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
431 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
432
433 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
434
435 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
436 (TLS_INIT_TP): Add tm_capable initialization.
437 (TLS_DEFINE_INIT_TP): Likewise.
438 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
439 TCB.
440 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
441 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
442 calculation.
443 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
444 transactoion is lock elision is built and TCB tm_capable is set.
445 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
447 (INTERNAL_SYSCALL_NCS): Likewise.
448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
449 (INTERNAL_SYSCALL_NCS): Likewise.
450 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
451
452 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
453 for powerpc.
454 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
455 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
456 and remove it for 32 bits case.
457 [pthread_rwlock_t] (__rwelision): New field for lock elision.
458 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
459 initialization.
460 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
461 Disable lock elision with rdlocks if elision is not available.
462
463 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
464 (sysdep_routines): Add lock elision objects.
465 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
466 [pthread_mutex_t] (__spins): Rework to add lock elision field.
467 [pthread_mutex_t] (__elision): Add field.
468 [__PTHREAD_SPINS]: Adjust to init lock elision field.
469 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
470 elision definitions for powerpc.
471 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
472 implementation of lock elision for powerpc.
473 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
474 implementation of timed lock elision for powerpc.
475 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
476 implementation of trylock with lock elision for powerpc.
477 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
478 implementaion of unlock for lock elision for powerpc.
479 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
480 automatic enable lock elision for mutexes.
481 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
482 transaction execution definitions for powerpc.
483 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
484 definitions.
485 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
486 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
487 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
488 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
489 * NEWS: Update.
490
491 2015-01-09 Roland McGrath <roland@hack.frob.com>
492
493 * sysdeps/posix/shm-directory.c: Use <> rather than ""
494 for #include of <shm-directory.h>.
495
496 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
497
498 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
499 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
500
501 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
502
503 [BZ #17791]
504 * NEWS: Mention bug fix.
505 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
506 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
507 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
508
509 2015-01-09 Torvald Riegel <triegel@redhat.com>
510
511 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
512
513 2015-01-09 Torvald Riegel <triegel@redhat.com>
514
515 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
516
517 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
518
519 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
520 pointer and cast to uintptr_t.
521
522 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
523
524 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
525 removed.
526 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
527
528 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
529
530 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
531 of 0.
532
533 2015-01-08 Roland McGrath <roland@hack.frob.com>
534
535 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
536 <nptl/pthreadP.h> instead.
537 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
538
539 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
540 already defined.
541 [__SIGRTMIN] (init): Function removed.
542 [__SIGRTMIN] (initialized): Variable removed.
543 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
544 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
545 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
546 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
547 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
548 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
549 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
550 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
551 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
552 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
553 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
554 * sysdeps/nptl/allocrtsig.c: New file.
555 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
556 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
557 * sysdeps/generic/testrtsig.h: File removed.
558
559 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
560 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
561
562 * nptl/nptl-init.c (pthread_functions): Conditionalize
563 .ptr__nptl_setxid initialization on [SIGSETXID].
564
565 * sysdeps/nptl/sys/procfs.h: New file.
566 * nptl_db/Makefile (headers): Add it.
567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
568
569 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
570 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
571 * nptl/pthread_attr_setaffinity.c: Include it.
572 * nptl/pthread_setattr_default_np.c: Likewise.
573 * nptl/check-cpuset.h: New file.
574
575 2015-01-08 Richard Henderson <rth@redhat.com>
576
577 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
578 (CFLAGS-tst-execstack-prog.c): Likewise.
579 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
580
581 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
582 Sandra Loosemore <sandra@codesourcery.com>
583 Andrew Jenner <andrew@codesourcery.com>
584 Joseph Myers <joseph@codesourcery.com>
585 Nathan Sidwell <nathan@codesourcery.com>
586
587 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
588 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
589 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
590 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
591 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
592 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
593 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
594 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
595 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
596 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
597 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
598 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
599 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
600 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
601 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
602 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
603 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
604
605 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
606
607 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
608 timespec struct member in syscall macro.
609 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
610 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
611 first timeval struct member in syscall macro.
612 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
613
614 2015-01-07 Joseph Myers <joseph@codesourcery.com>
615
616 [BZ #17748]
617 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
618 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
619 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
620 __feupdateenv and define as weak alias of __feupdateenv. Use
621 libm_hidden_weak.
622 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
623 libm_hidden_def.
624 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
625 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
626 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
627 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
628 libm_hidden_def.
629 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
630 __feupdateenv and define as weak alias of __feupdateenv. Use
631 libm_hidden_weak.
632 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
633 libm_hidden_def.
634 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
635 __feupdateenv and define as weak alias of __feupdateenv. Use
636 libm_hidden_weak.
637 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
638 libm_hidden_def.
639 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
640 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
641 (__feupdateenv): Likewise.
642 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
643 __feupdateenv and define as weak alias of __feupdateenv. Use
644 libm_hidden_weak.
645 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
646 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
647 libm_hidden_def.
648 * sysdeps/tile/math_private.h (__feupdateenv): New inline
649 function.
650 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
651 libm_hidden_def.
652 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
653 __feupdateenv instead of feupdateenv.
654 (default_libc_feupdateenv_test): Likewise.
655 (libc_feresetround_ctx): Likewise.
656
657 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
658
659 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
660 prototype.
661
662 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
663
664 * posix/regcomp.c (parse_bracket_exp): Initialize type to
665 COLL_SYM in a couple of places to avoid uninitialized variable
666 wanings on tilegx gcc 4.8.2.
667
668 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
669
670 * sysdeps/aarch64/strcpy.S: New file.
671 * sysdeps/aarch64/stpcpy.S: New file.
672 * NEWS: Updated.
673
674 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
675
676 * sysdeps/aarch64/strrchr.S: New file.
677 * NEWS: Updated.
678
679 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
680
681 [BZ #17658]
682 * stdlib/setenv.c: Fix memory leak when setting large,
683 duplicate string.
684
685 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
686
687 [BZ #17273]
688 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
689 and tabs from buffer before parsing fstab entry.
690 * misc/tst-mntent.c (main): Add test for mount entry with
691 trailing spaces and tabs.
692
693 2015-01-06 Joseph Myers <joseph@codesourcery.com>
694
695 [BZ #17748]
696 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
697 * math/fesetround.c (fesetround): Rename to __fesetround and
698 define as weak alias of __fesetround. Use libm_hidden_weak.
699 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
700 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
701 * sysdeps/arm/fesetround.c (fesetround): Likewise.
702 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
703 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
704 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
705 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
706 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
707 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
708 __fesetround_inline.
709 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
710 __fesetround_inline instead of __fesetround.
711 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
712 __fesetround and define as weak alias of __fesetround. Use
713 libm_hidden_weak. Call __fesetround_inline instead of
714 __fesetround.
715 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
716 __fesetround and define as weak alias of __fesetround. Use
717 libm_hidden_weak.
718 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
719 Likewise.
720 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
721 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
722 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
723 * sysdeps/tile/math_private.h (__fesetround): New inline function.
724 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
725 __fesetround and define as weak alias of __fesetround. Use
726 libm_hidden_weak.
727 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
728 __fesetround instead of fesetround.
729 (default_libc_feholdexcept_setround): Likewise.
730 (libc_feholdsetround_ctx): Likewise.
731 (libc_feholdsetround_noex_ctx): Likewise.
732
733 [BZ #17748]
734 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
735 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
736 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
737 and define as weak alias of __fesetenv. Use libm_hidden_weak.
738 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
739 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
740 define as weak alias of __fesetenv. Use libm_hidden_weak.
741 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
742 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
743 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
744 define as weak alias of __fesetenv. Use libm_hidden_weak.
745 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
746 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
747 define as weak alias of __fesetenv. Use libm_hidden_weak.
748 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
749 libm_hidden_def.
750 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
751 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
752 Likewise.
753 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
754 define as weak alias of __fesetenv. Use libm_hidden_weak.
755 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
756 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
757 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
758 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
759 and define as weak alias of __fesetenv. Use libm_hidden_weak.
760 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
761 __fesetenv instead of fesetenv.
762 (libc_feresetround_noex_ctx): Likewise.
763 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
764 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
765 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
766 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
767 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
768 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
769 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
770 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
771 (__feupdateenv): Likewise.
772 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
773 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
774 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
775 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
776
777 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
778
779 [BZ #17806]
780 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
781 addresses have been freed.
782
783 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
784
785 * resolv/res_init.c (__res_vinit): Improve comments about nserv
786 and nservall.
787
788 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
789
790 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
791 Clean up check_pf allocation pattern. addresses
792
793 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
794
795 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
796 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
797 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
798 * nptl/pthread_exit.c (__pthread_exit): Likewise.
799 * nptl/pthread_join.c (pthread_join): Likewise.
800 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
801 * sysdeps/posix/waitid.c (__waitid): Likewise.
802 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
803 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
804 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
805 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
806 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
807 Likewise.
808 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
809 (__libc_pread64): Likewise.
810 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
811 (__libc_pwrite): Likewise.
812 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
813 (__libc_pwrite64): Likewsie.
814 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
815 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
816 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
817 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
818 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
819 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
820 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
822 Likewise.
823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
824 (__libc_pread64): Likewise.
825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
826 Likewise.
827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
828 (__libc_pwrite64): Likewise.
829 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
830 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
831 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
832 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
833 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
834 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
835 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
836 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
837 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
838 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
839 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
840 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
841 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
842 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
843 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
844 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
845 Likewise.
846
847 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
848
849 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
850 (CFLAGS-test-double.c): Likewise.
851 (CFLAGS-test-ldouble.c): Likewise.
852 (CPPFLAGS-test-ifloat.c): Likewise.
853 (CPPFLAGS-test-idouble.c): Likewise.
854 (CPPFLAGS-test-ildoubl.c): Likewise.
855 (CFLAGS-test-test-fenv.c): Remove variable.
856 (CFLAGS-test-misc.c): Likewise.
857
858 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
859
860 [BZ #17797]
861 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
862 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
863 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
864 CLOCKS_PER_SEC == 1000000.
865 * time/clocktest.c (main): Replace %ld with %jd and cast to
866 intmax_t.
867
868 2015-01-05 Roland McGrath <roland@hack.frob.com>
869
870 * sysdeps/generic/unwind-resume.h: New file.
871 * sysdeps/gnu/unwind-resume.c: Include it.
872 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
873 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
874 argument list.
875 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
876 global rather than static.
877 (_Unwind_Resume): Update user.
878 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
879 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
880 rather than static. Add __attribute__ ((cold)).
881 (_Unwind_Resume, __gcc_personality_v0): Update callers.
882 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
883 * sysdeps/arm/arm-unwind-resume.S: New file.
884 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
885 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
886 * sysdeps/arm/Makefile [$(subdir) = csu]
887 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
888 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
889 Add rt-arm-unwind-resume.
890 [$(subdir) = nptl]
891 (libpthread-sysdep_routines, libpthread-shared-only-routines):
892 Add pt-arm-unwind-resume.
893 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
894 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
895
896 2015-01-05 Joseph Myers <joseph@codesourcery.com>
897
898 [BZ #17748]
899 * include/fenv.h (__feholdexcept): Declare. Use
900 libm_hidden_proto.
901 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
902 define as weak alias of __feholdexcept. Use libm_hidden_weak.
903 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
904 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
905 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
906 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
907 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
908 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
909 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
910 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
911 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
912 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
913 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
914 (feholdexcept): Likewise.
915 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
916 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
917 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
918 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
919 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
920 __feholdexcept instead of feholdexcept.
921 (default_libc_feholdexcept_setround): Likewise.
922
923 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
924
925 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
926 to avoid using stl/str to align destination.
927
928 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
929
930 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
931
932 2015-01-05 Joseph Myers <joseph@codesourcery.com>
933
934 [BZ #17796]
935 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
936 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
937 Define as weak alias not strong alias.
938
939 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
940
941 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
942 bltzal with addiupc.
943 (RTLD_START): Ditto.
944
945 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
946
947 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
948 for __vdso_* functions in declarations.
949 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
950 definitions.
951 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
952 INTERNAL_VSYSCALL): Use struct return types to check for error.
953
954 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
955 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
956 function with cast from llround().
957 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
958 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
959 Define.
960
961 2015-01-05 Joseph Myers <joseph@codesourcery.com>
962
963 [BZ #17793]
964 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
965 Define as weak alias not strong alias.
966
967 [BZ #17635]
968 * ctype/ctype-c99.c: New file. isblank implementation moved from
969 ...
970 * ctype/ctype-extn.c: ... here.
971 (__isblank_l): Move to ...
972 * ctype/ctype-c99_l.c: ... here. New file.
973 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
974 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
975 Remove variable.
976 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
977 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
978 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
979 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
980 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
981
982 [BZ #17777]
983 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
984 (posix_fadvise64): Define as weak alias not strong alias.
985 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
986 (posix_fallocate64): Likewise.
987 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
988 Remove variable.
989 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
990 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
991 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
992 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
993 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
994
995 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
996
997 [BZ #16191]
998 * NEWS: Mention bug fix.
999 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1000 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1001 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1002 (HOST_STACK_END_ADDR): Likewise.
1003
1004 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1005
1006 [BZ #17748]
1007 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1008 * math/fegetround.c (fegetround): Rename to __fegetround and
1009 define as weak alias of __fegetround. Use libm_hidden_weak.
1010 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1011 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1012 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1013 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1014 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1015 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1016 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1017 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1018 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1019 Undefine after rather than before function definition; use
1020 parentheses around function name in definition.
1021 (__fegetround): Also undefine macro after function definition.
1022 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1023 __fegetround and define as weak alias of __fegetround. Use
1024 libm_hidden_weak. Do not undefine as macro.
1025 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1026 Likewise.
1027 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1028 __fegetround and define as weak alias of __fegetround. Use
1029 libm_hidden_weak.
1030 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1031 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1032 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1033 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1034 __fegetround and define as weak alias of __fegetround. Use
1035 libm_hidden_weak.
1036 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1037 __fegetround instead of fegetround.
1038
1039 [BZ #17782]
1040 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1041 Condition macro definition on [__USE_MISC].
1042
1043 [BZ #17781]
1044 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1045 (struct sigaction): Change type of sa_flags field to int.
1046
1047 [BZ #17780]
1048 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1049 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1050 __glibc_reserved0.
1051
1052 * nptl/version.c (banner): Use single year in copyright notice.
1053
1054 * NEWS: Update copyright dates.
1055 * catgets/gencat.c (print_version): Likewise.
1056 * csu/version.c (banner): Likewise.
1057 * debug/catchsegv.sh: Likewise.
1058 * debug/pcprofiledump.c (print_version): Likewise.
1059 * debug/xtrace.sh (do_version): Likewise.
1060 * elf/ldconfig.c (print_version): Likewise.
1061 * elf/ldd.bash.in: Likewise.
1062 * elf/pldd.c (print_version): Likewise.
1063 * elf/sotruss.sh: Likewise.
1064 * elf/sprof.c (print_version): Likewise.
1065 * iconv/iconv_prog.c (print_version): Likewise.
1066 * iconv/iconvconfig.c (print_version): Likewise.
1067 * locale/programs/locale.c (print_version): Likewise.
1068 * locale/programs/localedef.c (print_version): Likewise.
1069 * login/programs/pt_chown.c (print_version): Likewise.
1070 * malloc/memusage.sh (do_version): Likewise.
1071 * malloc/memusagestat.c (print_version): Likewise.
1072 * malloc/mtrace.pl: Likewise.
1073 * manual/libc.texinfo: Likewise.
1074 * nptl/version.c (banner): Likewise.
1075 * nscd/nscd.c (print_version): Likewise.
1076 * nss/getent.c (print_version): Likewise.
1077 * nss/makedb.c (print_version): Likewise.
1078 * posix/getconf.c (main): Likewise.
1079 * scripts/test-installation.pl: Likewise.
1080 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1081
1082 2015-01-02 Will Newton <will.newton@linaro.org>
1083
1084 * sysdeps/arm/armv7/configure: Removed.
1085 * sysdeps/arm/armv7/configure.ac: Likewise.
1086
1087 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1088
1089 * All files with FSF copyright notices: Update copyright dates
1090 using scripts/update-copyrights.
1091 * intl/plural.c: Regenerated.
1092 * locale/programs/charmap-kw.h: Likewise.
1093 * locale/programs/locfile-kw.h: Likewise.
1094
1095 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1096
1097 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1098
1099 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1100
1101 [BZ #17748]
1102 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1103 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1104 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1105 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1106 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1107 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1108 define as weak alias of __fegetenv. Use libm_hidden_weak.
1109 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1110 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1111 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1112 define as weak alias of __fegetenv. Use libm_hidden_weak.
1113 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1114 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1115 define as weak alias of __fegetenv. Use libm_hidden_weak.
1116 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1117 libm_hidden_def.
1118 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1119 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1120 Likewise.
1121 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1122 define as weak alias of __fegetenv. Use libm_hidden_weak.
1123 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1124 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1125 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1126 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1127 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1128 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1129 __fegetenv instead of fegetenv.
1130 (libc_feholdsetround_noex_ctx): Likewise.
1131
1132 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1133
1134 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1135 (Elf_MIPS_ABIFlags_v0): New structure.
1136 (EF_MIPS_FP64): Define.
1137 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1138 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1139 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1140 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1141 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1142 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1143 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1144 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1145 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1146 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1147 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1148 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1149 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1150 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1151 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1152 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1153 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1154 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1155 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1156 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1157 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1158 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1159 field.
1160 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1161 EF_MIPS_FP64.
1162 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1163 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1164 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1165 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1166 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1167 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1168 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1169 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1170 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1171 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1172 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1173 record the current FP ABI extension.
1174 (mips-mode-switch): Define to show if kernel headers support mode
1175 switching.
1176 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1177 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1178 supported SYSV ABI version to 3.
1179 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1180 feature.
1181
1182 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1183 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1184
1185 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1186 path.
1187 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1188
1189 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1190
1191 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1192 __fegetround and redefine to call __fegetround. Remove condition
1193 on [!__NO_MATH_INLINES].
1194 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1195 function.
1196 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1197 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1198 Remove macro.
1199 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1200 instead of <fenv_libc.h>.
1201 (__llrintl): Call fegetround instead of __fegetround.
1202 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1203 instead of <fenv_libc.h>.
1204 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1205 (__lrintl): Call fegetround instead of __fegetround.
1206 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1207 instead of <fenv_libc.h>.
1208 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1209 (__rintl): Call fegetround instead of __fegetround.
1210
1211 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1212
1213 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1214 arrays.
1215
1216 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1217
1218 [BZ #17775]
1219 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1220 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1221 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1222
1223 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1224
1225 * sysdeps/i386/tls-macros.h: Include <features.h>.
1226 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1227 (TLS_IE): Likewise.
1228 (TLS_LD): Likewise.
1229 (TLS_GD): Likewise.
1230 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1231 define for GCC >= 5.0.
1232
1233 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1234
1235 * math/test-fenv.c (test_single_exception, set_single_exc,
1236 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1237 feexcp_mask_test, feenable_test, fe_single_test): Add
1238 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1239 case where they are not used.
1240 * math/libm-test.inc: Likewise.
1241 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1242 unused in the absence of FP rounding/exception support.
1243 * stdio-common/tst-printf-round.c: Likewise.
1244 * stdlib/tst-strtod-round.c: Likewise.
1245 * stdlib/tst-strtod-underflow.c: Likewise.
1246
1247 2014-12-30 Joseph Myers <joseph@codesourcery.com>
1248
1249 [BZ #17723]
1250 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1251 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1252 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1253 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1254 libm_hidden_weak.
1255 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1256 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1257 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1258 libm_hidden_def.
1259 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1260 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1261 libm_hidden_weak.
1262 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1263 Likewise.
1264 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1265 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1266 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1267 libm_hidden_weak.
1268 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1269 libm_hidden_def.
1270 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1271 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1272 (__feraiseexcept): Likewise.
1273 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1274 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1275 libm_hidden_weak.
1276 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1277 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1278 libm_hidden_def.
1279 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1280 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1281 Use libm_hidden_def.
1282 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1283 libm_hidden_def.
1284 (feraiseexcept): Define as weak not strong alias. Use
1285 libm_hidden_weak.
1286 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1287 New inline function. Factored out of ...
1288 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1289 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1290 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1291 feraiseexcept.
1292 * math/w_acos.c (__acos): Likewise.
1293 * math/w_asin.c (__asin): Likewise.
1294 * math/w_ilogb.c (__ilogb): Likewise.
1295 * math/w_j0.c (y0): Likewise.
1296 * math/w_j1.c (y1): Likewise.
1297 * math/w_jn.c (yn): Likewise.
1298 * math/w_log.c (__log): Likewise.
1299 * math/w_log10.c (__log10): Likewise.
1300 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1301 * sysdeps/aarch64/fpu/math_private.h
1302 (libc_feupdateenv_test_aarch64): Likewise.
1303 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1304 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1305 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1306 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1307 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1308 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1309 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1310 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1311 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1312 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1313
1314 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1315
1316 [BZ #17732]
1317 * io/test-utime.c (main): Replace %ld with %jd and cast to
1318 intmax_t.
1319 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1320 * nptl/tst-mutex5.c: Include <stdint.h>.
1321 (do_test): Replace %ld with %jd and cast to intmax_t.
1322 * posix/tst-regex.c (run_test): Likewise.
1323 (run_test_backwards): Likewise.
1324 * rt/tst-clock.c: Include <stdint.h>.
1325 (clock_test): Replace %ld with %jd and cast to intmax_t.
1326 * rt/tst-cpuclock1.c: Include <stdint.h>.
1327 (do_test): Replace %lu with %ju and cast to uintmax_t.
1328 * rt/tst-cpuclock2.c: Include <stdint.h>.
1329 (do_test): Replace %lu with %ju and cast to uintmax_t.
1330 * rt/tst-mqueue1.c: Include <stdint.h>.
1331 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1332 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1333 intmax_t.
1334 * rt/tst-mqueue4.c (do_test): Likewise.
1335 * rt/tst-timer4.c: Include <stdint.h>.
1336 (check_ts): Replace %ld with %jd and cast to intmax_t.
1337 (do_test): Likewise.
1338 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1339 and cast to intmax_t.
1340 * sysdeps/pthread/tst-timer.c (main): Likewise.
1341 * time/clocktest.c (main): Likewise.
1342 * time/tst-posixtz.c (do_test): Likewise.
1343 * timezone/tst-timezone.c (main): Likewise.
1344
1345 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1346 H.J. Lu <hongjiu.lu@intel.com>
1347
1348 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1349 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1350 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1351 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1352 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1353 version if bit_Fast_Unaligned_Load is set.
1354 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1355 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1356 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1357 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1358 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1359 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1360 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1361 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1362 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1363 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1364 to 4.
1365 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1366 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1367 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1368 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1369
1370 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1371
1372 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1373 instead of #if to avoid a Wundef warning.
1374 * stdlib/tst-limits.c (do_test): Likewise.
1375
1376 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1377 parallel other exception macros.
1378 (fegetenv): Convert from macro to extern inline so that it applies
1379 retroactively to inline functions already seen by the compiler.
1380 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1381
1382 * posix/Makefile (before-compile): Use $(objpfx) for
1383 posix-conf-vars-def.h.
1384
1385 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1386
1387 * posix/getconf.c (main): Use size_t for type of I.
1388 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1389 NSPEC.
1390
1391 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1392 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1393 * posix/posix-envs.def: Likewise.
1394 * sysdeps/posix/sysconf.c: Likewise.
1395 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1396 (specs): Remove array.
1397 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1398 array.
1399
1400 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1401 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1402 (__sysconf): Use CONF_IS_* macros.
1403
1404 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1405 ($(objpfx)posix-conf-vars-def.h): New target.
1406 * posix/posix-conf-vars.list: New file.
1407 * posix/posix-conf-vars.h: New file.
1408 * posix/confstr.c: Include posix-conf-vars.h.
1409 (confstr): Use CONF_IS_* macros.
1410 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1411 CONF_IS_* macros.
1412 * scripts/gen-posix-conf-vars.awk: New file.
1413
1414 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1415
1416 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1417 fegetround): Add no-op macros to avoid linknamespace issues.
1418
1419 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1420 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1421
1422 * sysdeps/unix/sysv/linux/tile/sysdep.h
1423 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1424 assembly-specific section to avoid a redefinition warning.
1425
1426 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1427 long before casting to pointer to avoid a cast warning.
1428
1429 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1430
1431 * sysdeps/tile/tilegx/Implies: New file.
1432
1433 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
1434
1435 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1436
1437 2014-12-23 Florian Weimer <fweimer@redhat.com>
1438
1439 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1440
1441 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1442
1443 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1444 not define.
1445 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1446 <kernel-features.h>.
1447 (__utimes) [__NR_utimes]: Make code unconditional.
1448 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1449 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1450 (__ASSUME_UTIMES): Do not undefine.
1451 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1452 (__ASSUME_UTIMES): Likewise.
1453 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1454 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1455 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1456 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1457
1458 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1459
1460 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1461
1462 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1463
1464 [BZ #17747]
1465 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1466 alias to weak alias for j0l, y0l.
1467 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1468 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1469
1470 [BZ #17746]
1471 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1472 conversion.
1473
1474 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1475
1476 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1477 to zero if not already defined.
1478
1479 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1480
1481 [BZ #17724]
1482 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1483 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1484 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1485 (char *) casts added.
1486 * sysdeps/ieee754/k_standardf.c: New file.
1487 * sysdeps/ieee754/k_standardl.c: Likewise.
1488 * math/Makefile (libm-support): Remove k_standard.
1489 (libm-calls): Add k_standard.
1490
1491 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1492
1493 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1494 Optimize to avoid an unnecessary FPCR read.
1495
1496 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1497
1498 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1499 Optimize to reduce FPCR/FPSR accesses.
1500
1501 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1502
1503 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1504 Call libc_fetestexcept_aarch64.
1505
1506 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1507
1508 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1509 Call libc_fesetround_aarch64.
1510
1511 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1512
1513 [BZ #17733]
1514 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1515 (__bind): Do not define as weak alias.
1516 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1517 define.
1518 (__getsockname): Do not define as weak alias.
1519
1520 2014-12-22 Will Newton <will.newton@linaro.org>
1521
1522 * manual/install.texi: Document that we require bison 2.7
1523 or above.
1524 * INSTALL: Regenerate.
1525 * configure.ac: Use AC_CHECK_PROG_VER instead of
1526 AC_PATH_PROG when checking for bison and check for
1527 version 2.7 or above.
1528 * configure: Regenerate.
1529
1530 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1531
1532 [BZ #17745]
1533 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1534 * sysdeps/tile/ffsll.c (ffsll): To here.
1535
1536 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1537
1538 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1539
1540 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1541 if not defined.
1542 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1543 definition.
1544 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1545 hidden ___tls_get_addr.
1546 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1547 hidden __tls_get_addr.
1548 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1549 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1550 Likewise.
1551
1552 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1553
1554 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1555 _dl_init call.
1556
1557 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1558
1559 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1560 from "call _dl_init@PLT".
1561 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1562
1563 2014-12-21 Anders Kaseorg <andersk@mit.edu>
1564
1565 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1566 guarantees.
1567
1568 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1569
1570 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1571
1572 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1573
1574 [BZ #17744]
1575 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1576 strnlen.
1577
1578 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1579
1580 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1581 of multu on MIPSr6.
1582 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1583 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1584 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1585 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1586 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1587
1588 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1589
1590 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1591 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1592 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1593 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1594 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1595 mips32r6/mips64r6.
1596 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1597
1598 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
1599
1600 * string/strncat.c (STRNCAT): Simplify implementation.
1601
1602 2014-12-19 David S. Miller <davem@davemloft.net>
1603
1604 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1605 access the quad as both a long double and as a series of 4 words.
1606
1607 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1608 link_map->l_info array access.
1609
1610 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1611
1612 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1613
1614 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1615 * math/atest-exp2.c (TIMEOUT): Likewise.
1616 * math/atest-sincos.c (TIMEOUT): Likewise.
1617
1618 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1619
1620 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1621 -Wno-error with -fno-builtin-lround.
1622
1623 2014-12-19 Torvald Riegel <triegel@redhat.com>
1624
1625 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1626 Contains futex constants and functions moved over from ...
1627 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1628 <lowlevellock-futex.h>.
1629 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1630 (lll_timedwait_tid): Add comments and parentheses around macro
1631 arguments.
1632
1633 2014-12-19 Torvald Riegel <triegel@redhat.com>
1634
1635 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1636 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1637 (__lll_private_flag): Remove.
1638 (lll_futex_wait): Likewise.
1639 (lll_futex_timed_wait): Likewise.
1640 (lll_futex_wake): Likewise.
1641 (lll_futex_requeue): Likewise.
1642 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1643 (__lll_timedwait_tid): Spell out argument names.
1644 (lll_timedwait_tid): Add comments and parentheses around macro
1645 arguments.
1646 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1647 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1648
1649 2014-12-19 Torvald Riegel <triegel@redhat.com>
1650
1651 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1652 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1653 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1654 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1655 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1656 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1657 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1658 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1659 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1660 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1661 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1662 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1663 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1664 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1665 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1666 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1667 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1668 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1669 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1670
1671 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1672
1673 * sysdeps/x86_64/x32/Makefile: New file.
1674
1675 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1676
1677 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1678 1L with (mp_limb_t) 1.
1679
1680 2014-12-17 Roland McGrath <roland@hack.frob.com>
1681
1682 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1683 * nptl/libc_pthread_init.c: ... here.
1684 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1685 * nptl/register-atfork.c: ... here.
1686
1687 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1688 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1689 Use assert_perror to check its return value.
1690 (__gai_create_helper_thread): Likewise.
1691
1692 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1693
1694 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1695
1696 2014-12-17 Joseph Myers <joseph@codesourcery.com>
1697
1698 [BZ #17725]
1699 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1700 __profil_counter.
1701 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1702 Likewise.
1703 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1704 Likewise.
1705 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1706 Likewise.
1707 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1708 (profil_counter): Likewise.
1709 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1710 (profil_counter): Likewise.
1711 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1712 Likewise.
1713 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1714 Likewise.
1715 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1716 (profil_counter): Likewise.
1717 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1718 Likewise.
1719 [!__profil_counter] (profil_counter): Define as weak alias of
1720 __profil_counter.
1721 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1722 (profil_counter): Rename to __profil_counter.
1723 [!__profil_counter] (profil_counter): Define as weak alias of
1724 __profil_counter.
1725 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1726 (profil_counter): Rename to __profil_counter.
1727 [!__profil_counter] (profil_counter): Define as weak alias of
1728 __profil_counter.
1729 * sysdeps/posix/profil.c: Update comment referring to
1730 profil_counter.
1731 (__profil): Use __profil_counter instead of profil_counter.
1732 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1733 __profil_counter. Use __profil_counter_ushort and
1734 __profil_counter_uint in definitions.
1735 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1736 instead of profil_counter_uint and profil_counter_ushort.
1737
1738 [BZ #17722]
1739 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1740 define as weak alias of __inet_makeaddr.
1741 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1742 as weak alias of __inet_addr.
1743 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1744 as weak alias of __inet_pton. Use libc_hidden_weak.
1745 * include/arpa/inet.h (__inet_pton): Declare. Use
1746 libc_hidden_proto.
1747 (inet_makeaddr): Don't use libc_hidden_proto.
1748 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1749 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1750 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1751 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1752 Remove variable.
1753 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1754 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1755
1756 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
1757
1758 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1759
1760 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1761
1762 * stdio-common/bug-vfprintf-nargs.c (do_test):
1763 Cast value to intptr_t to avoid format warning
1764 for usage with PRIdPTR printing macro.
1765
1766 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1767
1768 * libio/tst-widetext.c (do_test):
1769 Use format type %td instead of %Zd for ptrdiff_t
1770 in order to avoid format warning.
1771
1772 2014-12-17 Andreas Schwab <schwab@suse.de>
1773
1774 * nscd/mem.c (gc): Add size_t cast to match printf format.
1775
1776 2014-12-16 Roland McGrath <roland@hack.frob.com>
1777
1778 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1779 (init): Apply PTR_MANGLE to pointers before storing them.
1780 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1781 before using them.
1782
1783 2014-12-16 Joseph Myers <joseph@codesourcery.com>
1784
1785 [BZ #17719]
1786 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1787 define as weak alias of __memrchr.
1788 (__memrchr): Do not define as strong alias of memrchr.
1789 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1790 Remove variable.
1791 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1792 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1793 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1794
1795 [BZ #17717]
1796 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1797 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1798 (if_indextoname): Rename to __if_indextoname and define as weak
1799 alias of __if_indextoname. Use libc_hidden_weak.
1800 (if_freenameindex): Rename to __if_freenameindex and define as
1801 weak alias of __if_freenameindex.
1802 (if_nameindex): Rename to __if_nameindex and define as weak alias
1803 of __if_nameindex.
1804 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1805 __if_nametoindex and define as weak alias of __if_nametoindex.
1806 Use libc_hidden_weak.
1807 (if_freenameindex): Rename to __if_freenameindex and define as
1808 weak alias of __if_freenameindex.
1809 (if_nameindex): Rename to __if_nameindex and define as weak alias
1810 of __if_nameindex.
1811 (if_indextoname): Rename to __if_indextoname and define as weak
1812 alias of __if_indextoname. Use libc_hidden_weak.
1813 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1814 __if_nametoindex and define as weak alias of __if_nametoindex.
1815 Use libc_hidden_weak.
1816 (if_freenameindex): Rename to __if_freenameindex and define as
1817 weak alias of __if_freenameindex. Use libc_hidden_weak.
1818 (if_nameindex_netlink): Use __if_freenameindex instead of
1819 if_freenameindex.
1820 (if_nameindex): Rename to __if_nameindex and define as weak alias
1821 of __if_nameindex. Use libc_hidden_weak.
1822 (if_indextoname): Rename to __if_indextoname and define as weak
1823 alias of __if_indextoname. Use libc_hidden_weak.
1824 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1825 libc_hidden_proto.
1826 [!_ISOMAC] (__if_freenameindex): Likewise.
1827 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1828 if_nametoindex.
1829 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1830 variable.
1831 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1832 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1833 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1834 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1835 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1836 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1837 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1838
1839 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1840 Remove variable.
1841 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1842 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1843
1844 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1845
1846 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1847 subscript above bounds'
1848
1849 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1850 bounds.
1851
1852 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
1853
1854 * libio/tst-fopenloc.c: Use test-skeleton.c.
1855
1856 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1857 (entry): Rename to ITEM.
1858 (do_test, comp): Adjust.
1859
1860 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1861
1862 2014-12-16 Torvald Riegel <triegel@redhat.com>
1863
1864 * string/tester.c: Include <libc-internal.h>.
1865 (test_memset): Ignore -Wmemset-transposed-args.
1866
1867 2014-12-16 Torvald Riegel <triegel@redhat.com>
1868
1869 * misc/tst-mntent2.c (do_test): Fix warning.
1870
1871 2014-12-16 Torvald Riegel <triegel@redhat.com>
1872
1873 * elf/tst-unique4lib.cc(a): Mark as used.
1874
1875 2014-12-16 Florian Weimer <fweimer@redhat.com>
1876
1877 [BZ #17630]
1878 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1879 names.
1880
1881 2014-12-16 Allan McRae <allan@archlinux.org>
1882
1883 * stdio-common/Makefile (tests): Re-add bug26.
1884
1885 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
1886
1887 [BZ #17657]
1888 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1889 static array.
1890
1891 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1892
1893 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1894 (__lll_lock_wait): Likewise.
1895 (__lll_timedlock_wait): Likewise.
1896 (__lll_timedwait_tid): Likewise.
1897 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1898 (__lll_robust_timedlock_wait): Likewise.
1899 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1900 (lll_cond_trylock): Likewise.
1901 (__lll_lock): Likewise.
1902 (__lll_robust_lock): Likewise.
1903 (__lll_cond_lock): Likewise.
1904 (lll_robust_cond_lock): Likewise.
1905 (__lll_timedlock): Likewise.
1906 (__lll_robust_timedlock): Likewise.
1907 (__lll_unlock): Likewise.
1908 (__lll_robust_unlock): Likewise.
1909 (lll_wait_tid): Likewise.
1910 (lll_timedwait_tid): Likewise.
1911
1912 2014-12-15 Torvald Riegel <triegel@redhat.com>
1913
1914 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1915
1916 2014-12-15 Torvald Riegel <triegel@redhat.com>
1917
1918 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1919
1920 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1921
1922 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1923 * stdio-common/tst-sprintf.c: Likewise.
1924
1925 2014-12-15 Torvald Riegel <triegel@redhat.com>
1926
1927 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1928
1929 2014-12-15 Jeff Law <law@redhat.com>
1930
1931 [BZ #16617]
1932 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1933 on the heap. (CVE-2012-3406)
1934 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1935 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1936 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1937
1938 2014-12-15 Will Newton <will.newton@linaro.org>
1939
1940 * manual/install.texi: Bump required version of texinfo
1941 to 4.7 from 4.5.
1942 * INSTALL: Regenerated.
1943 * configure.ac: Check for makeinfo version 4.7 and above.
1944 * configure: Regenerated.
1945
1946 2014-12-12 Roland McGrath <roland@hack.frob.com>
1947
1948 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1949 PREFIX, string constant to insert between directory and name.
1950 * sysdeps/posix/shm_open.c: Update caller.
1951 * sysdeps/posix/shm_unlink.c: Likewise.
1952 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1953 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1954 (SEM_SHM_PREFIX): New macro.
1955 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1956 [$(have-thread-library) = no].
1957 * nptl/Makefile (libpthread-routines): Add shm-directory.
1958 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1959 * sysdeps/nptl/shm-directory.h: New file.
1960 * sysdeps/posix/shm-directory.c
1961 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1962 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1963 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1964 INTERNAL_SYSCALL.
1965 (__where_is_shmfs): Function removed.
1966 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1967 Variables removed.
1968 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1969 Use SHM_GET_NAME.
1970 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1971
1972 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1973 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1974 unconditional for use inside libpthread.
1975 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1976
1977 2014-12-12 Roland McGrath <roland@hack.frob.com>
1978
1979 * nptl/pthread_getaffinity.c: New file.
1980 * nptl/pthread_setaffinity.c: New file.
1981 * nptl/pthread_getname.c: New file.
1982 * nptl/pthread_setname.c: New file.
1983
1984 * nptl/pthread_create.c (START_THREAD_DEFN)
1985 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1986
1987 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1988 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1989
1990 * resolv/res_send.c (send_vc): Disable warning resplen may
1991 be used uninitialized.
1992
1993 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1994
1995 * nptl/tst-mutex6.c
1996 (ATTR_NULL): New define checks ATTR against NULL.
1997 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1998 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1999
2000 2014-12-11 James Lemke <jwlemke@codesourcery.com>
2001
2002 [BZ #17581]
2003 * malloc/hooks.c
2004 (mem2mem_check): Revert my previous change.
2005 (malloc_check_get_size): Revert my previous change.
2006 (mem2chunk_check): Revert my previous change.
2007
2008 2014-12-11 Roland McGrath <roland@hack.frob.com>
2009
2010 * sysdeps/posix/shm-directory.c: New file.
2011 * sysdeps/posix/shm-directory.h: New file.
2012 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2013 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2014 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2015 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2016 Transmute EPERM to EACCES.
2017 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2018 from ...
2019 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2020 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2021
2022 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2023
2024 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2025 pointer and cast to uintptr_t.
2026 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2027 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2028 Add cast to avoid warning.
2029 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2030
2031 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2032
2033 * nptl/semaphore.h: Move to ...
2034 * sysdeps/pthread/semaphore.h: ... here.
2035 * Makefile (installed-headers): Change nptl/semaphore.h to
2036 sysdeps/pthread/semaphore.h.
2037
2038 2014-12-11 Roland McGrath <roland@hack.frob.com>
2039
2040 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2041 generated error format strings.
2042
2043 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2044 -Wformat-extra-args warnings for scanf formats.
2045 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2046 test of zero-length format (duh).
2047 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2048 corner-case scanf format test.
2049 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2050 generated fprintf format string.
2051 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2052 corner-case sprintf format tests.
2053 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2054 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2055 -Wformat-extra-args warnings throughout.
2056 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2057 (CFLAGS-scanf4.c): Likewise.
2058 (CFLAGS-scanf7.c): Likewise.
2059 (CFLAGS-tst-sprintf.c): Likewise.
2060 (CFLAGS-tst-printf.c): Likewise.
2061 (CFLAGS-tst-printfsz.c): Likewise.
2062
2063 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2064
2065 * include/cpio.h: New file.
2066 * include/fmtmsg.h: Likewise.
2067
2068 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2069 corresponding format argument to size_t.
2070 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2071 arguments.
2072 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2073 corresponding format argument to size_t.
2074 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2075 arguments.
2076 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2077 corresponding format argument to size_t.
2078 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2079 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2080 (CFLAGS-tst-mbswcs2.c): Likewise.
2081 (CFLAGS-tst-mbswcs3.c): Likewise.
2082 (CFLAGS-tst-mbswcs4.c): Likewise.
2083 (CFLAGS-tst-mbswcs5.c): Likewise.
2084 (CFLAGS-tst-trans.c): Likewise
2085
2086 2014-12-11 Roland McGrath <roland@hack.frob.com>
2087
2088 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2089 rather than assuming they won't contain any '%'s.
2090
2091 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2092
2093 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2094 inhibit_loop_to_libcall to avoid recursive calls.
2095 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2096 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2097
2098 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2099
2100 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2101 prototype.
2102
2103 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2104
2105 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2106 integer value instead of boolean.
2107
2108 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2109
2110 * malloc/malloc.c: Fix powerof2 check.
2111
2112 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2113
2114 * locale/programs/locfile.h (maybe_swap_uint32):
2115 Remove inline and add unused attribute.
2116
2117 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2118
2119 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2120 Truncating assembler expression to a .long expression.
2121
2122 2014-12-11 Andreas Schwab <schwab@suse.de>
2123
2124 * elf/rtld.c (struct map_args): Constify str member.
2125 (do_preload): Constify fname argument.
2126
2127 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2128
2129 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2130 constants definition.
2131
2132 2014-12-11 Andreas Schwab <schwab@suse.de>
2133
2134 [BZ #16657]
2135 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2136 FORCE_ELISION instead of DO_ELISION.
2137 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2138 Remove.
2139 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2140 Likewise.
2141
2142 * iconvdata/gconv-modules: Remove duplicate entry.
2143
2144 2014-12-11 Will Newton <will.newton@linaro.org>
2145
2146 Merge gettext 0.19.3 into intl/.
2147
2148 This involves a number of cosmetic changes to comments
2149 and ANSI function definitions and prototypes throughout
2150 all the files. The gettext copyright header is used but
2151 with the date ranges taken from the glibc copy.
2152
2153 * NEWS: Add gettext merge to 2.21.
2154 * intl/bindtextdom.c: Switch to gettext copyright.
2155 Use ANSI definitions and prototypes.
2156 Use gl_* locking primitives rather than __libc_* ones.
2157 Use __builtin_expect rather than __glibc_likely/unlikely.
2158 * intl/dcgettext.c: Switch to gettext copyright.
2159 Use ANSI definitions and prototypes.
2160 * intl/dcigettext.c: Switch to gettext copyright.
2161 Use ANSI definitions and prototypes.
2162 (INTDIV0_RAISES_SIGFPE): New define.
2163 Use gl_* locking primitives rather than __libc_* ones.
2164 Include eval-plural.h instead of plural-eval.c.
2165 Use __builtin_expect rather than __glibc_likely/unlikely.
2166 * intl/dcngettext.c: Switch to gettext copyright.
2167 Use ANSI definitions and prototypes.
2168 * intl/dgettext.c: Likewise.
2169 * intl/dngettext.c: Likewise.
2170 * intl/plural-eval.c: Renamed to...
2171 * intl/eval-plural.h: ...this.
2172 * intl/explodename.c: Switch to gettext copyright.
2173 Use ANSI definitions and prototypes.
2174 (_nl_explode_name): Use strchr instead of __rawmemchr.
2175 * intl/finddomain.c: Switch to gettext copyright.
2176 Use ANSI definitions and prototypes.
2177 Use gl_* locking primitives rather than __libc_* ones.
2178 (_nl_find_domain): Use malloc rather than alloca for
2179 allocation of temporary locale name.
2180 * intl/gettext.c: Switch to gettext copyright.
2181 Use ANSI definitions and prototypes.
2182 * intl/gettextP.h: Switch to gettext copyright.
2183 Use ANSI definitions and prototypes.
2184 Use gl_* locking primitives rather than __libc_* ones.
2185 * intl/gmo.h: Switch to gettext copyright.
2186 (struct sysdep_string): Move struct segment_pair outside of
2187 struct definition.
2188 * intl/hash-string.c: Use ANSI definitions and prototypes.
2189 * intl/hash-string.h: Switch to gettext copyright.
2190 Use ANSI definitions and prototypes.
2191 * intl/l10nflist.c: Switch to gettext copyright.
2192 Use ANSI definitions and prototypes.
2193 (_nl_normalize_codeset): Avoid integer overflow.
2194 * intl/loadinfo.h: Switch to gettext copyright.
2195 Use ANSI definitions and prototypes.
2196 (LIBINTL_DLL_EXPORTED): New define.
2197 (PATH_SEPARATOR): New define.
2198 * intl/loadmsgcat.c: Switch to gettext copyright.
2199 * intl/localealias.c: Switch to gettext copyright.
2200 Use ANSI definitions and prototypes.
2201 (_nl_expand_alias): Use PATH_SEPARATOR.
2202 * intl/ngettext.c: Switch to gettext copyright.
2203 Use ANSI definitions and prototypes.
2204 * intl/plural-exp.c: Likewise.
2205 * intl/plural-exp.h: Switch to gettext copyright.
2206 Use ANSI definitions and prototypes.
2207 (struct expression): Move definition of enum operator outside
2208 of struct definition.
2209 * intl/plural.c: Regenerate.
2210 * intl/plural.y: Switch to gettext copyright.
2211 Use ANSI definitions and prototypes.
2212 Port to bison 3.0.
2213 * intl/textdomain.c: Switch to gettext copyright.
2214 Use ANSI definitions and prototypes.
2215 Use gl_* locking primitives rather than __libc_* ones.
2216
2217 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
2218
2219 * debug/warning-nop.c: Add used atrribute.
2220
2221 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2222
2223 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2224
2225 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2226 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2227 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2228
2229 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2230 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2231
2232 [BZ #17634]
2233 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2234 Undefine after defining function. Define as weak alias of
2235 __wcschr. Use libc_hidden_weak.
2236 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2237 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2238 (libc_hidden_def): Also define __GI___wcschr alias.
2239 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2240 __wcschr and define as weak alias of __wcschr.
2241 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2242 __wcschr.
2243 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2244 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2245 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2246 libc_hidden_weak. Do not use libc_hidden_def.
2247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2248 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2249 __GI___wcschr alias.
2250 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2251 [IS_IN (libc)] (wcschr): Define as macro expanding to
2252 __redirect_wcschr.
2253 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2254 [IS_IN (libc)] (__wcschr_power6): Likewise.
2255 [IS_IN (libc)] (__wcschr_power7): Likewise.
2256 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2257 instead of wcschr.
2258 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2259 __libc_wcschr.
2260 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2261 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2262 __wcschr and define as weak alias of __wcschr. Use
2263 libc_hidden_builtin_def.
2264 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2265 as weak alias of __wcschr. Use libc_hidden_weak.
2266 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2267 wcschr.
2268 * time/era.c (_nl_init_era_entries): Likewise.
2269 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2270 variable.
2271 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2272 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2273
2274 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2275
2276 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2277 format for long int variable.
2278
2279 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2280
2281 [BZ #10672]
2282 * manual/search.texi: (Array Sort Function): Remove claim how to make
2283 qsort stable.
2284
2285 2014-12-10 Andreas Schwab <schwab@suse.de>
2286
2287 [BZ #12847]
2288 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2289 user-controlled locks.
2290
2291 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
2292
2293 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2294 register.
2295
2296 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2297
2298 * configure.ac (--disable-werror): New configure option.
2299 (enable_werror): New AC_SUBST.
2300 * configure: Regenerated.
2301 * config.make.in (enable-werror): New variable.
2302 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2303 -Wno-error=undef.
2304 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2305 * manual/install.texi (Configuring and compiling): Document
2306 --disable-werror.
2307 * INSTALL: Regenerated.
2308 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2309 (CFLAGS-tst-chk2.c): Likewise.
2310 (CFLAGS-tst-chk3.c): Likewise.
2311 (CFLAGS-tst-chk4.cc): Likewise.
2312 (CFLAGS-tst-chk5.cc): Likewise.
2313 (CFLAGS-tst-chk6.cc): Likewise.
2314 (CFLAGS-tst-lfschk1.c): Likewise.
2315 (CFLAGS-tst-lfschk2.c): Likewise.
2316 (CFLAGS-tst-lfschk3.c): Likewise.
2317 (CFLAGS-tst-lfschk4.cc): Likewise.
2318 (CFLAGS-tst-lfschk5.cc): Likewise.
2319 (CFLAGS-tst-lfschk6.cc): Likewise.
2320
2321 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2322 (main): Disable -Wdeprecated-declarations around calls to
2323 register_printf_function.
2324
2325 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2326 (do_test): Disable -Wdiv-by-zero around some calls to
2327 fwrite_unlocked and fread_unlocked.
2328
2329 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2330 (DIAG_POP_NEEDS_COMMENT): Likewise.
2331 (_DIAG_STR1): Likewise.
2332 (_DIAG_STR): Likewise.
2333 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2334 * stdio-common/bug21.c: Include <libc-internal.h>.
2335 (do_test): Disable -Wformat around call to sscanf.
2336 * stdio-common/scanf14.c: Include <libc-internal.h>.
2337 (main): Disable -Wformat around some calls to scanf functions.
2338
2339 2014-12-09 Torvald Riegel <triegel@redhat.com>
2340
2341 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2342
2343 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2344
2345 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2346 stack variable alignment.
2347
2348 2014-12-06 Joseph Myers <joseph@codesourcery.com>
2349
2350 [BZ #17682]
2351 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2352 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2353 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2354 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2355 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2356 __getrlimit instead of getrlimit.
2357 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2358 __gettimeofday instead of gettimeofday.
2359 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2360 Likewise.
2361 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2362 Likewise.
2363 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2364 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2365 Remove variable.
2366 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2367 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2368
2369 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2370
2371 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2372 for wide-character tests.
2373
2374 2014-12-04 Roland McGrath <roland@hack.frob.com>
2375
2376 * io/openat64.c: #include <libc-internal.h>
2377 (__openat64): Prototypify. Use ignore_value on MODE.
2378 * io/openat.c: Likewise.
2379 * misc/reboot.c: #include <libc-internal.h>
2380 (reboot): Prototypify. Use ignore_value on HOWTO.
2381 * misc/ptrace.c: #include <libc-internal.h>
2382 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2383
2384 2014-12-04 Joseph Myers <joseph@codesourcery.com>
2385
2386 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2387 XPG4, UNIX98 and XOPEN2K.
2388 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2389 Remove variable.
2390 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2391
2392 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2393
2394 * libio/fileops.c: Use ISO C style for function definitions.
2395 * libio/iofopen.c: Likewise.
2396 * libio/wfileops.c: Likewise.
2397
2398 [BZ #17653]
2399 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2400 offset on EOF.
2401 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2402 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2403 (fgets_func): Function pointer to fgets and fgetws.
2404 (do_ftell_test): Add test to verify ftell value after read
2405 EOF.
2406 (do_test): Set fgets_func.
2407
2408 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2409 O_TRUNC flag for w and w+ modes.
2410 (do_rewind_test): Likewise.
2411 (do_ftell_test): Likewise.
2412 (do_write_test): Likewise.
2413
2414 [BZ #17647]
2415 * libio/fileops.c (do_ftell): Seek only when there are
2416 unflushed writes.
2417 * libio/wfileops.c (do_ftell_wide): Likewise.
2418 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2419 test case.
2420 (do_one_test): Call it.
2421
2422 2014-12-03 Joseph Myers <joseph@codesourcery.com>
2423
2424 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2425 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2426 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2427 Remove variable.
2428 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2429 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2430 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2431
2432 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2433
2434 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2435 Remove variable.
2436 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2437
2438 [BZ #17668]
2439 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2440 as weak alias of __getifaddrs. Use libc_hidden_weak.
2441 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2442 __freeifaddrs. Use libc_hidden_weak.
2443 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2444 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2445 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2446 __freeifaddrs. Use libc_hidden_weak.
2447 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2448 __getifaddrs and define as weak alias of __getifaddrs. Use
2449 libc_hidden_weak.
2450 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2451 __freeifaddrs. Use libc_hidden_weak.
2452 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2453 Remove variable.
2454 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2455 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2456
2457 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2458
2459 [BZ #17601]
2460 * sysdeps/mips/start.S (__start): Use indirect jump to call
2461 __libc_start_main.
2462
2463 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2464
2465 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2466
2467 * nptl/tst-mutex1.c: Include <stdbool.h>.
2468 [!ATTR] (ATTR_NULL): New macro.
2469 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2470 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2471 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2472
2473 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2474 to char *.
2475
2476 [BZ #17665]
2477 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2478 Change conditional to [__USE_MISC].
2479
2480 [BZ #17664]
2481 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2482 fgets_unlocked.
2483 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2484 __fgets_unlocked.
2485 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2486 fgets_unlocked.
2487 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2488 Remove variable.
2489 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2490 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2491 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2492 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2493 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2494 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2495 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2496 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2497 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2498
2499 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2500
2501 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2502
2503 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2504 Remove strpbrk objects.
2505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2506 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2507 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2508 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2509 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2510 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2511
2512 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2513 Remove strcspn objects.
2514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2515 (__libc_ifunc_impl_list): Remove strcspn implementation.
2516 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2517 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2518 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2519 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2520
2521 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2522 Remove strspn objetcs.
2523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2524 (__libc_ifunc_impl_list): Remove strspn implementation.
2525 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2526 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2527 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2528 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2529
2530 2014-12-01 James Lemke <jwlemke@codesourcery.com>
2531
2532 [BZ #17581]
2533 * malloc/hooks.c
2534 (mem2mem_check): Add a terminator to the chain of checking blocks.
2535 (malloc_check_get_size): Use it here.
2536 (mem2chunk_check): Ditto.
2537
2538 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2539
2540 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2541 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2542
2543 2014-11-29 Carlos O'Donell <carlos@redhat.com>
2544
2545 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2546
2547 * nptl/nptl-init.c: Include libc-internal.h.
2548 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2549
2550 * elf/ldconfig.c (search_dir): Expand comment.
2551
2552 2014-11-29 Joseph Myers <joseph@codesourcery.com>
2553
2554 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2555 variable.
2556 (linknamespace-symlist-stdlibs-tests): Likewise.
2557 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2558 instead of $(objpfx)symlist-stdlibs.
2559 (linknamespace-libs-isoc): New variable.
2560 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2561 (linknamespace-libs-ISO): New variable.
2562 (linknamespace-libs-ISO99): Likewise.
2563 (linknamespace-libs-ISO11): Likewise.
2564 (linknamespace-libs-XPG3): Likewise.
2565 (linknamespace-libs-XPG4): Likewise.
2566 (linknamespace-libs-POSIX): Likewise.
2567 (linknamespace-libs-UNIX98): Likewise.
2568 (linknamespace-libs-XOPEN2K): Likewise.
2569 (linknamespace-libs-POSIX2008): Likewise.
2570 (linknamespace-libs-XOPEN2K8): Likewise.
2571 ($(objpfx)symlist-stdlibs): Replace by
2572 $(linknamespace-symlist-stdlibs-tests). Use
2573 $(linknamespace-libs-$*) as set of libraries.
2574 ($(linknamespace-header-tests)): Update dependencies. Use
2575 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2576 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2577 * conform/linknamespace.pl: Remove comment about considering
2578 definitions of symbols from irrelevant libraries.
2579
2580 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2581
2582 [BZ #13862]
2583 * elf/dl-tls.c: Include <atomic.h>.
2584 (oom): Remove #ifdef SHARED/#endif.
2585 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2586 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2587 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2588 big enough.
2589 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2590 * nptl/Makefile (tests): Add tst-stack4.
2591 (modules-names): Add tst-stack4mod.
2592 ($(objpfx)tst-stack4): New.
2593 (tst-stack4mod.sos): Likewise.
2594 ($(objpfx)tst-stack4.out): Likewise.
2595 ($(tst-stack4mod.sos)): Likewise.
2596 (clean): Likewise.
2597 * nptl/tst-stack4.c: New file.
2598 * nptl/tst-stack4mod.c: Likewise.
2599
2600 2014-11-27 J. Brown <jb999@gmx.de>
2601
2602 * sysdeps/x86/bits/string.h: Add recent CPUs.
2603
2604 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2605
2606 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2607 sigblock.
2608
2609 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2610 feof.
2611
2612 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2613 variable.
2614
2615 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2616
2617 * nscd/connections.c: Include libc-internal.h because of macro
2618 usage ignore_value.
2619
2620 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2621
2622 * string/bits/string3.h (__warn_memset_zero_len): Don't
2623 declare for gcc newer than 5.0.
2624 (memset): Don't test for zero-length __LEN for gcc newer than
2625 5.0.
2626
2627 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2628
2629 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2630 size_t for %zu format.
2631
2632 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2633 difference, not %ju.
2634
2635 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2636
2637 * include/libc-internal.h (ignore_value): New macro.
2638 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2639 with ignore_value.
2640
2641 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2642 definition.
2643
2644 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2645 pthread_cleanup_push to void *.
2646
2647 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2648 Undefine.
2649
2650 [BZ #16619]
2651 [BZ #16740]
2652 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2653 instead of 1L << 52.
2654
2655 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2656 * libio/bug-rewind2.c (do_test): Likewise.
2657
2658 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2659 * debug/test-strcpy_chk-ifunc.c: Likewise.
2660 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2661 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2662 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2663 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2664 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2665 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2666 * Rules [$(multi-arch) = no] (tests): Do not filter out
2667 $(tests-ifunc).
2668 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2669 * debug/Makefile (tests-ifunc): Remove variable.
2670 (tests): Do not add $(tests-ifunc).
2671 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2672 (tests): Do not add $(tests-ifunc).
2673 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2674 [TEST_IFUNC]: Remove conditionals.
2675 * string/test-string.h (TEST_IFUNC): Remove macro.
2676 [TEST_IFUNC]: Remove conditionals.
2677
2678 * string/test-strchr.c [!WIDE] (L): New macro.
2679 [WIDE] (L): Likewise.
2680 (check1): Use CHAR instead of char. Use L on string and character
2681 constants.
2682
2683 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2684
2685 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2686 tests.
2687 * sysdeps/powerpc/bits/atomic.h
2688 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2689 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2690 (atomic_exchange_and_add_acq): Likewise.
2691 (atomic_exchange_and_add_rel): Likewise.
2692 * sysdeps/powerpc/powerpc32/bits/atomic.h
2693 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2694 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2695 * sysdeps/powerpc/powerpc64/bits/atomic.h
2696 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2697 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2698
2699 2014-11-26 Torvald Riegel <triegel@redhat.com>
2700
2701 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2702 Change synchronization of __sched_fifo_min_prio and
2703 __sched_fifo_max_prio.
2704 * nptl/pthread_mutexattr_getprioceiling.c
2705 (pthread_mutexattr_getprioceiling): Likewise.
2706 * nptl/pthread_mutexattr_setprioceiling.c
2707 (pthread_mutexattr_setprioceiling): Likewise.
2708 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2709 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2710 Likewise.
2711
2712 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2713
2714 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2715 void.
2716
2717 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2718
2719 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2720 third argument const.
2721
2722 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2723
2724 fnmatch: work around GCC compiler warning bug with uninit var
2725 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2726 This works around a bug with x86-64 GCC 4.9.2 and earlier
2727 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2728 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2729 used uninitialized in this function [-Wmaybe-uninitialized]".
2730
2731 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2732
2733 * posix/bug-regex31.c (main): Return RES not 0.
2734
2735 2014-11-25 Anton Blanchard <anton@samba.org>
2736
2737 * sysdeps/powerpc/bits/atomic.h
2738 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2739
2740 2014-11-24 Sterling Augustine <saugustine@google.com>
2741
2742 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2743
2744 2014-11-24 Ryan Cumming <etaoins@gmail.com>
2745
2746 [BZ #17608]
2747 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2748
2749 2014-11-24 Joseph Myers <joseph@codesourcery.com>
2750
2751 [BZ #17633]
2752 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2753 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2754 variable.
2755 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2756 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2757
2758 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2759
2760 * string/strncpy.c (strncpy): Improve performance by using memset.
2761
2762 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2763
2764 * string/strcpy.c (strcpy):
2765 Improve performance by using strlen and memcpy.
2766
2767 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
2768
2769 * string/strcoll_l.c (get_next_seq): __always_inline.
2770 * string/strcoll_l.c (do_compare): __always_inline.
2771
2772 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2773
2774 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2775 defined.
2776 * include/mqueue.h: Likewise.
2777 * include/stdlib.h: Likewise.
2778
2779 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2780 (get_null_defines): Adjust.
2781 * sunrpc/Makefile: Adjust comment.
2782 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2783 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2784 (CFLAGS-interp.c): Likewise.
2785 (CFLAGS-ldconfig.c): Likewise.
2786 (CPPFLAGS-.os): Likewise.
2787 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2788 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2789 * extra-modules.mk (extra-modules.mk): Likewise.
2790 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2791 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2792 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2793 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2794 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2795 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2796 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2797 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2798 * iconvdata/Makefile (CPPFLAGS): Likewise.
2799 (cpp-srcs-left): Add libof for all iconvdata routines.
2800 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2801 * include/assert.h: Likewise.
2802 * include/ctype.h: Likewise.
2803 * include/errno.h: Likewise.
2804 * include/libc-symbols.h: Likewise.
2805 * include/math.h: Likewise.
2806 * include/netdb.h: Likewise.
2807 * include/resolv.h: Likewise.
2808 * include/stdio.h: Likewise.
2809 * include/stdlib.h: Likewise.
2810 * include/string.h: Likewise.
2811 * include/sys/stat.h: Likewise.
2812 * include/wctype.h: Likewise.
2813 * intl/l10nflist.c: Likewise.
2814 * libidn/idn-stub.c: Likewise.
2815 * libio/libioP.h: Likewise.
2816 * nptl/libc_multiple_threads.c: Likewise.
2817 * nptl/pthreadP.h: Likewise.
2818 * posix/regex_internal.h: Likewise.
2819 * resolv/res_hconf.c: Likewise.
2820 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2821 * sysdeps/arm/memmove.S: Likewise.
2822 * sysdeps/arm/sysdep.h: Likewise.
2823 * sysdeps/generic/_itoa.h: Likewise.
2824 * sysdeps/generic/symbol-hacks.h: Likewise.
2825 * sysdeps/gnu/errlist.awk: Likewise.
2826 * sysdeps/gnu/errlist.c: Likewise.
2827 * sysdeps/i386/i586/memcpy.S: Likewise.
2828 * sysdeps/i386/i586/memset.S: Likewise.
2829 * sysdeps/i386/i686/memcpy.S: Likewise.
2830 * sysdeps/i386/i686/memmove.S: Likewise.
2831 * sysdeps/i386/i686/mempcpy.S: Likewise.
2832 * sysdeps/i386/i686/memset.S: Likewise.
2833 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2834 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2835 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2836 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2837 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2838 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2839 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2840 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2841 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2842 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2843 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2844 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2845 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2846 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2847 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2848 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2849 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2850 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2851 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2852 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2853 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2854 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2855 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2856 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2857 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2858 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2859 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2860 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2861 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2862 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2863 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2864 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2865 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2866 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2867 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2868 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2869 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2870 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2871 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2872 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2873 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2874 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2875 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2876 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2877 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2878 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2879 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2880 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2881 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2882 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2883 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2884 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2885 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2886 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2887 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2888 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2889 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2890 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2891 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2892 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2893 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2894 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2895 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2896 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2897 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2898 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2899 * sysdeps/posix/closedir.c: Likewise.
2900 * sysdeps/posix/opendir.c: Likewise.
2901 * sysdeps/posix/readdir.c: Likewise.
2902 * sysdeps/posix/rewinddir.c: Likewise.
2903 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2904 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2905 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2906 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2907 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2908 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2909 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2911 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2912 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2913 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2914 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2915 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2916 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2917 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2918 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2919 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2920 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2921 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2922 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2923 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2924 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2925 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2926 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2927 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2928 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2929 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2930 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2931 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2934 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2935 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2937 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2938 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2939 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2940 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2941 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2942 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2943 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2944 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2945 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2946 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2947 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2948 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2949 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2950 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2951 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2952 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2953 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2954 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2955 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2956 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2957 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2958 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2959 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2960 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2961 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2962 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2963 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2964 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2965 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2966 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2967 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2968 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2969 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2970 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2971 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2972 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2973 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2974 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2975 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2976 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2977 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2978 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2979 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2980 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2981 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2982 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2983 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2984 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2985 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2986 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2987 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2988 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2989 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2990 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2991 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2992 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2993 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2994 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2995 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2996 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2997 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2998 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2999 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3001 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3002 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3003 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3004 * sysdeps/unix/alpha/sysdep.S: Likewise.
3005 * sysdeps/unix/alpha/sysdep.h: Likewise.
3006 * sysdeps/unix/make-syscalls.sh: Likewise.
3007 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3008 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3009 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3010 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3011 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3012 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3013 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3014 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3015 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3016 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3017 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3018 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3019 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3020 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3021 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3022 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3023 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3024 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3025 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3026 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3027 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3028 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3029 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3030 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3031 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3032 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3033 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3036 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3037 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3038 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3039 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3040 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3041 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3042 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3043 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3044 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3045 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3046 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3047 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3048 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3049 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3050 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3051 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3052 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3054 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3055 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3056 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3057 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3058 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3059 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3060 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3061 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3062 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3063 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3065 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3066 * sysdeps/x86_64/memcpy.S: Likewise.
3067 * sysdeps/x86_64/memmove.c: Likewise.
3068 * sysdeps/x86_64/memset.S: Likewise.
3069 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3070 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3071 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3072 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3073 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3074 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3076 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3077 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3078 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3079 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3080 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3081 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3082 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3083 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3084 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3085 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3086 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3087 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3088 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3089 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3090 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3091 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3092 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3093 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3094 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3095 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3096 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3097 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3098 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3099 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3100 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3101 * sysdeps/x86_64/strcmp.S: Likewise.
3102
3103 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3104
3105 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3106 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3107 * elf/rtld-Rules: Likewise.
3108 * elf/setup-vdso.h: Likewise.
3109 * include/assert.h: Likewise.
3110 * include/bits/stdlib-float.h: Likewise.
3111 * include/errno.h: Likewise.
3112 * include/sys/stat.h: Likewise.
3113 * include/unistd.h: Likewise.
3114 * sysdeps/aarch64/setjmp.S: Likewise.
3115 * sysdeps/alpha/setjmp.S: Likewise.
3116 * sysdeps/arm/__longjmp.S: Likewise.
3117 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3118 * sysdeps/arm/setjmp.S: Likewise.
3119 * sysdeps/arm/sysdep.h: Likewise.
3120 * sysdeps/generic/_itoa.h: Likewise.
3121 * sysdeps/generic/dl-sysdep.h: Likewise.
3122 * sysdeps/generic/ldsodefs.h: Likewise.
3123 * sysdeps/i386/dl-tls.h: Likewise.
3124 * sysdeps/i386/setjmp.S: Likewise.
3125 * sysdeps/m68k/setjmp.c: Likewise.
3126 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3127 * sysdeps/mach/hurd/opendir.c: Likewise.
3128 * sysdeps/posix/getcwd.c: Likewise.
3129 * sysdeps/posix/opendir.c: Likewise.
3130 * sysdeps/posix/profil.c: Likewise.
3131 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3132 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3133 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3134 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3135 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3136 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3137 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3138 * sysdeps/s390/dl-tls.h: Likewise.
3139 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3140 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3141 * sysdeps/sh/sh3/setjmp.S: Likewise.
3142 * sysdeps/sh/sh4/setjmp.S: Likewise.
3143 * sysdeps/unix/alpha/sysdep.h: Likewise.
3144 * sysdeps/unix/arm/sysdep.S: Likewise.
3145 * sysdeps/unix/i386/sysdep.S: Likewise.
3146 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3147 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3148 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3149 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3150 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3151 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3152 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3153 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3154 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3155 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3156 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3157 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3158 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3161 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3162 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3163 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3164 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3165 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3166 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3167 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3169 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3170 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3171 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3173 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3174 * sysdeps/x86_64/setjmp.S: Likewise.
3175
3176 * include/math.h: Use IS_IN instead of IS_IN_libm.
3177 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3179 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3180 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3181 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3182 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3183 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3184 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3185 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3186 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3187 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3188 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3189 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3190 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3191 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3192 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3193 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3194 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3195 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3196 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3197 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3198 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3199 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3200 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3201 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3202 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3203 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3204 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3205 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3206 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3207 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3208 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3209 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3211 Likewise.
3212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3213 Likewise.
3214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3215 Likewise.
3216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3217 Likewise.
3218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3219 Likewise.
3220 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3221 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3222 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3223 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3224 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3225 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3231 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3232 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3233 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3234 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3235 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3236 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3237 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3238 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3239 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3240 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3241 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3242 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3243 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3244 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3246 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3247
3248 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3249 * nptl/pthreadP.h: Likewise.
3250 * nptl_db/structs.def: Likewise.
3251 * sysdeps/arm/sysdep.h: Likewise.
3252 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3253 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3254 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3255 * sysdeps/unix/alpha/sysdep.h: Likewise.
3256 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3257 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3258 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3259 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3260 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3261 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3262 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3263 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3264 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3265 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3266 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3267 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3268 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3269 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3272 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3273 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3274 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3275 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3276 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3277 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3278 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3279 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3280 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3281 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3282
3283 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3284 * nptl/pthreadP.h: Likewise.
3285 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3286 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3287 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3288 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3289 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3290 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3291 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3292 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3293 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3294 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3295 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3296 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3298 Likewise.
3299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3300 Likewise.
3301 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3302 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3303 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3304 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3305 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3306 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3307 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3308 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3309
3310 * dlfcn/dladdr.c: Use IS_IN.
3311 * dlfcn/dladdr1.c: Likewise.
3312 * dlfcn/dlclose.c: Likewise.
3313 * dlfcn/dlerror.c: Likewise.
3314 * dlfcn/dlinfo.c: Likewise.
3315 * dlfcn/dlmopen.c: Likewise.
3316 * dlfcn/dlopen.c: Likewise.
3317 * dlfcn/dlsym.c: Likewise.
3318 * dlfcn/dlvsym.c: Likewise.
3319
3320 * include/ifaddrs.h: Use IS_IN.
3321 * inet/check_pf.c: Likewise.
3322 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3323 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3324
3325 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3326 IS_IN_ldconfig.
3327 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3328 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3329
3330 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3331 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3332 IS_IN (libc).
3333
3334 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3335
3336 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3337 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3338 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3339 * include/libc-symbols.h (IS_IN_LIB): New macro.
3340 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3341 * include/netdb.h: Likewise.
3342 * include/stap-probe.h: Remove all uses of IN_LIB.
3343
3344 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3345 instead of IN_MODULE.
3346 * include/libc-symbols.h (IN_MODULE): Define using
3347 MODULE_NAME.
3348 (PASTE_NAME, PASTE_NAME1): New macros.
3349 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3350 of IN_LIB.
3351 (STAP_PROBE_ASM): Likewise.
3352
3353 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3354
3355 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3356 __mach_init in dlopened libc.
3357
3358 2014-11-22 Mike Frysinger <vapier@gentoo.org>
3359
3360 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3361 * sysdeps/arm/preconfigure: Regenerate.
3362
3363 2014-11-21 Roland McGrath <roland@hack.frob.com>
3364
3365 * nptl/pthread_create.c (__pthread_create_2_1): Set
3366 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3367 when copying values from IATTR into PD.
3368
3369 2014-11-21 Will Newton <will.newton@linaro.org>
3370 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3371
3372 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3373 Refactor inline-asm. Also add comment.
3374
3375 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3376 ElfW macro instead of hardcoded Elf64 types.
3377 (la_aarch64_gnu_pltenter): Likewise.
3378 * sysdeps/aarch64/dl-machine.h
3379 (elf_machine_runtime_setup): Use ElfW(Addr).
3380
3381 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3382 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3383 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3384 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3385 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3386 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3387 (R_AARCH64_TLS_DTPMOD): This.
3388 (R_AARCH64_TLS_DTPREL64): Rename to ...
3389 (R_AARCH64_TLS_DTPREL): This.
3390 (R_AARCH64_TLS_TPREL64): Rename to ...
3391 (R_AARCH64_TLS_TPREL): This.
3392 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3393 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3394 R_AARCH64_TLS_TPREL64.
3395 (elf_machine_rela): Likewise.
3396
3397 2014-11-21 Torvald Riegel <triegel@redhat.com>
3398
3399 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3400 by setting it to 0. 64b atomics are not supported currently.
3401
3402 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3403
3404 [BZ #16469]
3405 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3406 search domain names.
3407
3408 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3409
3410 [BZ #16469]
3411 * NEWS: Update.
3412 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3413 trailing dot.
3414 * posix/tst-getaddrinfo5.c: New.
3415 * posix/Makefile (tests): Add it.
3416
3417 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3418
3419 [BZ #14498]
3420 * NEWS: Fixed.
3421 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3422 after parsing line but before break_if_match.
3423 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3424 if there is a protocol mismatch.
3425
3426 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3427
3428 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3429 because the potential race is on the user-supplied stream.
3430
3431 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3432
3433 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3434 string literal if not passed a buffer.
3435 * manual/job.texi (ctermid): Update reasoning, note deviation
3436 from posix, suggest mtasurace when not passed a buffer, for
3437 future non-preliminary safety notes.
3438
3439 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3440
3441 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3442 of not passing it a buffer.
3443 Reported by Peng Haitao.
3444
3445 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3446
3447 * manual/Makefile ($(objpfx)stamp-summary): Require
3448 check-safety.sh to pass.
3449 * manual/check-safety.sh: Wish for verification that every
3450 @deftypefn and @deftypefun is followed by a @safety remark.
3451
3452 2014-11-20 Roland McGrath <roland@hack.frob.com>
3453
3454 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3455
3456 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3457 PTHREAD_CANCEL_ASYNCHRONOUS.
3458 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3459 send SIGCANCEL.
3460
3461 * nptl/default-sched.h: New file.
3462 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3463 * nptl/pthread_create.c: Include it.
3464 (__pthread_create_2_1): Use collect_default_sched instead of making
3465 Linux syscalls here directly.
3466
3467 2014-11-20 Torvald Riegel <triegel@redhat.com>
3468
3469 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3470 __pthread_once): Use C11 atomics.
3471
3472 2014-11-20 Torvald Riegel <triegel@redhat.com>
3473
3474 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3475
3476 2014-11-20 Torvald Riegel <triegel@redhat.com>
3477
3478 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3479 atomic_thread_fence_acquire, atomic_thread_fence_release,
3480 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3481 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3482 atomic_compare_exchange_weak_relaxed,
3483 atomic_compare_exchange_weak_acquire,
3484 atomic_compare_exchange_weak_release,
3485 atomic_exchange_acquire, atomic_exchange_release,
3486 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3487 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3488 atomic_fetch_and_acquire,
3489 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3490
3491 2014-11-20 Torvald Riegel <triegel@redhat.com>
3492
3493 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3494 USE_ATOMIC_COMPILER_BUILTINS): Define.
3495 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3496 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3497 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3498 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3499 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3500 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3501 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3502 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3503 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3504 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3505 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3506 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3507 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3508 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3509 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3510 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3511 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3512 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3513 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3514 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3515 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3516 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3517 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3518 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3519 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3520 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3521 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3522 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3523 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3524 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3525 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3526 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3527 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3528 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3529 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3530 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3531 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3532 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3533 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3534 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3535
3536 2014-11-19 Roland McGrath <roland@hack.frob.com>
3537
3538 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3539 the sched_priority value here. It was already checked when the user
3540 called pthread_attr_setschedparam.
3541
3542 * nptl/tst-bad-schedattr.c: New file.
3543 * nptl/Makefile (tests): Add it.
3544
3545 2014-11-19 Carlos O'Donell <carlos@redhat.com>
3546 Florian Weimer <fweimer@redhat.com>
3547 Joseph Myers <joseph@codesourcery.com>
3548 Adam Conrad <adconrad@0c3.net>
3549 Andreas Schwab <schwab@suse.de>
3550 Brooks <bmoses@google.com>
3551
3552 [BZ #17625]
3553 * wordexp-test.c (__dso_handle): Add prototype.
3554 (__register_atfork): Likewise.
3555 (__app_register_atfork): New function.
3556 (registered_forks): New global.
3557 (register_fork): New function.
3558 (test_case): Add 3 new tests for WRDE_CMDSUB.
3559 (main): Call __app_register_atfork.
3560 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3561 fork count is non-zero fail the test.
3562 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3563 is set.
3564 (parse_dollars): Remove check for WRDE_NOCMD.
3565 (parse_dquote): Likewise.
3566
3567 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3568
3569 * Makeconfig (built-modules): List non-library modules to be
3570 built.
3571 (module-cppflags): Include libc-modules.h for
3572 everything except shlib-versions.v.i.
3573 (CPPFLAGS): Use it.
3574 (before-compile): Add libc-modules.h.
3575 ($(common-objpfx)libc-modules.h,
3576 $(common-objpfx)libc-modules.stmp): New targets.
3577 (common-generated): Add libc-modules.h and libc-modules.stmp.
3578 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3579 * include/libc-symbols.h: Don't include libc-modules.h.
3580 * include/libc-modules.h: Remove file.
3581 * scripts/gen-libc-modules.awk: New script to generate
3582 libc-modules.h.
3583 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3584 Depend on libc-modules.stmp.
3585
3586 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3587
3588 * Makeconfig (in-module): Get value of libof set for the
3589 translation unit.
3590 (CPPFLAGS): Use $(in-module).
3591 * Makerules: Don't suffix routine names for nonlib.
3592 * include/libc-modules.h: New file.
3593 * include/libc-symbols.h: Include libc-modules.h
3594 (IS_IN): New macro to replace IS_IN_* macros.
3595 * elf/Makefile: Set libof-* for each routine.
3596 * elf/rtld-Rules: Likewise.
3597 * extra-modules.mk: Likewise.
3598 * iconv/Makefile: Likewise.
3599 * iconvdata/Makefile: Likewise.
3600 * locale/Makefile: Likewise.
3601 * malloc/Makefile: Likewise.
3602 * nss/Makefile: Likewise.
3603 * sysdeps/gnu/Makefile: Likewise.
3604 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3605 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3606 * sysdeps/s390/s390-64/Makefile: Likewise.
3607 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3608 CPPFLAGS for nscd instead of nonlib.
3609
3610 2014-11-18 Roland McGrath <roland@hack.frob.com>
3611
3612 * nptl/createthread.c: New file.
3613
3614 * nptl/createthread.c: Moved ...
3615 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3616
3617 * nptl/createthread.c: Add proper top-line comment.
3618 (do_clone): Folded into ...
3619 (create_thread): ... here. Take new arguments STOPPED_START and
3620 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3621 increment __nptl_threads, do event-reporting logic, do
3622 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3623 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3624 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3625 just send SIGCANCEL.
3626 * nptl/pthread_create.c: Forward-declare create_thread before
3627 including createthread.c.
3628 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3629 declaration, and new macro START_THREAD_SELF to replace argument.
3630 Remove return statement.
3631 (report_thread_creation): New function.
3632 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3633 synchronization logic, and __nptl_nthreads increment here, around
3634 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3635 PD->parent_cancelhandling here, before create_thread. When
3636 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3637 __deallocate_stack, and ENOMEM translation here.
3638
3639 2014-11-18 Joseph Myers <joseph@codesourcery.com>
3640
3641 [BZ #17616]
3642 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3643 (mptwo): Rename to __mptwo.
3644 (__inv): Use __mptwo instead of mptwo.
3645 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3646 (mptwo): Rename to __mptwo.
3647 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3648 of mpone and __mptwo instead of mptwo.
3649 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3650 instead of mpone.
3651 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3652 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3653 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3654 of mpone and __mptwo instead of mptwo.
3655 (__mpranred): Use __mpone instead of mpone.
3656 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3657 variable.
3658 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3659 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3660 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3661 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3662 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3663 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3664 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3665 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3666 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3667 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3668 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3669 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3670 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3671 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3672 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3673 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3674 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3675 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3676 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3677
3678 2014-11-18 Tom de Vries <tom@codesoucery.com>
3679
3680 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3681 replace BSD Handler xref with BSD Signal Handling.
3682
3683 2014-11-17 Richard Henderson <rth@redhat.com>
3684
3685 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3686 (_FP_PACK_RAW_2): Remove.
3687 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3688 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3689 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3690 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3691 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3692 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3693 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3694 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3695 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3696 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3697 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3698 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3699 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3700 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3701 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3702 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3703
3704 2014-11-14 Roland McGrath <roland@hack.frob.com>
3705
3706 * signal/signal.h [__USE_MISC]
3707 (struct sigvec): Remove type.
3708 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3709 (sigvec): Remove declaration.
3710 * sysdeps/posix/sigvec.c: Moved ...
3711 * signal/sigvec.c: ... here, replacing old file.
3712 (struct sigvec): New type, copied from old signal.h definition.
3713 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3714 (__sigvec): Convert definition to prototype.
3715 (sigvec): Replace weak_alias with compat_symbol.
3716 * signal/Versions (libc: GLIBC_2.21): New version set.
3717 * include/signal.h: Remove __sigvec declaration.
3718 * sysdeps/unix/bsd/sigvec.c: Remove file.
3719 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3720 * manual/signal.texi (BSD Handler): Remove subsection.
3721 Move siginterrupt up to ...
3722 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3723 (Blocking in BSD): Fold subsection into its parent.
3724 * NEWS: Mention sigvec removal.
3725
3726 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3727
3728 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3729 (DLA_FMS): Make definition conditional only on [__FMA4__].
3730 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3731 definition.
3732
3733 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3734 Make definition conditional only on [PROF].
3735 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3736 definition.
3737 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3738 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3739
3740 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3741 !__GNUC__].
3742 * include/signal.h (__sigpause): Move declaration above call to
3743 libc_hidden_proto.
3744 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3745 variable.
3746 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3747 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3748
3749 2014-11-14 David S. Miller <davem@davemloft.net>
3750
3751 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3752 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3753
3754 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3755
3756 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3757 * configure: Regenerated.
3758 * manual/install.texi (Tools for Compilation): Document a
3759 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3760 compiler verified to work.
3761 * INSTALL: Regenerated.
3762
3763 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3764 redeclare with asm name.
3765 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3766 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3767 including <string.h>.
3768 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3769 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3770 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3771 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3772 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3773 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3774 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3775
3776 2014-11-13 Joseph Myers <joseph@codesourcery.com>
3777
3778 * stdlib/strtol.c (__strtol): Use prototype definition.
3779
3780 [BZ #17594]
3781 * stdlib/strtol.c (SYM__): New macro.
3782 (SYM__1): Likewise.
3783 (__strtol): Likewise.
3784 (strtol): Rename to __strtol and define as weak alias of
3785 __strtol. Use libc_hidden_weak.
3786
3787 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3788
3789 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3790 Use numbered labels in inline assembly.
3791
3792 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3793
3794 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3795 Add setjmp LIBC_PROBE.
3796 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3797 Likewise.
3798 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3799 Add longjmp, longjmp_target LIBC_PROBE.
3800 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3801 Likewise.
3802
3803 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3804
3805 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3806 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3807 to get rid of unused variable warning.
3808
3809 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3810
3811 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3812 Check for unwind_backtrace == NULL only in SHARED case.
3813 (__backchain_backtrace): Compile only in SHARED case.
3814 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3815 Likewise.
3816 (__backchain_backtrace): Declare as static.
3817
3818 2014-11-12 Roland McGrath <roland@hack.frob.com>
3819
3820 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3821 (__libc_multiple_threads_ptr): Variable moved ...
3822 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3823
3824 2014-11-12 Joseph Myers <joseph@codesourcery.com>
3825
3826 * conform/GlibcConform.pm: New file.
3827 * conform/conformtest.pl: Use GlibcConform module.
3828 * conform/linknamespace.pl: New file.
3829 * conform/list-header-symbols.pl: Likewise.
3830 * conform/Makefile (linknamespace-symlists-base): New variable.
3831 (linknamespace-symlists-tests): Likewise.
3832 (linknamespace-header-base): Likewise.
3833 (linknamespace-header-tests): Likewise.
3834 (tests-special): Add new tests.
3835 ($(linknamespace-symlists-tests)): New rule.
3836 (linknamespace-libs): New variable.
3837 ($(objpfx)symlist-stdlibs): New rule.
3838 ($(linknamespace-header-tests)): Likewise.
3839 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3840 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3841 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3842 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3843 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3844 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3845 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3846 (test-xfail-ISO/math.h/linknamespace): Likewise.
3847 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3848 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3849 (test-xfail-ISO/time.h/linknamespace): Likewise.
3850 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3851 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3852 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3853 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3854 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3855 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3856 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3857 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3858 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3859 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3860 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3861 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3862 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3863 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3864 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3865 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3866 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3867 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3868 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3869 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3870 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3871 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3872 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3873 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3874 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3875 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3876 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3877 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3878 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3879 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3880 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3881 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3882 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3883 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3884 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3885 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3886 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3887 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3888 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3889 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3890 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3891 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3892 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3893 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3894 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3895 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3896 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3897 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3898 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3899 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3900 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3901 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3902 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3903 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3904 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3905 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3906 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3907 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3908 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3909 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3910 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3911 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3912 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3913 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3914 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3915 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3916 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3917 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3918 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3919 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3920 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3921 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3922 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3923 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3924 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3925 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3926 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3927 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3928 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3929 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3930 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3931 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3932 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3933 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3934 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3935 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3936 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3937 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3938 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3939 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3940 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3941 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3942 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3943 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3944 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3945 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3946 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3947 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3948 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3949 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3950 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3951 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3952 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3953 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3954 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3955 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3956 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3957 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3958 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3959 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3960 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3961 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3962 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3963 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3964 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3965 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3966 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3967 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3968 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3969 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3970 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3971 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3972 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3973 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3974 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3975 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3976 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3977 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3978 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3979 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3980 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3981 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3982 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3983 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3984 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3985 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3986 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3987 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3988 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3989 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3990 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3991 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3992 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3993 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3994 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3995 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3996 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3997 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3998 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3999 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4000
4001 [BZ #17589]
4002 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4003 of fgets_unlocked.
4004
4005 [BZ #17585]
4006 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4007 (memmem): Rename to __memmem and define as weak alias of
4008 __memmem. Use libc_hidden_weak.
4009 (__memmem): Use libc_hidden_def.
4010 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4011 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4012 memmem.
4013
4014 [BZ #17582]
4015 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4016 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4017 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4018 and define as weak alias of __fgets_unlocked. Use
4019 libc_hidden_weak.
4020 (__fgets_unlocked): Use libc_hidden_def.
4021 * include/stdio.h (__fgets_unlocked): Declare. Use
4022 libc_hidden_proto.
4023 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4024 __fgets_unlocked instead of fgets_unlocked.
4025 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4026 (GET_NPROCS_CONF_PARSER): Likewise.
4027 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4028 (GET_NPROCS_CONF_PARSER): Likewise.
4029
4030 [BZ #17574]
4031 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4032 weak alias of __wmemset. Use libc_hidden_weak.
4033 (__wmemset): Use libc_hidden_def.
4034 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4035 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4036 of wmemset.
4037
4038 [BZ #17573]
4039 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4040 with asm name __mempcpy.
4041 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4042
4043 [BZ #17572]
4044 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4045 and define as weak alias of __rawmemchr.
4046 (__rawmemchr): Do not define as strong alias of rawmemchr.
4047
4048 [BZ #17571]
4049 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4050 alias of __qsort_r.
4051 (qsort): Call __qsort_r instead of qsort_r.
4052 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4053 (__qsort_r): Declare. Call libc_hidden_proto.
4054 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4055 instead of qsort_r.
4056 * nscd/gai.c (__qsort_r): Define to qsort_r.
4057 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4058 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4059 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4060
4061 [BZ #17570]
4062 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4063 define as weak alias of __malloc_info.
4064
4065 [BZ #17584]
4066 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4067 as weak alias of __rewinddir. Don't use libc_hidden_def.
4068 (__rewinddir): Use libc_hidden_def.
4069 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4070 as weak alias of __rewinddir. Don't use libc_hidden_def.
4071 (__rewinddir): Use libc_hidden_def.
4072 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4073 weak alias of __rewinddir. Don't use libc_hidden_def.
4074 (__rewinddir): Use libc_hidden_def.
4075 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4076 (__rewinddir): Use libc_hidden_proto.
4077 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4078 rewinddir.
4079 (__getcwd): Use __rewinddir instead of rewinddir.
4080
4081 [BZ #17583]
4082 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4083 alias of __fileno. Use libc_hidden_weak.
4084 (__fileno): Use libc_hidden_def.
4085 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4086 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4087 alias of __ftello.
4088 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4089 __ftello.
4090 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4091 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4092 libc_hidden_def.
4093 (fread_unlocked): Don't use libc_hidden_ver.
4094 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4095 and define as weak alias of __fread_unlocked. Don't use
4096 libc_hidden_def.
4097 (__fread_unlocked): Use libc_hidden_def.
4098 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4099 (ftello): Don't use libc_hidden_proto.
4100 (__ftello): Declare. Use libc_hidden_proto.
4101 (fread_unlocked): Don't use libc_hidden_proto.
4102 (__fread_unlocked): Declare. Use libc_hidden_proto.
4103 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4104 and __ftello instead of fileno, fread_unlocked and ftello.
4105
4106 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4107
4108 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4109 GOT12.
4110 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4111 Likewise.
4112 (_dl_start_user): Likewise.
4113 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4114
4115 2014-11-12 Carlos O'Donell <carlos@redhat.com>
4116 Siddhesh Poyarekar <siddhesh@redhat.com>
4117
4118 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4119 Move argv and envp down instead of moving argc up.
4120 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4121
4122 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
4123
4124 [BZ #17506]
4125 * test-skeleton.c (main): Return successful if one of
4126 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4127 * string/tst-strcoll-overflow.c: Define expected status.
4128
4129 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4130
4131 [BZ #17475]
4132 * locale/iso-639.def: Define Bhili and Tulu language codes.
4133
4134 2014-11-11 Alan Hayward <alan.hayward@arm.com>
4135
4136 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4137
4138 2014-11-10 Renlin Li <Renlin.Li@arm.com>
4139
4140 [BZ #17555]
4141 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4142
4143 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4144
4145 * configure.ac: Updated check of minimal required version to
4146 2.22.
4147 * manual/install.texi (Tools for Compilation): Updated version
4148 number.
4149 * configure: Regenerated.
4150 * INSTALL: Likewise.
4151
4152 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4153
4154 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4155 __tls_get_addr.
4156
4157 2014-11-07 Joseph Myers <joseph@codesourcery.com>
4158
4159 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4160 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4161 (__waitpid): Don't define as alias. Use libc_hidden_def not
4162 libc_hidden_weak.
4163 (waitpid): Define as alias of __waitpid.
4164 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4165 __waitpid.
4166 (__waitpid): Don't define as alias. Use libc_hidden_def not
4167 libc_hidden_weak.
4168 (waitpid): Define as alias of __waitpid.
4169 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4170 __libc_waitpid alias.
4171 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4172 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4173 Likewise.
4174 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4175 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4176 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4177 alias.
4178 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4179 __waitpid.
4180 (__waitpid): Don't define as alias. Use libc_hidden_def not
4181 libc_hidden_weak.
4182 (waitpid): Define as alias of __waitpid.
4183
4184 2014-11-06 Carlos O'Donell <carlos@redhat.com>
4185
4186 * manual/llio.texi: Add comment that write safety has been
4187 fixed in Linux.
4188
4189 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4190 (localplt-build-dso): Add elf/ld.so.
4191 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4192 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4193 and free for ld.so.
4194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4195 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4197 Likewise.
4198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4199 Likewise.
4200 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4201 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4202 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4203 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4204 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4205 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4206 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4207 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4208 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4209 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4210 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4211
4212 2014-11-05 Joseph Myers <joseph@codesourcery.com>
4213
4214 [BZ #14132]
4215 * include/libc-symbols.h (INTUSE): Remove macro.
4216 (INTDEF): Likewise.
4217 (INTVARDEF): Likewise.
4218 (_INTVARDEF): Likewise.
4219 (INTDEF2): Likewise.
4220 (INTVARDEF2): Likewise.
4221 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4222 rtld_hidden_def instead of INTVARDEF.
4223 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4224 (_dl_starting_up_internal): Remove declaration.
4225 (_dl_starting_up): Use rtld_hidden_proto.
4226 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4227 declaration.
4228 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4229 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4230 _dl_starting_up.
4231 * elf/dl-writev.h (_dl_writev): Likewise.
4232 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4233 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4234 _dl_starting_up_internal.
4235
4236 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4237
4238 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4239 test-skeleton.c.
4240
4241 2014-11-05 Will Newton <will.newton@linaro.org>
4242
4243 * benchtests/Makefile: (bench-malloc): Add malloc thread
4244 scalability benchmark.
4245 * benchtests/bench-malloc-threads.c: New file.
4246
4247 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
4248
4249 * sysdeps/aarch64/strchrnul.S: New file.
4250
4251 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4252
4253 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4254 definition.
4255 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4256 Likwise.
4257 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4258 Likewise.
4259 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4260 Likewise.
4261 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4262 Likewise.
4263 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4264 Likewise.
4265
4266 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
4267
4268 * catgets/test-gencat.c: Use test-skeleton.c.
4269 * catgets/tst-catgets.c: Likewise.
4270 * csu/tst-empty.c: Likewise.
4271 * elf/tst-audit2.c: Likewise.
4272 * elf/tst-global1.c: Likewise.
4273 * elf/tst-pathopt.c: Likewise.
4274 * elf/tst-piemod1.c: Likewise.
4275 * elf/tst-tls10.c: Likewise.
4276 * elf/tst-tls11.c: Likewise.
4277 * elf/tst-tls12.c: Likewise.
4278 * gnulib/tst-gcc.c: Likewise.
4279 * iconvdata/tst-e2big.c: Likewise.
4280 * iconvdata/tst-loading.c: Likewise.
4281 * iconv/tst-iconv1.c: Likewise.
4282 * iconv/tst-iconv2.c: Likewise.
4283 * inet/test-inet6_opt.c: Likewise.
4284 * inet/tst-gethnm.c: Likewise.
4285 * inet/tst-network.c: Likewise.
4286 * inet/tst-ntoa.c: Likewise.
4287 * intl/tst-codeset.c: Likewise.
4288 * intl/tst-gettext2.c: Likewise.
4289 * intl/tst-gettext3.c: Likewise.
4290 * intl/tst-ngettext.c: Likewise.
4291 * intl/tst-translit.c: Likewise.
4292 * io/test-stat.c: Likewise.
4293 * libio/test-fmemopen.c: Likewise.
4294 * libio/tst-freopen.c: Likewise.
4295 * libio/tst-sscanf.c: Likewise.
4296 * libio/tst-ungetwc1.c: Likewise.
4297 * libio/tst-ungetwc2.c: Likewise.
4298 * libio/tst-widetext.c: Likewise.
4299 * localedata/tst-ctype.c: Likewise.
4300 * localedata/tst-digits.c: Likewise.
4301 * localedata/tst-leaks.c: Likewise.
4302 * localedata/tst-mbswcs1.c: Likewise.
4303 * localedata/tst-mbswcs2.c: Likewise.
4304 * localedata/tst-mbswcs3.c: Likewise.
4305 * localedata/tst-mbswcs4.c: Likewise.
4306 * localedata/tst-mbswcs5.c: Likewise.
4307 * localedata/tst-setlocale.c: Likewise.
4308 * localedata/tst-trans.c: Likewise.
4309 * localedata/tst-wctype.c: Likewise.
4310 * localedata/tst-xlocale1.c: Likewise.
4311 * login/tst-grantpt.c: Likewise.
4312 * malloc/tst-calloc.c: Likewise.
4313 * malloc/tst-malloc.c: Likewise.
4314 * malloc/tst-mallocstate.c: Likewise.
4315 * malloc/tst-mcheck.c: Likewise.
4316 * malloc/tst-mtrace.c: Likewise.
4317 * malloc/tst-obstack.c: Likewise.
4318 * math/atest-exp2.c: Likewise.
4319 * math/atest-exp.c: Likewise.
4320 * math/atest-sincos.c: Likewise.
4321 * math/test-matherr.c: Likewise.
4322 * math/test-misc.c: Likewise.
4323 * math/test-powl.c: Likewise.
4324 * math/tst-definitions.c: Likewise.
4325 * misc/tst-dirname.c: Likewise.
4326 * misc/tst-efgcvt.c: Likewise.
4327 * misc/tst-fdset.c: Likewise.
4328 * misc/tst-hsearch.c: Likewise.
4329 * misc/tst-mntent2.c: Likewise.
4330 * nptl/tst-sem7.c: Likewise.
4331 * nptl/tst-sem8.c: Likewise.
4332 * nptl/tst-sem9.c: Likewise.
4333 * nss/test-netdb.c: Likewise.
4334 * posix/tst-fnmatch.c: Likewise.
4335 * posix/tst-getlogin.c: Likewise.
4336 * posix/tst-gnuglob.c: Likewise.
4337 * posix/tst-mmap.c: Likewise.
4338 * pwd/tst-getpw.c: Likewise.
4339 * resolv/tst-inet_ntop.c: Likewise.
4340 * rt/tst-timer.c: Likewise.
4341 * stdio-common/test-fseek.c: Likewise.
4342 * stdio-common/test-popen.c: Likewise.
4343 * stdio-common/test-vfprintf.c: Likewise.
4344 * stdio-common/tst-cookie.c: Likewise.
4345 * stdio-common/tst-fileno.c: Likewise.
4346 * stdio-common/tst-gets.c: Likewise.
4347 * stdio-common/tst-obprintf.c: Likewise.
4348 * stdio-common/tst-perror.c: Likewise.
4349 * stdio-common/tst-sprintf2.c: Likewise.
4350 * stdio-common/tst-sprintf3.c: Likewise.
4351 * stdio-common/tst-sprintf.c: Likewise.
4352 * stdio-common/tst-swprintf.c: Likewise.
4353 * stdio-common/tst-tmpnam.c: Likewise.
4354 * stdio-common/tst-unbputc.c: Likewise.
4355 * stdio-common/tst-wc-printf.c: Likewise.
4356 * stdlib/tst-environ.c: Likewise.
4357 * stdlib/tst-fmtmsg.c: Likewise.
4358 * stdlib/tst-limits.c: Likewise.
4359 * stdlib/tst-rand48-2.c: Likewise.
4360 * stdlib/tst-rand48.c: Likewise.
4361 * stdlib/tst-random2.c: Likewise.
4362 * stdlib/tst-random.c: Likewise.
4363 * stdlib/tst-strtol.c: Likewise.
4364 * stdlib/tst-strtoll.c: Likewise.
4365 * stdlib/tst-tls-atexit.c: Likewise.
4366 * stdlib/tst-xpg-basename.c: Likewise.
4367 * string/test-ffs.c: Likewise.
4368 * string/tst-bswap.c: Likewise.
4369 * string/tst-inlcall.c: Likewise.
4370 * string/tst-strtok.c: Likewise.
4371 * string/tst-strxfrm.c: Likewise.
4372 * sysdeps/x86_64/tst-audit10.c: Likewise.
4373 * sysdeps/x86_64/tst-audit3.c: Likewise.
4374 * sysdeps/x86_64/tst-audit4.c: Likewise.
4375 * sysdeps/x86_64/tst-audit5.c: Likewise.
4376 * time/tst-ftime_l.c: Likewise.
4377 * time/tst-getdate.c: Likewise.
4378 * time/tst-mktime3.c: Likewise.
4379 * time/tst-mktime.c: Likewise.
4380 * time/tst-posixtz.c: Likewise.
4381 * time/tst-strptime2.c: Likewise.
4382 * time/tst-strptime3.c: Likewise.
4383 * wcsmbs/tst-btowc.c: Likewise.
4384 * wcsmbs/tst-mbrtowc.c: Likewise.
4385 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4386 * wcsmbs/tst-wchar-h.c: Likewise.
4387 * wcsmbs/tst-wcpncpy.c: Likewise.
4388 * wcsmbs/tst-wcrtomb.c: Likewise.
4389 * wcsmbs/tst-wcsnlen.c: Likewise.
4390 * wcsmbs/tst-wcstof.c: Likewise.
4391
4392 2014-11-04 Joseph Myers <joseph@codesourcery.com>
4393
4394 [BZ #14132]
4395 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4396 INTDEF.
4397 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4398 declaration.
4399 (_dl_mcount): Use rtld_hidden_proto.
4400 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4401 _dl_mcount.
4402 * elf/rtld.c (_rtld_global_ro): Likewise.
4403
4404 [BZ #14132]
4405 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4406 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4407 of _dl_init_internal.
4408 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4409 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4410 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4411 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4412 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4413 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4414 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4415 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4416 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4417 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4418 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4419 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4420 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4421 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4422 * sysdeps/tile/dl-start.S (_start): Likewise.
4423 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4424 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4425
4426 [BZ #14132]
4427 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4428 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4429 (rtld_progname): Make macro definition unconditional.
4430 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4431 INTDEF.
4432 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4433 (dl_main): Likewise.
4434 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4435 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4436 instead of _dl_argv_internal.
4437 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4438 __GI__dl_argv instead of INTUSE(_dl_argv).
4439 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4440 __GI__dl_argv instead of _dl_argv_internal.
4441
4442 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4443 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4444 macro.
4445 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4446 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4447 New macro.
4448 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4449 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4450 macro.
4451 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4452 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4453
4454 2014-11-04 Andreas Schwab <schwab@suse.de>
4455
4456 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4457
4458 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4459
4460 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4461 mtvsrd instruction in binary form.
4462
4463 2014-11-03 Andreas Schwab <schwab@suse.de>
4464
4465 [BZ #17522]
4466 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4467 for less than MB_LEN_MAX use a local buffer of that size.
4468 * libio/tst-fputws.c: New file.
4469 * libio/Makefile (tests): Add tst-fputws.
4470
4471 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4472
4473 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4474 the size of the fpu_fr.fpu_dregs[] array.
4475
4476 2014-11-01 Joseph Myers <joseph@codesourcery.com>
4477
4478 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4479 (__nanosleep): Do not define as alias.
4480 (nanosleep): Define as alias of __nanosleep.
4481 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4482 __libc_nanosleep name.
4483
4484 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4485
4486 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4487 install.texi in comment.
4488
4489 2014-10-31 Torvald Riegel <triegel@redhat.com>
4490
4491 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4492 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4493 ... add here and use lwsync or sync ...
4494 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4495 ... and add here using lwsync.
4496
4497 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4498
4499 * elf/dl-machine-reject-phdr.h: New file.
4500 * elf/dl-load.c: #include that.
4501 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4502 if that returned true.
4503
4504 2014-10-31 Roland McGrath <roland@hack.frob.com>
4505
4506 [BZ #17496]
4507 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4508 gen-as-const-headers chunk. Add a big scare comment after the last
4509 safe place to touch before-compile.
4510
4511 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4512
4513 * manual/install.texi (Tools for Compilation): Update autoconf
4514 version requirements.
4515 * INSTALL: Regenerated.
4516
4517 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4518 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4519 (__libc_pselect): Likewise.
4520
4521 [BZ #14138]
4522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4526
4527 2014-10-31 Torvald Riegel <triegel@redhat.com>
4528
4529 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4530 correct barrier instruction.
4531 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4532 Likewise.
4533 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4534 Likewise.
4535
4536 2014-10-30 Roland McGrath <roland@hack.frob.com>
4537
4538 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4539 after defining inlines. Instead, just use parens to defeat macro
4540 expansion of __isctype in its declaration.
4541
4542 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4543
4544 * include/sys/uio.h (__libc_readv): Remove declaration.
4545 (__libc_writev): Likewise.
4546 * misc/readv.c (__libc_readv): Rename to __readv.
4547 (__readv): Do not define as alias.
4548 (readv): Define as alias of __readv.
4549 * misc/writev.c (__libc_writev): Rename to __writev.
4550 (__writev): Do not define as alias.
4551 (writev): Define as alias of __writev.
4552 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4553 (__readv): Do not define as alias.
4554 (readv): Define unconditionally as alias of __readv.
4555 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4556 (__writev): Do not define as alias.
4557 (writev): Define unconditionally as alias of __writev.
4558 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4559 name.
4560 (writev): Do not define __libc_writev name.
4561
4562 2014-10-30 Roland McGrath <roland@hack.frob.com>
4563
4564 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4565 (convert_charseq): New function, broken out of ...
4566 (use_from_charmap): ... here. Call it.
4567 (use_to_charmap): Use convert_charseq and free instead of duplicating
4568 its code with a variable-length stack struct.
4569
4570 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4571
4572 * include/fcntl.h (__libc_creat): Remove declaration.
4573 * io/creat.c (__libc_creat): Rename to creat.
4574 (creat): Do not define as alias.
4575 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4576 of creat instead of __libc_creat.
4577 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4578 to creat.
4579 (creat): Do not define as alias.
4580 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4581 __libc_creat.
4582 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4583 __libc_creat name.
4584 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4585 Likewise.
4586
4587 2014-10-29 Carlos O'Donell <carlos@redhat.com>
4588
4589 * manual/llio.texi: Add comments discussing why write() may be
4590 considered MT-unsafe on Linux.
4591
4592 2014-10-28 Carlos O'Donell <carlos@redhat.com>
4593
4594 * dl-load.c (local_strdup): Remove.
4595 (expand_dynamic_string_token): Use __strdup.
4596 (decompose_rpath): Likewise.
4597 (_dl_map_object): Likewise.
4598
4599 2014-10-28 Joseph Myers <joseph@codesourcery.com>
4600
4601 [BZ #14132]
4602 * sysdeps/generic/unwind-dw2-fde.c
4603 (__register_frame_info_bases_internal): Do not declare.
4604 (__register_frame_info_table_bases_internal): Likewise.
4605 (__deregister_frame_info_bases_internal): Likewise.
4606 (__register_frame_info_bases): Declare and use hidden_proto before
4607 definition. Use hidden_def instead of INTDEF.
4608 (__register_frame_info_table_bases): Likewise.
4609 (__deregister_frame_info_bases): Likewise.
4610 (__register_frame_info): Do not use INTUSE.
4611 (__register_frame): Likewise.
4612 (__register_frame_info_table): Likewise.
4613 (__register_frame_table): Likewise.
4614 (__deregister_frame_info): Likewise.
4615 (__deregister_frame): Likewise.
4616
4617 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4618
4619 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4620 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4621 not undefine.
4622 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4623 Likewise.
4624 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4625 Likewise.
4626
4627 2014-10-27 Joseph Myers <joseph@codesourcery.com>
4628
4629 [BZ #14138]
4630 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4631 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4632 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4633 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4634 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4635 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4636 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4637 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4638 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4639 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4640 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4641 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4642 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4643 syscall.
4644 (setfsuid): Likewise.
4645 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4646 (setfsuid): Likewise.
4647 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4648 (setfsuid): Likewise.
4649 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4650 Likewise.
4651 (setfsuid): Likewise.
4652 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4653 (setfsuid): Likewise.
4654 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4655 Likewise.
4656 (setfsuid): Likewise.
4657
4658 2014-10-27 Andreas Schwab <schwab@suse.de>
4659
4660 [BZ #17501]
4661 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4662 check for Slow_SSE4_2 feature bit.
4663 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4664 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4665 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4666 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4667
4668 2014-10-24 Roland McGrath <roland@hack.frob.com>
4669
4670 * configure.ac: Validate compiler version with a empirical test of
4671 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4672 $CC -v output.
4673 * configure: Regenerated.
4674
4675 * inet/htons.c (htons): Prototypify.
4676 * inet/htonl.c (htonl): Likewise.
4677
4678 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4679
4680 * string/strncat.c (strncat): Improve performance by using strlen.
4681
4682 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4683
4684 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4685
4686 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4687
4688 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4689 Call libc_fetestexcept_aarch64.
4690
4691 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4692
4693 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4694 Call libc_feholdexcept_aarch64.
4695
4696 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4697
4698 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4699 Call get_rounding_mode.
4700
4701 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4702
4703 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4704 Simplify logic.
4705
4706 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4707
4708 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4709 Simplify logic.
4710
4711 2014-10-24 Joseph Myers <joseph@codesourcery.com>
4712
4713 [BZ #14138]
4714 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4715 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4716 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4717 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4718 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4719 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4720 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4721 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4722 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4723 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4724 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4725 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4726 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4727 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4728 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4729 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4730 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4731 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4732 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4733 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4734 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4735 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4736 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4737 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4738 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4739 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4740 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4741 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4742 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4743 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4744 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4745 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4746 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4747 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4748 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4749 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4750 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4751 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4752 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4753 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4754 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4755 syscall.
4756 (geteuid): Likewise.
4757 (getgid): Likewise.
4758 (getuid): Likewise.
4759 (getresgid): Likewise.
4760 (getresuid): Likewise.
4761 (getgroups): Likewise.
4762 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4763 (geteuid): Likewise.
4764 (getgid): Likewise.
4765 (getuid): Likewise.
4766 (getresgid): Likewise.
4767 (getresuid): Likewise.
4768 (getgroups): Likewise.
4769 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4770 (geteuid): Likewise.
4771 (getgid): Likewise.
4772 (getuid): Likewise.
4773 (getresgid): Likewise.
4774 (getresuid): Likewise.
4775 (getgroups): Likewise.
4776 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4777 Likewise.
4778 (geteuid): Likewise.
4779 (getgid): Likewise.
4780 (getuid): Likewise.
4781 (getresgid): Likewise.
4782 (getresuid): Likewise.
4783 (getgroups): Likewise.
4784 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4785 (geteuid): Likewise.
4786 (getgid): Likewise.
4787 (getuid): Likewise.
4788 (getresgid): Likewise.
4789 (getresuid): Likewise.
4790 (getgroups): Likewise.
4791 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4792 Likewise.
4793 (geteuid): Likewise.
4794 (getgid): Likewise.
4795 (getuid): Likewise.
4796 (getgroups): Likewise.
4797
4798 [BZ #14138]
4799 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4800 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4801 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4802 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4803 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4804 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4805 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4806 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4807 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4808 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4809 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4810 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4811 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4812 __chown.
4813 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4814 (lchown): Likewise.
4815 (fchown): Likewise.
4816 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4817 Likewise.
4818 (lchown): Likewise.
4819 (fchown): Likewise.
4820 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4821 (lchown): Likewise.
4822 (fchown): Likewise.
4823 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4824 Likewise.
4825 (lchown): Likewise.
4826 (fchown): Likewise.
4827
4828 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4829
4830 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4831 Simplify logic.
4832
4833 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4834
4835 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4836 Cleanup logic.
4837
4838 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4839
4840 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4841 Remove unused include.
4842
4843 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4844
4845 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4846 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4847 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4848 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4849
4850 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4851 Helge Deller <deller@gmx.de>
4852
4853 [BZ #17508]
4854 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4855 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4856 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4857
4858 2014-10-23 Joseph Myers <joseph@codesourcery.com>
4859
4860 [BZ #14132]
4861 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4862 Remove macro definition.
4863 (__ashrdi3_v_glibc20): Likewise.
4864 (__lshrdi3_v_glibc20): Likewise.
4865 (__cmpdi2_v_glibc20): Likewise.
4866 (__ucmpdi2_v_glibc20): Likewise.
4867 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4868 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4869 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4870 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4871 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4872 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4873
4874 2014-10-22 Roland McGrath <roland@hack.frob.com>
4875
4876 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4877 old GNU extension [0] syntax.
4878 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4879 alloca rather than an array member with variable length.
4880 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4881 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4882 (parse_opt): ... here. Likewise use alloca there.
4883 Validate the -i argument before checking for rootness.
4884 (send_shutdown): New function, broken out of ...
4885 (parse_opt): ... here.
4886
4887 2014-10-22 Roland McGrath <roland@hack.frob.com>
4888
4889 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4890 macro to get at the _rt_local_ro field.
4891 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4892 ([PIC] case) or _dl_hwcap ([!PIC] case).
4893 * sysdeps/arm/setjmp.S: Likewise.
4894
4895 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4896 * sysdeps/arm/configure.ac: New check to define it.
4897 * sysdeps/arm/configure: Regenerated.
4898 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4899 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4900 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4901 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4902 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4903 Use move/movt pair instead of a load.
4904 (LDST_GLOBAL): Macro removed.
4905 (LDR_GLOBAL): New macro replaces it.
4906 (LDR_HIDDEN): New macro.
4907 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4908 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4909
4910 * setjmp/tst-setjmp-static.c: New file.
4911 * setjmp/Makefile (tests): Add it.
4912 (tests-static): New variable.
4913
4914 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4915
4916 [BZ #17485]
4917 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4918
4919 2014-10-21 Joseph Myers <joseph@codesourcery.com>
4920
4921 [BZ #14132]
4922 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4923
4924 2014-10-21 Roland McGrath <roland@hack.frob.com>
4925
4926 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4927
4928 2014-10-20 Roland McGrath <roland@hack.frob.com>
4929
4930 * io/fts.c (dirent_not_directory): New function.
4931 (fts_build): Call it.
4932
4933 2014-10-20 Roland McGrath <roland@hack.frob.com>
4934
4935 * nptl/version.c (__nptl_main): Use normal __write rather than
4936 INTERNAL_SYSCALL.
4937 (banner): Update copyright years.
4938
4939 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4940 gettimeofday.
4941 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4942 * nptl/pthread_cond_timedwait.c: Likewise.
4943 * nptl/pthread_mutex_timedlock.c: Likewise.
4944 * nptl/sem_timedwait.c: Likewise.
4945
4946 * sysdeps/nptl/bits/libc-lock.h
4947 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4948 (__libc_lock_init_recursive): Return void, not 0.
4949 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4950 (__libc_rwlock_init): Likewise.
4951 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4952
4953 2014-10-20 Torvald Riegel <triegel@redhat.com>
4954
4955 [BZ #15215]
4956 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4957 (__pthread_once_slow): ... here.
4958 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4959 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4960
4961 2014-10-20 Torvald Riegel <triegel@redhat.com>
4962
4963 [BZ #15215]
4964 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4965 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4966 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4967 * nptl/pthread_once.c (__pthread_once): Likewise.
4968 Update comments.
4969
4970 2014-10-20 Joseph Myers <joseph@codesourcery.com>
4971
4972 [BZ #14138]
4973 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4974 name.
4975 (writev): Use __libc_writev as strong name.
4976 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4977 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4978
4979 2014-10-17 Roland McGrath <roland@hack.frob.com>
4980
4981 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4982
4983 * sysdeps/i386/nptl/tls.h
4984 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4985 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4986 New macros.
4987 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4988 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4989 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4990 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4991 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4992 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4993
4994 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4995 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4996 on [__NR_futex].
4997 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4998 broken out of ...
4999 (__pthread_mutex_init): ... here. Call it.
5000 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5001 Conditionalize PI cases on [__NR_futex].
5002 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5003 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5004 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5005
5006 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5007 conditional on [SIGSETXID].
5008 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5009 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5010 is defined. Likewise for SIGSETXID.
5011 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5012 Conditionalize definitions on [SIGSETXID].
5013 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5014 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5015 unblocking on [SIGCANCEL].
5016
5017 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5018 [__NR_set_robust_list].
5019
5020 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5021
5022 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5023 (do_compare): Likewise.
5024
5025 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
5026
5027 [BZ #15884]
5028 * string/strcoll_l.c: Don't include stdio.h.
5029 (coll_seq): Remove members idxarr and rulearr.
5030 (get_next_seq_cached): Remove function.
5031 (get_next_seq): Likewise.
5032 (get_next_seq_nocache): Rename to get_next_seq.
5033 (do_compare): Remove function.
5034 (do_compare_nocache): Rename to do_compare.
5035 (STRCOLL): Remove weight and rules cache.
5036
5037 2014-10-16 Roland McGrath <roland@hack.frob.com>
5038
5039 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5040 * sysdeps/arm/sfp-machine.h: ... to here.
5041 * sysdeps/arm/Implies: Remove arm/soft-fp.
5042
5043 2014-10-14 Joseph Myers <joseph@codesourcery.com>
5044
5045 * conform/data/sys/utsname.h-data (*_t): Allow.
5046 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5047 [POSIX] (WEXITED): Do not expect constant.
5048 [POSIX] (WSTOPPED): Likewise.
5049 [POSIX] (WNOHANG): Likewise.
5050 [POSIX] (WNOWAIT): Likewise.
5051 [POSIX] (siginfo_t): Do not expect type or elements.
5052 [POSIX] (pid_t): Do not expect type.
5053 [POSIX] (signal.h): Do not allow header.
5054 [POSIX] (sys/resource.h): Likewise.
5055 [POSIX] (si_*): Do not allow pattern.
5056 [POSIX] (W*): Likewise.
5057 [POSIX] (P_*): Likewise.
5058 [POSIX] (BUS_*): Likewise.
5059 [POSIX] (CLD_*): Likewise.
5060 [POSIX] (FPE_*): Likewise.
5061 [POSIX] (ILL_*): Likewise.
5062 [POSIX] (POLL_*): Likewise.
5063 [POSIX] (SEGV_*): Likewise.
5064 [POSIX] (SI_*): Likewise.
5065 [POSIX] (TRAP_*): Likewise.
5066 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5067 variable.
5068
5069 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5070
5071 [BZ #12926]
5072 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5073 infinite loop when __recvmsg returns 0.
5074
5075 2014-10-10 Joseph Myers <joseph@codesourcery.com>
5076
5077 * CANCEL-FCT-WAIVE: Remove file.
5078 * CANCEL-FILE-WAIVE: Likewise.
5079
5080 [BZ #14132]
5081 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5082 instead of INTVARDEF.
5083 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5084 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5085 rtld_hidden_data_def instead of INTVARDEF.
5086 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5087 * elf/dl-deps.c (expand_dst): Likewise.
5088 * elf/dl-load.c (_dl_dst_count): Likewise.
5089 (_dl_dst_substitute): Likewise.
5090 (decompose_rpath): Likewise.
5091 (_dl_init_paths): Likewise.
5092 (open_path): Likewise.
5093 (_dl_map_object): Likewise.
5094 * elf/rtld.c (dl_main): Likewise.
5095 (process_dl_audit): Likewise.
5096 (process_envvars): Likewise.
5097 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5098 Remove declaration.
5099 (__libc_enable_secure): Use rtld_hidden_proto.
5100
5101 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5102
5103 * elf/dl-load.c
5104 (add_path): New function broken out of _dl_rtld_di_serinfo.
5105 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5106
5107 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5108
5109 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5110 parentheses around macro arguments.
5111 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5112 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5113 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5114 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5115 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5116 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5117 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5118 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5119 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5120 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5121 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5122 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5123 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5124 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5125 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5126 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5127 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5128 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5129 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5130 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5131 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5132 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5133 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5134 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5135 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5136 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5137 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5138 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5139 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5140 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5141 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5142 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5143 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5144 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5145 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5146 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5147 Likewise.
5148 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5149 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5150 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5151 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5152 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5153 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5154 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5155 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5156 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5157 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5158 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5159 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5160 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5161 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5162 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5163 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5164 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5165 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5166 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5167 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5168 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5169 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5170 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5171 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5172 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5173 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5174 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5175 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5176 (_FP_FRAC_SRS_1): Likewise.
5177 (_FP_FRAC_CLZ_1): Likewise.
5178 (_FP_MUL_MEAT_1_imm): Likewise.
5179 (_FP_MUL_MEAT_1_wide): Likewise.
5180 (_FP_MUL_MEAT_1_hard): Likewise.
5181 (_FP_SQRT_MEAT_1): Likewise.
5182 (_FP_FRAC_ASSEMBLE_1): Likewise.
5183 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5184 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5185 (__FP_CLZ_2): Likewise.
5186 (_FP_MUL_MEAT_2_wide): Likewise.
5187 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5188 (_FP_MUL_MEAT_2_gmp): Likewise.
5189 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5190 (_FP_SQRT_MEAT_2): Likewise.
5191 (_FP_FRAC_ASSEMBLE_2): Likewise.
5192 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5193 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5194 (_FP_FRAC_CLZ_4): Likewise.
5195 (_FP_MUL_MEAT_4_wide): Likewise.
5196 (_FP_MUL_MEAT_4_gmp): Likewise.
5197 (_FP_SQRT_MEAT_4): Likewise.
5198 (_FP_FRAC_ASSEMBLE_4): Likewise.
5199 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5200 * soft-fp/op-common.h (_FP_CMP): Likewise.
5201 (_FP_CMP_EQ): Likewise.
5202 (_FP_CMP_UNORD): Likewise.
5203 (_FP_TO_INT): Likewise.
5204 (_FP_FROM_INT): Likewise.
5205 [!__FP_CLZ] (__FP_CLZ): Likewise.
5206 (_FP_DIV_HELP_imm): Likewise.
5207 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5208 Likewise.
5209 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5210 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5211 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5212 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5213 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5214 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5215 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5216 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5217 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5218 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5219 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5220 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5221 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5222 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5223 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5224 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5225 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5226 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5227 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5228 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5229 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5230 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5231 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5232 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5233 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5234 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5235 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5236 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5237 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5238 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5239 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5240 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5241 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5242 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5243 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5244 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5245 (FP_UNPACK_RAW_SP): Likewise.
5246 (FP_PACK_RAW_S): Likewise.
5247 (FP_PACK_RAW_SP): Likewise.
5248 (FP_UNPACK_S): Likewise.
5249 (FP_UNPACK_SP): Likewise.
5250 (FP_UNPACK_SEMIRAW_S): Likewise.
5251 (FP_UNPACK_SEMIRAW_SP): Likewise.
5252 (FP_PACK_S): Likewise.
5253 (FP_PACK_SP): Likewise.
5254 (FP_PACK_SEMIRAW_S): Likewise.
5255 (FP_PACK_SEMIRAW_SP): Likewise.
5256 (_FP_SQRT_MEAT_S): Likewise.
5257 (FP_CMP_S): Likewise.
5258 (FP_CMP_EQ_S): Likewise.
5259 (FP_CMP_UNORD_S): Likewise.
5260 (FP_TO_INT_S): Likewise.
5261 (FP_FROM_INT_S): Likewise.
5262
5263 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5264
5265 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5266 (FP_EX_INVALID_IMZ): Likewise.
5267 (FP_EX_INVALID_IMZ_FMA): Likewise.
5268 (FP_EX_INVALID_ISI): Likewise.
5269 (FP_EX_INVALID_ZDZ): Likewise.
5270 (FP_EX_INVALID_IDI): Likewise.
5271 (FP_EX_INVALID_SQRT): Likewise.
5272 (FP_EX_INVALID_CVI): Likewise.
5273 (FP_EX_INVALID_VC): Likewise.
5274 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5275 "invalid" exceptions.
5276 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5277 (_FP_ADD_INTERNAL): Likewise.
5278 (_FP_MUL): Likewise.
5279 (_FP_FMA): Likewise.
5280 (_FP_DIV): Likewise.
5281 (_FP_CMP_CHECK_NAN): Likewise.
5282 (_FP_SQRT): Likewise.
5283 (_FP_TO_INT): Likewise.
5284 (FP_EXTEND): Likewise.
5285
5286 2014-10-09 Allan McRae <allan@archlinux.org>
5287
5288 * po/fr.po: Update French translation from translation project.
5289
5290 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5291
5292 [BZ #14132]
5293 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5294 of INTDEF.
5295 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5296 (__cxa_atexit): Use libc_hidden_proto.
5297 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5298
5299 [BZ #14132]
5300 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5301 declaration.
5302 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5303 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5304 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5305 [!_ISOMAC] (__iswctype_internal): Likewise.
5306 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5307 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5308 alias.
5309 (fcntl): Remove __fcntl_internal alias.
5310 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5311 __connect_internal alias.
5312 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5313 Likewise.
5314
5315 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5316 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5317 FP_DENORM_ZERO.
5318 (_FP_CHECK_FLUSH_ZERO): New macro.
5319 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5320 (_FP_CMP): Likewise.
5321 (_FP_CMP_EQ): Likewise.
5322 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5323 FP_DENORM_ZERO.
5324 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5325 (FP_TRUNC): Likewise.
5326
5327 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5328 treated as invalid conversion, not as normal exponent.
5329
5330 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5331 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5332 (_FP_CMP_EQ): Likewise.
5333 (_FP_CMP_UNORD): Likewise.
5334 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5335 (FP_CMP_EQ_D): Likewise.
5336 (FP_CMP_UNORD_D): Likewise.
5337 * soft-fp/extended.h (FP_CMP_E): Likewise.
5338 (FP_CMP_EQ_E): Likewise.
5339 (FP_CMP_UNORD_E): Likewise.
5340 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5341 (FP_CMP_EQ_Q): Likewise.
5342 (FP_CMP_UNORD_Q): Likewise.
5343 * soft-fp/single.h (FP_CMP_S): Likewise.
5344 (FP_CMP_EQ_S): Likewise.
5345 (FP_CMP_UNORD_S): Likewise.
5346 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5347 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5348 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5349 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5350 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5351 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5352 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5353 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5354 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5355 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5356 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5357 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5358 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5359 to FP_CMP_Q.
5360 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5361 FP_CMP_Q.
5362 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5363 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5364 FP_CMP_EQ_Q.
5365 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5366 FP_CMP_Q.
5367 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5368 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5369 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5370 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5371 FP_CMP_EQ_Q.
5372 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5373 FP_CMP_Q.
5374 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5375 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5376 FP_CMP_EQ_Q.
5377 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5378 FP_CMP_Q.
5379 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5380 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5381 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5382 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5383 FP_CMP_EQ_Q.
5384
5385 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5386 a subnormal result, set the underflow exception if trapping on
5387 underflow is enabled.
5388 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5389 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5390 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5391 redefine to 0.
5392 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5393 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5394 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5395 * soft-fp/extendxftf2.c (__extendxftf2): Use
5396 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5397
5398 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5399 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5400 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5401 FP_HANDLE_EXCEPTIONS.
5402 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5403 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5404 FP_HANDLE_EXCEPTIONS.
5405 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5406 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5407 FP_HANDLE_EXCEPTIONS.
5408 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5409 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5410 FP_HANDLE_EXCEPTIONS.
5411
5412 2014-10-08 Joseph Myers <joseph@codesourcery.com>
5413
5414 [BZ #14132]
5415 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5416 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5417 use INTUSE.
5418 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5419 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5420 Remove alias.
5421 (__adjtimex): Define using libc_hidden_ver.
5422 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5423 Remove declaration.
5424 (ntp_gettime): Call __adjtimex directly.
5425 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5426 Remove declaration.
5427 (ntp_gettimex): Call __adjtimex directly.
5428 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5429 __adjtimex_internal alias.
5430
5431 2014-10-08 Roland McGrath <roland@hack.frob.com>
5432
5433 [BZ #17460]
5434 * nscd/nscd.c (more_help): Rewrite list of tables collection
5435 using xstrdup and asprintf.
5436
5437 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5438
5439 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5440 Roland McGrath <roland@hack.frob.com>
5441
5442 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5443 (do_lookup_unique): ... local function 'enter' here; update callers.
5444
5445 2014-10-06 Joseph Myers <joseph@codesourcery.com>
5446
5447 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5448 compat_symbol calls on [SHARED].
5449 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5450 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5451 Remove.
5452 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5453 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5454 (oldsetrlimit): Remove.
5455 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5457 (lchown): New syscall entry.
5458 (oldsetrlimit): Remove.
5459 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5460 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5461 (oldsetrlimit): Remove.
5462 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5463
5464 [BZ #14138]
5465 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5466 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5467 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5468 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5469 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5470 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5471 (fchown): Likewise.
5472 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5473 (fchown): Likewise.
5474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5475 Likewise.
5476
5477 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5478
5479 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5480 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5481 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5482 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5483 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5484 Likewise.
5485 (__old_sem_post): Likewise.
5486
5487 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
5488
5489 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5490 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5491 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5492 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5493 Use INLINE_VSYSCALL macro.
5494 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5495 __vdso_clock_gettime.
5496 * sysdeps/unix/sysv/linux/tile/init-first.c
5497 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5498 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5499 __vdso_clock_gettime.
5500
5501 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5502 to set up frame more cleanly.
5503
5504 * sysdeps/tile/memcmp.c: New file.
5505
5506 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5507
5508 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5509 * sysdeps/tile/tilegx/strcasestr.c: New file.
5510 * sysdeps/tile/tilegx/strnlen.c: New file.
5511 * sysdeps/tile/tilegx/strstr.c: New file.
5512
5513 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5514
5515 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
5516
5517 * nptl/tst-setuid3.c: Write errors to stdout.
5518
5519 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5520
5521 * elf/dl-deps.c
5522 (preload): New functions broken out of _dl_map_object_deps.
5523 (_dl_map_object_deps): Remove a nested function. Update call sites.
5524
5525 2014-10-01 Joseph Myers <joseph@codesourcery.com>
5526
5527 [BZ #14138]
5528 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5529 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5530
5531 2014-10-01 Steve Ellcey <sellcey@mips.com>
5532
5533 * sysdeps/mips/strcmp.S: New.
5534
5535 2014-09-30 Joseph Myers <joseph@codesourcery.com>
5536
5537 [BZ #14138]
5538 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5539 (linkat): Likewise.
5540 (mkdirat): Likewise.
5541 (readlinkat): Likewise.
5542 (renameat): Likewise.
5543 (symlinkat): Likewise.
5544 (unlinkat): Likewise.
5545 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5546 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5547 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5548 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5549 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5550 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5551 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5552
5553 2014-09-30 Will Newton <will.newton@linaro.org>
5554
5555 * math/math.h: Define long double math functions if
5556 _LIBC_TEST is defined.
5557 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5558
5559 * localedata/Makefile: Move assignment to tests-special
5560 into an ifdef testing run-built-tests.
5561 * timezone/Makefile: Likewise.
5562
5563 2014-09-29 Joseph Myers <joseph@codesourcery.com>
5564
5565 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5566 with $(BASH) not $(SHELL).
5567
5568 2014-09-29 Carlos O'Donell <carlos@redhat.com>
5569 Matthew LeGendre <legendre1@llnl.gov>
5570
5571 [BZ #17411]
5572 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5573 l_reloc_result.
5574
5575 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5576
5577 * stdio-common/printf_fp.c
5578 (hack_digit): New function, broken out of ...
5579 (__printf_fp): ... local function here. Update call sites.
5580 hack_digit now takes an additional parameter that is a pointer
5581 to a struct of the referenced locals. Those locals moved inside
5582 the struct and references updated.
5583
5584 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5585
5586 * aclocal.m4: Require autoconf 2.69.
5587 * configure: Regenerated.
5588 * sysdeps/aarch64/configure: Likewise.
5589 * sysdeps/alpha/configure: Likewise.
5590 * sysdeps/arm/armv7/configure: Likewise.
5591 * sysdeps/arm/configure: Likewise.
5592 * sysdeps/ia64/configure: Likewise.
5593 * sysdeps/mach/configure: Likewise.
5594 * sysdeps/mips/configure: Likewise.
5595 * sysdeps/s390/configure: Likewise.
5596 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5598
5599 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5600 file.
5601 * sysdeps/ia64/configure.ac: Likewise.
5602
5603 2014-09-26 Joseph Myers <joseph@codesourcery.com>
5604
5605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5606 specify symbol version for ld.so. Do not include entry for
5607 libpthread.
5608 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5609 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5610 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5611
5612 [BZ #14171]
5613 * Makeconfig [$(build-shared) = yes]
5614 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5615 makefiles.
5616 [$(build-shared) = yes && $(soversions.mk-done) = t]
5617 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5618 [$(build-shared) = yes && $(soversions.mk-done) = t]
5619 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5620 to Makerules.
5621 [$(build-shared) = yes && $(soversions.mk-done) = t]
5622 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5623 here.
5624 [$(build-shared) = yes && $(soversions.mk-done) = t]
5625 (common-generated): Don't append gnu/lib-names.h and
5626 gnu/lib-names.stmp here.
5627 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5628 (lib-names-h-abi): New variable.
5629 [$(build-shared) = yes && $(soversions.mk-done) = t]
5630 (lib-names-stmp-abi): Likewise.
5631 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5632 abi-variants] (before-compile): Append
5633 $(common-objpfx)$(lib-names-h-abi).
5634 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5635 abi-variants] (common-generated): Append gnu/lib-names.h.
5636 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5637 abi-variants] (install-others-nosubdir): Depend on
5638 $(inst_includedir)/$(lib-names-h-abi).
5639 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5640 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5641 [$(build-shared) = yes && $(soversions.mk-done) = t]
5642 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5643 [$(build-shared) = yes && $(soversions.mk-done) = t]
5644 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5645 [$(build-shared) = yes && $(soversions.mk-done) = t]
5646 (common-generated): Append $(lib-names-h-abi) and
5647 $(lib-names-stmp-abi).
5648 * scripts/lib-names.awk: Do not handle multi being set.
5649 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5650 Remove variable.
5651 (abi-lp64_be-ld-soname): Likewise.
5652 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5653 Likewise.
5654 (abi-hard-ld-soname): Likewise.
5655 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5656 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5657 Remove variable.
5658 (abi-o32_hard-ld-soname): Likewise.
5659 (abi-o32_soft_2008-ld-soname): Likewise.
5660 (abi-o32_hard_2008-ld-soname): Likewise.
5661 (abi-n32_soft-ld-soname): Likewise.
5662 (abi-n32_hard-ld-soname): Likewise.
5663 (abi-n32_soft_2008-ld-soname): Likewise.
5664 (abi-n32_hard_2008-ld-soname): Likewise.
5665 (abi-n64_soft-ld-soname): Likewise.
5666 (abi-n64_hard-ld-soname): Likewise.
5667 (abi-n64_soft_2008-ld-soname): Likewise.
5668 (abi-n64_hard_2008-ld-soname): Likewise.
5669 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5670 Likewise.
5671 (abi-64-v2-ld-soname): Likewise.
5672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5673 ld.so entries.
5674 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5675 variable.
5676 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5677 entry.
5678 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5679 variable.
5680 (abi-64-ld-soname): Likewise.
5681 (abi-x32-ld-soname): Likewise.
5682 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5683 entry.
5684 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5685
5686 2014-09-23 Joseph Myers <joseph@codesourcery.com>
5687
5688 [BZ #14138]
5689 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5690 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5691 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5692 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5693 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5694 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5695 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5696 syscall entry for GLIBC_2.2 symbol version.
5697 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5698 Likewise.
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5700 (setrlimit): Likewise.
5701 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5702 Likewise.
5703
5704 2014-09-23 Will Newton <will.newton@linaro.org>
5705
5706 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5707 _LINUX_ARM_SYSDEP_H include guard too.
5708 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5709 define.
5710
5711 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5712
5713 * sysdeps/unix/sysv/linux/eventfd.c:
5714 Make first argument unsigned.
5715 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5716 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5717
5718 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
5719
5720 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5721 * socket/sys/socket.h: Likewise
5722 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5723
5724 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5725
5726 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5727
5728 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
5729
5730 * time/tst-ftime.c: New test.
5731 * time/Makefile (tests): Add tst-ftime.
5732
5733 2014-09-17 Joseph Myers <joseph@codesourcery.com>
5734
5735 * soft-fp/extended.h: Fix comment formatting.
5736 * soft-fp/op-1.h: Likewise.
5737 * soft-fp/op-2.h: Likewise.
5738 * soft-fp/op-4.h: Likewise.
5739 * soft-fp/op-8.h: Likewise.
5740 * soft-fp/op-common.h: Likewise.
5741 * soft-fp/soft-fp.h: Likewise.
5742
5743 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5744
5745 2014-09-16 Joseph Myers <joseph@codesourcery.com>
5746
5747 [BZ #6652]
5748 * Makeconfig (soversions-default-setname): Remove variable.
5749 ($(common-objpfx)soversions.i): Don't pass default_setname to
5750 soversions.awk.
5751 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5752 oldest_abi to abi-versions.awk.
5753 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5754 * config.make.in (oldest-abi): Remove variable.
5755 * configure.ac (--enable-oldest-abi): Remove configure option.
5756 * configure: Regenerated.
5757 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5758 text.
5759 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5760 * scripts/soversions.awk: Do not handle default_setname variable.
5761 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5762 variable.
5763 * sysdeps/mach/hurd/configure: Regenerated.
5764 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5765 variable.
5766 * sysdeps/unix/sysv/linux/configure: Regenerated.
5767
5768 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5769
5770 * elf/Makefile (CFLAGS-interp.c): Remove.
5771 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5772 path string.
5773 * elf/interp.c: Include generated runtime-linker.h
5774
5775 * Makerules (lib%.so): Don't include $(+interp) in
5776 prerequisites.
5777 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5778 * dlfcn/eval.c: Remove file.
5779
5780 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5781 macros.
5782
5783 [BZ #17266]
5784 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5785 4.2 and newer.
5786
5787 [BZ #17370]
5788 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5789
5790 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5791 Jakub Jelinek <jakub@redhat.com>
5792
5793 [BZ #17266]
5794 * libio/stdio.h: Check definition of __fortify_function
5795 instead of __extern_always_inline to include bits/stdio2.h.
5796 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5797 check if __extern_always_inline is defined.
5798 [__USE_MISC || __USE_XOPEN]: Likewise.
5799 [__USE_ISOC99] Likewise.
5800 * misc/sys/cdefs.h (__fortify_function): Define only if
5801 __extern_always_inline is defined.
5802 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5803 __extern_always_inline and __extern_inline only for g++-4.3
5804 and newer or a compatible gcc.
5805
5806 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5807
5808 [BZ #17371]
5809 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5810 last change to handle zero prefix length.
5811
5812 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5813
5814 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5815 _SC_REGEX_VERSION.
5816
5817 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5818 _POSIX_RAW_SOCKETS.
5819
5820 2014-09-13 Allan McRae <allan@archlinux.org>
5821
5822 * po/ru.po: Update Russian translation from translation project.
5823
5824 2014-09-12 Roland McGrath <roland@hack.frob.com>
5825
5826 * locale/programs/locale.c (show_locale_vars): Inline local function
5827 into its sole call site. Clean up some style nits.
5828 (print_item): New function, broken out of ...
5829 (show_info): ... local function here. Clean up style nits.
5830
5831 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5832 out of ...
5833 (set_class_defaults): ... local function set_default here.
5834 Define set_default as a macro locally to pass constant parameters.
5835 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5836 rather than a shared local.
5837
5838 * stdlib/rpmatch.c (try): New function, broken out of ...
5839 (rpmatch): ... local function here. Also, prototypify definition.
5840
5841 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5842
5843 * scripts/soversions.awk: Do not handle configuration names.
5844 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5845 vendor and os variables to soversions.awk.
5846 * configure.ac: Do not modify gnu-* host_os.
5847 * configure: Regenerated
5848 * shlib-versions: Remove first column with configuration names.
5849 * nptl/shlib-versions: Likewise.
5850 * nptl_db/shlib-versions: Likewise.
5851 * sysdeps/hppa/shlib-versions: Likewise.
5852 * sysdeps/m68k/shlib-versions: Likewise.
5853 * sysdeps/mach/hurd/shlib-versions: Likewise.
5854 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5855 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5856 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5857 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5858 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5859 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5860 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5861 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5863 Likewise.
5864 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5865 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5866 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5867 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5868 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5869 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5870 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5871 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5872
5873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5874 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5876 Regenerated.
5877 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5879 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5880
5881 * shlib-versions: Remove OS-specific entries. Moved to files in
5882 sysdeps.
5883 * sysdeps/mach/hurd/shlib-versions: New file.
5884 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5885
5886 * nptl/shlib-versions: Remove architecture-specific entries.
5887 Moved to files in sysdeps.
5888 * shlib-versions: Likewise.
5889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5890 file.
5891 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5892 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5893 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5894 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5895
5896 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5897 (UDP_NO_CHECK6_RX): Likewise.
5898
5899 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5900
5901 * sysdeps/posix/sysconf.c (__sysconf): Spell
5902 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5903
5904 2014-08-12 Florian Weimer <fweimer@redhat.com>
5905
5906 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5907 loading.
5908 * iconv/Versions (__gconv_transliterate): Export for use from
5909 gconv modules.
5910 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5911 (struct __gconv_trans_data, __gconv_trans_fct,
5912 __gconv_trans_context_fct, __gconv_trans_query_fct,
5913 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5914 definitions.
5915 (struct __gconv_step_data): Remove __trans member.
5916 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5917 longer hidden. Remove unused trans_data argument.
5918 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5919 (__gconv_translit_find): Remove declaration.
5920 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5921 prototype.
5922 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5923 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5924 trans_data argument. Add hidden definition.
5925 (__gconv_translit_find): Remove.
5926 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5927 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5928 * iconv/skeleton.c: Remove transliteration initialization.
5929 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5930 __gconv_step_data initialization.
5931 * libio/iofwide.c (__libio_translit_): Remove.
5932 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5933 * wcsmbs/btowc.c (__btowc): Likewise.
5934 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5935 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5936 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5937 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5938 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5939 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5940 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5941 * wcsmbs/wctob.c (wctob): Likewise.
5942
5943 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5944
5945 [BZ #16194]
5946 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5947 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5948 register usage.
5949 * sysdeps/x86/Makefile: Adjust.
5950
5951 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5952 Roland McGrath <roland@hack.frob.com>
5953
5954 * locale/weight.h: Add include guard.
5955 (findidx): Make static rather than auto; take new parameters
5956 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5957 * locale/weightwc.h: Likewise.
5958 * posix/fnmatch_loop.c
5959 (FCT): Change type of EXTRA from int32_t to wint_t.
5960 Don't include either header inside the function.
5961 Call FINDIDX rather than findidx, and pass new arguments.
5962 #undef FINDIDX at the end of the file.
5963 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5964 FINDIDX before including fnmatch_loop.c for the non-wide version.
5965 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5966 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5967 for the wide version.
5968 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5969 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5970 Pass new arguments to findidx.
5971 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5972 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5973 Don't #include it inside the function. Pass new arguments to findidx.
5974 * posix/regex_internal.h
5975 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5976 (re_string_elem_size_at): Don't #include it inside the function.
5977 Pass new arguments to findidx.
5978 * string/strcoll_l.c: #include WEIGHT_H at top level.
5979 (get_next_seq): Don't #include it inside the function.
5980 Pass new arguments to findidx.
5981 (get_next_seq_nocache): Likewise.
5982 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5983 (STRXFRM): Don't #include it inside the function.
5984 Pass new arguments to findidx.
5985
5986 2014-09-11 Florian Weimer <fweimer@redhat.com>
5987
5988 [BZ #17344]
5989 * malloc/malloc.c (unlink): Turn asserts into a call to
5990 malloc_printerr.
5991
5992 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
5993
5994 [BZ #17370]
5995 * libio/wfileops (do_ftell_wide): Free OUT.
5996
5997 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5998
5999 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6000
6001 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6002
6003 [BZ #17363]
6004 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6005 group if the current group is empty.
6006
6007 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6008
6009 * benchtests/bench-memset.c (test_main): Add more test from size
6010 from 32 to 512 bytes.
6011 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6012 Add POWER8 memset object.
6013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6014 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6015 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6016 implementation.
6017 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6018 Likewise.
6019 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6020 multiarch POWER8 memset optimization.
6021 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6022 POWER8 memset optimization.
6023
6024 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6025 Remove bzero multiarch objects.
6026 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6027 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6028 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6029 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6030 Remove define.
6031 [__bzero]: Redefine to specific name.
6032 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6033 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6034 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6035 define.
6036 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6037 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6038
6039 2014-09-10 Florian Weimer <fweimer@redhat.com>
6040
6041 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6042 warnings into errors.
6043
6044 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6045 __cxa_thread_atexit_impl prototype.
6046
6047 2014-09-09 Steve Ellcey <sellcey@mips.com>
6048
6049 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6050 Fix capitalization of error message.
6051
6052 2014-09-09 Steve Ellcey <sellcey@mips.com>
6053
6054 * sysdeps/mips/preconfigure: Modify ABI tests.
6055
6056 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6057
6058 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6059
6060 2014-09-07 Roland McGrath <roland@hack.frob.com>
6061 Carlos O'Donell <carlos@systemhalted.org>
6062
6063 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6064 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6065 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6066 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6067 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6068 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6069 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6070 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6071 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6072 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6073 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6074 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6075 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6076 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6077 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6078 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6079 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6080 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6081 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6082 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6083 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6084 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6085 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6086 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6087 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6088 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6089 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6090 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6091 Deconditionalize the code that was previously under [RESET_PID].
6092 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6093 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6094 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6095 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6096 include sysdep.h.
6097
6098 2014-09-08 Allan McRae <allan@archlinux.org>
6099
6100 * version.h (RELEASE): Set to "development".
6101 (VERSION): Set to "2.20.90"
6102
6103 2014-09-07 Allan McRae <allan@archlinux.org
6104
6105 * version.h (RELEASE): Set to "stable".
6106 (VERSION): Set to "2.20"
6107 * include/features.h (__GLIBC_MINOR__): Set to 20.
6108
6109 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6110 Liebler.
6111
6112 * po/ko.po: Update Korean translation from translation project.
6113
6114 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6115
6116 [BZ #17354]
6117 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6118 macro for handling signed relocations.
6119
6120 2014-09-03 Florian Weimer <fweimer@redhat.com>
6121
6122 [BZ #17325]
6123 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6124 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6125 assert.
6126 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6127 * iconvdata/ibm935.c (BODY): Likewise.
6128 * iconvdata/ibm937.c (BODY): Likewise.
6129 * iconvdata/ibm939.c (BODY): Likewise.
6130 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6131 assert.
6132 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6133 script.
6134 * iconvdata/run-iconv-test.sh: New test loop for checking for
6135 decoder crashers.
6136
6137 2014-09-02 Khem Raj <raj.khem@gmail.com>
6138
6139 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6140 libm_hidden_ver.
6141
6142 2014-09-01 Allan McRae <allan@archlinux.org>
6143
6144 * po/eo.po: Update Esperanto translation from translation project.
6145
6146 * po/ca.po: Update Catalan translation from translation project.
6147
6148 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6149
6150 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6151 __proc_dostop call.
6152
6153 2014-08-27 Mark Wielaard <mjw@redhat.com>
6154
6155 [BZ #17319]
6156 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6157 to call set_thread_area instead of hand written asm.
6158 (__NR_set_thread_area): Removed define.
6159 (TLS_FLAG_WRITABLE): Likewise.
6160 (__ASSUME_SET_THREAD_AREA): Remove check.
6161 (TLS_EBX_ARG): Remove define.
6162 (TLS_LOAD_EBX): Likewise.
6163
6164 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6165
6166 Simplify atomicity of socket creation in bind.
6167
6168 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6169 looking up the name after linking the file.
6170
6171 2014-08-27 Allan McRae <allan@archlinux.org>
6172
6173 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6174
6175 2014-08-26 Florian Weimer <fweimer@redhat.com>
6176
6177 [BZ #17187]
6178 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6179 trans_compare, open_translit, __gconv_translit_find):
6180 Remove module loading code.
6181
6182 2014-08-26 Allan McRae <allan@archlinux.org>
6183
6184 * po/vi.po: Update Vietnamese translation from translation project.
6185
6186 * po/uk.po: Update Ukrainian translation from translation project.
6187
6188 * po/fr.po: Update French translation from translation project.
6189
6190 * po/ru.po: Update Russian translation from translation project.
6191
6192 * po/pl.po: Update Polish translation from translation project.
6193
6194 * po/cs.po: Update Czech translation from translation project.
6195
6196 * po/de.po: Update German translation from translation project.
6197
6198 * po/bg.po: Update Bulgarian translation from translation project.
6199
6200 * po/sv.po: Update Sweedish translation from translation project.
6201
6202 * po/nl.po: Update Dutch translation from translation project.
6203
6204 * po/es.po: Update Spanish translation from translation project.
6205
6206 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6207
6208 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6209
6210 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6211 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6212 (CPPFLAGS-iconvconfig): Likewise.
6213 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6214
6215 * include/libc-symbols.h: Remove unnecessary check for
6216 NOT_IN_libc.
6217 * nptl/pthreadP.h: Likewise.
6218 * sysdeps/aarch64/setjmp.S: Likewise.
6219 * sysdeps/alpha/setjmp.S: Likewise.
6220 * sysdeps/arm/sysdep.h: Likewise.
6221 * sysdeps/i386/setjmp.S: Likewise.
6222 * sysdeps/m68k/setjmp.c: Likewise.
6223 * sysdeps/posix/getcwd.c: Likewise.
6224 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6225 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6226 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6227 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6228 * sysdeps/sh/sh3/setjmp.S: Likewise.
6229 * sysdeps/sh/sh4/setjmp.S: Likewise.
6230 * sysdeps/unix/alpha/sysdep.h: Likewise.
6231 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6232 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6233 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6234 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6237 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6238 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6239 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6240 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6242 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6244 * sysdeps/x86_64/setjmp.S: Likewise.
6245
6246 2014-08-13 Joseph Myers <joseph@codesourcery.com>
6247
6248 [BZ #17263]
6249 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6250 <stdint.h>.
6251 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6252 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6253
6254 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6255
6256 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6257
6258 [BZ #17262]
6259 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6260 and __x86_64__ when disabling x87 inline functions.
6261
6262 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6263
6264 [BZ #17259]
6265 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6266 asm statement with __cpuid_count.
6267
6268 2014-08-12 Mike Frysinger <vapier@gentoo.org>
6269
6270 * configure.ac: Change __ehdr_start code to dereference the struct.
6271 Run readelf on the output to look for relocations.
6272 * configure: Regenerated.
6273
6274 2014-08-12 Joseph Myers <joseph@codesourcery.com>
6275
6276 [BZ #17261]
6277 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6278 value to 0.
6279 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6280
6281 2014-08-12 Roland McGrath <roland@hack.frob.com>
6282
6283 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6284
6285 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6286
6287 [BZ #16892]
6288 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6289 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6290
6291 2014-08-12 Sean Anderson <seanga2@gmail.com>
6292
6293 * malloc/malloc.c: Fix typo in comment.
6294
6295 2014-08-09 Allan McRae <allan@archlinux.org>
6296
6297 * Regenerate libc.po.
6298
6299 2014-08-08 Mike Frysinger <vapier@gentoo.org>
6300
6301 * intl/tst-gettext2.sh: Check every lang file for creation.
6302
6303 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6304
6305 * sysdeps/aarch64/fpu/math_private.h
6306 (libc_feholdsetround_noex_aarch64_ctx): New function.
6307
6308 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6309
6310 * sysdeps/arm/armv6/strcpy.S (strcpy):
6311 Fix performance issue in misaligned cases.
6312
6313 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6314
6315 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6316 Move definition from termios.h.
6317 (struct termio): Likewise.
6318 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6319 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6320 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6321 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6322 Likewise.
6323 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6324 Move definition to ioctl-types.h
6325 (struct termio): Likewise.
6326 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6327 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6328 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6329 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6330 Likewise.
6331
6332 2014-08-05 Richard Henderson <rth@redhat.com>
6333
6334 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6335 exceptions.
6336 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6337 Add fraiseexcpt.
6338 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6339 Use __feraiseexcept.
6340 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6341 Protect libm symbols with IS_IN_libm.
6342
6343 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6344
6345 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6346
6347 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6348
6349 2014-08-04 Will Newton <will.newton@linaro.org>
6350
6351 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6352 file.
6353
6354 2014-08-04 Mike Frysinger <vapier@gentoo.org>
6355
6356 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6357 variants for each function.
6358
6359 2014-08-04 Roland McGrath <roland@hack.frob.com>
6360
6361 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6362 appended ...
6363 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6364 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6365 appended ...
6366 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6367 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6368 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6369 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6370 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6371 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6372 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6373 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6374 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6375 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6376 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6377 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6378 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6379 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6380 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6381 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6382 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6383 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6384 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6385 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6386 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6387 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6388 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6389 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6390 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6391 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6392 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6393 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6394 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6395 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6396 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6397 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6398 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6399 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6400 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6401 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6402 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6403 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6404 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6405 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6406 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6407 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6408 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6409 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6410 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6411 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6412 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6413 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6414 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6415 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6416 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6417 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6418 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6419 Update #include.
6420 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6421 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6422
6423 2014-08-04 Roland McGrath <roland@hack.frob.com>
6424
6425 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6426 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6427 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6428 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6429 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6430 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6431
6432 2014-08-04 Roland McGrath <roland@hack.frob.com>
6433
6434 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6435 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6436 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6437 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6438
6439 2014-08-04 Roland McGrath <roland@hack.frob.com>
6440
6441 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6442 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6443 (__libc_vfork): Define function under this name.
6444 (__vfork): Define as an alias.
6445 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6446 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6447
6448 2014-08-04 Roland McGrath <roland@hack.frob.com>
6449
6450 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6451 that was previously under [RESET_PID].
6452 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6453
6454 2014-08-04 Andreas Schwab <schwab@suse.de>
6455
6456 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6457
6458 2014-08-03 Mike Frysinger <vapier@gentoo.org>
6459
6460 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6461 (main): Likewise.
6462
6463 2014-08-01 Roland McGrath <roland@hack.frob.com>
6464
6465 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6466
6467 2014-08-01 Richard Henderon <rth@redhat.com>
6468
6469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6470 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6471 typo in exact zero test.
6472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6473 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6474 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6475
6476 2014-08-01 Roland McGrath <roland@hack.frob.com>
6477
6478 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6479 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6480 * sysdeps/arm/sysdep.h: ... here.
6481 [!__ASSEMBLER__]: Include <stdint.h>.
6482
6483 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6484
6485 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6486 (HAVE_WCTYPE_H): Likewise.
6487 (HAVE_ISWCTYPE): Likewise.
6488 (ENABLE_NLS): Likewise.
6489 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6490 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6491
6492 * posix/regex_internal.c: Check if DEBUG is defined and is
6493 set.
6494
6495 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6496 (HAVE_MBSRTOWCS): Likewise.
6497 * posix/fnmatch.c: Include string.h unconditionally.
6498
6499 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6500
6501 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6502 reversal.
6503
6504 2014-07-31 Roland McGrath <roland@hack.frob.com>
6505
6506 * sysdeps/generic/safe-fatal.h: New file.
6507 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6508 * nptl/forward.c: Include it.
6509 (__pthread_unwind): Use __safe_fatal as default action, rather
6510 than a bogus use of INTERNAL_SYSCALL that could never work.
6511
6512 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6513 * configure.ac (libc_cv_builtin_trap): New test.
6514 * configure: Regenerated.
6515 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6516 (ABORT_INSTRUCTION): Define using __builtin_trap.
6517
6518 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6519 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6520 * sysdeps/nptl/nptl-signals.h: New file.
6521 * nptl/pthreadP.h: Include <nptl-signals.h>.
6522
6523 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6524
6525 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6526 (ONE_DIRECTION): Define.
6527 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6528 (ONE_DIRECTION): Define.
6529 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6530 (ONE_DIRECTION): Define.
6531
6532 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6533
6534 * sysdeps/s390/Makefile: Delete file.
6535 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6536 * sysdeps/s390/__longjmp.c: Delete file.
6537 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6538 Remove fields __flags and __reserved.
6539 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6540 and add versioning.
6541 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6542 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6543 * sysdeps/s390/rtld-setjmp.S: Likewise.
6544 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6545 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6546 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6547 * sysdeps/s390/s390-32/setjmp.S: ... here.
6548 Add versioning.
6549 (__sigsetjmp): Remove setting __flags field.
6550 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6551 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6552 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6553 * sysdeps/s390/s390-64/setjmp.S: ... here.
6554 Add versioning.
6555 (__sigsetjmp): Remove setting __flags field.
6556 * sysdeps/s390/setjmp.S: Delete file.
6557 * sysdeps/s390/sigjmp.c: Likewise.
6558 * sysdeps/s390/v1-longjmp.c: Likewise.
6559 * sysdeps/s390/v1-setjmp.h: Likewise.
6560 * sysdeps/s390/v1-sigjmp.c: Likewise.
6561 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6562 Remove v1-longjmp_chk.
6563 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6564 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6565 Include debug/longjmp_chk.c and add versioning.
6566 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6567 Include nptl/pt-longjmp.c and add versioning.
6568 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6569 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6570 Include __longjmp.c.
6571 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6572 Move to ...
6573 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6574 (__getcontext): Remove setting __flags field.
6575 Add versioning.
6576 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6577 Don't restore upper high grps.
6578 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6579 Likewise.
6580 (__swapcontext): Remove setting uc_flags field.
6581 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6582 Delete file.
6583 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6584 Include __longjmp.c.
6585 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6586 Move to ...
6587 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6588 (__getcontext): Remove setting __flags field.
6589 Add versioning.
6590 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6591 (__swapcontext): Remove setting uc_flags field.
6592 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6593 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6594 Remove fields uc_high_gprs and __reserved.
6595 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6596 New file with reverted content.
6597 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6598 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6599 Regenerated.
6600 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6601 Regenerated.
6602
6603 2014-07-31 Andreas Schwab <schwab@suse.de>
6604
6605 * config.h.in (HAVE_IFUNC): Define to 0.
6606 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6607 definedness.
6608
6609 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6610
6611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6612 memmove-avx-unaligned, memcpy-avx-unaligned and
6613 mempcpy-avx-unaligned.
6614 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6615 Add tests for AVX memcpy functions.
6616 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6617 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6618 memcpy_chk.
6619 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6620 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6621 memmove_chk.
6622 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6623 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6624 mempcpy_chk.
6625 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6626 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6627 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6628
6629 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6630
6631 [BZ #17213]
6632 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6633 powerpc64le.
6634
6635 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
6636
6637 [BZ #16839]
6638 * manual/llio.texi: Add section about open file description locks.
6639 * manual/examples/ofdlocks.c: Example of open file description
6640 lock usage.
6641 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6642 F_OFD_SETLK, and F_OFD_SETLKW.
6643
6644 2014-07-23 Allan McRae <allan@archlinux.org>
6645
6646 * po/es.po: Update Spanish translation from translation project.
6647
6648 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6649
6650 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6651
6652 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6653
6654 [BZ #17078]
6655 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6656 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6657 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6658
6659 2014-07-17 Joseph Myers <joseph@codesourcery.com>
6660
6661 [BZ #17088]
6662 * math/fesetenv.c (__fesetenv)
6663 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6664 * math/feupdateenv.c (__feupdateenv)
6665 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6666
6667 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6668 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6669 (__ASSUME_SOCKETCALL): Do not define.
6670
6671 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6672 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6673 (__ASSUME_SOCKETCALL): Do not define.
6674 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6675 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6676 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6677 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6678 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6679 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6680 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6681 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6682
6683 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6684 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6685 (__ASSUME_SOCKETCALL): Do not define.
6686 (__ASSUME_IPC64): Define unconditionally.
6687 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6688 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6689 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6690 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6691 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6692 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6693 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6694 Likewise.
6695
6696 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6697 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6698 (__ASSUME_SOCKETCALL): Do not define.
6699 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6700 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6701 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6702 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6703 (__ASSUME_REQUEUE_PI): Define unconditionally.
6704 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6705 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6706 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6707 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6708 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6709 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6710
6711 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6712 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6713 (__ASSUME_SOCKETCALL): Do not define.
6714 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6715 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6716 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6717 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6718 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6719 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6720
6721 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6722 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6723 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6724 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6725 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6726 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6727 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6728 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6729 (__ASSUME_GETCPU_SYSCALL): Likewise.
6730
6731 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6732 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6733 cases for individual architectures.
6734 * sysdeps/gnu/configure: Regenerated.
6735 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6736 LIBC_SLIBDIR_RTLDDIR.
6737 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6738 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6739 LIBC_SLIBDIR_RTLDDIR.
6740 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6742 LIBC_SLIBDIR_RTLDDIR.
6743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6744 Regenerated.
6745 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6746 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6747 file.
6748 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6749 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6750 file.
6751 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6752 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6753 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6754 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6755
6756 * sysdeps/aarch64/shlib-versions: Move to ...
6757 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6758 * sysdeps/alpha/shlib-versions: Move to ...
6759 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6760 * sysdeps/arm/shlib-versions: Move to ...
6761 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6762 * sysdeps/hppa/shlib-versions: Move all contents except for
6763 libgcc_s entry to ...
6764 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6765 entry from ...
6766 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6767 * sysdeps/ia64/shlib-versions: Move to ...
6768 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6769 entry from ...
6770 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6771 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6772 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6773 * sysdeps/microblaze/shlib-versions: Move to ...
6774 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6775 * sysdeps/mips/shlib-versions: Move to ...
6776 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6777 entry from ...
6778 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6779 * sysdeps/tile/shlib-versions: Move to ...
6780 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6781 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6782 from ...
6783 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6784 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6785 entry from ...
6786 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6787
6788 2014-07-17 Will Newton <will.newton@linaro.org>
6789
6790 * sysdeps/arm/bits/atomic.h
6791 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6792 (__arch_compare_and_exchange_bool_16_int): Likewise.
6793 (__arch_compare_and_exchange_bool_64_int): Likewise.
6794
6795 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6796 into an #else block.
6797
6798 2014-07-16 Roland McGrath <roland@hack.frob.com>
6799
6800 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6801 just Linux configurations. Test empirically that the compiler sets
6802 __ARM_EABI__, rather than using the tuple to decide.
6803 * sysdeps/arm/preconfigure: Regenerated.
6804 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6805 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6806 contents appended ...
6807 * sysdeps/arm/configure.ac: ... here.
6808 * sysdeps/arm/configure: Regenerated.
6809
6810 2014-07-15 Roland McGrath <roland@hack.frob.com>
6811
6812 * nptl/pthread_kill.c: New file.
6813 * nptl/pthread_sigmask.c: New file.
6814 * nptl/pthread_sigqueue.c: New file.
6815
6816 * sysdeps/nptl/lowlevellock.h: New file.
6817 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6818 * sysdeps/nptl/lowlevellock-futex.h: New file.
6819
6820 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6821 Remove dead declarations.
6822
6823 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6824
6825 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6826 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6827 config-cflags-avx2.
6828 * sysdeps/x86_64/configure.ac: Likewise.
6829 * sysdeps/i386/configure: Regenerated.
6830 * sysdeps/x86_64/configure: Likewise.
6831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6832 memset-avx2 only if config-cflags-avx2 is yes.
6833 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6834 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6835 defined.
6836 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6837 only if HAVE_AVX2_SUPPORT is defined.
6838 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6839
6840 2014-07-14 Alan Modra <amodra@gmail.com>
6841
6842 [BZ #17153]
6843 * elf/elf.h (DT_PPC64_NUM): Correct value.
6844 * NEWS: Add to fixed bug list.
6845
6846 2014-07-13 Jim Meyering <meyering@fb.com>
6847
6848 [BZ 17150]
6849 regex: don't deref NULL upon heap allocation failure
6850 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6851 failure in one more place.
6852 To trigger the segfault, configure grep -with-included-regex,
6853 build it, and run these commands:
6854 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6855
6856 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6857
6858 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6859
6860 2014-07-11 Richard Henderson <rth@redhat.com>
6861
6862 * sysdeps/aarch64/libm-test-ulps: Update.
6863
6864 2014-07-10 Florian Weimer <fweimer@redhat.com>
6865
6866 [BZ #17135]
6867 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6868 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6869 (__nptl_setxid): Initialize error member. Call
6870 __nptl_setxid_error.
6871 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6872 * nptl/descr.h (struct xid_command): Add error member.
6873 * nptl/tst-setuid3.c: New file.
6874 * nptl/Makefile (tests): Add it.
6875
6876 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6877
6878 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6879 New define.
6880 (__lll_trylock): Use __lll_base_trylock.
6881 (__lll_cond_trylock): Likewise.
6882
6883 2014-07-10 Roland McGrath <roland@hack.frob.com>
6884
6885 * nptl/pthread_create.c (start_thread): Use atomic_or and
6886 lll_futex_wake directly rather than lll_robust_dead.
6887 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6888 (lll_robust_dead): Macro removed.
6889 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6890 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6891 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6892 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6893 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6894 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6895 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6896 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6897 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6898 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6899 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6900 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6901 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6902 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6903 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6904
6905 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6906 Use atomic_compare_and_exchange_val_acq directly rather than
6907 lll_robust_trylock.
6908 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6909 (__lll_robust_trylock, lll_robust_trylock): Removed.
6910 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6911 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6912 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6913 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6914 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6915 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6916 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6917 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6918 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6919 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6920 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6921 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6922 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6923 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6924
6925 2014-07-02 Florian Weimer <fweimer@redhat.com>
6926
6927 * manual/locale.texi (Locale Names): New section documenting
6928 locale name syntax. Adjust menu and node chaining accordingly.
6929 (Choosing Locale): Reference Locale Names, Locale Categories.
6930 Mention setting LC_ALL=C. Reflect that name syntax is now
6931 documented.
6932 (Locale Categories): New section title. Reference Locale Names.
6933 LC_ALL is an environment variable, but not a category.
6934 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6935 description, now in Locale Name. Reference that section. Locale
6936 name syntax is now documented.
6937
6938 2014-07-02 Florian Weimer <fweimer@redhat.com>
6939
6940 [BZ #17137]
6941 * locale/findlocale.c (name_present, valid_locale_name): New
6942 functions.
6943 (_nl_find_locale): Use the loc_name variable to store name
6944 candidates. Call name_present and valid_locale_name to check and
6945 validate locale names. Return an error if the locale is invalid.
6946
6947 2014-07-02 Florian Weimer <fweimer@redhat.com>
6948
6949 * locale/setlocale.c (setlocale): Use strdup for allocating
6950 composite name copy.
6951
6952 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6953
6954 Sync up with gnulib.
6955 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6956 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6957 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6958 and _GL_ARG_NONNULL.
6959 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6960 [!_LIBC]: Include code for Windows and Cygwin.
6961 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6962 Include prototype for int strerror_r.
6963 [!_LIBC] (is_open): New function.
6964 (flush_stdout): New function.
6965 (print_errno_message): Use it.
6966 (error): Likewise.
6967 (error_at_line): Likewise.
6968 (error_tail) Add function attribute macros. Use
6969 __builtin_expect.
6970
6971 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6972
6973 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6974
6975 * io/ftw.c: Include sys/param.h unconditionally.
6976
6977 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6978
6979 [BZ #17125]
6980 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6981 libc_freeres_ptr.
6982 (freecache): New function to free CACHE on exit.
6983
6984 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6985 initialization.
6986
6987 2014-07-09 David S. Miller <davem@davemloft.net>
6988
6989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6990
6991 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6992 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6993 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6994 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6995 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6996 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6997 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6998 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6999 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7000 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7001 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7002 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7003 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7004
7005 2014-07-09 Andreas Schwab <schwab@suse.de>
7006
7007 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7008 output.
7009 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7010 (do_test): Likewise.
7011
7012 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7013
7014 2014-07-09 Will Newton <will.newton@linaro.org>
7015
7016 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7017 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7018 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7019 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7020 * sysdeps/hppa/start.S (_start): Likewise.
7021
7022 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7023
7024 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7025
7026 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7027 defined.
7028
7029 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7030
7031 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7032 after checking that it is non-NULL.
7033
7034 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7035
7036 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7037
7038 * sysdeps/powerpc/memmove.c: Remove file.
7039 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7040 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7041 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7042 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7043 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7044 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7045 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7046 string memmove instead of removed powerpc one.
7047
7048 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7049 [weak_alias]: Fix compiler warning due trailing data.
7050 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7051 [weak_alias]: Likewise.
7052 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7053 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7054
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7056 (__libc_ifunc_impl_list): Add memmove functions.
7057
7058 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7059
7060 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7061 Remove code.
7062 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7063 Likewise
7064 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7065 Likewise
7066 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7067 Likewise
7068 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7069 Likewise
7070 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7071 Likewise
7072 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7073 Likewise
7074 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7075 Likewise
7076 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7077 Likewise
7078 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7079 Likewise
7080 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7081 Likewise
7082 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7083 Likewise
7084 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7085 Likewise
7086 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7087 Likewise
7088 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7089 Likewise
7090 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7091 Likewise
7092 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7093 Likewise
7094
7095 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7096
7097 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7098 to avoid alignment traps in non-cacheable memory.
7099 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7100
7101 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7102 multiarch objects.
7103 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7104 file: multiarch power7 memmove.
7105 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7106 multiarch default memmove.
7107 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7108 multiarch memove for powerpc32/power4.
7109
7110 * string/bcopy.c: Use full path to include memmove.c.
7111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7112 multiarch objects.
7113 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7114 bcopy for powerpc64.
7115 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7116 bcopy for powerpc64.
7117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7118 and memmove implementations.
7119 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7120 optimized multiarch memmove for POWER7/powerpc64.
7121 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7122 default multiarch memmove for powerpc64.
7123 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7124 multiarch for powerpc64.
7125 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7126 for POWER7/powerpc64.
7127 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7128 memmove for POWER7/powerpc64.
7129
7130 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7131 glibc default one.
7132
7133 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7134 __ELF_NATIVE_CLASS equal to 64.
7135
7136 2014-07-07 Roland McGrath <roland@hack.frob.com>
7137
7138 * sysdeps/nptl/lowlevellock.h: File removed.
7139
7140 * NEWS: NPTL is no longer an add-on!
7141 * nptl/internaltypes.h: Moved ...
7142 * sysdeps/nptl/internaltypes.h: ... here.
7143 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7144 * sysdeps/nptl/fork.c: Likewise.
7145 * sysdeps/nptl/gai_misc.h: Likewise.
7146 * sysdeps/nptl/librt-cancellation.c: Likewise.
7147 * sysdeps/nptl/jmp-unwind.c: Likewise.
7148 * sysdeps/nptl/setxid.h: Likewise.
7149 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7150 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7151 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7152 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7153 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7154 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7155 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7156 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7157 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7158 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7159 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7160 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7161 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7162 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7163 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7164 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7165 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7166 * nptl/Makeconfig: Moved ...
7167 * sysdeps/nptl/Makeconfig: ... here.
7168 * nptl/configure: File removed.
7169 * nptl/ANNOUNCE: File removed.
7170 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7171 * sysdeps/unix/sysv/linux/configure: Regenerated.
7172
7173 * nptl/Makefile (routines): Add libc_pthread_init,
7174 libc_multiple_threads, register-atfork and unregister-atfork.
7175 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7176 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7177 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7178 pthread-pi-defines.sym, structsem.sym.
7179 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7180 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7181 [$(subdir) = nptl] (tests): Add tst-setgetname.
7182 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7183 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7184 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7185 [!LIBC_SIGACTION]: Remove aliases.
7186 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7187 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7188 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7189 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7190 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7191 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7192 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7193 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7194 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7195 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7196 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7197 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7198 __libc_allocate_rtsig_private.
7199 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7200 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7201 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7202 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7203 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7204 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7205 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7206 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7207 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7208 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7209 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7210 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7211 * nptl/internaltypes.h: ... here.
7212 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7213 * sysdeps/nptl/jmp-unwind.c: ... here.
7214 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7215 * nptl/libc-lowlevellock.c: ... here.
7216 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7217 * nptl/libc_multiple_threads.c: ... here.
7218 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7219 * nptl/libc_pthread_init.c: ... here.
7220 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7221 * nptl/lowlevelbarrier.sym: ... here.
7222 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7223 * nptl/lowlevelcond.sym: ... here.
7224 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7225 * nptl/lowlevellock.c: ... here.
7226 * nptl/lowlevellock.h: Moved ...
7227 * sysdeps/nptl/lowlevellock.h: ... here.
7228 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7229 * nptl/lowlevelrobustlock.c: ... here.
7230 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7231 * nptl/lowlevelrobustlock.sym: ... here.
7232 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7233 * nptl/lowlevelrwlock.sym: ... here.
7234 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7235 * nptl/pt-fork.c: ... here.
7236 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7237 * nptl/pthread-pi-defines.sym: ... here.
7238 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7239 * nptl/pthread_attr_getaffinity.c: ... here.
7240 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7241 * nptl/pthread_attr_setaffinity.c: ... here.
7242 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7243 * nptl/pthread_mutex_cond_lock.c: ... here.
7244 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7245 Update #include.
7246 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7247 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7248 * nptl/pthread_once.c: ... here, replacing old file.
7249 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7250 * nptl/pthread_yield.c: ... here.
7251 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7252 * nptl/register-atfork.c: ... here.
7253 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7254 * nptl/sem_post.c: ... here.
7255 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7256 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7257 * nptl/sem_timedwait.c: ... here.
7258 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7259 * nptl/sem_trywait.c: ... here.
7260 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7261 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7262 * nptl/sem_wait.c: ... here.
7263 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7264 * nptl/structsem.sym: ... here.
7265 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7266 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7267 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7268 * nptl/unregister-atfork.c: ... here.
7269 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7270 * nptl/unwindbuf.sym: ... here.
7271 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7272 * sysdeps/nptl/fork.c: ... here.
7273 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7274 * sysdeps/nptl/fork.h: ... here.
7275 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7276 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7277 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7278 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7279 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7280 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7281 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7282 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7283 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7284 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7285 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7286 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7287 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7288 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7289 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7290 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7291 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7292 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7293 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7294 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7295 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7296 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7297 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7298 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7299 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7300 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7301 * sysdeps/unix/sysv/linux/raise.c: ... here.
7302 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7303 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7304 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7305 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7306 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7307 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7308 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7309 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7310 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7311 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7312 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7313 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7314 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7315 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7316 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7317
7318 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7319
7320 * sysdeps/generic/memcopy.h: Add comment for
7321 MEMCPY_OK_FOR_FWD_MEMMOVE.
7322
7323 2014-07-04 Will Newton <will.newton@linaro.org>
7324
7325 * string/memchr.c: Merge from gnulib.
7326 [_LIBC]: Remove conditionals.
7327 (__ptr_t): Remove define.
7328 (LONG_MAX_32_BITS): Likewise.
7329 (LONG_MAX): Likewise.
7330 (MEMCHR): Use ANSI prototype and optimize algorithm.
7331
7332 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7333
7334 2014-07-03 Roland McGrath <roland@hack.frob.com>
7335
7336 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7337 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7338
7339 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7340 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7341 in a bare environment with no <stdlib.h> installed.
7342 * sysdeps/nptl/configure: Regenerated.
7343
7344 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7345
7346 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7347 AC_EGREP_CPP for kernel header checks, so they only succeed if
7348 including <linux/version.h> actually works right.
7349 * sysdeps/unix/sysv/linux/configure: Regenerated.
7350
7351 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7352 value so it's not diagnosed as unused.
7353
7354 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7355 thing) with "ifeq ($(subdir),rt)".
7356
7357 2014-07-03 Richard Henderson <rth@redhat.com>
7358
7359 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7360 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7361 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7362
7363 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7364 (math_force_eval): New.
7365
7366 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7367 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7368
7369 * sysdeps/alpha/fpu/s_round.c: Remove file.
7370 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7371
7372 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7373 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7374 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7375 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7376 (_dl_start, print_statistics): Likewise.
7377 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7378 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7379
7380 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7381 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7382 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7383 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7384 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7385 (HP_SMALL_TIMING_AVAIL): Define.
7386 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7387 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7388 (HP_SMALL_TIMING_AVAIL): Define.
7389 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7390 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7391
7392 * sysdeps/aarch64/hp-timing.h: New file.
7393
7394 * sysdeps/generic/hp-timing.h: Remove dead comment.
7395 * sysdeps/generic/hp-timing-common.h: New file.
7396 * sysdeps/alpha/hp-timing.h: Include it.
7397 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7398 * sysdeps/i386/i686/hp-timing.h: Likewise.
7399 * sysdeps/ia64/hp-timing.h: Likewise.
7400 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7401 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7402 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7403 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7404 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7405 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7406 (hp_timing_t): New.
7407
7408 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7409 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7410 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7411 * elf/rtld.c (_dl_start_final): Likewise.
7412 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7413 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7414 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7415 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7416 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7417 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7418 (HP_TIMING_DIFF_INIT): Remove.
7419 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7420 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7421 (HP_TIMING_DIFF_INIT): Remove.
7422 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7423 * sysdeps/i386/i686/hp-timing.c: Remove file.
7424 * sysdeps/x86_64/hp-timing.c: Remove file.
7425 * sysdeps/ia64/hp-timing.c: Remove file.
7426 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7427 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7428 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7429 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7430
7431 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7432 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7433 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7434 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7435 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7436 (HP_TIMING_ACCUM): Remove.
7437 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7438 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7439 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7440
7441 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7442 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7443 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7444 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7445 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7446 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7447 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7448 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7449
7450 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7451
7452 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7453
7454 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7455
7456 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7457
7458 Sync up with gettext.
7459 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7460 [_MSC_VER]: Include malloc.h
7461 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7462 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7463 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7464 TEMP_FAILURE_RETRY. Cast return of alloca.
7465 [!_LIBC] Call gl_rwlock_init.
7466 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7467
7468 2014-07-02 Roland McGrath <roland@hack.frob.com>
7469
7470 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7471 before checking its value.
7472
7473 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7474
7475 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7476
7477 * debug/memcpy_chk.c: Don't include pagecopy.h.
7478 * debug/mempcpy_chk.c: Likewise.
7479 * string/memcpy.c: Likewise.
7480 * string/memmove.c: Likewise.
7481 * sysdeps/powerpc/memmove.c: Likewise.
7482 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7483 definition of PAGE_COPY_FWD_MAYBE here...
7484 * sysdeps/generic/pagecopy.h: ... from here.
7485 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7486
7487 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7488 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7489
7490 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7492 optimizations.
7493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7494 (__libc_ifunc_impl_list): Likewise.
7495 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7496 multiarch strcat for PPC64.
7497 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7498 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7499
7500 2014-07-02 Roland McGrath <roland@hack.frob.com>
7501
7502 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7503
7504 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7505
7506 * intl/loadmsgcat.c: Remove declaration of
7507 get_sysdep_segment_value.
7508 (get_sysdep_segment_value): Use ISO C style.
7509 (_nl_load_domain): Use ISO C style. Get rid of redundant
7510 semicolon. Fix typo and formatting in comment.
7511 (_nl_unload_domain): Use ISO C style.
7512
7513 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7514
7515 2014-07-02 Will Newton <will.newton@linaro.org>
7516
7517 * malloc/obstack.c: Merge from gnulib master.
7518 [HAVE_CONFIG_H]: Remove conditional code.
7519 [!_LIBC]: Include config.h.
7520 [!ELIDE_CODE]: Don't include inttypes.h, include
7521 stdint.h unconditionally.
7522 (print_and_abort): Mark as _Noreturn.
7523 (_obstack_allocated_p): Mark as __attribute_pure__.
7524 (obstack_free): Rename to __obstack_free.
7525 [!__attribute__]: Remove conditional code.
7526 * malloc/obstack.h: Merge from gnulib master.
7527 [__cplusplus]: Move conditional down.
7528 [!__attribute_pure__]: Define __attribute_pure__ here
7529 if it is not already defined.
7530 (_obstack_memory_used): Mark as __attribute_pure__.
7531 [!__obstack_free]: Define as obstack_free.
7532 [__GNUC__]: Remove check for ancient NeXT gcc.
7533
7534 2014-07-02 Will Newton <will.newton@linaro.org>
7535 Paul Eggert <eggert@cs.ucla.edu>
7536
7537 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7538
7539 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7540
7541 * resolv/gethnamaddr.c: Add comment warning that the file is
7542 not maintained.
7543
7544 2014-07-01 Carlos O'Donell <carlos@redhat.com>
7545
7546 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7547 entries.
7548
7549 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7550 entry for aio_cancel and aio_cancel64.
7551 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7552 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7553 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7554 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7555 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7556 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7557 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7558 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7559 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7560 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7561 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7562 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7563 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7564
7565 2014-07-01 Roland McGrath <roland@hack.frob.com>
7566
7567 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7568 * nptl/pthread_mutex_lock.c: Likewise.
7569 * nptl/pthread_mutex_timedlock.c: Likewise.
7570 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7571
7572 2014-07-01 Richard henderson <rth@redhat.com>
7573
7574 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7575 (__isnan, __isnanl): Remove.
7576 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7577
7578 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7579
7580 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7581
7582 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7583
7584 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7585
7586 * resolv/nss_dns/dns-host.c (getanswer_r)
7587 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7588
7589 2014-07-01 Joseph Myers <joseph@codesourcery.com>
7590
7591 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7592 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7593 undefine.
7594 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7595 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7596
7597 2014-07-01 Roland McGrath <roland@hack.frob.com>
7598
7599 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7600 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7601
7602 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7603 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7604
7605 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7606 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7607 ... here.
7608 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7609 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7610
7611 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7612 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7613 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7614 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7615
7616 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7617 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7618 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7619 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7620 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7621 Moved ...
7622 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7623 ... here.
7624 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7625 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7626 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7627 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7628 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7629 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7630 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7631 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7632 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7633 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7634 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7635 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7636 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7637 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7638 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7639 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7640 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7641 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7642 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7643 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7644 ... here.
7645 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7646 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7647 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7648 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7649 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7650 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7651 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7652 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7653
7654 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7655
7656 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7657 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7658 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7659 Add sysdep.
7660
7661 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7662
7663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7664
7665 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7666
7667 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7668 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7669
7670 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7671
7672 * sysdeps/arm/libm-test-ulps: Regenerated.
7673
7674 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7675 Roland McGrath <roland@hack.frob.com>
7676
7677 * test-skeleton.c (signal_handler): Kill the whole process group
7678 before killing the child individually.
7679 (main): Report any failure on `setpgid'.
7680
7681 2014-06-30 Roland McGrath <roland@hack.frob.com>
7682
7683 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7684 from _TLS_H to _ARM_NPTL_TLS_H.
7685 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7686 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7687
7688 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7689
7690 [BZ #16539]
7691 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7692 (__expm1l): Return argument unchanged when small but not
7693 subnormal.
7694
7695 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7696 include macro name.
7697 (_FP_UNPACK_RAW_1_P): Likewise.
7698 (_FP_PACK_RAW_1): Likewise.
7699 (_FP_PACK_RAW_1_P): Likewise.
7700 (_FP_MUL_MEAT_1_wide): Likewise.
7701 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7702 (_FP_MUL_MEAT_1_hard): Likewise.
7703 (_FP_DIV_MEAT_1_imm): Likewise.
7704 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7705 (_FP_DIV_MEAT_1_udiv): Likewise.
7706 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7707 (_FP_UNPACK_RAW_2): Likewise.
7708 (_FP_UNPACK_RAW_2_P): Likewise.
7709 (_FP_PACK_RAW_2): Likewise.
7710 (_FP_PACK_RAW_2_P): Likewise.
7711 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7712 (_FP_MUL_MEAT_2_wide): Likewise.
7713 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7714 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7715 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7716 (_FP_MUL_MEAT_2_gmp): Likewise.
7717 (_FP_DIV_MEAT_2_udiv): Likewise.
7718 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7719 (_FP_FRAC_SRL_4): Likewise.
7720 (_FP_FRAC_SRST_4): Likewise.
7721 (_FP_FRAC_SRS_4): Likewise.
7722 (_FP_UNPACK_RAW_4): Likewise.
7723 (_FP_UNPACK_RAW_4_P): Likewise.
7724 (_FP_PACK_RAW_4): Likewise.
7725 (_FP_PACK_RAW_4_P): Likewise.
7726 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7727 (_FP_MUL_MEAT_4_wide): Likewise.
7728 (_FP_MUL_MEAT_4_gmp): Likewise.
7729 (umul_ppppmnnn): Likewise.
7730 (_FP_DIV_MEAT_4_udiv): Likewise.
7731 (__FP_FRAC_ADD_4): Likewise.
7732 (__FP_FRAC_SUB_3): Likewise.
7733 (__FP_FRAC_SUB_4): Likewise.
7734 (__FP_FRAC_DEC_3): Likewise.
7735 (__FP_FRAC_DEC_4): Likewise.
7736 (__FP_FRAC_ADDI_4): Likewise.
7737 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7738 (_FP_FRAC_SRL_8): Likewise.
7739 (_FP_FRAC_SRS_8): Likewise.
7740
7741 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7742 include macro name.
7743 (FP_UNPACK_RAW_EP): Likewise.
7744 (FP_PACK_RAW_E): Likewise.
7745 (FP_PACK_RAW_EP): Likewise.
7746 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7747 (_FP_ISSIGNAN): Likewise.
7748 (_FP_ADD_INTERNAL): Likewise.
7749 (_FP_FMA): Likewise.
7750 (_FP_CMP): Likewise.
7751 (_FP_SQRT): Likewise.
7752 (_FP_TO_INT): Likewise.
7753 (_FP_FROM_INT): Likewise.
7754 (FP_EXTEND): Likewise.
7755 (_FP_DIV_MEAT_N_loop): Likewise.
7756
7757 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7758
7759 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7760 throughout.
7761
7762 2014-06-29 Joseph Myers <joseph@codesourcery.com>
7763
7764 [BZ #17097]
7765 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7766 result with correct sign in case of exponents that produce
7767 overflow except for X very close to 1.
7768
7769 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7770
7771 mktime: merge #if/#ifdef usage from glibc
7772 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7773 as that works with both Glibc's and Gnulib's style.
7774 See thread starting at Siddhesh Poyarekar's bug report at:
7775 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7776
7777 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7778
7779 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7780 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7781 * sysdeps/tile/tilegx/memmove.c: Remove file.
7782
7783 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7784
7785 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7786 abi-name definition.
7787 * scripts/soversions.awk: Do not handle or generate ABI lines.
7788 * shlib-versions: Remove ABI entries.
7789 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7790 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7791
7792 2014-06-27 Roland McGrath <roland@hack.frob.com>
7793
7794 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7795 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7796 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7797 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7798 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7799 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7800 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7801 Moved ...
7802 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7803 ... here.
7804 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7805 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7806 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7807 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7808 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7809 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7810 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7811 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7812 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7813 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7815 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7816 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7817 Moved ...
7818 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7819 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7820 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7821 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7822 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7823 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7824 Moved ...
7825 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7826 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7827 Moved ...
7828 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7829 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7830 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7831 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7832 Moved ...
7833 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7834 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7835 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7836 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7837 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7838 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7839 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7840 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7841 Moved ...
7842 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7843 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7844 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7845 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7846 Moved ...
7847 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7848 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7849 Moved ...
7850 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7851 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7852 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7853 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7854 Moved ...
7855 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7856 ... here.
7857 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7858 Identical file removed.
7859 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7860 Moved ...
7861 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7862 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7863 Identical file removed.
7864 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7865 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7866 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7867 Moved ...
7868 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7869 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7870 Identical file removed.
7871 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7872 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7873 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7874 Identical file removed.
7875 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7876 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7877 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7878 Identical file removed.
7879 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7880 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7881 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7882 Identical file removed.
7883 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7884 Moved ...
7885 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7886 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7887 Identical file removed.
7888 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7889 Moved ...
7890 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7891 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7892 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7893 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7894 Identical file removed.
7895 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7896 Moved ...
7897 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7898 ... here.
7899 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7900 Identical file removed.
7901 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7902 Moved ...
7903 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7904 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7905 Identical file removed.
7906 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7907 Moved ...
7908 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7909 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7910 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7911 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7912 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7913 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7914 Moved ...
7915 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7916 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7917 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7918
7919 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7920 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7921 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7922 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7923 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7924
7925 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
7926
7927 [BZ #17092]
7928 * nscd/nscd.c (monitor_child): Return exit status of child
7929 instead of return value from wait syscall.
7930
7931 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7932
7933 * configure.ac (libc_commonpagesize): Remove variable.
7934 (libc_relro_required): Likewise.
7935 (libc_cv_z_relro): Remove configure test.
7936 * configure: Regenerated.
7937 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7938 variable.
7939 (libc_relro_required): Likewise.
7940 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7941 (libc_relro_required): Likewise.
7942 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7943 (libc_relro_required): Likewise.
7944 * sysdeps/arm/preconfigure: Regenerated.
7945 * sysdeps/ia64/preconfigure: Remove file.
7946 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7947 variable.
7948 (libc_relro_required): Likewise.
7949
7950 [BZ #16561]
7951 [BZ #16562]
7952 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7953 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7954 recompute overflowing results in original rounding mode.
7955 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7956 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7957 recompute overflowing results in original rounding mode.
7958 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7959 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7960 recompute overflowing results in original rounding mode.
7961 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7962 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7963 recompute overflowing results in original rounding mode.
7964 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7965 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7966 recompute overflowing results in original rounding mode.
7967 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7968 (libc_feholdsetround_ctx): New macro.
7969 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7970 * sysdeps/i386/fpu/libm-test-ulps: Update.
7971 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7972
7973 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7974
7975 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7976 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7977 corresponding .cpsetup call.
7978
7979 2014-06-26 Roland McGrath <roland@hack.frob.com>
7980
7981 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7982 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7983 * sysdeps/arm/Makefile [$(subdir) = csu]
7984 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7985 (static-only-routines): Add aeabi_read_tp here.
7986 (shared-only-routines): Add libc-aeabi_read_tp here.
7987 (CFLAGS-libc-start.c): Add -fexceptions here.
7988 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7989 (sysdep_routines, static-only-routines, shared-only-routines):
7990 Don't add to these here.
7991 (CFLAGS-libc-start.c): Likewise.
7992
7993 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7994 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7995 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7996 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7997 * sysdeps/arm/Makefile [$(subdir) = rt]
7998 (librt-sysdep_routines, librt-shared-only-routines):
7999 Append rt-aeabi_unwind_cpp_pr1 here.
8000 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8001 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8002 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8003 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8004 Append nptl-aeabi_unwind_cpp_pr1 here.
8005 (tests): Filter out tst-cleanupx4 here.
8006 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8007 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8008 Don't do those here.
8009
8010 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8011
8012 * scripts/list-sources.sh: Do not handle ports specially.
8013
8014 2014-06-26 Roland McGrath <roland@hack.frob.com>
8015
8016 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8017 * sysdeps/arm/feupdateenv.c: Likewise.
8018
8019 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8020
8021 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8022
8023 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8024 trailing whitespace removed.
8025 * scripts/config.guess: Update to version 2014-03-23.
8026 * scripts/config.sub: Update to version 2014-05-01
8027 * scripts/install-sh: Update to version 2013-12-25.23.
8028 * scripts/move-if-change: Update from gnulib.
8029
8030 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8031
8032 * debug/memmove_chk.c: Remove pagecopy.h include.
8033
8034 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8035
8036 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8037 identical to gnulib mktime.
8038
8039 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8040
8041 * configure.ac: Do not test for machine being rs6000. Do not test
8042 for powerpc*-*soft.
8043 * configure: Regenerated.
8044
8045 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8046 test.
8047 * configure: Regenerated.
8048 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8049 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8050 Remove configure test.
8051 * sysdeps/arm/configure: Regenerated.
8052 * sysdeps/nptl/configure.ac: Do not check
8053 libc_cv_asm_cfi_directives.
8054 * sysdeps/nptl/configure: Regenerated.
8055 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8056 * sysdeps/x86_64/nptl/configure: Remove generated file.
8057 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8058 unconditional.
8059 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8060
8061 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8062
8063 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8064 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8065 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8066 it is defined.
8067
8068 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8069 instead of whether it is defined.
8070 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8071 * sysdeps/hppa/dl-machine.h: Likewise.
8072 * sysdeps/ia64/dl-machine.h: Likewise.
8073 * sysdeps/m68k/dl-machine.h: Likewise.
8074 * sysdeps/microblaze/dl-machine.h: Likewise.
8075 * sysdeps/mips/dl-machine.: Likewise.
8076 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8077 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8078 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8079 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8080 * sysdeps/sh/dl-machine.h: Likewise.
8081 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8082 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8083 * sysdeps/tile/dl-machine.h: Likewise.
8084 * sysdeps/x86_64/dl-machine.h: Likewise.
8085
8086 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8087 code.
8088 (verify_persistent_db): Likewise.
8089
8090 2014-06-26 Roland McGrath <roland@hack.frob.com>
8091
8092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8093 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8095 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8097 Moved ...
8098 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8099 ... here.
8100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8101 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8103 Identical file removed.
8104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8105 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8107 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8109 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8111 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8113 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8115 Moved ...
8116 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8118 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8120 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8122 Moved ...
8123 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8125 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8127 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8129 Identical file removed.
8130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8131 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8133 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8135 Moved ...
8136 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8137 ... here.
8138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8139 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8141 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8143 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8145 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8147 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8149 Moved ...
8150 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8152 Moved ...
8153 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8155 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8157 Moved ...
8158 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8160 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8161
8162 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8163 folded into ...
8164 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8165 * sysdeps/unix/sysv/linux/s390/Versions
8166 (libpthread: GLIBC_2.19): New version set.
8167 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8168 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8169 (librt: GLIBC_2.3.3): New version set.
8170 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8171 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8172 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8173 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8174 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8175 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8176 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8177 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8178 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8179 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8180 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8181 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8182 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8183 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8184 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8185 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8186 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8187 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8188 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8189 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8190 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8191 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8192 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8193 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8194 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8195 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8196 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8197 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8198 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8199 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8200 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8201 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8202 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8203 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8204 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8205 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8206 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8207 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8208 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8209 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8210 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8211 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8212 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8213 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8214 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8215
8216 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8217 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8218 (__libc_vfork): Define the function under this name.
8219 [!NOT_IN_libc] (__vfork): Make this an alias.
8220 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8221 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8222 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8223 (__libc_vfork): Define the function under this name.
8224 [!NOT_IN_libc] (__vfork): Make this an alias.
8225 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8226 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8227 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8228 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8229 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8230 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8231
8232 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8233 code that was previously under [RESET_PID].
8234 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8235 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8236 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8237
8238 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8239 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8240 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8241 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8242 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8243 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8244 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8245 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8246 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8247 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8248 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8249 Moved ...
8250 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8251 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8252 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8253 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8254 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8255 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8256 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8257 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8258 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8259 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8260 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8261 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8262 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8263 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8264 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8265 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8266 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8267 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8268 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8269 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8270 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8271 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8272 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8273 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8274 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8275 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8276 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8277 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8278 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8279
8280 2014-06-25 Roland McGrath <roland@hack.frob.com>
8281
8282 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8283 that was previously under [RESET_PID].
8284 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8285
8286 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8287
8288 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8289 not undefine and redefine.
8290 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8291 [O_CLOEXEC]: Make code unconditional.
8292 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8293 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8294 <kernel-features.h>.
8295 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8296 conditional variable definition.
8297 (shm_open) [O_CLOEXEC]: Make code unconditional.
8298 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8299 code.
8300
8301 * configure.ac (USE_REGPARMS): Don't define here.
8302 * configure: Regenerated.
8303 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8304 * sysdeps/i386/configure: Regenerated.
8305
8306 * nptl/createthread.c: Don't include kernel-features.h.
8307 * nptl/pthread_cancel.c: Likewise.
8308 * nptl/pthread_condattr_setclock.c: Likewise.
8309 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8310 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8311 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8312 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8313 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8314 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8315 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8316 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8317 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8318 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8319 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8320 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8321 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8322 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8323 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8324 * nscd/gai.c: Likewise.
8325 * nss/nss_db/db-open.c: Likewise.
8326 * sysdeps/generic/ldsodefs.h: Likewise.
8327 * sysdeps/sh/nptl/tls.h: Likewise.
8328 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8329 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8330 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8331 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8332 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8333 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8334 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8335 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8336 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8337 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8338 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8339 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8340 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8341 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8342 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8343 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8344 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8345 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8346 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8347 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8348 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8349 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8350 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8351 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8352 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8353 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8354 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8355 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8356 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8357 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8358 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8359 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8360 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8361 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8362 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8363 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8364 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8365 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8366 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8367 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8368 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8369 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8370 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8371 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8372 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8373 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8374 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8375 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8376 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8377 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8378 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8379 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8380 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8381 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8382 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8383 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8384 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8385 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8408 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8409 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8410 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8411 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8412 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8413 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8414 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8415 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8416 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8417 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8418 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8419 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8420 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8421 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8422 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8423 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8424 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8425 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8426 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8427 * sysdeps/unix/sysv/linux/system.c: Likewise.
8428 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8429 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8430 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8431 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8432 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8433 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8434 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8435
8436 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8437 * configure: Regenerated.
8438 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8439
8440 * configure.ac (base_machine): Do not set specially for particular
8441 machines here.
8442 * configure: Regenerated.
8443 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8444 settings from configure.ac.
8445 * sysdeps/i386/preconfigure: New file.
8446 * sysdeps/s390/preconfigure: Likewise.
8447 * sysdeps/sh/preconfigure: Likewise.
8448 * sysdeps/sparc/preconfigure: Likewise.
8449
8450 2014-06-25 Roland McGrath <roland@hack.frob.com>
8451
8452 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8453 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8454 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8455 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8456 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8457 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8458 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8459 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8460 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8461 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8462 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8463 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8464 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8465 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8466 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8467 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8468 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8469 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8470 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8471
8472 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8473 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8474 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8475 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8476 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8477 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8478 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8479 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8480 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8481 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8482 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8483 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8484 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8485 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8486 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8487 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8488 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8489 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8490 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8491 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8492 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8493 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8494 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8495 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8496 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8497 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8498 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8499 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8500 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8501 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8502 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8503 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8504 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8505 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8506 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8507 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8508 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8509 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8510
8511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8512 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8514 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8516 Moved ...
8517 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8518 ... here.
8519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8520 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8522 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8524 Moved ...
8525 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8527 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8529 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8531 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8533 Moved ...
8534 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8536 Moved ...
8537 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8539 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8541 Moved ...
8542 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8544 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8546 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8548 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8550 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8552 Moved ...
8553 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8554 ... here.
8555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8556 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8558 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8560 Moved ...
8561 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8563 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8565 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8567 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8569 Moved ...
8570 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8572 Moved ...
8573 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8575 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8577 Moved ...
8578 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8580 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8582 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8583
8584 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8585
8586 * timezone/checktab.awk: Update from tzcode 2014e.
8587 * timezone/private.h: Likewise.
8588 * timezone/tzfile.h: Likewise.
8589 * timezone/zdump.c: Likewise.
8590 * timezone/zic.c: Likewise.
8591
8592 * sysdeps/unix/sysv/linux/kernel-features.h
8593 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8594 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8595 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8596 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8597 Remove conditional code.
8598
8599 2014-06-25 Will Newton <will.newton@linaro.org>
8600
8601 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8602 (_dl_arm_cap_flags): Add HWCAP2 values.
8603 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8604 (_DL_HWCAP_COUNT): Increase to 37.
8605 (_DL_HWCAP_LAST): New define.
8606 (_DL_HWCAP2_LAST): New define.
8607 (_dl_procinfo): Add support for printing
8608 AT_HWCAP2 entries.
8609 (_dl_string_hwcap): Use _dl_hwcap_string.
8610
8611 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8612
8613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8614
8615 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8616
8617 * README: Do not mention ports directory.
8618
8619 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8620 Remove macro.
8621 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8622 <kernel-features.h>.
8623 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8624 conditional variable definition.
8625 (__futimes): Update comment.
8626 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8627 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8628
8629 [BZ #16560]
8630 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8631 arguments close to 0.
8632 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8633 Likewise.
8634 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8635 Likewise.
8636 * math/auto-libm-test-in: Add more tests of exp10.
8637 * math/auto-libm-test-out: Regenerated.
8638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8639
8640 * sysdeps/unix/sysv/linux/kernel-features.h
8641 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8642 * sysdeps/unix/sysv/linux/readv.c: Do not include
8643 <kernel-features.h>.
8644 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8645 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8646 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8647 unconditional.
8648 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8649 conditional code.
8650 * sysdeps/unix/sysv/linux/writev.c: Do not include
8651 <kernel-features.h>.
8652 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8653 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8654 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8655 unconditional.
8656 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8657 conditional code.
8658
8659 2014-06-25 Will Newton <will.newton@linaro.org>
8660
8661 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8662 comment changes throughout the file. Remove checks
8663 for HAVE_*_H definitions that are not required.
8664 (__gen_tempname): Call abort if an unknown kind value is
8665 passed.
8666
8667 2014-06-25 Andreas Schwab <schwab@suse.de>
8668
8669 [BZ #17086]
8670 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8671 scalbln, scalblnf, scalblnl in libc.
8672
8673 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8674
8675 [BZ #17086]
8676 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8677 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8678 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8679
8680 2014-06-24 Roland McGrath <roland@hack.frob.com>
8681
8682 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8683 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8684 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8685 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8686 Update #include.
8687 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8688 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8689 Update #include.
8690 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8691 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8692 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8693 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8694 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8695 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8696 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8697 * sysdeps/x86/bits/semaphore.h: ... here.
8698 * sysdeps/x86/nptl/elide.h: Moved ...
8699 * sysdeps/x86/elide.h: ... here.
8700 * sysdeps/x86_64/nptl/Implies: File removed.
8701 * sysdeps/i386/nptl/Implies: File removed.
8702
8703 2014-06-24 Joseph Myers <joseph@codesourcery.com>
8704
8705 [BZ #16539]
8706 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8707 return the argument for normal arguments with exponent below -64.
8708 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8709 Likewise.
8710 * math/auto-libm-test-in: Add another test of expm1.
8711 * math/auto-libm-test-out: Regenerated.
8712
8713 [BZ #16287]
8714 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8715 calling __erfcl for arguments at least 16.
8716 * math/auto-libm-test-in: Add more tests of erf.
8717 * math/auto-libm-test-out: Regenerated.
8718
8719 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8720 individual architectures.
8721 * sysdeps/unix/sysv/linux/configure: Regenerated.
8722 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8723 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8724 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8725 (ldd_rewrite_script): Define variable.
8726 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8728 file.
8729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8730 generated file.
8731 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8732 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8733 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8734 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8735 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8736 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8737 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8738 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8739
8740 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8741
8742 [BZ #17084]
8743 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8744 Rename member __data.d to __data.__elision_data.
8745
8746 2014-06-24 Wilco <wdijkstr@arm.com>
8747
8748 * NEWS: Add 16918 to fixed bug list.
8749
8750 2014-06-24 Wilco <wdijkstr@arm.com>
8751
8752 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8753
8754 2014-06-24 Wilco <wdijkstr@arm.com>
8755
8756 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8757 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8758 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8759 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8760 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8761 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8762 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8763 Use _FPU_MASK_RM.
8764
8765 2014-06-24 Wilco <wdijkstr@arm.com>
8766
8767 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8768
8769 2014-06-24 Wilco <wdijkstr@arm.com>
8770
8771 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8772 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8773 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8774 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8775
8776 2014-06-24 Wilco <wdijkstr@arm.com>
8777
8778 [BZ #16918]
8779 * sysdeps/arm/feupdateenv.c (feupdateenv):
8780 Rewrite to reduce FPSCR accesses and fix return value.
8781
8782 2014-06-24 Wilco <wdijkstr@arm.com>
8783
8784 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8785 Optimize to avoid unnecessary FPSCR writes.
8786 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8787 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8788 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8789 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8790
8791 2014-06-24 Wilco <wdijkstr@arm.com>
8792
8793 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8794 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8795 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8796 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8797 Call libc_fetestexcept_vfp.
8798 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8799 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8800 __SOFTFP__ ifdef so that they can be built for softfp.
8801
8802 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8803
8804 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8805 argument type signed char.
8806
8807 * Makerules (check-abi): Dump diff of symlist if the test
8808 fails.
8809
8810 2014-06-23 Roland McGrath <roland@hack.frob.com>
8811
8812 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8813 using abort.
8814
8815 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8816 Remove unused variable ST.
8817
8818 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8819
8820 [BZ #16354]
8821 [BZ #17061]
8822 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8823 small arguments before calling __expm1.
8824 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8825 small arguments before calling __expm1f.
8826 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8827 small arguments before calling __expm1l.
8828 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8829 Likewise.
8830 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8831 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8832 spurious underflow for some cosh tests.
8833 * math/auto-libm-test-out: Regenerated.
8834 * sysdeps/i386/fpu/libm-test-ulps: Update.
8835
8836 [BZ #17050]
8837 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8838 (__ieee754_y1): Set errno if return value overflows.
8839 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8840 (__ieee754_y1f): Set errno if return value overflows.
8841 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8842 (__ieee754_y1l): Set errno if return value overflows.
8843 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8844 (__ieee754_y1l): Set errno if return value overflows.
8845 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8846 * math/auto-libm-test-out: Regenerated.
8847
8848 * math/gen-auto-libm-tests.c: Document use of
8849 ignore-zero-inf-sign.
8850 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8851 (input_flags): Add ignore-zero-inf-sign.
8852 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8853 * math/gen-libm-test.pl (generate_testfile): Handle
8854 ignore-zero-inf-sign.
8855 * math/auto-libm-test-in: Mark some cpow tests with
8856 ignore-zero-inf-sign and some with xfail-rounding.
8857 * math/auto-libm-test-out: Regenerated.
8858 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8859 * sysdeps/i386/fpu/libm-test-ulps: Update.
8860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8861
8862 [BZ #16315]
8863 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8864 overflowing or underflowing operations take place with sign of
8865 result.
8866 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8867 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8868 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8869 (__ieee754_pow): Recompute overflowing and underflowing results in
8870 original rounding mode.
8871 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8872 (__powl_helper): Allow negative argument X and scale negated value
8873 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8874 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8875 overflowing or underflowing operations take place with sign of
8876 result.
8877 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8878 Include <math.h>.
8879 * math/auto-libm-test-in: Add more tests of pow.
8880 * math/auto-libm-test-out: Regenerated.
8881 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8882 (pow_tonearest_test_data): Remove.
8883 (pow_test_tonearest): Likewise.
8884 (pow_towardzero_test_data): Likewise.
8885 (pow_test_towardzero): Likewise.
8886 (pow_downward_test_data): Likewise.
8887 (pow_test_downward): Likewise.
8888 (pow_upward_test_data): Likewise.
8889 (pow_test_upward): Likewise.
8890 (main): Don't call removed functions.
8891 * sysdeps/i386/fpu/libm-test-ulps: Update.
8892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8893
8894 2014-06-23 Roland McGrath <roland@hack.frob.com>
8895
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8897 Moved ...
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8900 Moved ...
8901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8903 Moved ...
8904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8906 Moved ...
8907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8909 File removed.
8910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8911 File removed.
8912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8913 File removed.
8914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8915 File removed.
8916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8917 File removed.
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8919 File removed.
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8921 File removed.
8922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8923 File removed.
8924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8925 File removed.
8926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8927 File removed.
8928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8929 File removed.
8930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8931 File removed.
8932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8933 Moved ...
8934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8936 Moved ...
8937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8938 ... here.
8939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8940 Moved ...
8941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8943 Moved ...
8944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8946 Moved ...
8947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8949 Moved ...
8950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8952 Moved ...
8953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8955 Moved ...
8956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8958 Moved ...
8959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8962 ... here.
8963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8964 Moved ...
8965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8967 Moved ...
8968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8969 ... here.
8970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8971 Moved ...
8972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8973 ... here.
8974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8975 Moved ...
8976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8977 ... here.
8978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8979 Moved ...
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8982 Moved ...
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8987 Moved ...
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8989 ... here.
8990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8991 Moved ...
8992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8993 ... here.
8994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8995 Moved ...
8996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8998 Moved ...
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9001 Moved ...
9002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9004 Moved ...
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9007 Moved ...
9008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9009 ... here.
9010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9011 Moved ...
9012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9014 Moved ...
9015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9017 Moved ...
9018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9020 Moved ...
9021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9025 Moved ...
9026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9028 Moved ...
9029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9031 Moved ...
9032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9033 ... here.
9034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9035 Moved ...
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9037 ... here.
9038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9039 Moved ...
9040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9041 ... here.
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9043 Moved ...
9044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9046 Moved ...
9047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9049 Moved ...
9050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9052 Moved ...
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9054 ... here.
9055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9056 Moved ...
9057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9058 ... here.
9059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9060 Moved ...
9061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9062 ... here.
9063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9064 Moved ...
9065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9067 Moved ...
9068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9069
9070 2014-06-23 Will Newton <will.newton@linaro.org>
9071 Wilco <wdijkstr@arm.com>
9072
9073 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9074 implementation. Include get-rounding-mode.h.
9075 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9076 [!libc_feholdsetround_noex_ctx]: Define
9077 libc_feholdsetround_noex_ctx.
9078 [!libc_feholdsetround_noexf_ctx]: Define
9079 libc_feholdsetround_noexf_ctx.
9080 [!libc_feholdsetround_noexl_ctx]: Define
9081 libc_feholdsetround_noexl_ctx.
9082 (libc_feholdsetround_ctx): New function.
9083 (libc_feresetround_ctx): New function.
9084 (libc_feholdsetround_noex_ctx): New function.
9085 (libc_feresetround_noex_ctx): New function.
9086
9087 2014-06-23 Roland McGrath <roland@hack.frob.com>
9088
9089 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9090 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9091 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9092 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9093 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9094 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9095
9096 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9097 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9098 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9099 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9100 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9101 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9102 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9103 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9104 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9105 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9106 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9107 Moved ...
9108 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9109 ... here.
9110 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9111 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9112 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9113 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9114 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9115 Moved ...
9116 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9117 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9118 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9119 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9120 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9121 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9122 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9123 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9124 Moved ...
9125 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9126 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9127 Moved ...
9128 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9129 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9130 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9131 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9132 Moved ...
9133 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9134 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9135 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9136 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9137 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9138 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9139 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9140 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9141 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9142 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9143 Moved ...
9144 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9145 ... here.
9146 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9147 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9148 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9149 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9150 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9151 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9152 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9153 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9154 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9155 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9156 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9157 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9158 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9159 Moved ...
9160 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9161 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9162 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9163 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9164 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9165 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9166 Moved ...
9167 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9168 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9169 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9170 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9171 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9172
9173 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9174 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9175 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9176 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9177 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9178 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9179 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9180 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9181 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9182 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9183 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9184 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9185 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9186 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9187 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9188 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9189 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9190 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9191 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9192 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9193 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9194 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9195 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9196 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9197 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9198 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9199 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9200 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9201
9202 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9203
9204 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9205 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9206 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9207 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9208 (IPV6_PMTUDISC_INTERFACE): Likewise.
9209 (IPV6_PMTUDISC_OMIT): Likewise.
9210
9211 2014-06-23 Andreas Schwab <schwab@suse.de>
9212
9213 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9214 Remove unused errout label.
9215
9216 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9217
9218 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9219 macro: hardware supports Vector Crypto instructions.
9220
9221 2014-06-23 Will Newton <will.newton@linaro.org>
9222
9223 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9224 rather than __builtin_expect.
9225
9226 * elf/dl-lookup.c (undefined_msg): Remove variable.
9227 (_dl_lookup_symbol_x): Replace undefined_msg with string
9228 literal.
9229
9230 * elf/dl-lookup.c (do_lookup_unique): New function.
9231 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9232 to a separate function.
9233
9234 2014-06-23 Andreas Schwab <schwab@suse.de>
9235
9236 [BZ #17079]
9237 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9238 before reading the next line.
9239
9240 2014-06-23 Will Newton <will.newton@linaro.org>
9241
9242 * test-skeleton.c (signal_handler): Use printf and %m
9243 rather than perror. Use printf rather than fprintf to
9244 stderr. Use puts rather than fputs to stderr.
9245 (main): Likewise.
9246
9247 2014-06-22 Ludovic Courtès <ludo@gnu.org>
9248
9249 * nscd/nscd.c (thread_info_t): Remove typedef.
9250 (thread_info): Remove variable.
9251
9252 2014-06-21 Allan McRae <allan@archlinux.org>
9253
9254 * NEWS: Mention CVE-2014-4043.
9255
9256 2014-06-20 Roland McGrath <roland@hack.frob.com>
9257
9258 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9259 * nptl/smp.h: ... here.
9260
9261 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9262
9263 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9264 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9265 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9266 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9267
9268 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9269 * nptl/stack-aliasing.h: New file.
9270 * sysdeps/i386/i686/stack-aliasing.h: New file.
9271 * sysdeps/i386/i686/nptl/Makefile: File removed.
9272 * sysdeps/x86_64/stack-aliasing.h: New file.
9273 * sysdeps/x86_64/nptl/Makefile
9274 (CFLAGS-pthread_create.c): Variable removed.
9275
9276 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9277 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9278 old file.
9279 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9280 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9281 old file.
9282
9283 2014-06-21 Joseph Myers <joseph@codesourcery.com>
9284
9285 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9286 (__ASSUME_SIGFRAME_V2): Remove macro.
9287 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9288 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9289 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9290 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9291 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9292 Declare as function. Remove conditional macro definitions.
9293 (__default_rt_sa_restorer): Likewise.
9294 (__default_sa_restorer_v1): Remove declaration.
9295 (__default_sa_restorer_v2): Likewise.
9296 (__default_rt_sa_restorer_v1): Likewise.
9297 (__default_rt_sa_restorer_v2): Likewise.
9298 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9299 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9300 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9301
9302 2014-06-20 Roland McGrath <roland@hack.frob.com>
9303
9304 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9305 (libpthread-routines): Add sysdep.
9306 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9307 * sysdeps/unix/sysv/linux/sparc/Versions
9308 (libpthread: GLIBC_2.3.3): New version set.
9309 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9310 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9311 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9312 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9313 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9314 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9315 Moved ...
9316 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9317 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9318 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9319 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9320 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9321 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9322 * sysdeps/sparc/nptl/sem_init.c: ... here.
9323 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9324 * sysdeps/sparc/nptl/sem_post.c: ... here.
9325 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9326 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9327 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9328 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9329 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9330 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9331 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9332 (libpthread-routines): Add cpu_relax.
9333 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9334 File removed.
9335 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9336 (librt: GLIBC_2.3.3): New version set.
9337 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9338 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9339 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9340 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9341 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9343 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9345 Moved ...
9346 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9348 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9349 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9350 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9351 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9352 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9354 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9356 Moved ...
9357 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9358 Update #include.
9359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9360 Moved ...
9361 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9362 Update #include.
9363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9364 Moved ...
9365 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9366 Update #include.
9367 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9368 Moved ...
9369 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9370 Update #include.
9371 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9372 Moved ...
9373 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9374 Update #include.
9375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9376 Moved ...
9377 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9378 Update #include.
9379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9380 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9382 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9383 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9384 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9386 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9388 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9389 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9390 Moved ...
9391 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9393 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9395 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9396
9397 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9398
9399 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9400 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9401 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9402 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9403 * nscd/nscd.c: Likewise.
9404 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9405 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9406 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9407 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9408
9409 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9410 <kernel-features.h>.
9411 (init_mq_netlink): Remove conditional have_sock_cloexec
9412 definitions. Remove code conditional on have_sock_cloexec < 0.
9413 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9414 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9415 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9416 <kernel-features.h>.
9417 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9418 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9419
9420 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9421
9422 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9423 Add tests for memset_chk and memset.
9424
9425 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9426 with AVX2_Usable.
9427
9428 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9429
9430 [BZ #16046]
9431 * elf/tst-dl-iter-static.c: New file.
9432 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9433
9434 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9435 error.
9436
9437 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9438
9439 * sysdeps/unix/sysv/linux/kernel-features.h
9440 (__ASSUME_F_GETOWN_EX): Remove macro.
9441 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9442 <kernel-features.h>.
9443 (miss_F_GETOWN_EX): Remove variable or macro.
9444 (do_fcntl): Do not check miss_F_GETOWN_EX.
9445 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9446
9447 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9448 Remove macro.
9449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9450 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9451 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9452
9453 * sysdeps/unix/sysv/linux/kernel-features.h
9454 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9455 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9456 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9457 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9458
9459 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9460
9461 [BZ #17075]
9462 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9463 Fix calculation of the symbol's value.
9464 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9465 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9466 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9467 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9468 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9469 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9470 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9471 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9472 (modules-names): Add `tst-armtlsdescmod',
9473 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9474 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9475 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9476 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9477 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9478 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9479 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9480 ($(objpfx)tst-armtlsdescloc): New dependency.
9481 ($(objpfx)tst-armtlsdescextnow): Likewise.
9482 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9483 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9484 TLS scheme support.
9485 * sysdeps/arm/configure: Regenerate.
9486
9487 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9488
9489 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9490 (__atfct_seterrno_2): Likewise.
9491 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9492 <kernel-features.h>.
9493 (__ASSUME_ATFCTS): Do not undefine and redefine.
9494 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9495 (__have_atfcts): Remove conditional definition.
9496 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9497 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9498 unreachable if [__ASSUME_ATFCTS].
9499 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9500 not undefine and redefine.
9501 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9502 <kernel-features.h>.
9503 (faccessat) [__NR_faccessat]: Make code unconditional.
9504 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9505 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9506 <kernel-features.h>.
9507 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9508 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9509 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9510 <kernel-features.h>.
9511 (fchownat) [__NR_fchownat]: Make code unconditional.
9512 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9513 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9514 <kernel-features.h>.
9515 (futimesat) [__NR_futimesat]: Make code unconditional.
9516 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9517 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9518 <kernel-features.h>.
9519 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9520 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9521 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9522 <kernel-features.h>.
9523 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9524 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9525 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9526 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9527 <kernel-features.h>.
9528 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9529 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9530 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9531 <kernel-features.h>.
9532 (linkat) [__NR_linkat]: Make code unconditional.
9533 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9534 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9535 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9536 <kernel-features.h>.
9537 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9538 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9539 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9540 <kernel-features.h>.
9541 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9542 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9543 * sysdeps/unix/sysv/linux/openat.c: Do not include
9544 <kernel-features.h>.
9545 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9546 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9547 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9548 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9549 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9550 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9551 <kernel-features.h>.
9552 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9553 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9554 result of INLINE_SYSCALL directly, not via int variable.
9555 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9556 <kernel-features.h>.
9557 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9558 (renameat) [__NR_renameat]: Make code unconditional.
9559 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9560 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9561 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9562 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9563 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9564 (__ASSUME_ATFCTS): Do not undefine and redefine.
9565 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9566 <kernel-features.h>.
9567 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9568 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9569 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9570 <kernel-features.h>.
9571 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9572 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9573 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9574 (__ASSUME_ATFCTS): Do not undefine and redefine.
9575 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9576 <kernel-features.h>.
9577 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9578 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9579 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9580 <kernel-features.h>.
9581 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9582 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9583
9584 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9585
9586 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9587
9588 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9589
9590 [BZ #17069]
9591 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9592 constructed tree before returning error.
9593 * posix/bug-regexp36.c: Expand test case.
9594
9595 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9596
9597 [BZ #6803]
9598 * math/libm-test.inc (scalbln_test_date):
9599 Add errno expectations.
9600 * math/w_scalblnf.c: New File.
9601 Add wrapper which checks for setting errno to ERANGE.
9602 Add weak_alias for corresponding scalbln function.
9603 * math/w_scalbln.c: Likewise.
9604 * math/w_scalblnl.c: Likewise.
9605 * math/Makefile (libm-calls): Add w_scalbln.
9606 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9607 Remove weak_alias for corresponding scalbln function.
9608 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9609 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9610 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9611 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9612 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9613 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9614 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9615 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9616 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9617 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9618 Remove long_double_symbol for scalblnl function in libm, libc.
9619 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9620 Add wrapper which checks for setting errno to ERANGE.
9621 Add long_double_symbol for scalblnl function in libm, libc.
9622 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9623 Remove long_double_symbol for scalblnl in libm.
9624 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9625 Add wrapper which checks for setting errno to ERANGE.
9626 Add long_double_symbol for scalblnl function in libm.
9627 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9628 Do not use wrapper because of own implementation.
9629
9630 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9631
9632 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9633 3 bytes for __pad1 for x32.
9634 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9635
9636 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9637 H.J. Lu <hongjiu.lu@intel.com>
9638
9639 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9640 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9641 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9642 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9643 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9644
9645 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9646
9647 [BZ #17069]
9648 * posix/regcomp.c (parse_expression): Deallocate partially
9649 constructed tree before returning error.
9650 * posix/Makefile.c (tests): Add bug-regex36.
9651 (generated): Add bug-regex36.mtrace.
9652 (tests-special): Add $(objpfx)bug-regex36-mem.out
9653 (bug-regex36-ENV): New variable.
9654 ($(objpfx)bug-regex36-mem.out): New rule.
9655 * posix/bug-regex36.c: New file.
9656
9657 2014-06-19 Will Newton <will.newton@linaro.org>
9658
9659 * malloc/malloc.c (systrim): If extra is zero then return
9660 early.
9661
9662 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9663
9664 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9665
9666 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
9667
9668 * sysdeps/aarch64/strchr.S: New file.
9669
9670 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9671
9672 [BZ #17022]
9673 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9674 from arguments -2 or below.
9675 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9676 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9677
9678 2014-06-18 Andreas Schwab <schwab@suse.de>
9679
9680 [BZ #17062]
9681 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9682 of a bracket expr not to run off the end of the string.
9683 * posix/Makefile (tests): Add tst-fnmatch3.
9684 * posix/tst-fnmatch3.c: New file.
9685
9686 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9687
9688 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9689 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9690 [$(cross-compiling) = no]: Likewise.
9691 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9692 [$(cross-compiling) = no]: Likewise.
9693
9694 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9695
9696 [BZ #17031]
9697 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9698 double, adjusted for any remainder from the high double.
9699 * math/libm-test.inc (nearbyint): Add tests.
9700 (rint): Likewise.
9701
9702 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9703
9704 * nptl/sysdeps/powerpc/Makefile: Moved ...
9705 * sysdeps/powerpc/nptl/Makefile: ... here.
9706 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9707 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9708 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9709 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9710 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9711 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9712 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9713 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9714 * nptl/sysdeps/powerpc/tls.h: Moved ...
9715 * sysdeps/powerpc/nptl/tls.h: ... here.
9716
9717 2014-06-16 Joseph Myers <joseph@codesourcery.com>
9718
9719 [BZ #16681]
9720 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9721 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9722 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9723 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9724 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9725 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9726 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9727 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9728 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9729
9730 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9731
9732 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9733
9734 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9735
9736 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9737 defined operator.
9738
9739 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9740 $TIMEOUTFACTOR.
9741
9742 2014-06-16 Florian Weimer <fweimer@redhat.com>
9743
9744 [BZ #17058]
9745 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9746 non-executed part of the test.
9747
9748 2014-06-16 Andreas Schwab <schwab@suse.de>
9749
9750 * string/bits/string2.h (strdup, strndup): Update feature guard.
9751
9752 2014-06-14 David S. Miller <davem@davemloft.net>
9753
9754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9755
9756 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9757
9758 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9759 that was previously under [RESET_PID].
9760 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9761
9762 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9763 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9764 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9765 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9766 (__libc_vfork): New strong alias.
9767 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9768
9769 2014-06-14 Andi Kleen <ak@linux.intel.com>
9770
9771 * sysdeps/generic/elide.h: New file.
9772
9773 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9774
9775 * Makefile (installed-headers): Adjust path of pthread.h header.
9776
9777 2014-06-13 Roland McGrath <roland@hack.frob.com>
9778
9779 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9780 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9781 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9782 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9783
9784 * nptl/sysdeps/s390/Makefile: Moved ...
9785 * sysdeps/s390/nptl/Makefile: ... here.
9786 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9787 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9788 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9789 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9790 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9791 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9792 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9793 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9794 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9795 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9796 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9797 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9798 * nptl/sysdeps/s390/tls.h: Moved ...
9799 * sysdeps/s390/nptl/tls.h: ... here.
9800
9801 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9802 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9803
9804 2014-06-13 David S. Miller <davem@davemloft.net>
9805
9806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9807 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9809 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9811 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9813 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9814 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9815 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9816 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9817 Remove RESET_PID cpp guards.
9818 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9819 Remove RESET_PID cpp guards.
9820 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9821
9822 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9823
9824 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9825 __sp to uintptr_t.
9826
9827 2014-06-13 Andi Kleen <ak@linux.intel.com>
9828
9829 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9830 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9831 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9832 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9833 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9834 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9835 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9836 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9837 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9838 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9839 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9840 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9841 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9842 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9843 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9844 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9845 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9846 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9847 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9848 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9849
9850 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9851 (pthread_rwlock_rdlock): Add elision.
9852 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9853 (pthread_rwlock_wrlock): Add elision.
9854 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9855 (pthread_rwlock_trywrlock): Add elision.
9856 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9857 (pthread_rwlock_tryrdlock): Add elision.
9858 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9859 (pthread_rwlock_tryrdlock): Add elision unlock.
9860 * nptl/sysdeps/pthread/pthread.h:
9861 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9862 (PTHREAD_RWLOCK_INITIALIZER,
9863 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9864 Handle new elision field.
9865 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9866 * sysdeps/arm/nptl/bits/pthreadtypes.h
9867 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9868 * sysdeps/sh/nptl/bits/pthreadtypes.h
9869 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9870 * sysdeps/tile/nptl/bits/pthreadtypes.h
9871 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9872 * sysdeps/a/nptl/bits/pthreadtypes.h
9873 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9874 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9875 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9876 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9877 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9878 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9879 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9880 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9881 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9882 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9883 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9884 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9885 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9886 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9887 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9888 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9889 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9890 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9891 (elision_init): Set try_xbegin to zero when no RTM.
9892 * sysdeps/x86/nptl/bits/pthreadtypes.h
9893 (pthread_rwlock_t): Change __pad1 to __rwelision.
9894 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9895
9896 2014-06-13 Andi Kleen <ak@linux.intel.com>
9897
9898 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9899 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9900 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9901 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9902
9903 2014-06-13 Meador Inge <meadori@codesourcery.com>
9904
9905 [BZ #16996]
9906 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9907 that the cached result has been set before returning it.
9908
9909 2014-06-12 Roland McGrath <roland@hack.frob.com>
9910
9911 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9912 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9913 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9914 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9915 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9916 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9917
9918 * nptl/sysdeps/sparc/Makefile: Moved ...
9919 * sysdeps/sparc/nptl/Makefile: ... here.
9920 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9921 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9922 * nptl/sysdeps/sparc/tls.h: Moved ...
9923 * sysdeps/sparc/nptl/tls.h: ... here.
9924 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9925 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9926 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9927 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9928 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9929 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9930 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9931 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9932 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9933 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9934 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9935 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9936 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9937 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9938 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9939 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9940 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9941 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9942 Update #include.
9943 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9944 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9945 Update #include.
9946 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9947 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9948 Update #include.
9949 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9950 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9951 Update #include.
9952
9953 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9954
9955 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9956 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9957
9958 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9959 (struct list_links): Type removed.
9960 (struct thread_node, struct timer_node): Replace struct list_links
9961 with struct list_head.
9962 (list_unlink_ip): Likewise.
9963 * sysdeps/pthread/timer_routines.c
9964 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9965 (list_append, list_insbefore): Likewise.
9966 (list_init): Function removed.
9967 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9968 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9969 * sysdeps/pthread/Makefile: ... here, new file.
9970
9971 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9972 * sysdeps/nptl/Implies: ... here.
9973 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9974 * nptl/sysdeps/pthread/list.h: Moved ...
9975 * include/list.h: ... here.
9976 * nptl/sysdeps/pthread/createthread.c: Moved ...
9977 * nptl/createthread.c: ... here.
9978 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9979 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9980 * nptl/pt-longjmp.c: ... here.
9981 * nptl/sysdeps/pthread/Makefile: Moved ...
9982 * sysdeps/nptl/Makefile: ... here.
9983 * nptl/sysdeps/pthread/Subdirs: Moved ...
9984 * sysdeps/nptl/Subdirs: ... here.
9985 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9986 * sysdeps/nptl/aio_misc.h: ... here.
9987 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9988 * sysdeps/nptl/bits/libc-lock.h: ... here.
9989 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9990 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9991 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9992 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9993 * nptl/sysdeps/pthread/configure: Moved ...
9994 * sysdeps/nptl/configure: ... here.
9995 * nptl/sysdeps/pthread/configure.ac: Moved ...
9996 * sysdeps/nptl/configure.ac: ... here.
9997 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9998 * sysdeps/nptl/gai_misc.h: ... here.
9999 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10000 * sysdeps/nptl/librt-cancellation.c: ... here.
10001 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10002 * sysdeps/nptl/malloc-machine.h: ... here.
10003 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10004 * sysdeps/nptl/pthread-functions.h: ... here.
10005 * nptl/sysdeps/pthread/pthread.h: Moved ...
10006 * sysdeps/nptl/pthread.h: ... here.
10007 * nptl/sysdeps/pthread/setxid.h: Moved ...
10008 * sysdeps/nptl/setxid.h: ... here.
10009 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10010 * sysdeps/nptl/sigfillset.c: ... here.
10011 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10012 * sysdeps/nptl/tcb-offsets.h: ... here.
10013 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10014 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10015 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10016 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10017 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10018 * sysdeps/pthread/allocalim.h: ... here.
10019 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10020 * sysdeps/pthread/bits/sigthread.h: ... here.
10021 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10022 * sysdeps/pthread/flockfile.c: ... here.
10023 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10024 * sysdeps/pthread/ftrylockfile.c: ... here.
10025 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10026 * sysdeps/pthread/funlockfile.c: ... here.
10027 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10028 * sysdeps/pthread/posix-timer.h: ... here.
10029 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10030 * sysdeps/pthread/timer_create.c: ... here.
10031 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10032 * sysdeps/pthread/timer_delete.c: ... here.
10033 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10034 * sysdeps/pthread/timer_getoverr.c: ... here.
10035 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10036 * sysdeps/pthread/timer_gettime.c: ... here.
10037 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10038 * sysdeps/pthread/timer_routines.c: ... here.
10039 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10040 * sysdeps/pthread/timer_settime.c: ... here.
10041 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10042 * sysdeps/pthread/tst-timer.c: ... here.
10043 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10044 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10045
10046 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10047 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10048
10049 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10050 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10051 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10052 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10053 Update #include target.
10054 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10055 * sysdeps/i386/i686/nptl/Makefile: ... here.
10056 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10057 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10058 Update #include target.
10059 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10060 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10061 * nptl/sysdeps/i386/Makefile: Moved ...
10062 * sysdeps/i386/nptl/Makefile: ... here.
10063 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10064 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10065 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10066 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10067 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10068 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10069 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10070 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10071 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10072 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10073 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10074 * nptl/sysdeps/i386/tls.h: Moved ...
10075 * sysdeps/i386/nptl/tls.h: ... here.
10076
10077 * sysdeps/sh/Makefile [$(subdir) = csu]
10078 (gen-as-const-headers): Add tcb-offsets.sym.
10079 * nptl/sysdeps/sh/Makefile: File removed.
10080 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10081 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10082 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10083 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10084 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10085 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10086 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10087 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10088 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10089 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10090 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10091 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10092 * nptl/sysdeps/sh/tls.h: Moved ...
10093 * sysdeps/sh/nptl/tls.h: ... here.
10094 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10095 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10096 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10097 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10098 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10099 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10100 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10101 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10102 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10103 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10104 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10105 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10106 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10107 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10108 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10109 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10110 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10111 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10112 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10113 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10114 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10115 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10116 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10117 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10118 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10119 Moved ...
10120 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10121 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10122 Moved ...
10123 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10124 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10125 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10126 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10127 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10128 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10129 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10130 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10131 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10132 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10133 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10134 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10135 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10136 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10137 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10138 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10139 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10140 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10141 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10142
10143 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10144
10145 * posix/spawn_faction_addopen.c: Include string.h.
10146
10147 2014-06-11 Roland McGrath <roland@hack.frob.com>
10148
10149 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10150 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10151 * nptl/sysdeps/x86_64/Makefile: Moved ...
10152 * sysdeps/x86_64/nptl/Makefile: ... here.
10153 * nptl/sysdeps/x86_64/configure: Moved ...
10154 * sysdeps/x86_64/nptl/configure: ... here.
10155 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10156 * sysdeps/x86_64/nptl/configure.ac: ... here.
10157 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10158 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10159 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10160 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10161 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10162 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10163 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10164 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10165 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10166 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10167 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10168 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10169 * nptl/sysdeps/x86_64/tls.h: Moved ...
10170 * sysdeps/x86_64/nptl/tls.h: ... here.
10171 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10172 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10173 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10174 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10175
10176 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10177
10178 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10179
10180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10181
10182 2014-06-11 Joseph Myers <joseph@codesourcery.com>
10183
10184 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10185 type.
10186 [POSIX] (off_t): Likewise.
10187 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10188 [POSIX] (S_ISBLK): Require macro.
10189 [POSIX] (S_ISCHR): Likewise.
10190 [POSIX] (S_ISDIR): Likewise.
10191 [POSIX] (S_ISFIFO): Likewise.
10192 [POSIX] (S_ISREG): Likewise.
10193 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10194 optional-macro.
10195 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10196 type.
10197 [POSIX] (time_t): Likewise.
10198 [POSIX] (timer_t): Likewise.
10199
10200 2014-06-11 Florian Weimer <fweimer@redhat.com>
10201
10202 [BZ #17048]
10203 * posix/spawn_int.h (struct __spawn_action): Make the path string
10204 non-const to support deallocation.
10205 * posix/spawn_faction_addopen.c
10206 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10207 * posix/spawn_faction_destroy.c
10208 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10209 path in all spawn_do_open actions.
10210 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10211 posix_spawn_file_actions_addopen.
10212
10213 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10214
10215 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10216 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10217 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10218 conditional code always true.
10219 (__libc_vfork): New alias.
10220
10221 2014-06-11 Roland McGrath <roland@hack.frob.com>
10222
10223 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10224 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10225
10226 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10227
10228 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10229 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10230
10231 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10232 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10233
10234 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10235 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10236
10237 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10238
10239 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10240 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10241 multiarch strcmp for PPC64.
10242 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10243 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10244 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10245 multiarch optimizations.
10246 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10247 (__libc_ifunc_impl_list): Likewise.
10248
10249 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10250
10251 * benchtests/scripts/validate_benchout.py: New script.
10252 * benchtests/Makefile (bench-func): Call it.
10253 * benchtests/scripts/benchout.schema.json: New file.
10254
10255 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10256
10257 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10258 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10259 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10260 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10261 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10262 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10263 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10264 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10265 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10266 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10267 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10268 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10269 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10270 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10271 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10272 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10274 Moved ...
10275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10276 ... here.
10277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10278 Moved ...
10279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10281 Moved ...
10282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10283 ... here.
10284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10285 Moved ...
10286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10287 ... here.
10288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10289 Moved ...
10290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10292 Moved ...
10293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10294 ... here.
10295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10296 Moved ...
10297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10298 ... here.
10299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10300 Moved ...
10301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10303 Moved ...
10304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10305 ... here.
10306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10307 Moved ...
10308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10309 ... here.
10310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10311 Moved ...
10312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10313 ... here.
10314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10315 Moved ...
10316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10318 Moved ...
10319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10320 ... here.
10321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10322 Moved ...
10323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10324 ... here.
10325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10326 Moved ...
10327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10328 ... here.
10329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10330 Moved ...
10331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10333 Moved ...
10334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10335 ... here.
10336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10337 Moved ...
10338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10339 ... here.
10340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10341 Moved ...
10342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10344 Moved ...
10345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10346 ... here.
10347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10348 Moved ...
10349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10351 Moved ...
10352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10354 Moved ...
10355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10356 ... here.
10357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10358 Moved ...
10359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10360 ... here.
10361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10362 Moved ...
10363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10364 ... here.
10365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10366 Moved ...
10367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10369 Moved ...
10370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10371 ... here.
10372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10373 Moved ...
10374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10375 ... here.
10376 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10377 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10378 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10379 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10380 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10381 Moved ...
10382 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10383 ... here.
10384 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10385 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10387 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10388 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10389 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10390 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10391 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10392 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10393 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10394 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10395 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10396 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10397 Moved ...
10398 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10399 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10400 Moved ...
10401 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10402 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10403 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10404 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10405 Moved ...
10406 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10407 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10408 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10409 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10410 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10411 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10412 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10413
10414 2014-06-10 Wilco <wdijkstr@arm.com>
10415
10416 * math/test-fenv-return.c: New file.
10417 * math/Makefile: Add new test test-fenv-return.
10418
10419 2014-06-10 Joseph Myers <joseph@codesourcery.com>
10420
10421 [BZ #17042]
10422 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10423 when x - 1 is zero.
10424 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10425 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10426 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10427 0.0L for an argument of 1.0L.
10428 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10429 Likewise.
10430 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10431 value when x - 1 is zero.
10432 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10433 * sysdeps/i386/fpu/libm-test-ulps: Update.
10434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10435
10436 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10437
10438 [BZ #15119]
10439 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10440
10441 2014-06-09 Roland McGrath <roland@hack.frob.com>
10442
10443 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10444 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10445
10446 2014-06-09 Roland McGrath <roland@hack.frob.com>
10447
10448 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10449 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10450
10451 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10452 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10453
10454 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10455 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10456
10457 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10458 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10459
10460 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10461 if not already defined.
10462 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10463 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10464 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10465 (TLS_INIT_TP): Use it.
10466 (TLS_DEFINE_INIT_TP): New macro.
10467 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10468
10469 2014-06-09 Joseph Myers <joseph@codesourcery.com>
10470
10471 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10472 constant.
10473 [POSIX] (IXANY): Likewise.
10474 [POSIX] (OLCUC): Likewise.
10475 [POSIX || POSIX2008] (CBAUD): Do not allow.
10476 [POSIX || POSIX2008] (DEFECHO): Likewise.
10477 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10478 [POSIX || POSIX2008] (ECHOKE): Likewise.
10479 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10480 [POSIX || POSIX2008] (EXTA): Likewise.
10481 [POSIX || POSIX2008] (EXTB): Likewise.
10482 [POSIX || POSIX2008] (FLUSHO): Likewise.
10483 [POSIX || POSIX2008] (LOBLK): Likewise.
10484 [POSIX || POSIX2008] (PENDIN): Likewise.
10485 [POSIX || POSIX2008] (SWTCH): Likewise.
10486 [POSIX || POSIX2008] (VDISCARD): Likewise.
10487 [POSIX || POSIX2008] (VDSUSP): Likewise.
10488 [POSIX || POSIX2008] (VLNEXT): Likewise.
10489 [POSIX || POSIX2008] (VREPRINT): Likewise.
10490 [POSIX || POSIX2008] (VSTATUS): Likewise.
10491 [POSIX || POSIX2008] (VWERASE): Likewise.
10492 (B*): Change to B[0123456789]*.
10493 * conform/data/time.h-data [POSIX || UNIX98]
10494 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10495 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10496 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10497 [POSIX] (tm_*): Do not allow.
10498
10499 2014-06-07 Joseph Myers <joseph@codesourcery.com>
10500
10501 * Makefile (install): Don't set LANGUAGE.
10502 * Makefile.in (install): Likewise.
10503 * assert/Makefile (test-assert-ENV): Remove variable.
10504 (test-assert-perr-ENV): Likewise.
10505 * elf/Makefile (neededtest4-ENV): Likewise.
10506 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10507 [$(cross-compiling) = no]: Don't set LANGUAGE.
10508 * io/ftwtest-sh (LANG): Remove variable.
10509 * libio/Makefile (tst-widetext-ENV): Likewise.
10510 * manual/install.texi (Running make install): Don't refer to
10511 environment settings for make install.
10512 * INSTALL: Regenerated.
10513 * nptl/tst-tls6.sh: Don't set LANG.
10514 * posix/globtest.sh (LANG): Remove variable.
10515 * string/Makefile (tester-ENV): Likewise.
10516 (inl-tester-ENV): Likewise.
10517 (noinl-tester-ENV): Likewise.
10518 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10519 [$(cross-compiling) = no]: Don't set LANGUAGE.
10520 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10521 without explicit environment settings.
10522
10523 2014-06-06 Roland McGrath <roland@hack.frob.com>
10524
10525 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10526 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10527 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10528 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10529
10530 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10531
10532 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10533 other files in the crypt directory.
10534 * crypt/crypt.c: Remove duplicate includes.
10535 * crypt/crypt-entry.c: Likewise.
10536 * crypt/crypt_util.c: Likewise.
10537
10538 2014-06-06 Joseph Myers <joseph@codesourcery.com>
10539
10540 * Makeconfig (run-program-env): New variable.
10541 (run-program-prefix-before-env): Likewise.
10542 (run-program-prefix-after-env): Likewise.
10543 (run-program-prefix): Define in terms of new variables.
10544 (built-program-cmd-before-env): New variable.
10545 (built-program-cmd-after-env): Likewise.
10546 (built-program-cmd): Define in terms of new variables.
10547 (test-program-prefix-before-env): New variable.
10548 (test-program-prefix-after-env): Likewise.
10549 (test-program-prefix): Define in terms of new variables.
10550 (test-program-cmd-before-env): New variable.
10551 (test-program-cmd-after-env): Likewise.
10552 (test-program-cmd): Define in terms of new variables.
10553 * Rules (make-test-out): Use $(run-program-env).
10554 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10555 (help): Do not mention environment variables. Mention
10556 --timeoutfactor option.
10557 (timeoutfactor): New variable.
10558 (blacklist_exports): Remove function.
10559 (exports): Remove variable.
10560 (command): Do not include ${exports}.
10561 * manual/install.texi (Configuring and compiling): Do not mention
10562 test wrappers preserving environment variables. Mention that last
10563 assignment to a variable must take precedence.
10564 * INSTALL: Regenerated.
10565 * benchtests/Makefile (run-bench): Use $(run-program-env).
10566 * catgets/Makefile ($(objpfx)test1.cat): Use
10567 $(built-program-cmd-before-env), $(run-program-env) and
10568 $(built-program-cmd-after-env).
10569 ($(objpfx)test2.cat): Do not specify environment variables
10570 explicitly.
10571 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10572 $(run-program-env) and $(built-program-cmd-after-env).
10573 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10574 $(run-program-env) and $(test-program-cmd-after-env).
10575 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10576 explicitly.
10577 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10578 run_program_env and test_program_cmd_after_env arguments.
10579 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10580 * elf/tst-pathopt.sh: Use run_program_env argument.
10581 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10582 $(test-wrapper-env) and $(run-program-env).
10583 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10584 run_program_env arguments.
10585 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10586 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10587 $(test-program-prefix-before-env), $(run-program-env) and
10588 $(test-program-prefix-after-env).
10589 ($(objpfx)tst-gettext2.out): Likewise.
10590 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10591 run_program_env and test_program_prefix_after_env arguments.
10592 * intl/tst-gettext2.sh: Likewise.
10593 * intl/tst-gettext4.sh: Do not set environment variables
10594 explicitly.
10595 * intl/tst-gettext6.sh: Likewise.
10596 * intl/tst-translit.sh: Likewise.
10597 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10598 $(test-program-prefix-before-env), $(run-program-env) and
10599 $(test-program-prefix-after-env).
10600 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10601 run_program_env and test_program_prefix_after_env arguments.
10602 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10603 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10604 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10605 explicitly with each use of ${test_wrapper_env}.
10606 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10607 $(test-program-prefix-before-env), $(run-program-env) and
10608 $(test-program-prefix-after-env).
10609 * posix/tst-getconf.sh: Do not set environment variables
10610 explicitly.
10611 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10612 run_program_env and test_program_prefix_after_env arguments.
10613 * stdio-common/tst-printf.sh: Do not set environment variables
10614 explicitly.
10615 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10616 $(test-program-prefix-before-env), $(run-program-env) and
10617 $(test-program-prefix-after-env).
10618 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10619 run_program_env and test_program_prefix_after_env arguments.
10620 Split $test calls into $test_pre and $test.
10621 * timezone/Makefile (build-testdata): Use
10622 $(built-program-cmd-before-env), $(run-program-env) and
10623 $(built-program-cmd-after-env).
10624
10625 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10626
10627 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10628 strlen for non SHARED builds.
10629
10630 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10631
10632 * nptl/allocatestack.c (check_list): Inlined function...
10633 (__reclaim_stacks): ... here.
10634
10635 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10636
10637 [BZ #15698]
10638 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10639 memory overrun.
10640
10641 2014-06-05 Joseph Myers <joseph@codesourcery.com>
10642
10643 * Rules (make-test-out): Include
10644 LOCPATH=$(common-objpfx)localedata in default environment.
10645 * debug/Makefile (tst-chk1-ENV): Remove variable.
10646 (tst-chk2-ENV): Likewise.
10647 (tst-chk3-ENV): Likewise.
10648 (tst-chk4-ENV): Likewise.
10649 (tst-chk5-ENV): Likewise.
10650 (tst-chk6-ENV): Likewise.
10651 (tst-lfschk1-ENV): Likewise.
10652 (tst-lfschk2-ENV): Likewise.
10653 (tst-lfschk3-ENV): Likewise.
10654 (tst-lfschk4-ENV): Likewise.
10655 (tst-lfschk5-ENV): Likewise.
10656 (tst-lfschk6-ENV): Likewise.
10657 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10658 (tst-iconv7-ENV): Likewise.
10659 * intl/Makefile (LOCPATH-ENV): Likewise.
10660 (tst-codeset-ENV): Likewise.
10661 (tst-gettext3-ENV): Likewise.
10662 (tst-gettext5-ENV): Likewise.
10663 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10664 (tst-fopenloc-ENV): Likewise.
10665 (tst-fgetws-ENV): Remove variable.
10666 (tst-ungetwc1-ENV): Likewise.
10667 (tst-ungetwc2-ENV): Likewise.
10668 (bug-ungetwc2-ENV): Likewise.
10669 (tst-swscanf-ENV): Likewise.
10670 (bug-ftell-ENV): Likewise.
10671 (tst-fgetwc-ENV): Likewise.
10672 (tst-fseek-ENV): Likewise.
10673 (tst-ftell-partial-wide-ENV): Likewise.
10674 (tst-ftell-active-handler-ENV): Likewise.
10675 (tst-ftell-append-ENV): Likewise.
10676 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10677 (tst-regexloc-ENV): Likewise.
10678 (bug-regex1-ENV): Likewise.
10679 (tst-regex-ENV): Likewise.
10680 (tst-regex2-ENV): Likewise.
10681 (bug-regex5-ENV): Likewise.
10682 (bug-regex6-ENV): Likewise.
10683 (bug-regex17-ENV): Likewise.
10684 (bug-regex18-ENV): Likewise.
10685 (bug-regex19-ENV): Likewise.
10686 (bug-regex20-ENV): Likewise.
10687 (bug-regex22-ENV): Likewise.
10688 (bug-regex23-ENV): Likewise.
10689 (bug-regex25-ENV): Likewise.
10690 (bug-regex26-ENV): Likewise.
10691 (bug-regex30-ENV): Likewise.
10692 (bug-regex32-ENV): Likewise.
10693 (bug-regex33-ENV): Likewise.
10694 (bug-regex34-ENV): Likewise.
10695 (bug-regex35-ENV): Likewise.
10696 (tst-rxspencer-ENV): Likewise.
10697 (tst-rxspencer-no-utf8-ENV): Likewise.
10698 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10699 (tst-sscanf-ENV): Likewise.
10700 (tst-swprintf-ENV): Likewise.
10701 (tst-swscanf-ENV): Likewise.
10702 (test-vfprintf-ENV): Likewise.
10703 (scanf13-ENV): Likewise.
10704 (bug14-ENV): Likewise.
10705 (tst-grouping-ENV): Likewise.
10706 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10707 (tst-strtod3-ENV): Likewise.
10708 (tst-strtod4-ENV): Likewise.
10709 (tst-strtod5-ENV): Likewise.
10710 (testmb2-ENV): Likewise./
10711 * string/Makefile (tst-strxfrm-ENV): Likewise.
10712 (tst-strxfrm2-ENV): Likewise.
10713 (bug-strcoll1-ENV): Likewise.
10714 (test-strcasecmp-ENV): Likewise.
10715 (test-strncasecmp-ENV): Likewise.
10716 * time/Makefile (tst-strptime-ENV): Likewise.
10717 (tst-ftime_l-ENV): Likewise.
10718 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10719 (tst-mbrtowc-ENV): Likewise.
10720 (tst-wcrtomb-ENV): Likewise.
10721 (tst-mbrtowc2-ENV): Likewise.
10722 (tst-c16c32-1-ENV): Likewise.
10723 (tst-mbsnrtowcs-ENV): Likewise.
10724
10725 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10726
10727 * manual/resource.texi (How to get information about the memory
10728 subsystem?): Fix typo.
10729 Reported by Peon de la Parra Ivan <peon@keba.com>
10730
10731 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10732
10733 [BZ #16882]
10734 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10735 (pthread_spin_lock): Branch out of spin loop to proper location.
10736 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10737 (pthread_spin_lock): Likewise.
10738
10739 * nptl/tst-spin4.c: New test.
10740 * nptl/Makefile (tests): Add tst-spin4.
10741
10742 2014-06-03 Andreas Schwab <schwab@suse.de>
10743
10744 [BZ #15946]
10745 * resolv/res_send.c (send_dg): Reload file descriptor after
10746 calling reopen.
10747
10748 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10749
10750 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10751
10752 2014-06-03 Richard Henderson <rth@redhat.com>
10753
10754 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10755 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10756 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10757 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10758 in the SAVE_PID block.
10759 (__libc_vfork): New alias.
10760 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10761
10762 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10763 child in registers, not on the stack. Remove RESET_PID conditionals.
10764 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10765
10766 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10767
10768 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10769
10770 2014-06-03 Wilco <wdijkstr@arm.com>
10771
10772 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10773 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10774 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10775 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10776 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10777 Likewise.
10778
10779 2014-06-03 Wilco <wdijkstr@arm.com>
10780
10781 * sysdeps/aarch64/fpu/math_private.h
10782 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10783 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10784 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10785 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10786 Fix declarations.
10787
10788 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10789
10790 * crypt/crypt-private.h: Include ufc-crypt.h.
10791 (__b64_from_24bit): Declare extern.
10792 * crypt/crypt_util.c(__b64_from_24bit): New function.
10793 (b64t): New static const variable.
10794 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10795 (b64t): Remove variable.
10796 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10797 * crypt/sha256-crypt.c: Include crypt-private.h.
10798 (b64t): Remove variable.
10799 (__sha256_crypt_r): Remove b64_from_24bit and replace
10800 with __b64_from_24bit.
10801 * crypt/sha512-crypt.c: Likewise.
10802
10803 2014-06-02 Roland McGrath <roland@hack.frob.com>
10804
10805 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10806 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10807 Label the code __libc_vfork rather than __vfork.
10808 [!NOT_IN_libc] (vfork): Define as weak alias.
10809 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10810 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10811 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10812
10813 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10814
10815 * malloc/malloc.c (malloc_info): Fix format specifier for
10816 n_mmaps.
10817
10818 2014-06-02 Wilco <wdijkstr@arm.com>
10819
10820 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10821 FPCR write.
10822
10823 2014-06-02 Wilco <wdijkstr@arm.com>
10824
10825 [BZ #17009]
10826 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10827 Rewrite to reduce FPCR/FPSR accesses.
10828
10829 2014-06-01 David S. Miller <davem@davemloft.net>
10830
10831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10832
10833 2014-05-31 David S. Miller <davem@davemloft.net>
10834
10835 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10836 to occur in round to nearest mode when |x| >= 2.0
10837
10838 2014-05-30 Richard Henderson <rth@twiddle.net>
10839
10840 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10841 (PSEUDO_RET_NOERRNO): Remove.
10842 (ret): Don't redefine.
10843 (ret_NOERRNO): Define in terms of ret.
10844 (ret_ERRVAL): Likewise.
10845
10846 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10847 use of PSEUDO_RET; perform the error check directly.
10848
10849 2014-05-30 Marko Myllynen <myllynen@redhat.com>
10850
10851 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10852 with __int128_t.
10853
10854 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10855
10856 * malloc/malloc (malloc_info): Fix formatting.
10857
10858 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10859 Roland McGrath <roland@hack.frob.com>
10860
10861 * malloc/malloc (malloc_info): Also print mmapped statistics.
10862
10863 2014-05-30 Roland McGrath <roland@hack.frob.com>
10864
10865 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10866 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10867
10868 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
10869
10870 * malloc/malloc.c (malloc_info): Inline mi_arena.
10871
10872 2014-05-29 Richard Henderson <rth@twiddle.net>
10873
10874 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10875 Remove comma before expanding ASM_ARGS_##nr.
10876 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10877 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10878 of ASM_ARGS_##nr.
10879 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10880 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10881 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10882 (ASM_ARGS_1): Add leading comma.
10883
10884 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10885 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10886 to __errno_location.
10887 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10888 Remove the expected plt for __errno_location.
10889
10890 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10891 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10892 call to __read_tp.
10893
10894 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10895 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10896 it and break it down.
10897 (DOCARGS_0, DOCARGS_1): Do nothing.
10898 (DOCARGS_2): Update to store into the new stack frame.
10899 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10900 (UNDOCARGS_1): Update to restore from the new stack frame.
10901 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10902 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10903
10904 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10905 (SINGLE_THREAD_P): New parameter for result regno.
10906 (PSEUDO): Update to match; use cbz instead of beq.
10907
10908 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10909 Use ENTRY to define the _nocancel entry point. Share the syscall
10910 and syscall error check paths with the cancel path.
10911 (PSEUDO_END): New.
10912
10913 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10914 whitespace; tabs before and after asm mnemonics.
10915
10916 2014-05-29 Eric Wong <normalperson@yhbt.net>
10917
10918 [BZ #15132]
10919 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10920 Call fstat64 or stat64 internally, depending on arguments passed.
10921 Replace stat buffer argument with file descriptor argument.
10922 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10923 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10924 Pass fd to __internal_statvfs instead of calling fstat64.
10925 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10926 Pass fd to __internal_statvfs64 instead of calling fstat64.
10927 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10928 Pass -1 to __internal_statvfs instead of calling stat64.
10929 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10930 Pass -1 to __internal_statvfs64 instead of calling stat64.
10931
10932 2014-05-28 Roland McGrath <roland@hack.frob.com>
10933
10934 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10935 that was previously under [RESET_PID].
10936 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10937
10938 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10939 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10940
10941 2014-05-27 Roland McGrath <roland@hack.frob.com>
10942
10943 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10944
10945 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10946 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10947
10948 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
10949
10950 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10951
10952 2014-05-27 Andreas Schwab <schwab@suse.de>
10953
10954 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10955 TLS_INIT_TP macro.
10956 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10957 * elf/rtld.c (init_tls, dl_main): Likewise.
10958 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10959 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10960 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10961 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10962 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10963 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10964 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10965 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10966 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10967 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10968 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10969 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10970 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10971 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10972 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10973 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10974 * sysdeps/generic/tls.h: Update description.
10975
10976 2014-05-27 Will Newton <will.newton@linaro.org>
10977
10978 [BZ #16990]
10979 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10980 and restore r2 rather than just restoring.
10981
10982 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10983
10984 [BZ #16724]
10985 * libio/tst-ftell-append.c: New test case.
10986 * libio/Makefile (tests): Add test case.
10987 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10988 append mode.
10989 * libio/wfileops.c (do_ftell_wide): Likewise.
10990
10991 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10992
10993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10994
10995 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10996 ...
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10999 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11000 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11001 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11002 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11003 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11004 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11005 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11006 Moved ...
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11008 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11009 Moved ...
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11011 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11012 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11013 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11014 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11015 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11016 ...
11017 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11018 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11019 Moved ...
11020 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11021 here.
11022 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11023 ...
11024 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11025 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11026 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11027
11028 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11029 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11030 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11031 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11032
11033 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11034 merge into ...
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11036 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11037 ...
11038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11039 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11040 ...
11041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11042 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11043 Moved ...
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11045 here.
11046 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11047 Moved ...
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11049 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11050 Moved ...
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11052
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11054 conditional [RESET_PID].
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11056 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11057 removed.
11058 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11059 removed.
11060
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11062 <tcb-offsets.h>.
11063 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11064 (__libc_vfork): New strong alias.
11065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11066 removed.
11067 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11068 Removed.
11069
11070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11071 <tcb-offsets.h>.
11072 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11073 (__libc_vfork): New strong alias.
11074 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11075 removed.
11076 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11077 removed.
11078
11079 2014-05-26 Carlos O'Donell <carlos@redhat.com>
11080
11081 * malloc/malloc.c (mi_arena): New function.
11082 (malloc_info): Remove nested function mi_arena. Call non-nosted
11083 function mi_arena.
11084
11085 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11086
11087 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11088 by insrwi.
11089 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11090 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11091 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11092 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11093 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11094 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11095 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11096
11097 2014-05-26 Andreas Schwab <schwab@suse.de>
11098
11099 [BZ #16984]
11100 * locale/programs/repertoire.c (repertoire_read): Add slash
11101 between I18NPATH element and file name.
11102 * locale/programs/locfile.c (locfile_read): Likewise.
11103
11104 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11105
11106 * nptl/pthread_mutexattr_settype.c
11107 (__pthread_mutexattr_settype):
11108 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11109
11110 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11111
11112 * nptl/tst-mutex5 (do_test):
11113 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11114
11115 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11116
11117 * benchtests/README: Document 'init' directive.
11118 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11119 BENCH_INIT.
11120 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11121 (parse_file): Recognize 'init' directive.
11122
11123 2014-05-26 Kyle McMartin <kyle@redhat.com>
11124
11125 [BZ #16796]
11126 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11127 alignment of struct pthread.
11128
11129 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11130
11131 [BZ #16878]
11132 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11133 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11134 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11135 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11136
11137 2014-05-25 Richard Henderson <rth@twiddle.net>
11138
11139 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11140 (SINGLE_THREAD_P_PIC): Remove.
11141 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11142 (SINGLE_THREAD_P_PIC): Remove.
11143
11144 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11145 branch to syscall error ...
11146 (PSEUDO): ... here.
11147 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11148 from __local_syscall_error to .Lsyscall_error.
11149 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11150 (SYSCALL_ERROR): Update label name.
11151
11152 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11153 Do not use DOARGS/UNDOARGS.
11154 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11155 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11156 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11157 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11158 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11159
11160 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11161 block comment.
11162
11163 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11164 define if !NOT_IN_libc.
11165 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11166 define with non-default symbol versions.
11167
11168 2014-05-23 Richard Henderson <rth@twiddle.net>
11169
11170 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11171 (vfork, __vfork): Define via compat_symbol.
11172
11173 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11174 [!HAVE_IFUNC] (vfork_compat): Remove.
11175 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11176
11177 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11178
11179 [BZ #16978]
11180 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11181 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11182 variable.
11183
11184 2014-05-23 Richard Henderson <rth@twiddle.net>
11185
11186 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11187 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11188 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11189 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11190
11191 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11192 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11193 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11194 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11195 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11196 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11197 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11198 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11199 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11200 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11201 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11202 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11203 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11204 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11205 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11206 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11207 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11208 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11209 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11210 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11211 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11212 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11213 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11214 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11215 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11216 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11217 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11218 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11219 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11220 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11221 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11222 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11223 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11224 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11225 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11226 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11227 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11228 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11229 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11230 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11231 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11232 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11233 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11234 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11235 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11236 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11237 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11238 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11239 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11240 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11241 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11242 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11243 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11244 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11245 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11246 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11247
11248 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11249 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11250 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11251 before exiting on error.
11252 (__libc_vfork): New strong alias.
11253 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11254 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11255
11256 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11257 that was previously under [RESET_PID].
11258 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11259
11260 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11261
11262 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11263
11264 [BZ #16977]
11265 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11266 value when x - 1 is zero.
11267 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11268 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11269 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11270 0.0L for an argument of 1.0L.
11271 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11272 Likewise.
11273 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11274 value when x - 1 is zero.
11275 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11276 * sysdeps/i386/fpu/libm-test-ulps: Update.
11277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11278
11279 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11280
11281 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11282 alphasort and versionsort.
11283
11284 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11285
11286 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11287 macro.
11288 [copysignf]: Likewise.
11289
11290 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11291
11292 * crypt/md5-crypt.c: Fix formatting.
11293
11294 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11295
11296 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11297 (b64_from_24bit): New function.
11298
11299 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11300
11301 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11302 libc_hidden_builtin_def to ifunc.
11303 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11304 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11305
11306 2014-05-21 Roland McGrath <roland@hack.frob.com>
11307
11308 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11309 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11310
11311 2014-05-21 Joseph Myers <joseph@codesourcery.com>
11312
11313 * nscd/Depend (linuxthreads): Remove.
11314 (nptl): Add.
11315 * resolv/Depend (linuxthreads): Remove.
11316 * rt/Depend (linuxthreads): Remove.
11317
11318 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11319 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11320 $(common-objpfx)elf/.
11321 (link-libc-before-gnulib): Likewise.
11322 (elfobjdir): Remove variable.
11323 * Makefile (install): Use $(elf-objpfx) instead of
11324 $(common-objpfx)elf/.
11325 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11326 $(elfobjdir)/.
11327 (link-libc-deps): Likewise.
11328 ($(common-objpfx)libc.so): Likewise.
11329 ($(common-objpfx)linkobj/libc.so): Likewise.
11330 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11331 instead of $(common-objpfx)elf/.
11332 (symbolic-link-list): Likewise.
11333 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11334 [$(cross-compiling) = no]: Likewise.
11335 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11336 $(elfobjdir)/.
11337 (static-gnulib-arch): Likewise.
11338 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11339 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11340 $(common-objpfx)elf/.
11341
11342 2014-05-21 Richard Henderson <rth@redhat.com>
11343
11344 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11345 (SINGLE_THREAD_P): Use the correct width load. Fold
11346 into the ldr offset.
11347
11348 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11349 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11350
11351 2014-05-20 Joseph Myers <joseph@codesourcery.com>
11352
11353 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11354 (libgcc_s_resume): Use __attribute_used__.
11355 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11356 Likewise.
11357
11358 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11359
11360 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11361 optimization when used with float constants.
11362
11363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11364
11365 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11366
11367 [BZ #16915]
11368 * locale/nl_langinfo_l.c: Make direct reference to every
11369 _nl_current_CATEGORY symbol.
11370 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11371 (tests-static): Add tst-langinfo-static.
11372 (tests-special): Add tst-langinfo-static.out.
11373 ($(objpfx)tst-langinfo.out): Redirect output.
11374 ($(objpfx)tst-langinfo-static.out): New.
11375 * localedata/tst-langinfo.sh: Send output to stdout.
11376 * localedata/tst-langinfo-static.c: New file.
11377
11378 [BZ #16965]
11379 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11380 when the shift amount is modulo the limb size.
11381
11382 2014-05-20 Richard Henderson <rth@redhat.com>
11383
11384 [BZ #16967]
11385 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11386 Change type of sa_flags from unsigned int to int.
11387
11388 [BZ #16966]
11389 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11390
11391 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11392
11393 2014-05-20 Will Newton <will.newton@linaro.org>
11394
11395 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11396 Test the return value of the system call in the nocancel case.
11397
11398 2014-05-20 Will Newton <will.newton@linaro.org>
11399 Yvan Roux <yvan.roux@linaro.org>
11400
11401 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11402 #include of asm/ptrace.h.
11403 (PTRACE_GET_THREAD_AREA): Remove #undef.
11404 (PTRACE_GETHBPREGS): Likewise.
11405 (PTRACE_SETHBPREGS): Likewise.
11406 (struct user_regs_struct): New structure.
11407 (struct user_fpsimd_struct): New structure.
11408 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11409 #include of asm/ptrace.h and second #include of sys/user.h.
11410 (PTRACE_GET_THREAD_AREA): Remove #undef.
11411 (PTRACE_GETHBPREGS): Likewise.
11412 (PTRACE_SETHBPREGS): Likewise.
11413 (ELF_NGREG): Use new struct user_regs_struct.
11414 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11415
11416 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11417
11418 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11419 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11420
11421 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11422
11423 [BZ #16958]
11424 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11425 membar to avoid block loads/stores to overlap previous stores.
11426
11427 2014-05-17 Richard Henderson <rth@redhat.com>
11428
11429 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11430 Create the __##syscall_name##_nocancel entry point.
11431 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11432 Remove; let the sysdep-cancel.h code create it.
11433
11434 2014-05-17 David S. Miller <davem@davemloft.net>
11435
11436 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11437 Protect with __USE_GNU.
11438 (TIOCSET_TEMPT): Likewise.
11439 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11440 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11441 these are already provided in bits/ioctl-types.h
11442
11443 2014-05-16 Roland McGrath <roland@hack.frob.com>
11444
11445 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11446 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11447
11448 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11449 Use wait4 regardless of [__NR_waitpid].
11450
11451 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11452
11453 PR libgcc/60166
11454 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11455 (_FP_NANSIGN_Q): Set the quiet bit.
11456
11457 2014-05-16 Joseph Myers <joseph@codesourcery.com>
11458
11459 * benchtests/Makefile
11460 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11461 not $(common-objpfx)math/libm.so.
11462 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11463 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11464 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11465 $(common-objpfx)dlfcn/libdl.so.
11466 ($(objpfx)tst-audit8): Depend on $(libm), not
11467 $(common-objpfx)math/libm.so.
11468 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11469 not $(common-objpfx)dlfcn/libdl.so.
11470 * math/Makefile
11471 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11472 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11473 [$(build-shared) = yes].
11474 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11475 $(common-objpfx)nptl/libpthread.so.
11476 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11477 $(common-objpfx)math/libm.so$(libm.so-version) or
11478 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11479 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11480 $(common-objpfx)dlfcn/libdl.so.
11481 * setjmp/Makefile (link-libm): Remove variable.
11482 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11483 * stdio-common/Makefile (link-libm): Remove variable.
11484 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11485 * stdlib/Makefile (link-libm): Remove variable.
11486 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11487 ($(objpfx)tst-strtod-round): Likewise.
11488 ($(objpfx)tst-tininess): Likewise.
11489 ($(objpfx)tst-strtod-underflow): Likewise.
11490 ($(objpfx)tst-strtod6): Likewise.
11491 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11492 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11493 $(common-objpfx)dlfcn/libdl.so.
11494
11495 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11496
11497 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11498 BSD terminal modes definitions.
11499
11500 2014-05-16 Roland McGrath <roland@hack.frob.com>
11501
11502 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11503 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11504
11505 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11506 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11507 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11508 Don't do #include_next.
11509 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11510 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11511 Don't do #include_next.
11512 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11513 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11514 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11515 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11516
11517 2014-05-16 Allan McRae <allan@archlinux.org>
11518
11519 * po/sv.po: Update Swedish translation from translation project.
11520
11521 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11522 in sed expression.
11523
11524 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11525
11526 [BZ #16917]
11527 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11528 errno if the TIOCGPTN ioctl fails with an error different than
11529 EINVAL.
11530 * login/tst-ptsname.c: New file.
11531 * login/Makefile (tests): Add tst-ptsname.
11532
11533 [BZ #16943]
11534 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11535 and prlimit64.
11536
11537 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11538
11539 [BZ #16849]
11540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11541 herrno to return EAI_AGAIN.
11542
11543 2014-05-14 Roland McGrath <roland@hack.frob.com>
11544
11545 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11546 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11547 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11548 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11549 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11550 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11551 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11552 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11553 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11554 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11555 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11556 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11557 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11558 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11559 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11560 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11561 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11562 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11563 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11564 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11565 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11566 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11567 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11568 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11569 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11570 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11571 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11572 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11573 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11574 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11576 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11578 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11580 Moved ...
11581 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11583 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11585 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11587 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11589 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11591 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11593 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11595 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11597 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11599 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11601 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11603 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11605 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11607 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11609 Moved ...
11610 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11612 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11614 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11616 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11618 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11620 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11622 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11624 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11626 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11628 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11630 Moved ...
11631 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11633 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11634
11635 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11636 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11637 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11638 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11639 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11640 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11641 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11642 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11643 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11644 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11645 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11646 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11647 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11648 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11649 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11650 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11651 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11652 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11653 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11654 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11655 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11656 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11657 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11658 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11659 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11660 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11661 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11662 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11663 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11664 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11665 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11666
11667 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11668 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11669
11670 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11671 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11672 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11673 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11674 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11675 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11676 Moved ...
11677 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11678 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11679 Moved ...
11680 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11681 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11682 Moved ...
11683 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11684 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11685 Moved ...
11686 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11687 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11688 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11689 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11690 Moved ...
11691 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11692 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11693 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11694 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11695 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11696 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11697 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11698 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11699 Moved ...
11700 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11701 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11702 Moved ...
11703 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11704 ... here.
11705 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11706 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11707 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11708 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11709 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11710 Moved ...
11711 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11712 ... here.
11713 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11714 Moved ...
11715 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11716 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11717 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11718 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11719 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11720 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11721 Moved ...
11722 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11723 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11724 Moved ...
11725 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11726 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11727 Moved ...
11728 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11729 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11730 Moved ...
11731 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11732 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11733 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11734 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11735 Moved ...
11736 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11737 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11738 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11739 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11740 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11741 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11742 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11743 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11744 Moved ...
11745 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11746 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11747 Moved ...
11748 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11749 ... here.
11750 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11751 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11752 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11753 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11754 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11755 Moved ...
11756 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11757 ... here.
11758 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11759 Moved ...
11760 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11761 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11762 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11763 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11764 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11765 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11766 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11767 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11768 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11769 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11770 Moved ...
11771 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11772 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11773 Moved ...
11774 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11775 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11776 Moved ...
11777 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11778 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11779 Moved ...
11780 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11781 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11782 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11783 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11784 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11785 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11786 Moved ...
11787 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11788 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11789 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11790 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11791 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11792 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11793 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11794 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11795 Moved ...
11796 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11797 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11798 Moved ...
11799 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11800 ... here.
11801 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11802 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11803 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11804 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11805 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11806 Moved ...
11807 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11808 ... here.
11809 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11810 Moved ...
11811 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11812 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11813 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11814 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11815 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11816 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11817 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11818 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11819 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11820 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11821 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11822
11823 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11824 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11825
11826 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11827 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11828
11829 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11830 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11831 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11832 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11833 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11834 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11835 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11836 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11837 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11838 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11839 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11840 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11841 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11842 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11843 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11844 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11845 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11846 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11847 Moved ...
11848 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11849 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11850 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11851 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11852 Moved ...
11853 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11854 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11855 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11856 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11857 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11858 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11859 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11860 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11861 Moved ...
11862 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11863 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11864 Moved ...
11865 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11866 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11867 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11868 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11869 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11870 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11871 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11872 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11873 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11874 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11875 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11876 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11877 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11878 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11879 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11880 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11881 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11882
11883 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11884 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11885 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11886 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11887 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11888
11889 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11890 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11891 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11892 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11893 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11894 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11895 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11896 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11897 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11898 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11899
11900 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11901 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11902
11903 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11904 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11905 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11906 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11907 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11908 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11909 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11910 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11911 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11912 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11913 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11914 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11915 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11916 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11917 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11918 Update #include.
11919 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11920 Likewise.
11921 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11922 Likewise.
11923 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11924 Likewise.
11925 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11926 Likewise.
11927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11928 Likewise.
11929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11930 Likewise.
11931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11932 Likewise.
11933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11934 Likewise.
11935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11936 Likewise.
11937 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11938 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11939 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11940 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11941 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11942 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11943 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11944 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11945 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11946 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11947 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11948 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11949 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11950 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11951 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11952
11953 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11954 that was previously under [RESET_PID].
11955 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11956 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11957 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11958
11959 * sysdeps/i386/nptl/Implies: New file.
11960 * sysdeps/x86_64/nptl/Implies: New file.
11961 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11962 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11963 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11964 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11965
11966 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11967 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11968 (__libc_vfork): New strong alias.
11969 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11970 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11971
11972 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11973 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11974 (__libc_vfork): New strong alias.
11975 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11976 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11977
11978 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11979 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11980 (__libc_vfork): New strong alias.
11981 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11982 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11983 * nptl/pt-vfork.c: New file.
11984 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11985 (libpthread: GLIBC_2.20): New version set (empty).
11986
11987 2014-05-14 Will Newton <will.newton@linaro.org>
11988
11989 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11990 rather than #if.
11991
11992 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11993
11994 [BZ #16564]
11995 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11996 arguments with exponent 65 or above.
11997 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11998 arguments 0x1p113L or above.
11999 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12000 to arguments 0x1p107L or above.
12001 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12002 positive arguments with exponent 65 or above.
12003 * math/auto-libm-test-in: Add more tests of log1p.
12004 * math/auto-libm-test-out: Regenerated.
12005
12006 [BZ #16928]
12007 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12008 non-finite arguments is +0.
12009 * math/s_cacosf.c (__cacosf): Likewise.
12010 * math/s_cacosl.c (__cacosl): Likewise.
12011 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12012 * sysdeps/i386/fpu/libm-test-ulps: Update.
12013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12014
12015 [BZ #16927]
12016 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12017 value.
12018 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12019 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12020 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12021 for explicit high bit of mantissa when testing for argument equal
12022 to 1.
12023 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12024 * sysdeps/i386/fpu/libm-test-ulps: Update.
12025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12026
12027 [BZ #16516]
12028 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12029 (__erf): Scale by 16 instead of 8 in potentially underflowing
12030 case. Ensure exception if result actually underflows.
12031 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12032 (__erff): Scale by 16 instead of 8 in potentially underflowing
12033 case. Ensure exception if result actually underflows.
12034 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12035 (efx8): Remove variable.
12036 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12037 case. Ensure exception if result actually underflows.
12038 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12039 (efx8): Remove variable.
12040 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12041 case. Ensure exception if result actually underflows.
12042 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12043 (efx8): Remove variable.
12044 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12045 case. Ensure exception if result actually underflows.
12046 * math/auto-libm-test-in: Add more tests of erf.
12047 * math/auto-libm-test-out: Regenerated.
12048
12049 2014-05-14 Andreas Schwab <schwab@suse.de>
12050
12051 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12052 Remove code conditionalized on USE___THREAD.
12053
12054 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12055 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12056 not definedness.
12057
12058 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12059
12060 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12061 Define unconditionally.
12062 (__ASSUME_O_CLOEXEC): Likewise.
12063 (__ASSUME_SOCK_CLOEXEC): Likewise.
12064 (__ASSUME_IN_NONBLOCK): Likewise.
12065 (__ASSUME_PIPE2): Likewise.
12066 (__ASSUME_EVENTFD2): Likewise.
12067 (__ASSUME_SIGNALFD4): Likewise.
12068 (__ASSUME_DUP3): Likewise.
12069 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12070 (__ASSUME_DUP3): Do not define.
12071 (__ASSUME_EVENTFD2): Likewise.
12072 (__ASSUME_IN_NONBLOCK): Likewise.
12073 (__ASSUME_O_CLOEXEC): Likewise.
12074 (__ASSUME_PIPE2): Likewise.
12075 (__ASSUME_SIGNALFD4): Likewise.
12076 (__ASSUME_SOCK_CLOEXEC): Likewise.
12077 (__ASSUME_UTIMES): Undefine.
12078 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12079 (__ASSUME_UTIMES): Do not define.
12080 (__ASSUME_O_CLOEXEC): Likewise.
12081 (__ASSUME_SOCK_CLOEXEC): Likewise.
12082 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12083 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12084 0x020621].
12085 (__ASSUME_PIPE2): Likewise.
12086 (__ASSUME_EVENTFD2): Likewise.
12087 (__ASSUME_SIGNALFD4): Likewise.
12088 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12089 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12090 Do not define.
12091 (__ASSUME_EVENTFD2): Likewise.
12092 (__ASSUME_SIGNALFD4): Likewise.
12093 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12094 (__ASSUME_32BITUIDS): Likewise.
12095 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12096 (__ASSUME_IPC64): Likewise.
12097 (__ASSUME_ST_INO_64_BIT): Likewise.
12098 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12099 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12100 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12101 (__ASSUME_UTIMES): Do not define.
12102 (__ASSUME_PSELECT): Likewise.
12103 (__ASSUME_PPOLL): Likewise.
12104 (__ASSUME_O_CLOEXEC): Likewise.
12105 (__ASSUME_SOCK_CLOEXEC): Likewise.
12106 (__ASSUME_IN_NONBLOCK): Likewise.
12107 (__ASSUME_PIPE2): Likewise.
12108 (__ASSUME_EVENTFD2): Likewise.
12109 (__ASSUME_SIGNALFD4): Likewise.
12110 (__ASSUME_DUP3): Likewise.
12111 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12112 (__ASSUME_UTIMES): Likewise.
12113 (__ASSUME_O_CLOEXEC): Likewise.
12114 (__ASSUME_SOCK_CLOEXEC): Likewise.
12115 (__ASSUME_IN_NONBLOCK): Likewise.
12116 (__ASSUME_PIPE2): Likewise.
12117 (__ASSUME_EVENTFD2): Likewise.
12118 (__ASSUME_SIGNALFD4): Likewise.
12119 (__ASSUME_DUP3): Likewise.
12120 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12121 (__ASSUME_UTIMES): Likewise.
12122 (__ASSUME_O_CLOEXEC): Likewise.
12123 (__ASSUME_SOCK_CLOEXEC): Likewise.
12124 (__ASSUME_IN_NONBLOCK): Likewise.
12125 (__ASSUME_PIPE2): Likewise.
12126 (__ASSUME_EVENTFD2): Likewise.
12127 (__ASSUME_SIGNALFD4): Likewise.
12128 (__ASSUME_DUP3): Likewise.
12129 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12130 Likewise.
12131 (__ASSUME_UTIMES): Likewise.
12132 (__ASSUME_EVENTFD2): Likewise.
12133 (__ASSUME_SIGNALFD4): Likewise.
12134 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12135 (__ASSUME_O_CLOEXEC): Likewise.
12136 (__ASSUME_SOCK_CLOEXEC): Likewise.
12137 (__ASSUME_IN_NONBLOCK): Likewise.
12138 (__ASSUME_PIPE2): Likewise.
12139 (__ASSUME_EVENTFD2): Likewise.
12140 (__ASSUME_SIGNALFD4): Likewise.
12141 (__ASSUME_DUP3): Likewise.
12142 (__ASSUME_UTIMES): Undefine.
12143
12144 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12145 feclearexcept. Remove symbol versioning code.
12146 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12147 symbol versioning code.
12148 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12149 symbol versioning code.
12150 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12151 feupdateenv. Remove symbol versioning code.
12152 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12153 fegetexceptflag. Remove symbol versioning code.
12154 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12155 fesetexceptflag. Remove symbol versioning code.
12156 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12157 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12158 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12159 (__posix_fadvise64_l32): Remove prototype.
12160 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12161 code.
12162
12163 2014-05-13 Roland McGrath <roland@hack.frob.com>
12164
12165 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12166 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12167 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12168 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12169
12170 2014-05-13 Sami Kerola <kerolasa@iki.fi>
12171
12172 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12173 current working directory
12174
12175 2014-05-13 Roland McGrath <roland@hack.frob.com>
12176
12177 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12178 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12179 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12180 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12181 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12182 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12183 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12184 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12185 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12186 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12187 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12188 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12189 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12190 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12191 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12192 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12193 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12194 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12195 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12196 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12197 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12198 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12199 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12200 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12201 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12202 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12203 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12204 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12205 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12206 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12207 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12208 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12209 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12210 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12211 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12212 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12213 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12214 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12215 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12216 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12217 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12218 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12219
12220 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12221 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12222
12223 * sysdeps/unix/sysv/linux/arm/Makefile
12224 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12225 Add rt-aeabi_unwind_cpp_pr1.
12226 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12227 Add nptl-aeabi_unwind_cpp_pr1.
12228 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12229 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12230 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12231 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12232 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12233 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12234
12235 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12236 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12237 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12238 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12239
12240 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12241 Deconditionalize the code that was previously under [RESET_PID].
12242 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12243
12244 * sysdeps/generic/exit-thread.h: New file.
12245 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12246 * include/unistd.h (__exit_thread): Remove declaration.
12247 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12248 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12249 * csu/libc-start.c: Include <exit-thread.h>.
12250 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12251 * nptl/pthread_create.c: Include <exit-thread.h>.
12252 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12253 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12254 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12255 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12256 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12257 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12258 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12259 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12260 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12261 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12262 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12263 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12264 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12265 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12266 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12267 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12268 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12269
12270 2014-05-13 Andreas Schwab <schwab@suse.de>
12271
12272 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12273
12274 2014-05-12 Joseph Myers <joseph@codesourcery.com>
12275
12276 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12277 (__ASSUME_UTIMES): Do not condition on kernel version.
12278 (__ASSUME_PSELECT): Define unconditionally.
12279 (__ASSUME_PPOLL): Likewise.
12280 (__ASSUME_ATFCTS): Likewise.
12281 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12282 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12283 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12284 (__ASSUME_UTIMENSAT): Define unconditionally.
12285 (__ASSUME_PRIVATE_FUTEX): Likewise.
12286 (__ASSUME_FALLOCATE): Likewise.
12287 (__ASSUME_O_CLOEXEC): Likewise.
12288 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12289 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12290 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12291 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12292 (__ASSUME_IN_NONBLOCK): Likewise.
12293 (__ASSUME_PIPE2): Likewise.
12294 (__ASSUME_EVENTFD2): Likewise.
12295 (__ASSUME_SIGNALFD4): Likewise.
12296 (__ASSUME_DUP3): Likewise.
12297 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12298 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12299 (__ASSUME_AT_RANDOM): Likewise.
12300 (__ASSUME_PREADV): Likewise.
12301 (__ASSUME_PWRITEV): Likewise.
12302 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12303 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12304 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12305 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12306 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12307 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12308 (__ASSUME_O_CLOEXEC): Define unconditionally.
12309 (__ASSUME_PSELECT): Do not undefine conditionally.
12310 (__ASSUME_PPOLL): Likewise.
12311 (__ASSUME_ATFCTS): Likewise.
12312 (__ASSUME_SET_ROBUST_LIST): Likewise.
12313 (__ASSUME_UTIMENSAT): Likewise.
12314 (__ASSUME_FDATASYNC): Define unconditionally.
12315 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12316 (__ASSUME_SIGFRAME_V2): Likewise.
12317 )__ASSUME_EVENTFD2): Likewise.
12318 (__ASSUME_SIGNALFD4): Likewise.
12319 (__ASSUME_PSELECT): Do not undefine conditionally.
12320 (__ASSUME_PPOLL): Likewise.
12321 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12322 (__ASSUME_PSELECT): Define unconditionally.
12323 (__ASSUME_PPOLL): Likewise.
12324 (__ASSUME_O_CLOEXEC): Likewise.
12325 (__ASSUME_SOCK_CLOEXEC): Likewise.
12326 (__ASSUME_IN_NONBLOCK): Likewise.
12327 (__ASSUME_PIPE2): Likewise.
12328 (__ASSUME_EVENTFD2): Likewise.
12329 (__ASSUME_SIGNALFD4): Likewise.
12330 (__ASSUME_DUP3): Likewise.
12331 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12332 (__ASSUME_O_CLOEXEC): Likewise.
12333 (__ASSUME_SOCK_CLOEXEC): Likewise.
12334 (__ASSUME_IN_NONBLOCK): Likewise.
12335 (__ASSUME_PIPE2): Likewise.
12336 (__ASSUME_EVENTFD2): Likewise.
12337 (__ASSUME_SIGNALFD4): Likewise.
12338 (__ASSUME_DUP3): Likewise.
12339 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12340 (__ASSUME_EVENTFD2): Likewise.
12341 (__ASSUME_SIGNALFD4): Likewise.
12342 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12343
12344 2014-05-12 Andreas Schwab <schwab@suse.de>
12345
12346 [BZ #16932]
12347 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12348 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12349 than maximum RPC packet size.
12350 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12351 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12352 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12353 (_nss_nis_getservbyport_r): Likewise.
12354
12355 2014-05-12 Will Newton <will.newton@linaro.org>
12356
12357 * malloc/Makefile (tests): Add tst-mallopt.
12358 * malloc/tst-mallopt.c: New file.
12359
12360 2014-05-09 Roland McGrath <roland@hack.frob.com>
12361
12362 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12363 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12364
12365 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12366
12367 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12368 (tst-tlsmod6.so): Likewise.
12369
12370 2014-05-09 Roland McGrath <roland@hack.frob.com>
12371
12372 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12373
12374 2014-05-09 Joseph Myers <joseph@codesourcery.com>
12375
12376 [BZ #16064]
12377 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12378 and <dl-procinfo.h>.
12379 (__fegetenv): Save SSE state in envp->__eip if supported.
12380 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12381 envp->__eip if supported.
12382 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12383 and <dl-procinfo.h>.
12384 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12385 __data_offset and __data_selector in environment to 0. Set SSE
12386 state if supported.
12387 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12388 test-fenv-sse.
12389 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12390 -mfpmath=sse.
12391 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12392
12393 2014-05-09 Will Newton <will.newton@linaro.org>
12394
12395 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12396 and libc_relro_required for ARM.
12397 * sysdeps/arm/preconfigure: Regenerate.
12398
12399 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12400 Stefan Liebler <stli@linux.vnet.ibm.com>
12401
12402 * config.make.in (enable-lock-elision): New Makefile variable.
12403 * configure.ac: Likewise.
12404 * configure: Regenerate.
12405 * sysdeps/s390/configure.ac:
12406 Add check for gcc transactions support.
12407 * sysdeps/s390/configure: Regenerate.
12408 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12409 Build elision files if enabled.
12410 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12411 Add lock elision support for s390.
12412 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12413 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12414 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12415 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12416 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12417 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12418 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12419 Likewise.
12420 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12421 Likewise.
12422 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12423 Likewise.
12424 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12425 Likewise.
12426 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12427 (__lll_timedlock_elision, __lll_lock_elision)
12428 (__lll_unlock_elision, __lll_trylock_elision)
12429 (lll_timedlock_elision, lll_lock_elision)
12430 (lll_unlock_elision, lll_trylock_elision): Add.
12431 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12432 (pthread_mutex_t): Add lock elision support for s390.
12433
12434 2014-05-14 Wilco <wdijkstr@arm.com>
12435
12436 * sysdeps/arm/fclrexcpt.c: Cleanup.
12437 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12438 * sysdeps/arm/feenablxcpt.c: Cleanup.
12439 * sysdeps/arm/fegetenv.c: Cleanup.
12440 * sysdeps/arm/fegetexcept.c: Cleanup.
12441 * sysdeps/arm/fegetround.c: Cleanup.
12442 * sysdeps/arm/feholdexcpt.c: Cleanup.
12443 * sysdeps/arm/fesetenv.c: Cleanup.
12444 * sysdeps/arm/fesetround.c: Cleanup.
12445 * sysdeps/arm/feupdateenv.c: Cleanup.
12446 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12447 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12448 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12449 * sysdeps/arm/ftestexcept.c: Cleanup.
12450 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12451 * sysdeps/arm/setfpucw.c: Cleanup.
12452
12453 2014-05-09 Will Newton <will.newton@linaro.org>
12454
12455 * sysdeps/arm/armv7/strcmp.S: New file.
12456 * NEWS: Mention addition of ARMv7 optimized strcmp.
12457
12458 2014-05-08 Roland McGrath <roland@hack.frob.com>
12459
12460 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12461 look for %.ac rather than %.in.
12462
12463 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12464 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12465 * sysdeps/mach/hurd/configure: Regenerated.
12466 * sysdeps/unix/sysv/linux/configure: Regenerated.
12467
12468 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12469
12470 2014-05-07 Steve Ellcey <sellcey@mips.com>
12471
12472 [BZ# 16922]
12473 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12474 (LONG_SUB): Ditto.
12475 (PTR_SUB): Ditto.
12476
12477 2014-05-07 Andreas Schwab <schwab@suse.de>
12478
12479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12480 when skipping over non-matching result from nscd.
12481
12482 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
12483
12484 [BZ #16876]
12485 * nptl/sockperf.c (client): Check socket return value.
12486
12487 [BZ #16877]
12488 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12489 nscd security class.
12490
12491 2014-05-06 Roland McGrath <roland@hack.frob.com>
12492
12493 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12494 * sysdeps/arm/unwind.h: ... here.
12495
12496 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12497
12498 [BZ# 16916]
12499 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12500 Define.
12501
12502 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12503
12504 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12505 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12506 multiarch strncpy for PPC64.
12507 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12508 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12510 multiarch optimizations.
12511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12512 (__libc_ifunc_impl_list): Likewise.
12513 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12514 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12515 multiarch stpncpy for PPC64.
12516 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12517 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12518
12519 2014-05-06 Andreas Schwab <schwab@suse.de>
12520
12521 [BZ #16912]
12522 * gmon/mcount.c (_MCOUNT_DECL): Use
12523 atomic_compare_and_exchange_bool_acq instead of
12524 catomic_compare_and_exchange_bool_acq.
12525
12526 2014-05-05 Roland McGrath <roland@hack.frob.com>
12527
12528 * elf/Makefile (others, install-bin): Remove pldd.
12529 (pldd-modules): Variable removed.
12530 ($(objpfx)pldd): Target removed.
12531 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12532 (others, install-bin): Append pldd here.
12533 ($(objpfx)pldd): New target.
12534
12535 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12536 to 0, so the first #if test emitted later doesn't see it undefined.
12537 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12538 * sysdeps/gnu/errlist.c: Regenerated.
12539
12540 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12541
12542 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12543 [libc_hidden_builtin_def]: Define to empty value.
12544 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12545 [libc_hidden_builtin_def]: Likewise.
12546 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12547 [libc_hidden_builtin_def]: Likewise.
12548 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12549 [libc_hidden_builtin_def]: Likewise.
12550 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12551 __redirect_memcpy and define ifunc as default hidden symbol.
12552 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12553 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12554
12555 2014-05-04 Adam Conrad <adconrad@0c3.net>
12556
12557 * locale/iso-4217.def: Reintroduce XDR currency.
12558
12559 2014-05-04 Allan McRae <allan@archlinux.org>
12560
12561 * po/eo.po: Update Esperanto translation from translation project.
12562
12563 2014-05-02 Carlos O'Donell <carlos@redhat.com>
12564
12565 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12566 and FEATURE_INDEX_MAX to 1.
12567 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12568
12569 2014-05-01 Steve Ellcey <sellcey@mips.com>
12570
12571 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12572 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12573 * iconvdata/big5.c (ONE_DIRECTION): Define.
12574 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12575 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12576 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12577 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12578 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12579 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12580 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12581 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12582 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12583 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12584 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12585 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12586 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12587 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12588 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12589 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12590 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12591 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12592 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12593 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12594 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12595 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12596 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12597 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12598 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12599 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12600 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12601 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12602 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12603 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12604 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12605 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12606 * iconvdata/johab.c (ONE_DIRECTION): Define.
12607 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12608 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12609 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12610 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12611 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12612 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12613 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12614 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12615 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12616 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12617
12618 2014-05-01 Roland McGrath <roland@hack.frob.com>
12619
12620 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12621 (_IO_JUMPS_OFFSET): Define to 0.
12622
12623 * nptl/sysdeps/pthread/bits/libc-lock.h
12624 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12625 (__libc_lock_define_initialized_recursive): Always define using
12626 initializer. Modern compilers treat uninitialized (implicit zero) and
12627 explicit zero initializers the same (i.e. put the datum in bss).
12628
12629 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12630
12631 * nscd/nscd-client.h: Include <string.h>.
12632
12633 2014-05-01 David S. Miller <davem@davemloft.net>
12634
12635 [BZ #16885]
12636 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12637 multiple zero bytes exist at the end of a string.
12638 Reported by Aurelien Jarno <aurelien@aurel32.net>
12639
12640 * string/test-strcmp.c (check): Add explicit test for situations where
12641 there are multiple zero bytes after the first.
12642
12643 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12644
12645 [BZ #16890]
12646 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12647 when compiling wprintf.
12648 * stdio-common/tstdiomisc.c (t3): New function.
12649 (main): Call it.
12650
12651 2014-05-01 Steve Ellcey <sellcey@mips.com>
12652
12653 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12654 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12655 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12656 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12657
12658 2014-05-01 Steve Ellcey <sellcey@mips.com>
12659
12660 * stdlib/longlong.h: Updated from GCC.
12661
12662 2014-05-01 Will Newton <will.newton@linaro.org>
12663 Bernard Ogden <bernie.ogden@linaro.org>
12664
12665 * NEWS: Update fixed bug list.
12666
12667 [BZ #15119]
12668 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12669
12670 2014-04-30 David S. Miller <davem@davemloft.net>
12671
12672 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12673 (libc_feholdexcept_setround_sparc_ctx): New function.
12674 (libc_fesetenv_sparc_ctx): Likewise.
12675 (libc_feupdateenv_sparc_ctx): Likewise.
12676 (libc_feholdsetround_sparc_ctx): Likewise.
12677 (libc_feholdexcept_setround_ctx): Define.
12678 (libc_feholdexcept_setroundf_ctx): Likewise.
12679 (libc_feholdexcept_setroundl_ctx): Likewise.
12680 (libc_fesetenv_ctx): Likewise.
12681 (libc_fesetenvf_ctx): Likewise.
12682 (libc_fesetenvl_ctx): Likewise.
12683 (libc_feupdateenv_ctx): Likewise.
12684 (libc_feupdateenvf_ctx): Likewise.
12685 (libc_feupdateenvl_ctx): Likewise.
12686 (libc_feresetround_ctx): Likewise.
12687 (libc_feresetroundf_ctx): Likewise.
12688 (libc_feresetroundl_ctx): Likewise.
12689 (libc_feholdsetround_ctx): Likewise.
12690 (libc_feholdsetroundf_ctx): Likewise.
12691 (libc_feholdsetroundl_ctx): Likewise.
12692
12693 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12694 with __USE_GNU instead of XOPEN cpp guards.
12695
12696 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12697 0.
12698
12699 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12700 with XOPEN cpp guards.
12701
12702 2014-04-30 Julian Brown <julian@codesourcery.com>
12703
12704 [BZ #16888]
12705 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12706 handling.
12707
12708 2014-04-30 Joseph Myers <joseph@codesourcery.com>
12709
12710 [BZ #9894]
12711 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12712 Change to 2.6.32.
12713 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12714 * sysdeps/unix/sysv/linux/configure: Regenerated.
12715 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12716 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12717 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12718 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12719 * README: Update reference to required Linux kernel version.
12720 * manual/install.texi (Linux): Update reference to required Linux
12721 kernel headers version.
12722 * INSTALL: Regenerated.
12723
12724 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12725 header inclusion.
12726 [POSIX] (limits.h): Likewise.
12727 [POSIX] (math.h): Likewise.
12728 [POSIX] (sys/wait.h): Likewise.
12729 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12730 function.
12731 [POSIX] (stddef.h): Do not allow header inclusion.
12732
12733 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12734
12735 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12736
12737 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12738
12739 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12740 Return immediately after lll_futex_wake.
12741
12742 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12743
12744 [BZ #16791]
12745 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12746 structure.
12747 (datahead_init_pos): Call datahead_init_common early.
12748 (datahead_init_neg): Likewise.
12749
12750 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12751 datahead_init_neg): New functions.
12752 * nscd/aicache.c (addhstaiX): Use them.
12753 * nscd/grpcache.c (cache_addgr): Likewise.
12754 * nscd/hstcache.c (cache_addhst): Likewise.
12755 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12756 * nscd/netgroupcache.c (do_notfound): Likewise.
12757 (addgetnetgrentX): Likewise.
12758 (addinnetgrX): Likewise.
12759 * nscd/pwdcache.c (cache_addpw): Likewise.
12760 * nscd/servicescache.c (cache_addserv): Likewise.
12761
12762 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12763 Atsushi Onoe <atsushi@onoe.org>
12764
12765 [BZ #14308]
12766 [BZ #12994]
12767 [BZ #13651]
12768 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12769 one response is valid.
12770 * resolv/res_send.c (send_dg): Check for validity of other
12771 response if the current response is a referral.
12772
12773 2014-04-29 Steve Ellcey <sellcey@mips.com>
12774
12775 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12776
12777 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12778
12779 [BZ #16823]
12780 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12781 Always divide by positive zero when computing -Inf result.
12782 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12783 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12784
12785 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12786
12787 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12788 FPSCR if value do not change.
12789 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12790 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12791 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12792 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12793 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12794 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12795 function.
12796
12797 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12798
12799 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12800 * sysdeps/unix/sysv/linux/hppa: Move directory from
12801 ports/systeps/unix/sysv/linux/hppa.
12802 * README: Update listing for hppa-*-linux-gnu.
12803
12804 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
12805
12806 [BZ #16754]
12807 * manual/stdio.texi (Hook functions): Fix types of stream hook
12808 functions.
12809 [BZ #16854]
12810 * socket/sys/socket.h: Fix typo in comment.
12811
12812 2014-04-28 Wilco <wdijkstr@arm.com>
12813
12814 * sysdeps/arm/fenv_private.h: New file.
12815 * sysdeps/arm/math_private.h: New file.
12816 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12817
12818 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12819
12820 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12821 with __int128_t.
12822 (La_x86_64_retval): Likewise.
12823
12824 2014-04-24 Ian Bolton <ian.bolton@arm.com>
12825
12826 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12827 fpsr if value didn't change.
12828 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12829 to fpcr if value didn't change.
12830 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12831 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12832 fpsr or fpcr if value didn't change.
12833 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12834 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12835 fpcr if value didn't change.
12836 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12837 to fpsr if value didn't change.
12838
12839 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12840
12841 * nptl/tst-sem3.c: Use test-skeleton.c
12842 (main): Rename to do_test. Use return instead of
12843 exit.
12844 * nptl/tst-sem4.c: Use test-skeleton.c
12845 (main): Rename to do_test.
12846
12847 2014-04-22 David S. Miller <davem@davemloft.net>
12848
12849 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12850 (struct sigaction): New struct member __glibc_reserved0, change
12851 type of sa_flags to int.
12852
12853 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12854
12855 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12856 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12857
12858 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12859
12860 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12861 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12862
12863 2014-04-22 Will Newton <will.newton@linaro.org>
12864 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12865
12866 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12867 (__longjmp): Add longjmp and longjmp_target SystemTap
12868 probes.
12869 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12870 (__sigsetjmp): Add setjmp SystemTap probe.
12871
12872 2014-04-17 Carlos O'Donell <carlos@redhat.com>
12873
12874 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12875 match manual order.
12876
12877 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12878
12879 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12880
12881 * sysdeps/powerpc/fpu/fenv_private.h
12882 (libc_feholdexcept_setroundl_ctx): Define to
12883 libc_feholdexcept_setround_ppc_ctx.
12884 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12885 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12886 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12887 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12888
12889 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12890
12891 * sysdeps/aarch64/math-tests.h: New file.
12892
12893 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12894
12895 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12896 New.
12897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12898 Check and set bit_AVX2_Usable.
12899 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12900 macro.
12901 (bit_AVX2): Likewise.
12902 (index_AVX2_Usable): Likewise.
12903 (CPUID_AVX2): Likewise.
12904 (HAS_AVX2): Likewise.
12905
12906 2014-04-17 Will Newton <will.newton@linaro.org>
12907
12908 * manual/setjmp.texi (System V contexts): Add note that
12909 calling setcontext on a context created by a call to a
12910 signal handler is undefined. Update text to note that
12911 setcontext from a signal handler is possible but not
12912 recommended.
12913
12914 [BZ #16629]
12915 * stdlib/tst-setcontext.c: Include signal.h.
12916 (main): Check that the signal stack before and
12917 after swapcontext is the same.
12918
12919 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12920 Re-implement to restore registers in user code and avoid
12921 rt_sigreturn system call.
12922
12923 2014-04-17 Wilco <wdijkstr@arm.com>
12924
12925 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12926 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12927 * math/test-fenv.c: Skip exception trap tests on targets which only
12928 support non-stop mode.
12929
12930 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12931 Wilco Dijkstra <wilco.dijkstra@arm.com>
12932
12933 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12934 (libc_feholdsetround_aarch64_ctx)
12935 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12936 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12937 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12938 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12939 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12940 (libc_feresetround_noexl_ctx): Define.
12941
12942 2014-04-16 Richard Henderson <rth@redhat.com>
12943
12944 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12945
12946 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12947 unwind tables.
12948
12949 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12950 const from the non-libc, non-ldso copy.
12951
12952 * sysdeps/alpha/libm-test-ulps: Regenerate.
12953
12954 2014-04-16 Ian Bolton <ian.bolton@arm.com>
12955 Wilco Dijkstra <wilco.dijkstra@arm.com>
12956
12957 * sysdeps/aarch64/fpu/math_private.h: New file.
12958
12959 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12960
12961 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12962
12963 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12964
12965 [BZ #16275]
12966 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12967 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12969 Intel MPX bound registers before _dl_profile_fixup.
12970 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12971 registers after _dl_profile_fixup. Save and restore bound
12972 registers bnd0/bnd1 when calling _dl_call_pltexit.
12973 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12974 (LR_BND_OFFSET): Likewise.
12975 (LRV_BND0_OFFSET): Likewise.
12976 (LRV_BND1_OFFSET): Likewise.
12977
12978 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12979
12980 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12981 to...
12982 * sysdeps/mach/hurd/i386/tls.h: ... here.
12983 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12984 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12985 fields.
12986
12987 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12988
12989 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12990
12991 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12992
12993 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12994
12995 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12996
12997 [BZ #14770]
12998 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12999 * sysdeps/s390/configure: Regenerate.
13000
13001 [BZ #16824]
13002 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13003 Set round-to-nearest internally to reduce error accumulation.
13004
13005 2014-04-16 Alan Modra <amodra@gmail.com>
13006
13007 [BZ #16740]
13008 [BZ #16619]
13009 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13010 * math/libm-test.inc (frexp_test_data): Add tests.
13011 * NEWS: Update fixed bug list.
13012
13013 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13014
13015 * benchtests/Makefile: Depend on libraries in build directory.
13016 (bench-math): Separate out math tests.
13017 (bench-pthread): Separate out pthread tests.
13018 (bench): Include math and pthread tests.
13019
13020 2014-04-14 Carlos O'Donell <carlos@redhat.com>
13021
13022 [BZ #16831]
13023 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13024 _dl_debug_initialize.
13025
13026 * configure.ac: Remove SELinux header check.
13027 * configure: Regenerate.
13028 * nscd/selinux.c (perms): Array of const char* to permission names.
13029 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13030 default policy. Call string_to_security_class and string_to_av_perm to
13031 translate strings. Enforce default policy and call avs_has_perm with
13032 results of translated strings.
13033
13034 2014-04-13 David S. Miller <davem@davemloft.net>
13035
13036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13037
13038 2014-04-12 Allan McRae <allan@archlinux.org>
13039
13040 [BZ #16838]
13041 * manual/string.texi (Collation Functions): Fix qsort argument
13042 order in example.
13043 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13044
13045 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13046
13047 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13048 Make the test a no-op if there are no exceptions defined.
13049
13050 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13051
13052 * elf/Makefile (tests): make tst-dlopen-aout conditional on
13053 enable-hardcoded-path-in-tests
13054
13055 2014-04-11 Will Newton <will.newton@linaro.org>
13056
13057 * benchtests/Makefile (extra-objs): Add json-lib.o.
13058 (bench-func): Tidy up JSON output.
13059 * benchtests/bench-skeleton.c: Include json-lib.h.
13060 (main): Use JSON library functions to do output of
13061 benchmark results.
13062 * benchtests/bench-timing-type.c (main): Output the
13063 timing type simply, leaving formatting to the user.
13064 * benchtests/json-lib.c: New file.
13065 * benchtests/json-lib.h: Likewise.
13066
13067 2014-04-11 Torvald Riegel <triegel@redhat.com>
13068
13069 [BZ #15215]
13070 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13071 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13072 memory barriers. Add comments.
13073 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13074 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13075 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13076 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13077 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13078 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13079
13080 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13081
13082 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13083 * sysdeps/s390/s390-64/configure.ac: ... this ...
13084 * sysdeps/s390/configure.ac: ... to here.
13085 * sysdeps/s390/s390-32/configure: Delete file.
13086 * sysdeps/s390/s390-64/configure: Delete file.
13087 * sysdeps/s390/configure: Regenerate.
13088
13089 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13090
13091 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13092
13093 2014-04-11 Will Newton <will.newton@linaro.org>
13094
13095 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13096 to zero if it is not defined elsewhere. (mtrim): Test
13097 the value of MALLOC_DEBUG with #if rather than #ifdef.
13098
13099 2014-04-10 Torvald Riegel <triegel@redhat.com>
13100
13101 * benchtests/pthread_once-inputs: New file.
13102 * benchtests/pthread_once-source.c: New file.
13103 * benchtests/README: Update documentation.
13104
13105 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13106 H.J. Lu <hongjiu.lu@intel.com>
13107
13108 [BZ #16275]
13109 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13110 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13111 * sysdeps/x86_64/configure: Regenerated.
13112 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13113 macro.
13114 (REGISTER_SAVE_RAX): Likewise.
13115 (REGISTER_SAVE_RCX): Likewise.
13116 (REGISTER_SAVE_RDX): Likewise.
13117 (REGISTER_SAVE_RSI): Likewise.
13118 (REGISTER_SAVE_RDI): Likewise.
13119 (REGISTER_SAVE_R8): Likewise.
13120 (REGISTER_SAVE_R9): Likewise.
13121 (REGISTER_SAVE_BND0): Likewise.
13122 (REGISTER_SAVE_BND1): Likewise.
13123 (REGISTER_SAVE_BND2): Likewise.
13124 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13125 bound registers when calling _dl_fixup.
13126
13127 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13128
13129 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13130 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13131 of its definition.
13132 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13133 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13134 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13135 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13136 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13137 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13138 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13139
13140 2014-04-09 Peter Brett <peter@peter-b.co.uk>
13141
13142 [BZ #15514]
13143 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13144 pathconf(_PC_NAME_MAX).
13145
13146 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13147
13148 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13149 Remove macro usage.
13150 (__PTHREAD_SPINS): Move definition to ...
13151 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13152 (__PTHREAD_SPINS): ... here.
13153 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13154 (__PTHREAD_SPIN): Likewise.
13155 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13156 (__PTHREAD_SPIN): Likewise.
13157 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13158 (__PTHREAD_SPIN): Likewise.
13159 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13160 (__PTHREAD_SPIN): Likewise.
13161 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13162 (__PTHREAD_SPIN): Likewise.
13163 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13164 (__PTHREAD_SPIN): Likewise.
13165 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13166 (__PTHREAD_SPIN): Likewise.
13167 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13168 (__PTHREAD_SPIN): Likewise.
13169 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13170 (__PTHREAD_SPIN): Likewise.
13171 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13172 (__PTHREAD_SPIN): Likewise.
13173 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13174 (__PTHREAD_SPIN): Likewise.
13175 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13176 (__PTHREAD_SPIN): Likewise.
13177
13178 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13179 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13180 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13181 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13182 imply folder.
13183 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13184 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13185 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13186 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13187 correct imply path.
13188 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13189 strlen symbol for non multi-arch builds.
13190 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13191 missing hidden_def and weak_alias.
13192
13193 2014-04-08 Carlos O'Donell <carlos@redhat.com>
13194
13195 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13196
13197 2014-04-07 Will Newton <will.newton@linaro.org>
13198
13199 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13200 and contents. [!_LIBC] Remove #ifndef and contents.
13201 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13202 * string/memccpy.c (__memccpy): Use ANSI prototype.
13203 * string/memfrob.c (memfrob): Likewise.
13204 * string/strcoll.c (STRCOLL): Likewise.
13205 * string/strlen.c (strlen): Likewise.
13206 * string/strtok.c (STRTOK): Likewise.
13207 * string/strcat.c: Remove unused #include of memcopy.h.
13208 (strcat): Use ANSI prototype.
13209 * string/strchr.c: Remove unused #include of memcopy.h.
13210 (strchr): Use ANSI prototype.
13211 * string/strcmp.c: Remove unused #include of memcopy.h.
13212 (strcmp): Use ANSI prototype.
13213 * string/strcpy.c: Remove unused #include of memcopy.h.
13214 (strcpy): Use ANSI prototype.
13215
13216 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13217
13218 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13219 * config.make.in (config-extra-cppflags): Set it from
13220 libc_extra_cppflags.
13221 * configure.ac (libc_extra_cflags): Make it accumulate over
13222 configure fragments.
13223 (libc_extra_cppflags): New flag.
13224 * configure. Regenerate.
13225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13226 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13227 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13229
13230 [BZ #16815]
13231 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13232 result for FE_DOWNWARD rounding mode.
13233 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13234 Likewise.
13235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13236
13237 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13238
13239 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13240 in function argument name.
13241
13242 2014-04-03 David Svoboda <svoboda@cert.org>
13243
13244 [BZ #5666]
13245 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13246 explicitly.
13247
13248 2014-04-03 Roland McGrath <roland@hack.frob.com>
13249
13250 * elf/dl-unmap-segments.h: New file.
13251 * sysdeps/generic/ldsodefs.h
13252 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13253 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13254 * elf/dl-fptr.c: Likewise.
13255 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13256 * sysdeps/aarch64/tlsdesc.c: Likewise.
13257 * sysdeps/arm/tlsdesc.c: Likewise.
13258 * sysdeps/i386/tlsdesc.c: Likewise.
13259 * sysdeps/tile/dl-runtime.c: Likewise.
13260 * sysdeps/x86_64/tlsdesc.c: Likewise.
13261 * elf/dl-load.h: New file.
13262 * elf/dl-load.c: Include it.
13263 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13264 Macros moved to dl-load.h.
13265 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13266 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13267 Use _dl_unmap_segments in place of __munmap.
13268 Break out segment-mapping loop into ...
13269 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13270
13271 2014-04-03 Will Newton <will.newton@linaro.org>
13272
13273 * elf/dl-lookup.c (do_lookup_x): Remove comment
13274 referring to nested function and move variable
13275 declarations down to before first use.
13276
13277 2014-04-02 Joseph Myers <joseph@codesourcery.com>
13278
13279 [BZ #16799]
13280 [BZ #16800]
13281 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13282 with 0 numerator.
13283 * math/s_catanf.c (__catanf): Likewise.
13284 * math/s_catanh.c (__catanh): Likewise.
13285 * math/s_catanhf.c (__catanhf): Likewise.
13286 * math/s_catanhl.c (__catanhl): Likewise.
13287 * math/s_catanl.c (__catanl): Likewise.
13288 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13289 by positive zero when computing -Inf result.
13290 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13291 (catanh_test): Likewise.
13292 * sysdeps/i386/fpu/libm-test-ulps: Update.
13293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13294
13295 [BZ #16789]
13296 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13297 instead of using underflowing value in computing result.
13298 * math/s_clog10.c (__clog10): Likewise.
13299 * math/s_clog10f.c (__clog10f): Likewise.
13300 * math/s_clog10l.c (__clog10l): Likewise.
13301 * math/s_clogf.c (__clogf): Likewise.
13302 * math/s_clogl.c (__clogl): Likewise.
13303 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13304 (clog10_test): Likewise.
13305 * sysdeps/i386/fpu/libm-test-ulps: Update.
13306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13307
13308 2014-04-02 Alan Modra <amodra@gmail.com>
13309
13310 [BZ #16739]
13311 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13312 output when value is near a power of two. Use int64_t for lx and
13313 remove casts. Use decimal rather than hex exponent constants.
13314 Don't use long double multiplication when double will suffice.
13315 * math/libm-test.inc (nextafter_test_data): Add tests.
13316 * NEWS: Add 16739 and 16786 to bug list.
13317
13318 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13319
13320 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13321
13322 2014-04-01 Will Newton <will.newton@linaro.org>
13323
13324 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13325 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13326
13327 2014-04-01 Florian Weimer <fweimer@redhat.com>
13328
13329 [BZ #13347]
13330 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13331 * nptl/tst-setuid2.c: New file.
13332 * nptl/Makefile (xtests): Add tst-setuid2.
13333
13334 2014-04-01 Alan Modra <amodra@gmail.com>
13335
13336 [BZ #16786]
13337 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13338
13339 2014-03-31 Joseph Myers <joseph@codesourcery.com>
13340
13341 [BZ #6803]
13342 [BZ #6804]
13343 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13344 set errno as appropriate.
13345 * math/w_scalbf.c (__scalbf): Likewise.
13346 * math/w_scalbl.c (__scalbl): Likewise.
13347 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13348 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13349 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13350 Add more NaN tests.
13351
13352 [BZ #16349]
13353 * math/w_atan2.c: Include <errno.h>.
13354 (__atan2): Set errno for result underflowing to zero.
13355 * math/w_atan2f.c: Include <errno.h>.
13356 (__atan2f): Set errno for result underflowing to zero.
13357 * math/w_atan2l.c: Include <errno.h>.
13358 (__atan2l): Set errno for result underflowing to zero.
13359 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13360 tests.
13361 * math/auto-libm-test-out: Regenerated.
13362
13363 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13364
13365 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13366 Encode instruction correctly in little endian.
13367 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13368 Likewise.
13369 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13370 Likewise.
13371 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13372 Likewise.
13373 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13374 Likewise.
13375
13376 2014-03-31 Joseph Myers <joseph@codesourcery.com>
13377
13378 [BZ #9894]
13379 * sysdeps/unix/sysv/linux/kernel-features.h
13380 [__sparc__ && !__arch64__ && !__sparc_v9__]
13381 (__ASSUME_SET_ROBUST_LIST): Do not define.
13382 [__sparc__ && !__arch64__ && !__sparc_v9__]
13383 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13384 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13385 Likewise.
13386 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13387 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13388 (__ASSUME_REQUEUE_PI): Likewise.
13389 (__ASSUME_SET_ROBUST_LIST): Likewise.
13390 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13391 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13392 Undefine.
13393 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13394 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13395 Likewise.
13396 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13397 Likewise.
13398 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13399 Likewise.
13400 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13401 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13402 Undefine.
13403 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13404 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13405 Likewise.
13406
13407 [BZ #16648]
13408 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13409 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13410 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13411
13412 2014-03-31 Will Newton <will.newton@linaro.org>
13413
13414 * benchtests/Makefile (bench): Add ffs and ffsll to list
13415 of tests.
13416 * benchtests/ffs-inputs: New file.
13417 * benchtests/ffsll-inputs: Likewise.
13418
13419 2014-03-29 Joseph Myers <joseph@codesourcery.com>
13420
13421 [BZ #16770]
13422 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13423 too large before casting to int.
13424 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13425 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13426 * math/libm-test.inc (scalb_test_data): Add more tests.
13427
13428 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13429
13430 * benchtests/Makefile (DETAILED_OPT): New make option.
13431 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13432 set.
13433 * benchtests/bench-skeleton.c: Include stdbool.h.
13434 (main): Store and print timings per input.
13435 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13436 member to each argument value.
13437 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13438 (_print_arg_data): Initialize per-input timing to 0.
13439
13440 * benchtests/Makefile (timing-type): New binary.
13441 (bench-clean): Also remove bench-timing-type.
13442 (bench): New target for timing-type.
13443 (bench-func): Print output in JSON format.
13444 * benchtests/bench-skeleton.c (main): Print output in JSON
13445 format.
13446 * benchtests/bench-timing-type.c: New file.
13447 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13448 (TIMING_PRINT_STATS): Remove.
13449 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13450 name separately.
13451
13452 * benchtests/bench-modf.c: Remove.
13453 * benchtests/modf-inputs: New inputs file.
13454
13455 2014-03-28 Joseph Myers <joseph@codesourcery.com>
13456
13457 [BZ #16362]
13458 * math/s_clog10.c (M_PI_LOG10E): New macro.
13459 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13460 imaginary parts are 0.
13461 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13462 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13463 imaginary parts are 0.
13464 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13465 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13466 imaginary parts are 0.
13467 * math/libm-test.inc (clog10_test_data): Update expected results
13468 for when real and imaginary parts are 0.
13469
13470 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13471
13472 * elf/dl-load.c: Finish conversion of __builtin_expect into
13473 __glibc_{un}likely.
13474
13475 2014-03-27 Joseph Myers <joseph@codesourcery.com>
13476
13477 [BZ #16348]
13478 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13479 1+x for argument with exponent below -67.
13480 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13481 Likewise.
13482 * math/auto-libm-test-in: Add more tests of exp.
13483 * math/auto-libm-test-out: Regenerated.
13484
13485 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13486
13487 [BZ #16759]
13488 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13489 (nscd_getnetgrent): Use it.
13490
13491 [BZ #16760]
13492 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13493 of stpcpy.
13494
13495 2014-03-27 Andi Kleen <ak@linux.intel.com>
13496
13497 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13498 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13499 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13500 (lll_robust_unlock): Remove out of line section. Use cfi
13501 intrinsics.
13502 (LLL_STUB_UNWIND_INFO*): Remove.
13503 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13504 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13505 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13506 (lll_robust_unlock): Remove out of line section. Use cfi
13507 intrinsics.
13508 (LLL_STUB_UNWIND_INFO*): Remove.
13509
13510 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13511
13512 [BZ #16758]
13513 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13514 blank values.
13515
13516 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13517
13518 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13519
13520 2014-03-26 Joseph Myers <joseph@codesourcery.com>
13521
13522 [BZ #16198]
13523 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13524 fnstenv.
13525 * math/test-fenv-preserve.c: New file.
13526 * math/Makefile (tests): Add test-fenv-preserve.
13527
13528 2014-03-26 Will Newton <will.newton@linaro.org>
13529
13530 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13531
13532 2014-03-25 Roland McGrath <roland@hack.frob.com>
13533
13534 * scripts/versionlist.awk: Partition the version sets and emit all
13535 GLIBC_* (sorted) before all others (sorted).
13536
13537 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13538
13539 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13540 GLIBC_2.2.5 version.
13541
13542 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13543
13544 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13545 calls.
13546
13547 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13548 previous change.
13549
13550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13551
13552 2014-03-25 Andreas Schwab <schwab@suse.de>
13553
13554 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13555 label to be used after in6ailist is initialized.
13556
13557 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13558
13559 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13560 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13561
13562 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13563
13564 [BZ #16357]
13565 [BZ #16599]
13566 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13567 min_plus_half.
13568 (fp_formats): Update initializers.
13569 (init_fp_formats): Initialize new field.
13570 (output_for_one_input_case): Allow underflow for results up to
13571 min_plus_half.
13572 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13573 * math/auto-libm-test-in: Don't mark some underflows from asin and
13574 atanh as spurious.
13575 * math/auto-libm-test-out: Regenerated.
13576 * sysdeps/i386/fpu/libm-test-ulps: Update.
13577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13578
13579 2014-03-25 Andreas Schwab <schwab@suse.de>
13580
13581 * libio/Makefile (tst-ftell-partial-wide-ENV)
13582 (tst-ftell-active-handler-ENV): Define.
13583
13584 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13585
13586 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13587
13588 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13589
13590 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13591
13592 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13593
13594 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13595 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13596 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13597
13598 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13599
13600 [BZ #16634]
13601 * elf/dl-load.c (open_verify): Add mode parameter.
13602 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13603 (open_path): Change from boolean 'secure' to complete flag 'mode'
13604 (_dl_map_object): Adjust.
13605 * elf/Makefile (tests): Add tst-dlopen-aout.
13606 * elf/tst-dlopen-aout.c: New test.
13607
13608 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13609
13610 [BZ #16714]
13611 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13612 (struct stat): Rename member pad0 to __glibc_reserved0.
13613
13614 [BZ #16712]
13615 * sysdeps/s390/s390-32/bits/wordsize.h
13616 (__WORDSIZE32_SIZE_ULONG): New define.
13617 * sysdeps/s390/s390-64/bits/wordsize.h
13618 (__WORDSIZE32_SIZE_ULONG): Likewise.
13619 * sysdeps/generic/stdint.h (SIZE_MAX):
13620 Define as UL if __WORDSIZE32_SIZE_ULONG.
13621
13622 [BZ #16713]
13623 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13624 (__glibc_reserved0): New variable.
13625 (sa_flags): Change type to int.
13626
13627 * posix/Makefile (before-compile): Use += before-compile instead
13628 of a :=.
13629
13630 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13631 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13632
13633 2014-03-20 Andreas Schwab <schwab@suse.de>
13634
13635 [BZ #16743]
13636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13637 non-matching result from nscd.
13638
13639 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13640
13641 * scripts/bench.py: Moved to ...
13642 * benchtests/scripts/bench.py: ... here.
13643 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13644
13645 2014-03-24 Andreas Schwab <schwab@suse.de>
13646
13647 [BZ #16002]
13648 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13649 alloca_account and account alloca use for struct in6ailist.
13650
13651 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13652
13653 [BZ #16284]
13654 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13655 rounding mode to recompute results that overflow to infinity or
13656 underflow to zero.
13657 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13658 bug 16284.
13659 * math/auto-libm-test-out: Regenerated.
13660 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13661 (ccosh_test): Likewise.
13662 (csin_test_data): Use plus_oflow.
13663 (csin_test): Use ALL_RM_TEST.
13664 (csinh_test_data): Use plus_oflow.
13665 (csinh_test): Use ALL_RM_TEST.
13666 * sysdeps/i386/fpu/libm-test-ulps: Update.
13667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13668
13669 2014-03-21 Joseph Myers <joseph@codesourcery.com>
13670
13671 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13672 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13673 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13674
13675 [BZ #16731]
13676 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13677 when x - 1 is zero.
13678 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13679 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13680 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13681 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13682 argument is 1.
13683 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13684 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13685 zero.
13686 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13687 * sysdeps/i386/fpu/libm-test-ulps: Update.
13688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13689
13690 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13691
13692 * scripts/bench.pl: Remove file.
13693 * scripts/bench.py: New benchmark script.
13694 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13695 * benchtests/README: Mention python dependency.
13696 * scripts/pylintrc: New file.
13697 * scripts/pylint: New file.
13698
13699 * bits/mathdef.h: Use #ifdef instead of #if.
13700 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13701 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13702 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13703 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13704 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13705 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13706
13707 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13708 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13709
13710 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13712 and strpbrk-ppc64 objects.
13713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13714 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13715 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13716 multiarch strpbrk for POWER7.
13717 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13718 multiarch strpbrk for PPC64.
13719 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13720 ifunc selector.
13721 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13722 strpbrk for POWER7.
13723
13724 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13725
13726 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13727 (atan_test): Likewise.
13728 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13729 (atanh_test): Use ALL_RM_TEST.
13730 (atan2_test_data): Likewise.
13731 (cabs_test): Likewise.
13732 (cacosh_test): Likewise.
13733 (carg_test): Likewise.
13734 (casin_test): Likewise.
13735 (casinh_test): Likewise.
13736 (cbrt_test): Likewise.
13737 (csqrt_test): Likewise.
13738 (erf_test): Likewise.
13739 (erfc_test): Likewise.
13740 (pow10_test): Likewise.
13741 (exp2_test): Likewise.
13742 (hypot_test): Likewise.
13743 (j0_test): Likewise.
13744 (j1_test): Likewise.
13745 (lgamma_test): Likewise.
13746 (gamma_test): Likewise.
13747 (sincos_test): Likewise.
13748 (tanh_test): Likewise.
13749 (y0_test): Likewise.
13750 (y1_test): Likewise.
13751 * sysdeps/i386/fpu/libm-test-ulps: Update.
13752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13753
13754 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13755
13756 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13758 and strcspn-ppc64 objects.
13759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13760 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13761 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13762 multiarch strcspn for POWER7.
13763 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13764 multiarch strcspn for PPC64.
13765 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13766 ifunc selector.
13767 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13768 strcspn for POWER7.
13769
13770 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13771
13772 * math/gen-libm-test.pl (generate_testfile): Expect only function
13773 name as argument to AUTO_TESTS_* and pass results for all rounding
13774 modes to parse_args.
13775 (parse_auto_input): Separate inputs of automatic tests from
13776 outputs before storing in %auto_tests.
13777 * math/libm-test.inc (acos_test_data): Update call to
13778 AUTO_TESTS_f_f.
13779 (acos_test): Use ALL_RM_TEST.
13780 (acos_tonearest_test_data): Remove.
13781 (acos_test_tonearest): Likewise.
13782 (acos_towardzero_test_data): Likewise.
13783 (acos_test_towardzero): Likewise.
13784 (acos_downward_test_data): Likewise.
13785 (acos_test_downward): Likewise.
13786 (acos_upward_test_data): Likewise.
13787 (acos_test_upward): Likewise.
13788 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13789 (asin_test_data): Likewise.
13790 (asin_test): Use ALL_RM_TEST.
13791 (asin_tonearest_test_data): Remove.
13792 (asin_test_tonearest): Likewise.
13793 (asin_towardzero_test_data): Likewise.
13794 (asin_test_towardzero): Likewise.
13795 (asin_downward_test_data): Likewise.
13796 (asin_test_downward): Likewise.
13797 (asin_upward_test_data): Likewise.
13798 (asin_test_upward): Likewise.
13799 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13800 (atan_test_data): Likewise.
13801 (atanh_test_data): Likewise.
13802 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13803 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13804 (carg_test_data): Likewise.
13805 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13806 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13807 (ccosh_test_data): Likewise.
13808 (cexp_test_data): Likewise.
13809 (clog_test_data): Likewise.
13810 (clog10_test_data): Likewise.
13811 (cos_test_data): Update call to AUTO_TESTS_f_f.
13812 (cos_test): Use ALL_RM_TEST.
13813 (cos_tonearest_test_data): Remove.
13814 (cos_test_tonearest): Likewise.
13815 (cos_towardzero_test_data): Likewise.
13816 (cos_test_towardzero): Likewise.
13817 (cos_downward_test_data): Likewise.
13818 (cos_test_downward): Likewise.
13819 (cos_upward_test_data): Likewise.
13820 (cos_test_upward): Likewise.
13821 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13822 (cosh_test): Use ALL_RM_TEST.
13823 (cosh_tonearest_test_data): Remove.
13824 (cosh_test_tonearest): Likewise.
13825 (cosh_towardzero_test_data): Likewise.
13826 (cosh_test_towardzero): Likewise.
13827 (cosh_downward_test_data): Likewise.
13828 (cosh_test_downward): Likewise.
13829 (cosh_upward_test_data): Likewise.
13830 (cosh_test_upward): Likewise.
13831 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13832 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13833 (ctan_test_data): Likewise.
13834 (ctan_test): Use ALL_RM_TEST.
13835 (ctan_tonearest_test_data): Remove.
13836 (ctan_test_tonearest): Likewise.
13837 (ctan_towardzero_test_data): Likewise.
13838 (ctan_test_towardzero): Likewise.
13839 (ctan_downward_test_data): Likewise.
13840 (ctan_test_downward): Likewise.
13841 (ctan_upward_test_data): Likewise.
13842 (ctan_test_upward): Likewise.
13843 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13844 (ctanh_test): Use ALL_RM_TEST.
13845 (ctanh_tonearest_test_data): Remove.
13846 (ctanh_test_tonearest): Likewise.
13847 (ctanh_towardzero_test_data): Likewise.
13848 (ctanh_test_towardzero): Likewise.
13849 (ctanh_downward_test_data): Likewise.
13850 (ctanh_test_downward): Likewise.
13851 (ctanh_upward_test_data): Likewise.
13852 (ctanh_test_upward): Likewise.
13853 (erf_test_data): Update call to AUTO_TESTS_f_f.
13854 (erfc_test_data): Likewise.
13855 (exp_test_data): Likewise.
13856 (exp_test): Use ALL_RM_TEST.
13857 (exp_tonearest_test_data): Remove.
13858 (exp_test_tonearest): Likewise.
13859 (exp_towardzero_test_data): Likewise.
13860 (exp_test_towardzero): Likewise.
13861 (exp_downward_test_data): Likewise.
13862 (exp_test_downward): Likewise.
13863 (exp_upward_test_data): Likewise.
13864 (exp_test_upward): Likewise.
13865 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13866 (exp10_test): Use ALL_RM_TEST.
13867 (exp10_tonearest_test_data): Remove.
13868 (exp10_test_tonearest): Likewise.
13869 (exp10_towardzero_test_data): Likewise.
13870 (exp10_test_towardzero): Likewise.
13871 (exp10_downward_test_data): Likewise.
13872 (exp10_test_downward): Likewise.
13873 (exp10_upward_test_data): Likewise.
13874 (exp10_test_upward): Likewise.
13875 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13876 (expm1_test_data): Likewise.
13877 (expm1_test): Use ALL_RM_TEST.
13878 (expm1_tonearest_test_data): Remove.
13879 (expm1_test_tonearest): Likewise.
13880 (expm1_towardzero_test_data): Likewise.
13881 (expm1_test_towardzero): Likewise.
13882 (expm1_downward_test_data): Likewise.
13883 (expm1_test_downward): Likewise.
13884 (expm1_upward_test_data): Likewise.
13885 (expm1_test_upward): Likewise.
13886 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13887 (fma_test): Use ALL_RM_TEST.
13888 (fma_towardzero_test_data): Remove.
13889 (fma_test_towardzero): Likewise.
13890 (fma_downward_test_data): Likewise.
13891 (fma_test_downward): Likewise.
13892 (fma_upward_test_data): Likewise.
13893 (fma_test_upward): Likewise.
13894 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13895 (j0_test_data): Update call to AUTO_TESTS_f_f.
13896 (j1_test_data): Likewise.
13897 (jn_test_data): Update call to AUTO_TESTS_if_f.
13898 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13899 (log_test_data): Update call to AUTO_TESTS_f_f.
13900 (log10_test_data): Likewise.
13901 (log1p_test_data): Likewise.
13902 (log2_test_data): Likewise.
13903 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13904 (pow_tonearest_test_data): Likewise.
13905 (sin_test_data): Update call to AUTO_TESTS_f_f.
13906 (sin_test): Use ALL_RM_TEST.
13907 (sin_tonearest_test_data): Remove.
13908 (sin_test_tonearest): Likewise.
13909 (sin_towardzero_test_data): Likewise.
13910 (sin_test_towardzero): Likewise.
13911 (sin_downward_test_data): Likewise.
13912 (sin_test_downward): Likewise.
13913 (sin_upward_test_data): Likewise.
13914 (sin_test_upward): Likewise.
13915 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13916 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13917 (sinh_test): Use ALL_RM_TEST.
13918 (sinh_tonearest_test_data): Remove.
13919 (sinh_test_tonearest): Likewise.
13920 (sinh_towardzero_test_data): Likewise.
13921 (sinh_test_towardzero): Likewise.
13922 (sinh_downward_test_data): Likewise.
13923 (sinh_test_downward): Likewise.
13924 (sinh_upward_test_data): Likewise.
13925 (sinh_test_upward): Likewise.
13926 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13927 (sqrt_test): Use ALL_RM_TEST.
13928 (sqrt_tonearest_test_data): Remove.
13929 (sqrt_test_tonearest): Likewise.
13930 (sqrt_towardzero_test_data): Likewise.
13931 (sqrt_test_towardzero): Likewise.
13932 (sqrt_downward_test_data): Likewise.
13933 (sqrt_test_downward): Likewise.
13934 (sqrt_upward_test_data): Likewise.
13935 (sqrt_test_upward): Likewise.
13936 (tan_test_data): Update call to AUTO_TESTS_f_f.
13937 (tan_test): Use ALL_RM_TEST.
13938 (tan_tonearest_test_data): Remove.
13939 (tan_test_tonearest): Likewise.
13940 (tan_towardzero_test_data): Likewise.
13941 (tan_test_towardzero): Likewise.
13942 (tan_downward_test_data): Likewise.
13943 (tan_test_downward): Likewise.
13944 (tan_upward_test_data): Likewise.
13945 (tan_test_upward): Likewise.
13946 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13947 (tgamma_test_data): Likewise.
13948 (y0_test_data): Likewise.
13949 (y1_test_data): Likewise.
13950 (yn_test_data): Update call to AUTO_TESTS_if_f.
13951 (main): Do not call removed functions.
13952
13953 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13954
13955 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13956 (ldexp_test_data): Remove.
13957 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13958 scalbn_test_data.
13959 (scalb_test): Use ALL_RM_TEST.
13960
13961 2014-03-19 Andreas Schwab <schwab@suse.de>
13962
13963 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13964
13965 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13966
13967 [BZ #16649]
13968 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13969 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13970 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13971 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13972 (__ASSUME_PREADV): Undefine.
13973 (__ASSUME_PWRITEV): Likewise.
13974
13975 2014-03-18 Roland McGrath <roland@hack.frob.com>
13976
13977 * bits/mman-linux.h: Add comment about non-Linux use.
13978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13979 bits/mman-linux.h resting place.
13980
13981 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13982 * bits/mman-linux.h: ... here.
13983
13984 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13985
13986 * conform/conformtest.pl: Add standard definition when calling C
13987 preprocessor on data files.
13988 (checknamespace): Remove unused variable.
13989
13990 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13991
13992 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13993 minus_oflow, plus_uflow and minus_uflow in expected results.
13994 * math/libm-test.inc (scalbn_test_data): Add more tests of
13995 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13996 minus_uflow.
13997 (scalbn_test): Use ALL_RM_TEST.
13998 (scalbln_test_data): Add more tests of negative arguments. Use
13999 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14000 (scalbln_test): Use ALL_RM_TEST.
14001
14002 2014-03-18 Roland McGrath <roland@hack.frob.com>
14003
14004 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14005
14006 2014-03-18 Will Newton <will.newton@linaro.org>
14007
14008 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14009 inaccurate comment.
14010
14011 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14012
14013 * Makerules [!subdir] (check-abi): Exit with error status if a
14014 test failed.
14015
14016 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14017
14018 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14019 for rint. Include results for all rounding modes.
14020 (nearbyint_test): Use ALL_RM_TEST.
14021 (rint_test_data): Include all tests used for nearbyint.
14022
14023 2014-03-17 Will Newton <will.newton@linaro.org>
14024
14025 * nptl/sysdeps/pthread/pthread.h: Revert previous
14026 change.
14027
14028 * sysdeps/generic/ldsodefs.h: Revert previous
14029 change.
14030
14031 * libio/genops.c: Revert previous change.
14032 * libio/libioP.h: Likewise.
14033 * stdio-common/vfprintf.c: Likewise.
14034
14035 * sysdeps/generic/math_private.h: Revert previous
14036 change.
14037
14038 * sysdeps/generic/math_private.h: Check whether
14039 HAVE_RM_CTX is defined with #ifdef rather
14040 than #if.
14041
14042 * argp/argp-fmtstream.h: Check whether
14043 __STRICT_ANSI__ is defined with #ifdef rather
14044 than #if.
14045 * argp/argp.h: Likewise.
14046
14047 * libio/genops.c: Check whether
14048 _IO_JUMPS_OFFSET is defined with #ifdef rather
14049 than #if.
14050 * libio/libioP.h: Likewise.
14051 * stdio-common/vfprintf.c: Likewise.
14052
14053 * sysdeps/generic/ldsodefs.h: Check whether
14054 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14055 than #if.
14056
14057 * nptl/sysdeps/pthread/pthread.h: Check
14058 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14059 its value.
14060
14061 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14062
14063 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14064 setting O_APPEND.
14065 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14066 test case.
14067
14068 [BZ #16680]
14069 * libio/fileops.c (_IO_file_open): Seek to end of file but
14070 don't cache the offset.
14071 (get_file_offset): Remove function.
14072 (do_ftell): Use cached offset when available.
14073 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14074 don't cache the offset.
14075 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14076 case.
14077 (do_one_test): Call it.
14078 (do_ftell_test): Fix up expected old offset for a+ mode.
14079 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14080 available.
14081
14082 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14083 up test status with function return status.
14084 (do_write_test): Likewise.
14085 (do_append_test): Likewise.
14086
14087 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14088 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14089 Remove.
14090
14091 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14092
14093 * math/gen-libm-test.pl (parse_args): Handle results specified for
14094 each rounding mode separately.
14095 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14096 tests and results from lrint_tonearest_test_data,
14097 lrint_towardzero_test_data, lrint_downward_test_data and
14098 lrint_upward_test_data.
14099 (lrint_test): Use ALL_RM_TEST.
14100 (lrint_tonearest_test_data): Remove.
14101 (lrint_test_tonearest): Likewise.
14102 (lrint_towardzero_test_data): Likewise.
14103 (lrint_test_towardzero): Likewise.
14104 (lrint_downward_test_data): Likewise.
14105 (lrint_test_downward): Likewise.
14106 (lrint_upward_test_data): Likewise.
14107 (lrint_test_upward): Likewise.
14108 (llrint_test_data): Merge in per-rounding-mode tests and results
14109 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14110 llrint_downward_test_data and llrint_upward_test_data.
14111 (llrint_test): Use ALL_RM_TEST.
14112 (llrint_tonearest_test_data): Remove.
14113 (llrint_test_tonearest): Likewise.
14114 (llrint_towardzero_test_data): Likewise.
14115 (llrint_test_towardzero): Likewise.
14116 (llrint_downward_test_data): Likewise.
14117 (llrint_test_downward): Likewise.
14118 (llrint_upward_test_data): Likewise.
14119 (llrint_test_upward): Likewise.
14120 (rint_test_data): Merge in per-rounding-mode tests and results
14121 from rint_tonearest_test_data, rint_towardzero_test_data,
14122 rint_downward_test_data and rint_upward_test_data. Add
14123 per-rounding-mode results for tests not in those arrays.
14124 (rint_test): Use ALL_RM_TEST.
14125 (rint_tonearest_test_data): Remove.
14126 (rint_test_tonearest): Likewise.
14127 (rint_towardzero_test_data): Likewise.
14128 (rint_test_towardzero): Likewise.
14129 (rint_downward_test_data): Likewise.
14130 (rint_test_downward): Likewise.
14131 (rint_upward_test_data): Likewise.
14132 (rint_test_upward): Likewise.
14133 (main): Don't call removed functions.
14134
14135 2014-03-14 Roland McGrath <roland@hack.frob.com>
14136
14137 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14138 "Compiled on ..." crapola. It is anti-useful.
14139
14140 2014-03-14 Joseph Myers <joseph@codesourcery.com>
14141
14142 * scripts/evaluate-test.sh: Handle fourth argument to determine
14143 whether test run should stop on failure.
14144 * Makeconfig (stop-on-test-failure): New variable.
14145 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14146 $(stop-on-test-failure).
14147 * Makefile (tests): Give a summary of results from testing and
14148 exit with failure status if they include an ERROR or FAIL.
14149 (xtests): Likewise.
14150 * manual/install.texi (Configuring and compiling): Mention
14151 stop-on-test-failure=y.
14152 * INSTALL: Regenerated.
14153
14154 2014-03-14 Roland McGrath <roland@hack.frob.com>
14155
14156 * scripts/versionlist.awk: New file.
14157 * Makerules [$(build-shared) = yes]
14158 (postclean-generated): Add Versions.def, not Versions.def.v and
14159 Versions.def.v.i.
14160 ($(common-objpfx)Versions.def.v.i): Target removed.
14161 ($(common-objpfx)Versions.def): New target.
14162 ($(common-objpfx)Versions.all): Depend on that rather that
14163 $(common-objpfx)Versions.def.v.
14164 * Versions.def: File removed.
14165
14166 * Makeconfig (+gccwarn): Add -Wundef.
14167 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14168 a dl-sysdep.h breaking its contract.
14169 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14170 * include/stackinfo.h: New file.
14171 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14172 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14173 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14174 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14175 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14176 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14177 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14178 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14179 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14180 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14181 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14182 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14183 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14184 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14185 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14186
14187 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14188
14189 [BZ #16707]
14190 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14191 implementation.
14192 * math/libm-test.inc (round_test_data): Add more tests.
14193
14194 [BZ #16706]
14195 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14196 implementation.
14197 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14198
14199 [BZ #16701]
14200 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14201 implementation.
14202 * math/libm-test.inc (ceil_test_data): Add more tests.
14203
14204 * math/libm-test.inc (trunc_test_data): Add more tests related to
14205 BZ#16414.
14206
14207 2014-03-14 Roland McGrath <roland@hack.frob.com>
14208
14209 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14210 with #if rather than #ifdef.
14211 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14212
14213 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14214
14215 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14216 first. Disable AVX-512 GCC support if assembler doesn't support
14217 it.
14218 * sysdeps/x86_64/configure: Regenerated.
14219
14220 2014-03-13 Carlos O'Donell <carlos@redhat.com>
14221
14222 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14223 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14224 (__old_pthread_attr_setstack): Likewise.
14225 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14226 [!_STACK_GROWS_DOWN]: Likewise.
14227
14228 2014-03-13 Mike Frysinger <vapier@gentoo.org>
14229
14230 * config.make.in (have-bash2): Delete.
14231 * configure.ac (libc_cv_have_bash2): Delete.
14232 * configure: Regenerate.
14233 * elf/Makefile (common-ldd-rewrite): Rename to ...
14234 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14235 (sh-ldd-rewrite): Delete.
14236 (bash-ldd-rewrite): Delete.
14237 (have-bash2): Delete checks.
14238 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14239 ldd-rewrite.
14240
14241 * config.make.in (have-ksh): Delete.
14242 (KSH): Delete.
14243 * configure.ac (libc_cv_have_ksh): Delete.
14244 * configure: Regenerate.
14245
14246 * elf/Makefile: Delete $(have-ksh) check.
14247 ($(objpfx)sotruss): Change KSH to BASH.
14248 * elf/sotruss.ksh: Rename to ...
14249 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14250 function style to match POSIX. Drop ksh vim mode setting.
14251
14252 * manual/time.texi (Specifying the Time Zone with TZ): Change
14253 Tuesday to Thursday.
14254
14255 * debug/tst-longjmp_chk2.c: Update header comment.
14256 (stackoverflow_handler): Add comment. Call assert on pass value.
14257
14258 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14259
14260 [BZ #16194]
14261 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14262 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14263 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14264 (La_x86_64_vector): Add zmm.
14265 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14266 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14267 ($(objpfx)tst-audit10): New target.
14268 ($(objpfx)tst-audit10.out): Likewise.
14269 (tst-audit10-ENV): New.
14270 (AVX512-CFLAGS): Likewise.
14271 (CFLAGS-tst-audit10.c): Likewise.
14272 (CFLAGS-tst-auditmod10a.c): Likewise.
14273 (CFLAGS-tst-auditmod10b.c): Likewise.
14274 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14275 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14276 * sysdeps/x86_64/configure: Regenerated.
14277 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14278 AVX-512 zmm register support.
14279 (_dl_x86_64_save_sse): Likewise.
14280 (_dl_x86_64_restore_sse): Likewise.
14281 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14282 size vector registers.
14283 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14284 (ZMM_SIZE): Likewise.
14285 * sysdeps/x86_64/tst-audit10.c: New file.
14286 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14287 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14288
14289 2014-03-13 Roland McGrath <roland@hack.frob.com>
14290
14291 * configure.ac (HAVE_EHDR_START): New check.
14292 * configure: Regenerated.
14293 * config.h.in (HAVE_EHDR_START): New #undef.
14294 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14295 assuming the lowest-addressed segment maps the start of the file.
14296
14297 2014-03-13 Joseph Myers <joseph@codesourcery.com>
14298
14299 * INSTALL: Regenerated.
14300
14301 2014-03-13 Will Newton <will.newton@linaro.org>
14302
14303 * manual/setjmp.texi (System V contexts): Improve
14304 clarity and grammar of documentation.
14305
14306 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14307
14308 [BZ #16381]
14309 * elf/Makefile (tests): Add tst-pie2.
14310 (tests-pie): Add tst-pie2.
14311 * elf/tst-pie2.c: New file.
14312 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14313 for ET_EXEC.
14314 * elf/rtld.c (map_doit): Load executable as lt_executable.
14315 (dl_main): Likewise.
14316
14317 2014-03-12 Joseph Myers <joseph@codesourcery.com>
14318
14319 [BZ #16642]
14320 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14321 (__ASSUME_PSELECT): Undefine.
14322
14323 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14324
14325 [BZ #16689]
14326 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14327 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14328 static build.
14329 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14330 selector for static builds.
14331
14332 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14333
14334 [BZ #16695]
14335 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14336 key in the buffer.
14337
14338 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14339
14340 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14341 IFUNC selector for static builds.
14342
14343 2014-03-11 Joseph Myers <joseph@codesourcery.com>
14344
14345 * sysdeps/mips/math_private.h [__mips_hard_float]
14346 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14347 libc_feresetround_mips_ctx.
14348 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14349 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14350 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14351
14352 [BZ #16677]
14353 * math/s_nextafter.c (__nextafter): Do not return value from
14354 overflowing computation.
14355 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14356 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14357 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14358 Likewise.
14359 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14360 Likewise.
14361 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14362 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14363
14364 2014-03-11 Roland McGrath <roland@hack.frob.com>
14365
14366 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14367 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14368 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14369 the new mov targetting sp.
14370
14371 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14372
14373 [BZ #16683]
14374 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14375 Define it for static builds as well.
14376 (NO_BZERO_IMPL): Likewise.
14377
14378 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14379
14380 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14381 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14382 multiarch strspn for PPC64.
14383 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14384 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14386 (__libc_ifunc_impl_list): Likewise.
14387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14388 multiarch optimizations
14389 * string/strspn.c (strspn): Using macro to redefine symbol name.
14390
14391 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14392 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14393
14394 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14395 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14396 multiarch strncat for PPC64.
14397 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14398 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14400 (__libc_ifunc_impl_list): Likewise.
14401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14402 multiarch optimizations
14403
14404 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14405
14406 [BZ #16639]
14407 * nscd/nscd.service: Make service type forking.
14408
14409 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14410
14411 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14412 sign in non default rounding modes.
14413 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14414
14415 2014-03-08 Joseph Myers <joseph@codesourcery.com>
14416
14417 * math/libm-test.inc (ALL_RM_TEST): New macro.
14418 (ceil_test): Use ALL_RM_TEST.
14419 (cimag_test): Likewise.
14420 (conj_test): Likewise.
14421 (copysign_test): Likewise.
14422 (cproj_test): Likewise.
14423 (creal_test): Likewise.
14424 (fabs_test): Likewise.
14425 (floor_test): Likewise.
14426 (fmax_test): Likewise.
14427 (fmin_test): Likewise.
14428 (fmod_test): Likewise.
14429 (fpclassify_test): Likewise.
14430 (frexp_test): Likewise.
14431 (ilogb_test): Likewise.
14432 (isfinite_test): Likewise.
14433 (finite_test): Likewise.
14434 (isgreater_test): Likewise.
14435 (isgreaterequal_test): Likewise.
14436 (isinf_test): Likewise.
14437 (isless_test): Likewise.
14438 (islessequal_test): Likewise.
14439 (islessgreater_test): Likewise.
14440 (isnan_test): Likewise.
14441 (isnormal_test): Likewise.
14442 (issignaling_test): Likewise.
14443 (isunordered_test): Likewise.
14444 (logb_test): Likewise.
14445 (logb_downward_test_data): Remove.
14446 (logb_test_downward): Likewise.
14447 (lround_test): Use ALL_RM_TEST.
14448 (llround_test): Likewise.
14449 (modf_test): Likewise.
14450 (nexttoward_test): Likewise.
14451 (remainder_test): Likewise.
14452 (drem_test): Likewise.
14453 (remainder_tonearest_test_data): Likewise.
14454 (remainder_test_tonearest): Likewise.
14455 (drem_test_tonearest): Likewise.
14456 (remainder_towardzero_test_data): Likewise.
14457 (remainder_test_towardzero): Likewise.
14458 (drem_test_towardzero): Likewise.
14459 (remainder_downward_test_data): Likewise.
14460 (remainder_test_downward): Likewise.
14461 (drem_test_downward): Likewise.
14462 (remainder_upward_test_data): Likewise.
14463 (remainder_test_upward): Likewise.
14464 (drem_test_upward): Likewise.
14465 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14466 (round_test): Use ALL_RM_TEST.
14467 (signbit_test): Likewise.
14468 (trunc_test): Likewise.
14469 (significand_test): Likewise.
14470 (main): Don't call removed functions.
14471
14472 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14473
14474 [BZ #16674]
14475 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14476 || __USE_XOPEN2K8].
14477 (ILL_ILLOPN): Likewise.
14478 (ILL_ILLADR): Likewise.
14479 (ILL_ILLTRP): Likewise.
14480 (ILL_PRVOPC): Likewise.
14481 (ILL_PRVREG): Likewise.
14482 (ILL_COPROC): Likewise.
14483 (ILL_BADSTK): Likewise.
14484 (FPE_INTDIV): Likewise.
14485 (FPE_INTOVF): Likewise.
14486 (FPE_FLTDIV): Likewise.
14487 (FPE_FLTOVF): Likewise.
14488 (FPE_FLTUND): Likewise.
14489 (FPE_FLTRES): Likewise.
14490 (FPE_FLTINV): Likewise.
14491 (FPE_FLTSUB): Likewise.
14492 (SEGV_MAPERR): Likewise.
14493 (SEGV_ACCERR): Likewise.
14494 (BUS_ADRALN): Likewise.
14495 (BUS_ADRERR): Likewise.
14496 (BUS_OBJERR): Likewise.
14497 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14498 (TRAP_TRACE): Likewise.
14499 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14500 __USE_XOPEN2K8].
14501 (CLD_KILLED): Likewise.
14502 (CLD_DUMPED): Likewise.
14503 (CLD_TRAPPED): Likewise.
14504 (CLD_STOPPED): Likewise.
14505 (CLD_CONTINUED): Likewise.
14506 (POLL_IN): Likewise.
14507 (POLL_OUT): Likewise.
14508 (POLL_MSG): Likewise.
14509 (POLL_ERR): Likewise.
14510 (POLL_PRI): Likewise.
14511 (POLL_HUP): Likewise.
14512 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14513 Likewise.
14514 (ILL_ILLOPN): Likewise.
14515 (ILL_ILLADR): Likewise.
14516 (ILL_ILLTRP): Likewise.
14517 (ILL_PRVOPC): Likewise.
14518 (ILL_PRVREG): Likewise.
14519 (ILL_COPROC): Likewise.
14520 (ILL_BADSTK): Likewise.
14521 (FPE_INTDIV): Likewise.
14522 (FPE_INTOVF): Likewise.
14523 (FPE_FLTDIV): Likewise.
14524 (FPE_FLTOVF): Likewise.
14525 (FPE_FLTUND): Likewise.
14526 (FPE_FLTRES): Likewise.
14527 (FPE_FLTINV): Likewise.
14528 (FPE_FLTSUB): Likewise.
14529 (SEGV_MAPERR): Likewise.
14530 (SEGV_ACCERR): Likewise.
14531 (BUS_ADRALN): Likewise.
14532 (BUS_ADRERR): Likewise.
14533 (BUS_OBJERR): Likewise.
14534 (BUS_MCEERR_AR): Likewise.
14535 (BUS_MCEERR_AO): Likewise.
14536 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14537 (TRAP_TRACE): Likewise.
14538 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14539 __USE_XOPEN2K8].
14540 (CLD_KILLED): Likewise.
14541 (CLD_DUMPED): Likewise.
14542 (CLD_TRAPPED): Likewise.
14543 (CLD_STOPPED): Likewise.
14544 (CLD_CONTINUED): Likewise.
14545 (POLL_IN): Likewise.
14546 (POLL_OUT): Likewise.
14547 (POLL_MSG): Likewise.
14548 (POLL_ERR): Likewise.
14549 (POLL_PRI): Likewise.
14550 (POLL_HUP): Likewise.
14551 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14552 (ILL_ILLOPN): Likewise.
14553 (ILL_ILLADR): Likewise.
14554 (ILL_ILLTRP): Likewise.
14555 (ILL_PRVOPC): Likewise.
14556 (ILL_PRVREG): Likewise.
14557 (ILL_COPROC): Likewise.
14558 (ILL_BADSTK): Likewise.
14559 (FPE_INTDIV): Likewise.
14560 (FPE_INTOVF): Likewise.
14561 (FPE_FLTDIV): Likewise.
14562 (FPE_FLTOVF): Likewise.
14563 (FPE_FLTUND): Likewise.
14564 (FPE_FLTRES): Likewise.
14565 (FPE_FLTINV): Likewise.
14566 (FPE_FLTSUB): Likewise.
14567 (SEGV_MAPERR): Likewise.
14568 (SEGV_ACCERR): Likewise.
14569 (BUS_ADRALN): Likewise.
14570 (BUS_ADRERR): Likewise.
14571 (BUS_OBJERR): Likewise.
14572 (BUS_MCEERR_AR): Likewise.
14573 (BUS_MCEERR_AO): Likewise.
14574 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14575 (TRAP_TRACE): Likewise.
14576 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14577 __USE_XOPEN2K8].
14578 (CLD_KILLED): Likewise.
14579 (CLD_DUMPED): Likewise.
14580 (CLD_TRAPPED): Likewise.
14581 (CLD_STOPPED): Likewise.
14582 (CLD_CONTINUED): Likewise.
14583 (POLL_IN): Likewise.
14584 (POLL_OUT): Likewise.
14585 (POLL_MSG): Likewise.
14586 (POLL_ERR): Likewise.
14587 (POLL_PRI): Likewise.
14588 (POLL_HUP): Likewise.
14589 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14590 Likewise.
14591 (ILL_ILLOPN): Likewise.
14592 (ILL_ILLADR): Likewise.
14593 (ILL_ILLTRP): Likewise.
14594 (ILL_PRVOPC): Likewise.
14595 (ILL_PRVREG): Likewise.
14596 (ILL_COPROC): Likewise.
14597 (ILL_BADSTK): Likewise.
14598 (ILL_BADIADDR): Likewise.
14599 (ILL_BREAK): Likewise.
14600 (FPE_INTDIV): Likewise.
14601 (FPE_INTOVF): Likewise.
14602 (FPE_FLTDIV): Likewise.
14603 (FPE_FLTOVF): Likewise.
14604 (FPE_FLTUND): Likewise.
14605 (FPE_FLTRES): Likewise.
14606 (FPE_FLTINV): Likewise.
14607 (FPE_FLTSUB): Likewise.
14608 (FPE_DECOVF): Likewise.
14609 (FPE_DECDIV): Likewise.
14610 (FPE_DECERR): Likewise.
14611 (FPE_INVASC): Likewise.
14612 (FPE_INVDEC): Likewise.
14613 (SEGV_MAPERR): Likewise.
14614 (SEGV_ACCERR): Likewise.
14615 (SEGV_PSTKOVF): Likewise.
14616 (BUS_ADRALN): Likewise.
14617 (BUS_ADRERR): Likewise.
14618 (BUS_OBJERR): Likewise.
14619 (BUS_MCEERR_AR): Likewise.
14620 (BUS_MCEERR_AO): Likewise.
14621 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14622 (TRAP_TRACE): Likewise.
14623 (TRAP_BRANCH): Likewise.
14624 (TRAP_HWBKPT): Likewise.
14625 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14626 __USE_XOPEN2K8].
14627 (CLD_KILLED): Likewise.
14628 (CLD_DUMPED): Likewise.
14629 (CLD_TRAPPED): Likewise.
14630 (CLD_STOPPED): Likewise.
14631 (CLD_CONTINUED): Likewise.
14632 (POLL_IN): Likewise.
14633 (POLL_OUT): Likewise.
14634 (POLL_MSG): Likewise.
14635 (POLL_ERR): Likewise.
14636 (POLL_PRI): Likewise.
14637 (POLL_HUP): Likewise.
14638 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14639 (ILL_ILLOPN): Likewise.
14640 (ILL_ILLADR): Likewise.
14641 (ILL_ILLTRP): Likewise.
14642 (ILL_PRVOPC): Likewise.
14643 (ILL_PRVREG): Likewise.
14644 (ILL_COPROC): Likewise.
14645 (ILL_BADSTK): Likewise.
14646 (FPE_INTDIV): Likewise.
14647 (FPE_INTOVF): Likewise.
14648 (FPE_FLTDIV): Likewise.
14649 (FPE_FLTOVF): Likewise.
14650 (FPE_FLTUND): Likewise.
14651 (FPE_FLTRES): Likewise.
14652 (FPE_FLTINV): Likewise.
14653 (FPE_FLTSUB): Likewise.
14654 (SEGV_MAPERR): Likewise.
14655 (SEGV_ACCERR): Likewise.
14656 (BUS_ADRALN): Likewise.
14657 (BUS_ADRERR): Likewise.
14658 (BUS_OBJERR): Likewise.
14659 (BUS_MCEERR_AR): Likewise.
14660 (BUS_MCEERR_AO): Likewise.
14661 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14662 (TRAP_TRACE): Likewise.
14663 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14664 __USE_XOPEN2K8].
14665 (CLD_KILLED): Likewise.
14666 (CLD_DUMPED): Likewise.
14667 (CLD_TRAPPED): Likewise.
14668 (CLD_STOPPED): Likewise.
14669 (CLD_CONTINUED): Likewise.
14670 (POLL_IN): Likewise.
14671 (POLL_OUT): Likewise.
14672 (POLL_MSG): Likewise.
14673 (POLL_ERR): Likewise.
14674 (POLL_PRI): Likewise.
14675 (POLL_HUP): Likewise.
14676 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14677 (ILL_ILLOPN): Likewise.
14678 (ILL_ILLADR): Likewise.
14679 (ILL_ILLTRP): Likewise.
14680 (ILL_PRVOPC): Likewise.
14681 (ILL_PRVREG): Likewise.
14682 (ILL_COPROC): Likewise.
14683 (ILL_BADSTK): Likewise.
14684 (FPE_INTDIV): Likewise.
14685 (FPE_INTOVF): Likewise.
14686 (FPE_FLTDIV): Likewise.
14687 (FPE_FLTOVF): Likewise.
14688 (FPE_FLTUND): Likewise.
14689 (FPE_FLTRES): Likewise.
14690 (FPE_FLTINV): Likewise.
14691 (FPE_FLTSUB): Likewise.
14692 (SEGV_MAPERR): Likewise.
14693 (SEGV_ACCERR): Likewise.
14694 (BUS_ADRALN): Likewise.
14695 (BUS_ADRERR): Likewise.
14696 (BUS_OBJERR): Likewise.
14697 (BUS_MCEERR_AR): Likewise.
14698 (BUS_MCEERR_AO): Likewise.
14699 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14700 (TRAP_TRACE): Likewise.
14701 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14702 __USE_XOPEN2K8].
14703 (CLD_KILLED): Likewise.
14704 (CLD_DUMPED): Likewise.
14705 (CLD_TRAPPED): Likewise.
14706 (CLD_STOPPED): Likewise.
14707 (CLD_CONTINUED): Likewise.
14708 (POLL_IN): Likewise.
14709 (POLL_OUT): Likewise.
14710 (POLL_MSG): Likewise.
14711 (POLL_ERR): Likewise.
14712 (POLL_PRI): Likewise.
14713 (POLL_HUP): Likewise.
14714 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14715 (ILL_ILLOPN): Likewise.
14716 (ILL_ILLADR): Likewise.
14717 (ILL_ILLTRP): Likewise.
14718 (ILL_PRVOPC): Likewise.
14719 (ILL_PRVREG): Likewise.
14720 (ILL_COPROC): Likewise.
14721 (ILL_BADSTK): Likewise.
14722 (FPE_INTDIV): Likewise.
14723 (FPE_INTOVF): Likewise.
14724 (FPE_FLTDIV): Likewise.
14725 (FPE_FLTOVF): Likewise.
14726 (FPE_FLTUND): Likewise.
14727 (FPE_FLTRES): Likewise.
14728 (FPE_FLTINV): Likewise.
14729 (FPE_FLTSUB): Likewise.
14730 (SEGV_MAPERR): Likewise.
14731 (SEGV_ACCERR): Likewise.
14732 (BUS_ADRALN): Likewise.
14733 (BUS_ADRERR): Likewise.
14734 (BUS_OBJERR): Likewise.
14735 (BUS_MCEERR_AR): Likewise.
14736 (BUS_MCEERR_AO): Likewise.
14737 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14738 (TRAP_TRACE): Likewise.
14739 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14740 __USE_XOPEN2K8].
14741 (CLD_KILLED): Likewise.
14742 (CLD_DUMPED): Likewise.
14743 (CLD_TRAPPED): Likewise.
14744 (CLD_STOPPED): Likewise.
14745 (CLD_CONTINUED): Likewise.
14746 (POLL_IN): Likewise.
14747 (POLL_OUT): Likewise.
14748 (POLL_MSG): Likewise.
14749 (POLL_ERR): Likewise.
14750 (POLL_PRI): Likewise.
14751 (POLL_HUP): Likewise.
14752 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14753 (ILL_ILLOPN): Likewise.
14754 (ILL_ILLADR): Likewise.
14755 (ILL_ILLTRP): Likewise.
14756 (ILL_PRVOPC): Likewise.
14757 (ILL_PRVREG): Likewise.
14758 (ILL_COPROC): Likewise.
14759 (ILL_BADSTK): Likewise.
14760 (ILL_DBLFLT): Likewise.
14761 (ILL_HARDWALL): Likewise.
14762 (FPE_INTDIV): Likewise.
14763 (FPE_INTOVF): Likewise.
14764 (FPE_FLTDIV): Likewise.
14765 (FPE_FLTOVF): Likewise.
14766 (FPE_FLTUND): Likewise.
14767 (FPE_FLTRES): Likewise.
14768 (FPE_FLTINV): Likewise.
14769 (FPE_FLTSUB): Likewise.
14770 (SEGV_MAPERR): Likewise.
14771 (SEGV_ACCERR): Likewise.
14772 (BUS_ADRALN): Likewise.
14773 (BUS_ADRERR): Likewise.
14774 (BUS_OBJERR): Likewise.
14775 (BUS_MCEERR_AR): Likewise.
14776 (BUS_MCEERR_AO): Likewise.
14777 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14778 (TRAP_TRACE): Likewise.
14779 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14780 __USE_XOPEN2K8].
14781 (CLD_KILLED): Likewise.
14782 (CLD_DUMPED): Likewise.
14783 (CLD_TRAPPED): Likewise.
14784 (CLD_STOPPED): Likewise.
14785 (CLD_CONTINUED): Likewise.
14786 (POLL_IN): Likewise.
14787 (POLL_OUT): Likewise.
14788 (POLL_MSG): Likewise.
14789 (POLL_ERR): Likewise.
14790 (POLL_PRI): Likewise.
14791 (POLL_HUP): Likewise.
14792 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14793 (ILL_ILLOPN): Likewise.
14794 (ILL_ILLADR): Likewise.
14795 (ILL_ILLTRP): Likewise.
14796 (ILL_PRVOPC): Likewise.
14797 (ILL_PRVREG): Likewise.
14798 (ILL_COPROC): Likewise.
14799 (ILL_BADSTK): Likewise.
14800 (FPE_INTDIV): Likewise.
14801 (FPE_INTOVF): Likewise.
14802 (FPE_FLTDIV): Likewise.
14803 (FPE_FLTOVF): Likewise.
14804 (FPE_FLTUND): Likewise.
14805 (FPE_FLTRES): Likewise.
14806 (FPE_FLTINV): Likewise.
14807 (FPE_FLTSUB): Likewise.
14808 (SEGV_MAPERR): Likewise.
14809 (SEGV_ACCERR): Likewise.
14810 (BUS_ADRALN): Likewise.
14811 (BUS_ADRERR): Likewise.
14812 (BUS_OBJERR): Likewise.
14813 (BUS_MCEERR_AR): Likewise.
14814 (BUS_MCEERR_AO): Likewise.
14815 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14816 (TRAP_TRACE): Likewise.
14817 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14818 __USE_XOPEN2K8].
14819 (CLD_KILLED): Likewise.
14820 (CLD_DUMPED): Likewise.
14821 (CLD_TRAPPED): Likewise.
14822 (CLD_STOPPED): Likewise.
14823 (CLD_CONTINUED): Likewise.
14824 (POLL_IN): Likewise.
14825 (POLL_OUT): Likewise.
14826 (POLL_MSG): Likewise.
14827 (POLL_ERR): Likewise.
14828 (POLL_PRI): Likewise.
14829 (POLL_HUP): Likewise.
14830 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14831 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14832
14833 [BZ #16670]
14834 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14835 before #include of <time.h>.
14836 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14837 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14838 (test-xfail-UNIX98/sched.h/conform): Likewise.
14839
14840 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14841
14842 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14843 error absence of trapping exception support.
14844 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14845
14846 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14847
14848 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14849 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14850 * timezone/Makefile (testdata): Move definition above include of
14851 Rules.
14852 (test-zones): New variable.
14853 (tests-special): Add zone files.
14854 (build-testdata): Use $(evaluate-test).
14855
14856 * elf/Makefile (tests-special): Rename tests to end with .out.
14857 ($(objpfx)noload-mem): Likewise.
14858 ($(objpfx)tst-leaks1-mem): Likewise.
14859 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14860 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14861 $(objpfx)test-iconvconfig.out.
14862 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14863 set -e inside subshell and redirect output to file.
14864 * iconvdata/Makefile (generated): Rename tests to end with .out.
14865 Correct type.
14866 (tests-special): Rename tests to end with .out.
14867 ($(objpfx)mtrace-tst-loading): Likewise.
14868 * intl/Makefile (generated): Likewise.
14869 (tests-special): Likewise.
14870 ($(objpfx)mtrace-tst-gettext): Likewise.
14871 * misc/Makefile (generated): Likewise.
14872 (tests-special): Likewise.
14873 ($(objpfx)tst-error1-mem): Likewise.
14874 * nptl/Makefile (tests-special): Likewise.
14875 ($(objpfx)tst-stack3-mem): Likewise.
14876 (generated): Likewise.
14877 * posix/Makefile (generated): Likewise.
14878 (tests-special): Likewise.
14879 (xtests-special): Likewise.
14880 ($(objpfx)tst-fnmatch-mem): Likewise.
14881 ($(objpfx)bug-regex2-mem): Likewise.
14882 ($(objpfx)bug-regex14-mem): Likewise.
14883 ($(objpfx)bug-regex21-mem): Likewise.
14884 ($(objpfx)bug-regex31-mem): Likewise.
14885 ($(objpfx)tst-vfork3-mem): Likewise.
14886 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14887 ($(objpfx)tst-pcre-mem): Likewise.
14888 ($(objpfx)tst-boost-mem): Likewise.
14889 ($(objpfx)bug-ga2-mem): Likewise.
14890 ($(objpfx)bug-glob2-mem): Likewise.
14891 * resolv/Makefile (generate): Likewise.
14892 (tests-special): Likewise.
14893 (xtests-special): Likewise.
14894 (generated): Likewise.
14895 ($(objpfx)mtrace-tst-leaks): Likewise.
14896 ($(objpfx)mtrace-tst-leaks2): Likewise.
14897
14898 * scripts/merge-test-results.sh: New file.
14899 * Makefile (tests-special-notdir): New variable.
14900 (tests): Run merge-test-results.sh.
14901 (xtests): Likewise.
14902 * Rules (tests-special-notdir): New variable.
14903 (xtests-special-notdir): Likewise.
14904 (tests): Run merge-test-results.sh
14905 (xtests): Likewise.
14906
14907 * Makeconfig (test-xfail-name): New variable.
14908 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14909 compute variable name for expected failures.
14910 * conform/Makefile (conformtest-headers-data): New variable.
14911 (conformtest-standards): Likewise.
14912 (conformtest-headers-ISO): Likewise.
14913 (conformtest-headers-ISO99): Likewise.
14914 (conformtest-headers-ISO11): Likewise.
14915 (conformtest-headers-POSIX): Likewise.
14916 (conformtest-headers-XPG3): Likewise.
14917 (conformtest-headers-XPG4): Likewise.
14918 (conformtest-headers-UNIX98): Likewise.
14919 (conformtest-headers-XOPEN2K): Likewise.
14920 (conformtest-headers-POSIX2008): Likewise.
14921 (conformtest-headers-XOPEN2K8): Likewise.
14922 (conformtest-header-list-base): Likewise.
14923 (conformtest-header-list-tests): Likewise.
14924 (conformtest-header-base): Likewise.
14925 (conformtest-header-tests): Likewise.
14926 (tests-special): Add $(conformtest-header-list-tests). If
14927 [$(fast-check) && !$(cross-compiling)], add
14928 $(conformtest-header-tests) instead of
14929 $(objpfx)run-conformtest.out.
14930 (generated): Add $(conformtest-header-list-base). If
14931 [$(fast-check) && !$(cross-compiling)], add
14932 $(conformtest-header-base). Remove previous setting.
14933 ($(conformtest-header-list-tests)): New target.
14934 (test-xfail-run-conformtest): Remove variable.
14935 ($(objpfx)run-conformtest.out): Remove target.
14936 (test-xfail-ISO11/complex.h/conform): New variable.
14937 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14938 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14939 (test-xfail-XPG3/varargs.h/conform): Likewise.
14940 (test-xfail-XPG4/varargs.h/conform): Likewise.
14941 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14942 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14943 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14944 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14945 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14946 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14947 (test-xfail-XPG3/ftw.h/conform): Likewise.
14948 (test-xfail-XPG3/grp.h/conform): Likewise.
14949 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14950 (test-xfail-XPG3/limits.h/conform): Likewise.
14951 (test-xfail-XPG3/pwd.h/conform): Likewise.
14952 (test-xfail-XPG3/search.h/conform): Likewise.
14953 (test-xfail-XPG3/signal.h/conform): Likewise.
14954 (test-xfail-XPG3/stdio.h/conform): Likewise.
14955 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14956 (test-xfail-XPG3/string.h/conform): Likewise.
14957 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14958 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14959 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14960 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14961 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14962 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14963 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14964 (test-xfail-XPG3/termios.h/conform): Likewise.
14965 (test-xfail-XPG3/time.h/conform): Likewise.
14966 (test-xfail-XPG3/unistd.h/conform): Likewise.
14967 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14968 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14969 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14970 (test-xfail-XPG4/netdb.h/conform): Likewise.
14971 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14972 (test-xfail-XPG4/signal.h/conform): Likewise.
14973 (test-xfail-XPG4/stdio.h/conform): Likewise.
14974 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14975 (test-xfail-XPG4/stropts.h/conform): Likewise.
14976 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14977 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14978 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14979 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14980 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14981 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14982 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14983 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14984 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14985 (test-xfail-XPG4/termios.h/conform): Likewise.
14986 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14987 (test-xfail-XPG4/unistd.h/conform): Likewise.
14988 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14989 (test-xfail-POSIX/sched.h/conform): Likewise.
14990 (test-xfail-POSIX/signal.h/conform): Likewise.
14991 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14992 (test-xfail-POSIX/tar.h/conform): Likewise.
14993 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14994 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14995 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14996 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14997 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14998 (test-xfail-UNIX98/sched.h/conform): Likewise.
14999 (test-xfail-UNIX98/signal.h/conform): Likewise.
15000 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15001 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15002 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15003 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15004 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15005 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15006 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15007 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15008 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15009 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15010 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15011 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15012 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15013 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15014 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15015 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15016 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15017 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15018 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15019 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15020 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15021 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15022 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15023 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15024 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15025 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15026 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15027 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15028 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15029 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15030 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15031 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15032 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15033 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15034 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15035 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15036 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15037 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15038 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15039 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15040 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15041 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15042 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15043 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15044 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15045 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15046 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15047 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15048 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15049 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15050 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15051 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15052 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15053 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15054 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15055 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15056 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15057 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15058 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15059 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15060 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15061 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15062 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15063 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15064 (conformtest-cc-flags): Likewise.
15065 ($(conformtest-header-tests): New target.
15066 * conform/check-header-lists.sh: New file.
15067 * conform/run-conformtest.sh: Remove.
15068
15069 * conform/conformtest.pl: Allow ' and \ in values given for
15070 constants.
15071 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15072 inclusion.
15073 [POSIX] (sys/types.h): Likewise.
15074 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15075 inclusion.
15076 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15077 inclusion.
15078 * conform/data/signal.h-data (SIGIO): Remove expectation.
15079 [XPG3] (SIGBUS): Do not expect.
15080 [POSIX || XPG3] (SIGPOLL): Likewise.
15081 [POSIX || XPG3] (SIGPROF): Likewise.
15082 [POSIX || XPG3] (SIGSYS): Likewise.
15083 [XPG3] (SIGTRAP): Likewise.
15084 [POSIX || XPG3] (SIGURG): Likewise.
15085 [POSIX || XPG3] (SIGVTALRM): Likewise.
15086 [POSIX || XPG3] (SIGXCPU): Likewise.
15087 [POSIX || XPG3] (SIGXFSZ): Likewise.
15088 [POSIX] (SA_SIGINFO): Expect.
15089 [XPG3] (siginfo_t): Do not expect type or contents.
15090 [POSIX] (si_pid): Do not expect element.
15091 [POSIX] (si_uid): Likewise.
15092 [POSIX] (si_addr): Likewise.
15093 [POSIX] (si_status): Likewise.
15094 [POSIX] (si_band): Likewise.
15095 [XPG4] (si_value): Likewise.
15096 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15097 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15098 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15099 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15100 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15101 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15102 [POSIX || XPG3] (ILL_COPROC): Likewise.
15103 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15104 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15105 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15106 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15107 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15108 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15109 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15110 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15111 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15112 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15113 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15114 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15115 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15116 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15117 [POSIX || XPG3] (CLD_EXITED): Likewise.
15118 [POSIX || XPG3] (CLD_KILLED): Likewise.
15119 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15120 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15121 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15122 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15123 [POSIX || XPG3] (POLL_IN): Likewise.
15124 [POSIX || XPG3] (POLL_OUT): Likewise.
15125 [POSIX || XPG3] (POLL_MSG): Likewise.
15126 [POSIX || XPG3] (POLL_ERR): Likewise.
15127 [POSIX || XPG3] (POLL_PRI): Likewise.
15128 [POSIX || XPG3] (POLL_HUP): Likewise.
15129 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15130 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15131 (SIG*): Do not allow.
15132 [XPG3] (si_*): Likewise.
15133 [XPG3] (SI_*): Likewise.
15134 [XPG3 || XPG4] (sigev_*): Likewise.
15135 [XPG3 || XPG4] (SIGEV_*): Likewise.
15136 [XPG3 || XPG4] (sival_*): Likewise.
15137 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15138 [POSIX || XPG3] (BUS_*): Likewise.
15139 [POSIX || XPG3] (CLD_*): Likewise.
15140 [POSIX || XPG3] (FPE_*): Likewise.
15141 [POSIX || XPG3] (ILL_*): Likewise.
15142 [POSIX || XPG3] (POLL_*): Likewise.
15143 [POSIX || XPG3] (SEGV_*): Likewise.
15144 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15145 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15146 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15147 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15148 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15149 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15150 Specify type and value.
15151 (TVERSLEN): Likewise.
15152 (REGTYPE): Likewise.
15153 (AREGTYPE): Likewise.
15154 (LNKTYPE): Likewise.
15155 (SYMTYPE): Likewise.
15156 (CHRTYPE): Likewise.
15157 (BLKTYPE): Likewise.
15158 (DIRTYPE): Likewise.
15159 (FIFOTYPE): Likewise.
15160 (CONTTYPE): Likewise.
15161 (TSUID): Likewise.
15162 (TSGID): Likewise.
15163 (TSVTX): Likewise.
15164 (TUREAD): Likewise.
15165 (TUWRITE): Likewise.
15166 (TUEXEC): Likewise.
15167 (TGREAD): Likewise.
15168 (TGWRITE): Likewise.
15169 (TGEXEC): Likewise.
15170 (TOREAD): Likewise.
15171 (TOWRITE): Likewise.
15172 (TOEXEC): Likewise.
15173 [POSIX] (TSVTX): Expect constant.
15174
15175 2014-03-06 Joseph Myers <joseph@codesourcery.com>
15176
15177 * Makefile (tests): Change dependencies to ....
15178 (tests-special): ... additions to this variable.
15179 (tests): Depend on $(tests-special).
15180 * Makerules (check-abi-list): New variable.
15181 (check-abi): Depend on $(check-abi-list).
15182 [$(subdir) = elf] (tests-special): Add
15183 $(objpfx)check-abi-libc.out.
15184 [$(build-shared) = yes && subdir] (tests-special): Add
15185 $(check-abi-list).
15186 [$(build-shared) = yes && subdir] (tests): Do not depend on
15187 check-abi.
15188 * Rules (tests): Depend on $(tests-special).
15189 (xtests): Depend on $(xtests-special).
15190 * catgets/Makefile (tests): Change dependencies to ....
15191 (tests-special): ... additions to this variable.
15192 * conform/Makefile (tests): Change dependencies to ....
15193 (tests-special): ... additions to this variable.
15194 * elf/Makefile (tests): Change dependencies to ....
15195 (tests-special): ... additions to this variable.
15196 * grp/Makefile (tests): Change dependencies to ....
15197 (tests-special): ... additions to this variable.
15198 * iconv/Makefile (xtests): Change dependencies to ....
15199 (xtests-special): ... additions to this variable.
15200 * iconvdata/Makefile (tests): Change dependencies to ....
15201 (tests-special): ... additions to this variable.
15202 * intl/Makefile (tests): Change dependencies to ....
15203 (tests-special): ... additions to this variable. Also add
15204 $(objpfx)tst-gettext.out.
15205 * io/Makefile (tests): Change dependencies to ....
15206 (tests-special): ... additions to this variable.
15207 * libio/Makefile (tests): Change dependencies to ....
15208 (tests-special): ... additions to this variable.
15209 * malloc/Makefile (tests): Change dependencies to ....
15210 (tests-special): ... additions to this variable.
15211 * misc/Makefile (tests): Change dependencies to ....
15212 (tests-special): ... additions to this variable.
15213 * nptl/Makefile (tests): Change dependencies to ....
15214 (tests-special): ... additions to this variable.
15215 * nptl_db/Makefile (tests): Change dependencies to ....
15216 (tests-special): ... additions to this variable.
15217 * posix/Makefile (tests): Change dependencies to ....
15218 (tests-special): ... additions to this variable.
15219 (xtests): Change dependencies to ....
15220 (xtests-special): ... additions to this variable.
15221 * resolv/Makefile (tests): Change dependencies to ....
15222 (tests-special): ... additions to this variable.
15223 (xtests): Change dependencies to ....
15224 (xtests-special): ... additions to this variable.
15225 * stdio-common/Makefile (tests): Change dependencies to ....
15226 (tests-special): ... additions to this variable.
15227 (do-tst-unbputc): Remove target.
15228 (do-tst-printf): Likewise.
15229 * stdlib/Makefile (tests): Change dependencies to ....
15230 (tests-special): ... additions to this variable.
15231 * string/Makefile (tests): Change dependencies to ....
15232 (tests-special): ... additions to this variable.
15233 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15234 (tests-special): ... additions to this variable.
15235
15236 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15237 whole file.
15238 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15239 whole file.
15240 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15241 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15242
15243 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15244 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15245 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15246 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15247 * conform/data/libgen.h-data [XPG3]: Likewise.
15248 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15249 * conform/data/ndbm.h-data [XPG3]: Likewise.
15250 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15251 * conform/data/netdb.h-data [XPG3]: Likewise.
15252 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15253 * conform/data/poll.h-data [XPG3]: Likewise.
15254 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15255 * conform/data/strings.h-data [XPG3]: Likewise.
15256 * conform/data/stropts.h-data [XPG3]: Likewise.
15257 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15258 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15259 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15260 Likewise.
15261 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15262 * conform/data/sys/time.h-data [XPG3]: Likewise.
15263 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15264 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15265 * conform/data/sys/un.h-data [XPG3]: Likewise.
15266 * conform/data/syslog.h-data [XPG3]: Likewise.
15267 * conform/data/ucontext.h-data [XPG3]: Likewise.
15268 * conform/data/utmpx.h-data [XPG3]: Likewise.
15269 * conform/data/varargs.h-data [UNIX98]: Enable file.
15270
15271 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15272
15273 * math/libm-test.inc (struct test_f_f_data): Move expected results
15274 into structure for each rounding mode.
15275 (struct test_ff_f_data): Likewise.
15276 (struct test_ff_f_data_nexttoward): Likewise.
15277 (struct test_fi_f_data): Likewise.
15278 (struct test_fl_f_data): Likewise.
15279 (struct test_if_f_data): Likewise.
15280 (struct test_fff_f_data): Likewise.
15281 (struct test_c_f_data): Likewise.
15282 (struct test_f_f1_data): Likewise.
15283 (struct test_fF_f1_data): Likewise.
15284 (struct test_ffI_f1_data): Likewise.
15285 (struct test_c_c_data): Likewise.
15286 (struct test_cc_c_data): Likewise.
15287 (struct test_f_i_data): Likewise.
15288 (struct test_ff_i_data): Likewise.
15289 (struct test_f_l_data): Likewise.
15290 (struct test_f_L_data): Likewise.
15291 (struct test_fFF_11_data): Likewise.
15292 (RM_): New macro.
15293 (RM_FE_DOWNWARD): Likewise.
15294 (RM_FE_TONEAREST): Likewise.
15295 (RM_FE_TOWARDZERO): Likewise.
15296 (RM_FE_UPWARD): Likewise.
15297 (RUN_TEST_LOOP_f_f): Update references to expected results.
15298 (RUN_TEST_LOOP_2_f): Likewise.
15299 (RUN_TEST_LOOP_fff_f): Likewise.
15300 (RUN_TEST_LOOP_c_f): Likewise.
15301 (RUN_TEST_LOOP_f_f1): Likewise.
15302 (RUN_TEST_LOOP_fF_f1): Likewise.
15303 (RUN_TEST_LOOP_fI_f1): Likewise.
15304 (RUN_TEST_LOOP_ffI_f1): Likewise.
15305 (RUN_TEST_LOOP_c_c): Likewise.
15306 (RUN_TEST_LOOP_cc_c): Likewise.
15307 (RUN_TEST_LOOP_f_i): Likewise.
15308 (RUN_TEST_LOOP_f_i_tg): Likewise.
15309 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15310 (RUN_TEST_LOOP_f_b): Likewise.
15311 (RUN_TEST_LOOP_f_b_tg): Likewise.
15312 (RUN_TEST_LOOP_f_l): Likewise.
15313 (RUN_TEST_LOOP_f_L): Likewise.
15314 (RUN_TEST_LOOP_fFF_11): Likewise.
15315 * math/gen-libm-test.pl (parse_args): Output four copies of
15316 expected results for each test.
15317
15318 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15319 (__ASSUME_UTIMES): Remove.
15320 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15321 (__ASSUME_UTIMES): Likewise.
15322
15323 * math/gen-auto-libm-tests.c: Update comment on output format.
15324 (output_for_one_input_case): Generate before-rounding and
15325 after-rounding information as conditions on output flags not
15326 floating-point format.
15327 * math/auto-libm-test-out: Regenerated.
15328 * math/gen-libm-test.pl (cond_value): New function.
15329 (or_cond_value): Use cond_value.
15330 (generate_testfile): Handle conditional exceptions.
15331
15332 2014-03-05 Joseph Myers <joseph@codesourcery.com>
15333
15334 * math/libm-test.inc (max_valid_error): New variable.
15335 (init_max_error): Take new argument specifying whether function
15336 results are exactly determined. Set max_valid_error and bound
15337 other variables for errors based on this argument.
15338 (set_max_error): Do not record results above max_valid_error.
15339 (check_float_internal): Only accept errors of up to 0.5ulps if
15340 also at most max_valid_error.
15341 (START): Take new argument EXACT and pass it to init_max_error.
15342 (acos_test): Update call to START.
15343 (acos_test_tonearest): Likewise.
15344 (acos_test_towardzero): Likewise.
15345 (acos_test_downward): Likewise.
15346 (acos_test_upward): Likewise.
15347 (acosh_test): Likewise.
15348 (asin_test): Likewise.
15349 (asin_test_tonearest): Likewise.
15350 (asin_test_towardzero): Likewise.
15351 (asin_test_downward): Likewise.
15352 (asin_test_upward): Likewise.
15353 (asinh_test): Likewise.
15354 (atan_test): Likewise.
15355 (atanh_test): Likewise.
15356 (atan2_test): Likewise.
15357 (cabs_test): Likewise.
15358 (cacos_test): Likewise.
15359 (cacosh_test): Likewise.
15360 (carg_test): Likewise.
15361 (casin_test): Likewise.
15362 (casinh_test): Likewise.
15363 (catan_test): Likewise.
15364 (catanh_test): Likewise.
15365 (cbrt_test): Likewise.
15366 (ccos_test): Likewise.
15367 (ccosh_test): Likewise.
15368 (ceil_test): Likewise.
15369 (cexp_test): Likewise.
15370 (cimag_test): Likewise.
15371 (clog_test): Likewise.
15372 (clog10_test): Likewise.
15373 (conj_test): Likewise.
15374 (copysign_test): Likewise.
15375 (cos_test): Likewise.
15376 (cos_test_tonearest): Likewise.
15377 (cos_test_towardzero): Likewise.
15378 (cos_test_downward): Likewise.
15379 (cos_test_upward): Likewise.
15380 (cosh_test): Likewise.
15381 (cosh_test_tonearest): Likewise.
15382 (cosh_test_towardzero): Likewise.
15383 (cosh_test_downward): Likewise.
15384 (cosh_test_upward): Likewise.
15385 (cpow_test): Likewise.
15386 (cproj_test): Likewise.
15387 (creal_test): Likewise.
15388 (csin_test): Likewise.
15389 (csinh_test): Likewise.
15390 (csqrt_test): Likewise.
15391 (ctan_test): Likewise.
15392 (ctan_test_tonearest): Likewise.
15393 (ctan_test_towardzero): Likewise.
15394 (ctan_test_downward): Likewise.
15395 (ctan_test_upward): Likewise.
15396 (ctanh_test): Likewise.
15397 (ctanh_test_tonearest): Likewise.
15398 (ctanh_test_towardzero): Likewise.
15399 (ctanh_test_downward): Likewise.
15400 (ctanh_test_upward): Likewise.
15401 (erf_test): Likewise.
15402 (erfc_test): Likewise.
15403 (exp_test): Likewise.
15404 (exp_test_tonearest): Likewise.
15405 (exp_test_towardzero): Likewise.
15406 (exp_test_downward): Likewise.
15407 (exp_test_upward): Likewise.
15408 (exp10_test): Likewise.
15409 (exp10_test_tonearest): Likewise.
15410 (exp10_test_towardzero): Likewise.
15411 (exp10_test_downward): Likewise.
15412 (exp10_test_upward): Likewise.
15413 (pow10_test): Likewise.
15414 (exp2_test): Likewise.
15415 (expm1_test): Likewise.
15416 (expm1_test_tonearest): Likewise.
15417 (expm1_test_towardzero): Likewise.
15418 (expm1_test_downward): Likewise.
15419 (expm1_test_upward): Likewise.
15420 (fabs_test): Likewise.
15421 (fdim_test): Likewise.
15422 (floor_test): Likewise.
15423 (fma_test): Likewise.
15424 (fma_test_towardzero): Likewise.
15425 (fma_test_downward): Likewise.
15426 (fma_test_upward): Likewise.
15427 (fmax_test): Likewise.
15428 (fmin_test): Likewise.
15429 (fmod_test): Likewise.
15430 (fpclassify_test): Likewise.
15431 (frexp_test): Likewise.
15432 (hypot_test): Likewise.
15433 (ilogb_test): Likewise.
15434 (isfinite_test): Likewise.
15435 (finite_test): Likewise.
15436 (isgreater_test): Likewise.
15437 (isgreaterequal_test): Likewise.
15438 (isinf_test): Likewise.
15439 (isless_test): Likewise.
15440 (islessequal_test): Likewise.
15441 (islessgreater_test): Likewise.
15442 (isnan_test): Likewise.
15443 (isnormal_test): Likewise.
15444 (issignaling_test): Likewise.
15445 (isunordered_test): Likewise.
15446 (j0_test): Likewise.
15447 (j1_test): Likewise.
15448 (jn_test): Likewise.
15449 (ldexp_test): Likewise.
15450 (lgamma_test): Likewise.
15451 (gamma_test): Likewise.
15452 (lrint_test): Likewise.
15453 (lrint_test_tonearest): Likewise.
15454 (lrint_test_towardzero): Likewise.
15455 (lrint_test_downward): Likewise.
15456 (lrint_test_upward): Likewise.
15457 (llrint_test): Likewise.
15458 (llrint_test_tonearest): Likewise.
15459 (llrint_test_towardzero): Likewise.
15460 (llrint_test_downward): Likewise.
15461 (llrint_test_upward): Likewise.
15462 (log_test): Likewise.
15463 (log10_test): Likewise.
15464 (log1p_test): Likewise.
15465 (log2_test): Likewise.
15466 (logb_test): Likewise.
15467 (logb_test_downward): Likewise.
15468 (lround_test): Likewise.
15469 (llround_test): Likewise.
15470 (modf_test): Likewise.
15471 (nearbyint_test): Likewise.
15472 (nextafter_test): Likewise.
15473 (nexttoward_test): Likewise.
15474 (pow_test): Likewise.
15475 (pow_test_tonearest): Likewise.
15476 (pow_test_towardzero): Likewise.
15477 (pow_test_downward): Likewise.
15478 (pow_test_upward): Likewise.
15479 (remainder_test): Likewise.
15480 (drem_test): Likewise.
15481 (remainder_test_tonearest): Likewise.
15482 (drem_test_tonearest): Likewise.
15483 (remainder_test_towardzero): Likewise.
15484 (drem_test_towardzero): Likewise.
15485 (remainder_test_downward): Likewise.
15486 (drem_test_downward): Likewise.
15487 (remainder_test_upward): Likewise.
15488 (drem_test_upward): Likewise.
15489 (remquo_test): Likewise.
15490 (rint_test): Likewise.
15491 (rint_test_tonearest): Likewise.
15492 (rint_test_towardzero): Likewise.
15493 (rint_test_downward): Likewise.
15494 (rint_test_upward): Likewise.
15495 (round_test): Likewise.
15496 (scalb_test): Likewise.
15497 (scalbn_test): Likewise.
15498 (scalbln_test): Likewise.
15499 (signbit_test): Likewise.
15500 (sin_test): Likewise.
15501 (sin_test_tonearest): Likewise.
15502 (sin_test_towardzero): Likewise.
15503 (sin_test_downward): Likewise.
15504 (sin_test_upward): Likewise.
15505 (sincos_test): Likewise.
15506 (sinh_test): Likewise.
15507 (sinh_test_tonearest): Likewise.
15508 (sinh_test_towardzero): Likewise.
15509 (sinh_test_downward): Likewise.
15510 (sinh_test_upward): Likewise.
15511 (sqrt_test): Likewise.
15512 (sqrt_test_tonearest): Likewise.
15513 (sqrt_test_towardzero): Likewise.
15514 (sqrt_test_downward): Likewise.
15515 (sqrt_test_upward): Likewise.
15516 (tan_test): Likewise.
15517 (tan_test_tonearest): Likewise.
15518 (tan_test_towardzero): Likewise.
15519 (tan_test_downward): Likewise.
15520 (tan_test_upward): Likewise.
15521 (tanh_test): Likewise.
15522 (tgamma_test): Likewise.
15523 (trunc_test): Likewise.
15524 (y0_test): Likewise.
15525 (y1_test): Likewise.
15526 (yn_test): Likewise.
15527 (significand_test): Likewise.
15528
15529 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15530 individual tests in comment.
15531 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15532 (prev_max_error): New variable.
15533 (prev_real_max_error): Likewise.
15534 (prev_imag_max_error): Likewise.
15535 (compare_ulp_data): Don't refer to test names in comment.
15536 (find_test_ulps): Remove function.
15537 (find_function_ulps): Likewise.
15538 (find_complex_function_ulps): Likewise.
15539 (init_max_error): Take function name as argument. Look up ulps
15540 for that function.
15541 (print_ulps): Remove function.
15542 (print_max_error): Use prev_max_error instead of calling
15543 find_function_ulps.
15544 (print_complex_max_error): Use prev_real_max_error and
15545 prev_imag_max_error instead of calling find_complex_function_ulps.
15546 (check_float_internal): Take max_ulp parameter instead of calling
15547 find_test_ulps. Don't call print_ulps.
15548 (check_float): Update call to check_float_internal.
15549 (check_complex): Update calls to check_float_internal.
15550 (START): Pass argument to init_max_error.
15551 * math/gen-libm-test.pl (%results): Don't include "kind"
15552 information.
15553 (parse_ulps): Don't handle ulps of individual tests.
15554 (print_ulps_file): Likewise.
15555 (output_ulps): Likewise.
15556 * math/README.libm-test: Update.
15557 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15558 individual tests.
15559 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15560 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15561 * sysdeps/arm/libm-test-ulps: Likewise.
15562 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15563 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15564 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15565 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15566 * sysdeps/microblaze/libm-test-ulps: Likewise.
15567 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15568 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15569 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15570 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15571 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15572 * sysdeps/sh/libm-test-ulps: Likewise.
15573 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15574 * sysdeps/tile/libm-test-ulps: Likewise.
15575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15576
15577 2014-03-04 Joseph Myers <joseph@codesourcery.com>
15578
15579 * math/libm-test.inc (print_complex_max_error): Check separately
15580 whether real and imaginary errors are within allowed range and
15581 pass 0 to print_complex_function_ulps instead of value within
15582 allowed range.
15583
15584 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15585
15586 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15587 formatting.
15588 (get_handles_fopen): Likewise.
15589 (do_write_test): Likewise.
15590
15591 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15592
15593 * libio/fileops.c (do_ftell): Use cached offset when
15594 available.
15595 * libio/iofwide.c (do_ftell_wide): Likewise.
15596 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15597 _IO_file_attach.
15598 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15599
15600 [BZ #16532]
15601 * libio/libioP.h (get_file_offset): New function.
15602 * libio/fileops.c (get_file_offset): Likewise.
15603 (do_ftell): Likewise.
15604 (_IO_new_file_seekoff): Split out ftell logic.
15605 * libio/wfileops.c (do_ftell_wide): Likewise.
15606 (_IO_wfile_seekoff): Split out ftell logic.
15607 * libio/tst-ftell-active-handler.c: New test case.
15608 * libio/Makefile (tests): Add it.
15609
15610 2014-03-03 Roland McGrath <roland@hack.frob.com>
15611
15612 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15613 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15614
15615 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15616
15617 [BZ #16639]
15618 * nscd/connections.c (nscd_init): Call do_exit.
15619 (start_threads): Call do_exit and notify_parent.
15620 (begin_drop_privileges): Call do_exit.
15621 (finish_drop_privileges): Likewise.
15622 * nscd/selinux.c (preserve_capabilities): Likewise.
15623 (install_real_capabilities): Likewise.
15624 (nscd_selinux_enabled): Likewise.
15625 (avc_create_thread): Likewise.
15626 (avc_alloc_lock): Likewise.
15627 (nscd_avc_init): Likewise.
15628 * nscd/nscd.c (parent_fd): New static variable.
15629 (main): Create a pipe between parent and child processes.
15630 Skip closing parent_fd.
15631 (monitor_child): New function.
15632 (do_exit): Likewise.
15633 (notify_parent): Likewise.
15634 * nscd/nscd.h (notify_parent): Likewise.
15635 (do_exit): Likewise.
15636
15637 2014-03-03 Carlos O'Donell <carlos@redhat.com>
15638
15639 * malloc/malloc.c (__libc_calloc): Revert last change.
15640
15641 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15642
15643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15644
15645 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15646
15647 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15649 implementation.
15650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15651 (__libc_ifunc_impl_list): Likewise.
15652 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15653 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15654 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15655 * string/strrchr.c: Define STRRCHR.
15656
15657 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
15658
15659 * benchtest/bench-strtok.c (simple_strtok): Delete.
15660 (strtok_string): Use as benchmark.
15661 * string/strtok (STRTOK): New macro.
15662
15663 2014-02-28 Carlos O'Donell <carlos@redhat.com>
15664
15665 * manual/threads.texi: Add header and standard comments to all
15666 functions.
15667
15668 * elf/dl-lookup.c (check_match): New function.
15669 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15670 (do_lookup_x): Remove nested function check_match. Use non-nested
15671 function check_match.
15672
15673 2014-02-28 Roland McGrath <roland@hack.frob.com>
15674
15675 * csu/Makefile (generated, before-compile): Use += rather than =.
15676 * catgets/Makefile (generated, generated-dirs): Likewise.
15677 * debug/Makefile (generated): Likewise.
15678 * dlfcn/Makefile (generated): Likewise.
15679 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15680 * iconvdata/Makefile (before-compile, generated): Likewise.
15681 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15682 * libio/Makefile (generated): Likewise.
15683 * malloc/Makefile (generated): Likewise.
15684 * manual/Makefile (generated, generated-dirs): Likewise.
15685 * misc/Makefile (generated): Likewise.
15686 * posix/Makefile (generated): Likewise.
15687 * resolv/Makefile (generated): Likewise.
15688 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15689 * timezone/Makefile (generated, generated-dirs): Likewise.
15690
15691 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15692
15693 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15694
15695 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15696 power8 implementation.
15697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15698 file: POWER8 llround ifunc implementation.
15699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15700 (__lllround): Add POWER8 implementation.
15701 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15702 POWER8 llround implementation.
15703
15704 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15705 power8 implementation.
15706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15707 file: POWER8 llrint ifunc implementation.
15708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15709 Add POWER8 implementation.
15710 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15711 POWER8 llrint implementation.
15712
15713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15714 power8 implementation.
15715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15716 file: POWER8 finite ifunc implementation.
15717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15718 Add POWER8 implementation.
15719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15720 Likewise.
15721 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15722 POWER8 finite implementation.
15723 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15724
15725 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15726 power8 implementation.
15727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15728 file: POWER8 isinf ifunc implementation.
15729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15730 POWER8 implementation.
15731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15732 Likewise.
15733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15734 isinf implementation.
15735 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15736
15737 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15738 (INIT_ARCH): Add hwcap2 initialization.
15739 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15740 power8 implementation.
15741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15742 file: POWER8 isnan ifunc implementation.
15743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15744 POWER8 implementation.
15745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15746 Likewise.
15747 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15748 isnan implementation.
15749 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15750
15751 2014-02-27 Joey Ye <joey.ye@arm.com>
15752
15753 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15754 (_FP_NANFRAC_Q): Set to zero.
15755
15756 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15757
15758 [BZ #16623]
15759 * math/auto-libm-test-in: New test inputs.
15760 * math/auto-libm-test-out: Regenerate.
15761 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15762 and DA.
15763 (__cos): Likewise.
15764 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15765
15766 2014-02-27 Joseph Myers <joseph@codesourcery.com>
15767
15768 * scripts/evaluate-test.sh: Take new argument indicating whether
15769 failure is expected.
15770 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15771 indicating whether failure is expected.
15772 * conform/Makefile (test-xfail-run-conformtest): New variable.
15773 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15774 level.
15775 * posix/Makefile (test-xfail-annexc): New variable.
15776 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15777
15778 2014-02-26 Joseph Myers <joseph@codesourcery.com>
15779
15780 * argp/Makefile: Include Makeconfig immediately after defining
15781 subdir.
15782 * assert/Makefile: Likewise.
15783 * benchtests/Makefile: Likewise.
15784 * catgets/Makefile: Likewise.
15785 * conform/Makefile: Likewise.
15786 * crypt/Makefile: Likewise.
15787 * csu/Makefile: Likewise.
15788 (all): Remove target.
15789 * ctype/Makefile: Include Makeconfig immediately after defining
15790 subdir.
15791 * debug/Makefile: Likewise.
15792 * dirent/Makefile: Likewise.
15793 * dlfcn/Makefile: Likewise.
15794 * gmon/Makefile: Likewise.
15795 * gnulib/Makefile: Likewise.
15796 * grp/Makefile: Likewise.
15797 * gshadow/Makefile: Likewise.
15798 * hesiod/Makefile: Likewise.
15799 * hurd/Makefile: Likewise.
15800 (all): Remove target.
15801 * iconvdata/Makefile: Include Makeconfig immediately after
15802 defining subdir.
15803 * inet/Makefile: Likewise.
15804 * intl/Makefile: Likewise.
15805 * io/Makefile: Likewise.
15806 * libio/Makefile: Likewise.
15807 (all): Remove target.
15808 * locale/Makefile: Include Makeconfig immediately after defining
15809 subdir.
15810 * login/Makefile: Likewise.
15811 * mach/Makefile: Likewise.
15812 (all): Remove target.
15813 * malloc/Makefile: Include Makeconfig immediately after defining
15814 subdir.
15815 (all): Remove target.
15816 * manual/Makefile: Include Makeconfig immediately after defining
15817 subdir.
15818 * math/Makefile: Likewise.
15819 * misc/Makefile: Likewise.
15820 * nis/Makefile: Likewise.
15821 * nss/Makefile: Likewise.
15822 * po/Makefile: Likewise.
15823 (all): Remove target.
15824 * posix/Makefile: Include Makeconfig immediately after defining
15825 subdir.
15826 * pwd/Makefile: Likewise.
15827 * resolv/Makefile: Likewise.
15828 * resource/Makefile: Likewise.
15829 * rt/Makefile: Likewise.
15830 * setjmp/Makefile: Likewise.
15831 * shadow/Makefile: Likewise.
15832 * signal/Makefile: Likewise.
15833 * socket/Makefile: Likewise.
15834 * soft-fp/Makefile: Likewise.
15835 * stdio-common/Makefile: Likewise.
15836 * stdlib/Makefile: Likewise.
15837 * streams/Makefile: Likewise.
15838 * string/Makefile: Likewise.
15839 * sunrpc/Makefile: Likewise.
15840 (all): Remove target.
15841 * sysvipc/Makefile: Include Makeconfig immediately after defining
15842 subdir.
15843 * termios/Makefile: Likewise.
15844 * time/Makefile: Likewise.
15845 * timezone/Makefile: Likewise.
15846 (all): Remove target.
15847 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15848 subdir.
15849 * wctype/Makefile: Likewise.
15850
15851 2014-02-26 Steve Ellcey <sellcey@mips.com>
15852
15853 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15854 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15855 (libc_feholdexcept_setround_mips): Ditto.
15856 (libc_feholdsetround): New.
15857 (libc_feholdsetroundf): New.
15858 (libc_feholdsetroundl): New.
15859 (libc_feupdateenv_test_mips): New.
15860 (libc_feupdateenv_test): New.
15861 (libc_feupdateenv_testf): New.
15862 (libc_feupdateenv_testl): New.
15863 (libc_feresetround): New.
15864 (libc_feresetroundf): New.
15865 (libc_feresetroundl): New.
15866 (libc_fetestexcept_mips): New.
15867 (libc_fetestexcept): New.
15868 (libc_fetestexceptf): New.
15869 (libc_fetestexceptl): New.
15870 (HAVE_RM_CTX): New.
15871 (libc_feholdexcept_setround_mips_ctx): New.
15872 (libc_feholdexcept_setround_ctx): New.
15873 (libc_feholdexcept_setroundf_ctx): New.
15874 (libc_feholdexcept_setroundl_ctx): New.
15875 (libc_fesetenv_mips_ctx): New.
15876 (libc_fesetenv_ctx): New.
15877 (libc_fesetenv_ctxf): New.
15878 (libc_fesetenv_ctxl): New.
15879 (libc_feupdateenv_mips_ctx): New.
15880 (libc_feupdateenv_ctx): New.
15881 (libc_feupdateenvf_ctx): New.
15882 (libc_feupdateenvl_ctx): New.
15883 (libc_feholdsetround_mips_ctx): New.
15884 (libc_feholdsetround_ctx): New.
15885 (libc_feholdsetroundf_ctx): New.
15886 (libc_feholdsetroundl_ctx): New.
15887 (libc_feresetround_mips_ctx): New.
15888 (libc_feresetround_ctx): New.
15889 (libc_feresetroundf_ctx): New.
15890 (libc_feresetroundl_ctx): New.
15891
15892 2014-02-26 Carlos O'Donell <carlos@redhat.com>
15893
15894 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15895
15896 * manual/ipc.texi: New file.
15897 * manual/Makefile (chapters): Add ipc.
15898 * manual/job.texi: Add "Inter-Process Communication" to next.
15899 * manual/process.texi: Add "Inter-Process Communication" to prev.
15900
15901 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15902
15903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15904
15905 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
15906
15907 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15908
15909 * manual/arith.texi: Fix spaces after sentences.
15910 * manual/charset.texi: Likewise.
15911 * manual/errno.texi: Likewise.
15912 * manual/install.texi: Likewise.
15913 * manual/llio.texi: Likewise.
15914 * manual/locale.texi: Likewise.
15915 * manual/maint.texi: Likewise.
15916 * manual/math.texi: Likewise.
15917 * manual/memory.texi: Likewise.
15918 * manual/message.texi: Likewise.
15919 * manual/probes.texi: Likewise.
15920 * manual/resource.texi: Likewise.
15921 * manual/signal.texi: Likewise.
15922 * manual/socket.texi: Likewise.
15923 * manual/stdio.texi: Likewise.
15924 * manual/string.texi: Likewise.
15925 * manual/time.texi: Likewise.
15926 * manual/users.texi: Likewise.
15927
15928 2014-02-25 Carlos O'Donell <carlos@redhat.com>
15929
15930 [BZ #16632]
15931 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15932 _DEFAULT_SOURCE is defined.
15933
15934 2014-02-25 Ulrich Drepper <drepper@gmail.com>
15935 Carlos O'Donell <carlos@redhat.com>
15936
15937 [BZ #16613]
15938 * elf/dl-tls.c (_dl_count_modids): New function.
15939 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15940 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15941 audit library and increment generation counter.
15942 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15943 * elf/tst-audit9.c: New file.
15944 * elf/tst-auditmod9a.c: New file.
15945 * elf/tst-auditmod9b.c: New file.
15946 * elf/Makefile: Add rules to build and run tst-audit9.
15947
15948 2014-02-25 Florian Weimer <fweimer@redhat.com>
15949
15950 [BZ #15347]
15951 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15952
15953 2014-02-25 Will Newton <will.newton@linaro.org>
15954
15955 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15956 (__longjmp): Restore sp and lr before restoring callee
15957 saved registers. Add longjmp and longjmp_target
15958 SystemTap probe point.
15959 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15960 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15961 Define to zero to match jmpbuf layout.
15962 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15963 (__sigsetjmp): Save sp and lr before saving callee
15964 saved registers. Add setjmp SystemTap probe point.
15965
15966 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15967
15968 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15969
15970 2014-02-24 Andreas Schwab <schwab@suse.de>
15971
15972 [BZ #15804]
15973 * elf/pldd.c (wait_for_ptrace_stop): New function.
15974 (main): Call it after attaching.
15975
15976 2014-02-22 Roland McGrath <roland@hack.frob.com>
15977
15978 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15979 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15980 Versions files is now verboten.
15981 * hurd/Versions (libc: GLIBC_2.0):
15982 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15983 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15984 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15985 * mach/Versions: Likewise.
15986
15987 * csu/Versions: Remove unused %include.
15988 * resolv/Versions: Likewise.
15989
15990 2014-02-21 Joseph Myers <joseph@codesourcery.com>
15991
15992 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15993 ($(objpfx)check-local-headers.out): Likewise.
15994 ($(objpfx)begin-end-check.out): Likewise.
15995 * Makerules (check-abi-%.out): Likewise.
15996 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15997 ($(objpfx)test2.cat): Likewise.
15998 ($(objpfx)de/libc.cat): Likewise.
15999 ($(objpfx)test-gencat.out): Likewise.
16000 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16001 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16002 ($(objpfx)noload-mem): Likewise.
16003 ($(objpfx)tst-pathopt.out): Likewise.
16004 ($(objpfx)tst-rtld-load-self.out): Likewise.
16005 ($(objpfx)tst-array1-cmp.out): Likewise.
16006 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16007 ($(objpfx)tst-array2-cmp.out): Likewise.
16008 ($(objpfx)tst-array3-cmp.out): Likewise.
16009 ($(objpfx)tst-array4-cmp.out): Likewise.
16010 ($(objpfx)tst-array5-cmp.out): Likewise.
16011 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16012 ($(objpfx)check-textrel.out): Likewise.
16013 ($(objpfx)check-execstack.out): Likewise.
16014 ($(objpfx)check-localplt.out): Likewise.
16015 ($(objpfx)order2-cmp.out): Likewise.
16016 ($(objpfx)tst-leaks1-mem): Likewise.
16017 ($(objpfx)tst-leaks1-static-mem): Likewise.
16018 ($(objpfx)tst-initorder-cmp.out): Likewise.
16019 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16020 ($(objpfx)tst-unused-dep.out): Likewise.
16021 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16022 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16023 * iconv/Makefile (test-iconvconfig): Likewise.
16024 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16025 ($(objpfx)iconv-test.out): Likewise.
16026 ($(objpfx)tst-tables.out): Likewise.
16027 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16028 ($(objpfx)tst-gettext.out): Likewise.
16029 ($(objpfx)tst-translit.out): Likewise.
16030 ($(objpfx)tst-gettext2.out): Likewise.
16031 ($(objpfx)tst-gettext4.out): Likewise.
16032 ($(objpfx)tst-gettext6.out): Likewise.
16033 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16034 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16035 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16036 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16037 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16038 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16039 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16040 ($(objpfx)wordexp-tst.out): Likewise.
16041 ($(objpfx)annexc.out): Likewise.
16042 ($(objpfx)tst-fnmatch-mem): Likewise.
16043 ($(objpfx)bug-regex2-mem): Likewise.
16044 ($(objpfx)bug-regex14-mem): Likewise.
16045 ($(objpfx)bug-regex21-mem): Likewise.
16046 ($(objpfx)bug-regex31-mem): Likewise.
16047 ($(objpfx)tst-vfork3-mem): Likewise.
16048 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16049 ($(objpfx)tst-pcre-mem): Likewise.
16050 ($(objpfx)tst-boost-mem): Likewise.
16051 ($(objpfx)tst-getconf.out): Likewise.
16052 ($(objpfx)bug-ga2-mem): Likewise.
16053 ($(objpfx)bug-glob2-mem): Likewise.
16054 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16055 ($(objpfx)mtrace-tst-leaks2): Likewise.
16056 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16057 ($(objpfx)tst-printf.out): Likewise.
16058 ($(objpfx)tst-setvbuf1.out): Likewise.
16059 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16060 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16061 ($(objpfx)tst-fmtmsg.out): Likewise.
16062 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16063 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16064
16065 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16066 * bits/sigaction.h [__USE_MISC]: Likewise.
16067 * bits/waitstatus.h: Update #endif comments.
16068 * ctype/ctype.h: Likewise.
16069 * dirent/dirent.h: Likewise.
16070 [__USE_MISC]: Remove redundant conditionals.
16071 * grp/grp.h: Update #endif comments.
16072 [__USE_GNU]: Remove redundant conditionals.
16073 [__USE_MISC]: Likewise.
16074 * inet/netinet/in.h [__USE_GNU]: Likewise.
16075 * io/sys/stat.h [__USE_MISC]: Likewise.
16076 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16077 * libio/bits/stdio.h: Update #endif comments.
16078 [__USE_MISC]: Remove redundant conditionals.
16079 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16080 * libio/stdio.h: Update #endif comments.
16081 [__USE_MISC]: Remove redundant conditionals.
16082 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16083 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16084 * math/math.h: Update #else and #endif comments.
16085 [__USE_MISC]: Remove redundant conditionals.
16086 * misc/sys/uio.h: Update #endif comments.
16087 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16088 * posix/glob.h [__USE_MISC]: Likewise.
16089 * posix/sys/types.h: Update #endif comments.
16090 [__USE_MISC]: Remove redundant conditionals.
16091 * posix/sys/wait.h: Update #endif comments.
16092 [__USE_MISC]: Remove redundant conditionals.
16093 * posix/unistd.h: Update #endif comments.
16094 [__USE_MISC]: Remove redundant conditionals.
16095 * pwd/pwd.h [__USE_GNU]: Likewise.
16096 [__USE_MISC]: Likewise.
16097 * resolv/netdb.h [__USE_GNU]: Likewise.
16098 * signal/signal.h: Update #endif comments.
16099 [__USE_MISC]: Remove redundant conditionals.
16100 * stdlib/stdlib.h: Update #else and #endif comments.
16101 [__USE_MISC]: Remove redundant conditionals.
16102 [__USE_GNU]: Likewise.
16103 * string/bits/string2.h [__USE_MISC]: Likewise.
16104 * string/string.h: Update #endif comments.
16105 [__USE_MISC]: Remove redundant conditionals.
16106 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16107 Likewise.
16108 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16109 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16110 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16111 Likewise.
16112 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16113 Likewise.
16114 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16115 comments.
16116 [__USE_MISC]: Remove redundant conditionals.
16117 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16118 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16119 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16120 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16121 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16122 Likewise.
16123 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16124 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16125 Likewise.
16126 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16127 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16128 Likewise.
16129 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16130 Likewise.
16131 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16132 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16133 Likewise.
16134 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16135 Likewise.
16136 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16137 * sysdeps/x86/bits/string.h: Update #endif comments.
16138 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16139 conditionals.
16140 * time/sys/time.h: Update #endif comments.
16141 * time/time.h: Likewise.
16142 [__USE_MISC]: Remove redundant conditionals.
16143
16144 2014-02-21 Yury Gribov <y.gribov@samsung.com>
16145
16146 [BZ #16600]
16147 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16148
16149 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16150
16151 * Versions.def (librt): Add GLIBC_2.17.
16152
16153 2014-02-21 Adam Conrad <adconrad@0c3.net>
16154
16155 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16156 synonym for _SYS_AUXV_H to allow direct inclusion.
16157 * sysdeps/sparc/bits/hwcap.h: Likewise.
16158 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16159 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16160 * sysdeps/sparc/sysdep.h: Likewise.
16161
16162 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16163
16164 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16165
16166 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16167
16168 * benchtests/bench-strrchr.c: Print length instead of position.
16169
16170 2014-02-20 Joseph Myers <joseph@codesourcery.com>
16171
16172 [BZ #16611]
16173 * sysdeps/unix/sysv/linux/kernel-features.h
16174 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16175 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16176 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16177 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16178 Likewise.
16179 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16180 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16181 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16182 (__ASSUME_SENDMMSG): Define instead of using previous
16183 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16184 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16185 (__ASSUME_SENDMMSG_SYSCALL): Define.
16186 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16187 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16188 Likewise.
16189 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16190 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16191 Likewise.
16192 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16193 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16194 Likewise.
16195 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16196 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16197 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16198 [__ASSUME_SENDMMSG]: Change conditionals to
16199 [__ASSUME_SENDMMSG_SOCKETCALL].
16200 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16201 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16202 Define.
16203 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16204 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16205 Likewise.
16206 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16207 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16208 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16209 [!__ASSUME_SENDMMSG]: Change conditional to
16210 [!__ASSUME_SENDMMSG_SOCKETCALL].
16211 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16212 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16213 Define.
16214
16215 [BZ #16610]
16216 * sysdeps/unix/sysv/linux/kernel-features.h
16217 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16218 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16219 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16220 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16221 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16222 [__i386__ || __sparc__]
16223 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16224 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16225 (__ASSUME_RECVMMSG): Define instead of using previous
16226 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16227 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16228 (__ASSUME_RECVMMSG_SYSCALL): Define.
16229 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16230 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16231 Likewise.
16232 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16233 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16234 Likewise.
16235 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16236 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16237 Likewise.
16238 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16239 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16240 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16241 [__ASSUME_RECVMMSG]: Change condition to
16242 [__ASSUME_RECVMMSG_SOCKETCALL].
16243 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16244 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16245 Define.
16246 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16247 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16248 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16249 Likewise.
16250 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16251 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16252 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16253 [!__ASSUME_RECVMMSG]: Change condition to
16254 [!__ASSUME_RECVMMSG_SOCKETCALL].
16255 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16256 (__ASSUME_RECVMMSG_SYSCALL): Define.
16257
16258 [BZ #16609]
16259 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16260 __powerpc__ || __s390__ || __sh__ || __sparc__]
16261 (__ASSUME_SOCKETCALL): Define.
16262 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16263 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16264 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16265 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16266 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16267 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16268 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16269 (__ASSUME_ACCEPT4): Define instead of using previous
16270 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16271 __powerpc__ || __sparc__ || __s390__)] condition.
16272 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16273 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16274 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16275 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16276 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16277 [!__ASSUME_ACCEPT4]: Change condition to
16278 [!__ASSUME_ACCEPT4_SOCKETCALL].
16279 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16280 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16281 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16282 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16283 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16284 __ASSUME_ACCEPT4_SYSCALL.
16285 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16286 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16287 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16288 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16289 __ASSUME_ACCEPT4_SYSCALL.
16290 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16291 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16292 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16293 [__ASSUME_ACCEPT4]: Change condition to
16294 [__ASSUME_ACCEPT4_SOCKETCALL].
16295 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16296 (__ASSUME_SOCKETCALL): Define.
16297 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16298 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16299 (__ASSUME_SOCKETCALL): Define.
16300 (__ASSUME_ACCEPT4): Remove.
16301 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16302 Define.
16303 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16304 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16305 Likewise.
16306 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16307 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16308
16309 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16310 macro.
16311 (HWCAP_ARM_LPAE): Likewise.
16312 (HWCAP_ARM_EVTSTRM): Likewise.
16313 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16314 Add vpfd32, lpae and evtstrm.
16315 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16316 Increase to 22.
16317
16318 2014-02-19 Joseph Myers <joseph@codesourcery.com>
16319
16320 * math/auto-libm-test-in: Add tests of clog10.
16321 * math/auto-libm-test-out: Regenerated.
16322 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16323 * sysdeps/i386/fpu/libm-test-ulps: Update.
16324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16325
16326 2014-02-18 Andreas Schwab <schwab@suse.de>
16327
16328 [BZ #16574]
16329 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16330 Store non-zero if the second buffer was newly allocated.
16331 (send_dg): Likewise.
16332 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16333 to send_vc and send_dg.
16334 (res_nsend): Pass NULL for ansp2_malloced.
16335 * resolv/res_query.c (__libc_res_nquery): Add parameter
16336 answerp2_malloced and pass it down to __libc_res_nsend.
16337 (res_nquery): Pass additional NULL to __libc_res_nquery.
16338 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16339 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16340 second answer buffer if answerp2_malloced was set.
16341 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16342 (__libc_res_nquerydomain): Add parameter
16343 answerp2_malloced and pass it down to __libc_res_nquery.
16344 (res_nquerydomain): Pass additional NULL to
16345 __libc_res_nquerydomain.
16346 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16347 additional NULL to __libc_res_nsend and __libc_res_nquery.
16348 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16349 additional NULL to __libc_res_nsearch.
16350 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16351 parameter of __libc_res_nsearch to check for separately allocated
16352 second buffer.
16353 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16354 __libc_res_nquery.
16355 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16356 additional NULL to __libc_res_nquery.
16357 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16358 __libc_res_nsearch.
16359 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16360 * include/resolv.h: Update prototypes of __libc_res_nquery,
16361 __libc_res_nsearch, __libc_res_nsend.
16362
16363 2014-02-18 Joseph Myers <joseph@codesourcery.com>
16364
16365 * math/auto-libm-test-in: Add tests of fma.
16366 * math/auto-libm-test-out: Regenerated.
16367 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16368 (fma_towardzero_test_data): Likewise.
16369 (fma_downward_test_data): Likewise.
16370 (fma_upward_test_data): Likewise.
16371 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16372 mpc_mode.
16373 (rounding_modes): Add values for new field.
16374 (func_calc_method): Add value mpfr_fff_f.
16375 (func_calc_desc): Add mpfr_fff_f union field.
16376 (test_function): Add field exact_args.
16377 (FUNC): Add macro argument EXACT_ARGS.
16378 (FUNC_mpfr_f_f): Update call to FUNC.
16379 (FUNC_mpfr_f_f): Likewise.
16380 (FUNC_mpfr_ff_f): Likewise.
16381 (FUNC_mpfr_if_f): Likewise.
16382 (FUNC_mpc_c_f): Likewise.
16383 (FUNC_mpc_c_c): Likewise.
16384 (test_functions): Add fma. Update calls to FUNC.
16385 (handle_input_arg): Add argument exact_args.
16386 (add_test): Update call to handle_input_arg.
16387 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16388 (output_for_one_input_case): Update call to calc_generic_results.
16389 Recalculate exact zero results in each rounding mode.
16390
16391 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16392 non-negative before setting low bit.
16393 * math/auto-libm-test-in: Mark one asin test possibly having
16394 spurious underflow.
16395 * math/auto-libm-test-out: Regenerated.
16396 * sysdeps/i386/fpu/libm-test-ulps: Update.
16397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16398
16399 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16400
16401 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16402 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16403 ports/sysdeps/unix/sysv/linux/microblaze.
16404 * README: Add missing listing for microblaze*-*-linux-gnu.
16405
16406 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
16407
16408 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16409 duplicate code
16410
16411 2014-02-16 Mike Frysinger <vapier@gentoo.org>
16412
16413 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16414 * sysdeps/unix/sysv/linux/ia64: Move directory from
16415 ports/sysdeps/unix/sysv/linux/ia64.
16416 * README: Update listing for ia64-*-linux-gnu.
16417
16418 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16419 Joseph Myers <joseph@codesourcery.com>
16420
16421 * Makeconfig (test-name): New variable.
16422 (evaluate-test): Likewise.
16423 * Makerules (do-test-clean): Remove .test-result files.
16424 (common-mostlyclean): Likewise.
16425 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16426 * scripts/evaluate-test.sh: New file.
16427
16428 2014-02-14 Joseph Myers <joseph@codesourcery.com>
16429
16430 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16431 separate $(objpfx)tst-fopenloc-cmp.out and
16432 $(objpfx)tst-fopenloc-mem.out targets.
16433 (tests): Update dependencies.
16434 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16435 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16436 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16437 (tst-rxspencer-no-utf8-ARGS): New variable.
16438 (tst-rxspencer-no-utf8-ENV): Likewise.
16439 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16440 instead of $(objpfx)tst-rxspencer-mem.
16441 ($(objpfx)tst-rxspencer-mem): Change target to
16442 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16443 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16444 * posix/tst-rxspencer-no-utf8.c: New file.
16445
16446 * elf/Makefile ($(objpfx)order.out): Remove rule.
16447 [$(run-built-tests) = yes] (tests): Depend on
16448 $(objpfx)order-cmp.out.
16449 ($(objpfx)order-cmp.out): New rule.
16450 [$(run-built-tests) = yes] (tests): Depend on
16451 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16452 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16453 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16454 $(objpfx)tst-array5-static-cmp.out.
16455 ($(objpfx)tst-array1.out): Remove rule.
16456 ($(objpfx)tst-array1-cmp.out): New rule.
16457 ($(objpfx)tst-array1-static.out): Remove rule.
16458 ($(objpfx)tst-array1-static-cmp.out): New rule.
16459 ($(objpfx)tst-array2.out): Remove rule.
16460 ($(objpfx)tst-array2-cmp.out): New rule.
16461 ($(objpfx)tst-array3.out): Remove rule.
16462 ($(objpfx)tst-array3-cmp.out): New rule.
16463 ($(objpfx)tst-array4.out): Remove rule.
16464 ($(objpfx)tst-array4-cmp.out): New rule.
16465 ($(objpfx)tst-array5.out): Remove rule.
16466 ($(objpfx)tst-array5-cmp.out): New rule.
16467 ($(objpfx)tst-array5-static.out): Remove rule.
16468 ($(objpfx)tst-array5-static-cmp.out): New rule.
16469 [$(run-built-tests) = yes] (tests): Depend on
16470 $(objpfx)order2-cmp.out.
16471 ($(objpfx)order2.out): Remove rule.
16472 ($(objpfx)order2-cmp.out): New rule.
16473 ($(objpfx)tst-initorder.out): Remove rule.
16474 [$(run-built-tests) = yes] (tests): Depend on
16475 $(objpfx)tst-initorder-cmp.out.
16476 ($(objpfx)tst-initorder-cmp.out): New rule.
16477 ($(objpfx)tst-initorder2.out): Remove rule.
16478 [$(run-built-tests) = yes] (tests): Depend on
16479 $(objpfx)tst-initorder2-cmp.out.
16480 ($(objpfx)tst-initorder2-cmp.out): New rule.
16481 [$(run-built-tests) = yes] (tests): Depend on
16482 $(objpfx)tst-unused-dep-cmp.out.
16483 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16484 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16485 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16486 on $(objpfx)tst-setvbuf1-cmp.out.
16487 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16488 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16489 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16490 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16491 ($(objpfx)tst-svc.out): Remove rule.
16492 ($(objpfx)tst-svc-cmp.out): New rule.
16493
16494 2014-02-13 Joseph Myers <joseph@codesourcery.com>
16495
16496 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16497 * ctype/ctype.h [__USE_MISC]: Likewise.
16498 * dirent/dirent.h [__USE_MISC]: Likewise.
16499 * grp/grp.h [__USE_MISC]: Likewise.
16500 * io/fcntl.h [__USE_MISC]: Likewise.
16501 * io/sys/stat.h [__USE_MISC]: Likewise.
16502 * libio/stdio.h [__USE_MISC]: Likewise.
16503 * posix/unistd.h [__USE_MISC]: Likewise.
16504 * pwd/pwd.h [__USE_MISC]: Likewise.
16505 * stdlib.h [__USE_MISC]: Likewise.
16506 * string/bits/string2.h [__USE_MISC]: Likewise.
16507 * string/string.h [__USE_MISC]: Likewise.
16508 * time/time.h [__USE_MISC]: Likewise.
16509
16510 2014-02-13 Andreas Schwab <schwab@suse.de>
16511
16512 [BZ #16574]
16513 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16514 second answer buffer if it was separately allocated.
16515
16516 2014-02-12 Joseph Myers <joseph@codesourcery.com>
16517
16518 * sysdeps/mips/math-tests.h: Include <features.h>.
16519 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16520 (ROUNDING_TESTS_long_double): Do not define.
16521 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16522 (EXCEPTION_TESTS_long_double): Likewise.
16523 * sysdeps/mips/mips64/libm-test-ulps: Update.
16524
16525 * include/features.h (__USE_BSD): Remove macro definitions.
16526 (__USE_SVID): Likewise.
16527 (_BSD_SOURCE): Likewise.
16528 (_SVID_SOURCE): Likewise.
16529 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16530 from definition of _DEFAULT_SOURCE.
16531 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16532 [_DEFAULT_SOURCE].
16533 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16534 * bits/mman.h [__USE_BSD]: Likewise.
16535 * bits/termios.h [__USE_BSD]: Likewise.
16536 * bits/waitstatus.h [__USE_BSD]: Likewise.
16537 * ctype/ctype.h [__USE_SVID]: Likewise.
16538 * dirent/dirent.h [__USE_BSD]: Likewise.
16539 * grp/grp.h [__USE_SVID]: Likewise.
16540 [__USE_BSD]: Likewise.
16541 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16542 * io/fcntl.h [__USE_BSD]: Likewise.
16543 * io/ftw.h [__USE_BSD]: Likewise.
16544 * io/sys/stat.h [__USE_BSD]: Likewise.
16545 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16546 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16547 * libio/stdio.h [__USE_SVID]: Likewise.
16548 [__USE_BSD]: Likewise.
16549 * math/math.h [__USE_SVID]: Likewise.
16550 [__USE_BSD]: Likewise.
16551 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16552 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16553 * misc/search.h [__USE_SVID]: Likewise.
16554 * misc/sys/mman.h [__USE_BSD]: Likewise.
16555 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16556 * misc/sys/uio.h [__USE_BSD]: Likewise.
16557 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16558 * posix/glob.h [__USE_BSD]: Likewise.
16559 * posix/regex.h [__USE_BSD]: Likewise.
16560 * posix/sys/types.h [__USE_BSD]: Likewise.
16561 [__USE_SVID]: Likewise.
16562 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16563 * posix/sys/wait.h [__USE_BSD]: Likewise.
16564 [__USE_SVID]: Likewise.
16565 * posix/unistd.h [__USE_BSD]: Likewise.
16566 [__USE_SVID]: Likewise.
16567 * pwd/pwd.h [__USE_SVID]: Likewise.
16568 * resolv/netdb.h [__USE_BSD]: Likewise.
16569 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16570 * signal/signal.h [__USE_BSD]: Likewise.
16571 [__USE_SVID]: Likewise.
16572 * socket/sys/socket.h [__USE_BSD]: Likewise.
16573 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16574 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16575 [__USE_SVID]: Likewise.
16576 * string/bits/string2.h [__USE_BSD]: Likewise.
16577 [__USE_SVID]: Likewise.
16578 * string/bits/string3.h [__USE_BSD]: Likewise.
16579 * string/endian.h [__USE_BSD]: Likewise.
16580 * string/string.h [__USE_SVID]: Likewise.
16581 [__USE_BSD]: Likewise.
16582 * string/strings.h [__USE_BSD]: Likewise.
16583 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16584 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16585 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16586 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16587 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16588 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16589 Likewise.
16590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16591 Likewise.
16592 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16593 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16594 Likewise.
16595 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16596 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16597 Likewise.
16598 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16599 Likewise.
16600 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16601 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16602 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16603 Likewise.
16604 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16605 Likewise.
16606 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16607 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16608 * termios/termios.h [__USE_BSD]: Likewise.
16609 * time/sys/time.h [__USE_BSD]: Likewise.
16610 * time/time.h [__USE_BSD]: Likewise.
16611 [__USE_SVID]: Likewise.
16612
16613 * Makefile (subdir_targets): Remove subdir_lint.out.
16614
16615 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16616 (do-tst-printf): Likewise.
16617 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16618 $(objpfx)tst-printf.out.
16619
16620 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16621
16622 * Makerules (check-abi-%): Change target to
16623 $(objpfx)check-abi-%.out.
16624 (check-abi target): Update dependencies.
16625 (check-abi-pattern variable): Redirect output of diff to $@.
16626 (check-abi variable): Likewise.
16627 * elf/Makefile (check-abi): Update dependencies.
16628
16629 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16630 unused.
16631 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16632 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16633 subnormal range.
16634 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16635 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16636 value has largest subnormal exponent.
16637 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16638 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16639 * sysdeps/aarch64/soft-fp/sfp-machine.h
16640 (_FP_TININESS_AFTER_ROUNDING): New macro.
16641 * sysdeps/alpha/soft-fp/sfp-machine.h
16642 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16643 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16644 Likewise.
16645 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16646 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16647 * sysdeps/mips/soft-fp/sfp-machine.h
16648 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16649 * sysdeps/powerpc/soft-fp/sfp-machine.h
16650 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16651 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16652 Likewise.
16653 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16654 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16655 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16656 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16657 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16658 Likewise.
16659
16660 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
16661
16662 [BZ #16545]
16663 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16664 model 1.
16665
16666 2014-02-12 Richard Henderson <rth@redhat.com>
16667
16668 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16669 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16670 * sysdeps/unix/sysv/linux/alpha: Move directory from
16671 ports/sysdeps/unix/sysv/linux/alpha.
16672 * README: Update listing for alpha-*-linux-gnu.
16673
16674 2014-02-11 Joseph Myers <joseph@codesourcery.com>
16675
16676 * include/features.h: Update comment documenting feature test
16677 macros.
16678 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16679 _DEFAULT_SOURCE.
16680 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16681 (_SVID_SOURCE): Likewise.
16682 (_DEFAULT_SOURCE): Update description of default features.
16683 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16684 with _GNU_SOURCE.
16685 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16686 (S_ISVTX): Likewise.
16687 * manual/math.texi (Mathematical Constants): Likewise.
16688 * manual/signal.texi (Interrupted Primitives): Likewise.
16689 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16690 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16691 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16692 Don't refer to _SVID_SOURCE in warning text.
16693
16694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16695
16696 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16697 already defined.
16698 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16699 * sysdeps/mips/dl-lookup.c: Remove.
16700 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16701
16702 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16703
16704 [BZ #16447]
16705 * math/auto-libm-test-in: Add testcase for expl.
16706 * math/auto-libm-test-out: Regenerate.
16707 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16708 calculation of unsafe.
16709 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16710
16711 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16712
16713 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16714 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16715 ports/sysdeps/unix/sysv/linux/aarch64.
16716 * README: Update listing for aarch64*-*-linux-gnu.
16717
16718 2014-02-11 Will Newton <will.newton@linaro.org>
16719
16720 * manual/probes.texi (Mathematical Function Probes): Use
16721 "triggered" instead of "hit".
16722
16723 * manual/probes.texi (Internal Probes): Add documentation
16724 of setjmp, longjmp and longjmp_target probes.
16725
16726 * include/stap-probe.h: Add comment about probe argument
16727 format.
16728
16729 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16730 definition. (tr_where, tr_freehook, tr_mallochook,
16731 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16732
16733 2014-02-11 David S. Miller <davem@davemloft.net>
16734
16735 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16736 processing int_tests.
16737
16738 2014-02-10 Joseph Myers <joseph@codesourcery.com>
16739
16740 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16741 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16742 * sysdeps/unix/sysv/linux/mips: Move directory from
16743 ports/sysdeps/unix/sysv/linux/mips.
16744 * README: Update listing for mips-*-linux-gnu and
16745 mips64-*-linux-gnu.
16746
16747 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16748
16749 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16750 * sysdeps/unix/sysv/linux/m68k: Move directory from
16751 ports/sysdeps/unix/sysv/linux/m68k.
16752 * README: Update listing for m68k-*-linux-gnu.
16753
16754 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16755
16756 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16757 * sysdeps/unix/sysv/linux/generic: Move directory from
16758 ports/sysdeps/unix/sysv/linux/generic.
16759 * sysdeps/unix/sysv/linux/tile: Move directory from
16760 ports/sysdeps/unix/sysv/linux/tile.
16761 * README: Update listing for tile*-*-linux-gnu.
16762
16763 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
16764
16765 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16766 __builtin_expect.
16767 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16768 * catgets/open_catalog.c (__open_catalog): Likewise.
16769 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16770 * debug/confstr_chk.c: Likewise.
16771 * debug/fread_chk.c (__fread_chk): Likewise.
16772 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16773 * debug/getgroups_chk.c: Likewise.
16774 * debug/mbsnrtowcs_chk.c: Likewise.
16775 * debug/mbsrtowcs_chk.c: Likewise.
16776 * debug/mbstowcs_chk.c: Likewise.
16777 * debug/memcpy_chk.c: Likewise.
16778 * debug/memmove_chk.c: Likewise.
16779 * debug/mempcpy_chk.c: Likewise.
16780 * debug/memset_chk.c: Likewise.
16781 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16782 * debug/strcat_chk.c (__strcat_chk): Likewise.
16783 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16784 * debug/strncat_chk.c (__strncat_chk): Likewise.
16785 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16786 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16787 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16788 * debug/wcpncpy_chk.c: Likewise.
16789 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16790 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16791 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16792 * debug/wcsncpy_chk.c: Likewise.
16793 * debug/wcsnrtombs_chk.c: Likewise.
16794 * debug/wcsrtombs_chk.c: Likewise.
16795 * debug/wcstombs_chk.c: Likewise.
16796 * debug/wmemcpy_chk.c: Likewise.
16797 * debug/wmemmove_chk.c: Likewise.
16798 * debug/wmempcpy_chk.c: Likewise.
16799 * debug/wmemset_chk.c: Likewise.
16800 * dirent/scandirat.c (SCANDIRAT): Likewise.
16801 * dlfcn/dladdr1.c (dladdr1): Likewise.
16802 * dlfcn/dladdr.c (dladdr): Likewise.
16803 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16804 * dlfcn/dlerror.c (__dlerror): Likewise.
16805 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16806 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16807 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16808 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16809 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16810 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16811 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16812 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16813 Likewise.
16814 * elf/dl-conflict.c: Likewise.
16815 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16816 * elf/dl-dst.h: Likewise.
16817 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16818 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16819 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16820 * elf/dl-init.c (call_init, _dl_init): Likewise.
16821 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16822 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16823 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16824 Likewise.
16825 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16826 Likewise.
16827 * elf/dl-minimal.c (__libc_memalign): Likewise.
16828 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16829 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16830 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16831 * elf/dl-sym.c (do_sym): Likewise.
16832 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16833 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16834 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16835 * elf/dl-writev.h (_dl_writev): Likewise.
16836 * elf/ldconfig.c (search_dir): Likewise.
16837 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16838 (dl_main): Likewise.
16839 * elf/setup-vdso.h (setup_vdso): Likewise.
16840 * grp/compat-initgroups.c (compat_call): Likewise.
16841 * grp/fgetgrent.c (fgetgrent): Likewise.
16842 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16843 * grp/putgrent.c (putgrent): Likewise.
16844 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16845 Likewise.
16846 * hurd/hurdinit.c: Likewise.
16847 * iconvdata/8bit-gap.c (struct): Likewise.
16848 * iconvdata/ansi_x3.110.c : Likewise.
16849 * iconvdata/big5.c : Likewise.
16850 * iconvdata/big5hkscs.c : Likewise.
16851 * iconvdata/cp1255.c: Likewise.
16852 * iconvdata/cp1258.c : Likewise.
16853 * iconvdata/cp932.c : Likewise.
16854 * iconvdata/euc-cn.c: Likewise.
16855 * iconvdata/euc-jisx0213.c : Likewise.
16856 * iconvdata/euc-jp.c: Likewise.
16857 * iconvdata/euc-jp-ms.c : Likewise.
16858 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16859 * iconvdata/gb18030.c : Likewise.
16860 * iconvdata/gbbig5.c (const): Likewise.
16861 * iconvdata/gbgbk.c: Likewise.
16862 * iconvdata/gbk.c : Likewise.
16863 * iconvdata/ibm1364.c : Likewise.
16864 * iconvdata/ibm930.c : Likewise.
16865 * iconvdata/ibm932.c: Likewise.
16866 * iconvdata/ibm933.c : Likewise.
16867 * iconvdata/ibm935.c : Likewise.
16868 * iconvdata/ibm937.c : Likewise.
16869 * iconvdata/ibm939.c : Likewise.
16870 * iconvdata/ibm943.c: Likewise.
16871 * iconvdata/iso_11548-1.c: Likewise.
16872 * iconvdata/iso-2022-cn.c : Likewise.
16873 * iconvdata/iso-2022-cn-ext.c : Likewise.
16874 * iconvdata/iso-2022-jp-3.c: Likewise.
16875 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16876 * iconvdata/iso-2022-kr.c : Likewise.
16877 * iconvdata/iso646.c (gconv_end): Likewise.
16878 * iconvdata/iso_6937-2.c : Likewise.
16879 * iconvdata/iso_6937.c : Likewise.
16880 * iconvdata/iso8859-1.c: Likewise.
16881 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16882 * iconvdata/shift_jisx0213.c : Likewise.
16883 * iconvdata/sjis.c : Likewise.
16884 * iconvdata/t.61.c : Likewise.
16885 * iconvdata/tcvn5712-1.c : Likewise.
16886 * iconvdata/tscii.c: Likewise.
16887 * iconvdata/uhc.c : Likewise.
16888 * iconvdata/unicode.c (gconv_end): Likewise.
16889 * iconvdata/utf-16.c (gconv_end): Likewise.
16890 * iconvdata/utf-32.c (gconv_end): Likewise.
16891 * iconvdata/utf-7.c (base64): Likewise.
16892 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16893 * iconv/gconv_close.c (__gconv_close): Likewise.
16894 * iconv/gconv_open.c (__gconv_open): Likewise.
16895 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16896 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16897 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16898 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16899 (ucs4le_internal_loop_single): Likewise.
16900 * iconv/iconv.c (iconv): Likewise.
16901 * iconv/iconv_close.c: Likewise.
16902 * iconv/loop.c (SINGLE): Likewise.
16903 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16904 * include/atomic.h: Likewise.
16905 * inet/inet6_option.c (option_alloc): Likewise.
16906 * intl/bindtextdom.c (set_binding_values): Likewise.
16907 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16908 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16909 * intl/localealias.c (read_alias_file): Likewise.
16910 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16911 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16912 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16913 * libio/fmemopen.c (fmemopen): Likewise.
16914 * libio/iofgets.c (_IO_fgets): Likewise.
16915 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16916 * libio/iofgetws.c (fgetws): Likewise.
16917 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16918 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16919 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16920 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16921 * locale/findlocale.c (_nl_find_locale): Likewise.
16922 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16923 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16924 Likewise.
16925 * locale/setlocale.c (setlocale): Likewise.
16926 * login/programs/pt_chown.c (main): Likewise.
16927 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16928 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16929 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16930 (mmap, mmap64, mremap, munmap): Likewise.
16931 * math/e_exp2l.c: Likewise.
16932 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16933 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16934 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16935 * math/s_catan.c (__catan): Likewise.
16936 * math/s_catanf.c (__catanf): Likewise.
16937 * math/s_catanh.c (__catanh): Likewise.
16938 * math/s_catanhf.c (__catanhf): Likewise.
16939 * math/s_catanhl.c (__catanhl): Likewise.
16940 * math/s_catanl.c (__catanl): Likewise.
16941 * math/s_ccosh.c (__ccosh): Likewise.
16942 * math/s_ccoshf.c (__ccoshf): Likewise.
16943 * math/s_ccoshl.c (__ccoshl): Likewise.
16944 * math/s_cexp.c (__cexp): Likewise.
16945 * math/s_cexpf.c (__cexpf): Likewise.
16946 * math/s_cexpl.c (__cexpl): Likewise.
16947 * math/s_clog10.c (__clog10): Likewise.
16948 * math/s_clog10f.c (__clog10f): Likewise.
16949 * math/s_clog10l.c (__clog10l): Likewise.
16950 * math/s_clog.c (__clog): Likewise.
16951 * math/s_clogf.c (__clogf): Likewise.
16952 * math/s_clogl.c (__clogl): Likewise.
16953 * math/s_csin.c (__csin): Likewise.
16954 * math/s_csinf.c (__csinf): Likewise.
16955 * math/s_csinh.c (__csinh): Likewise.
16956 * math/s_csinhf.c (__csinhf): Likewise.
16957 * math/s_csinhl.c (__csinhl): Likewise.
16958 * math/s_csinl.c (__csinl): Likewise.
16959 * math/s_csqrt.c (__csqrt): Likewise.
16960 * math/s_csqrtf.c (__csqrtf): Likewise.
16961 * math/s_csqrtl.c (__csqrtl): Likewise.
16962 * math/s_ctan.c (__ctan): Likewise.
16963 * math/s_ctanf.c (__ctanf): Likewise.
16964 * math/s_ctanh.c (__ctanh): Likewise.
16965 * math/s_ctanhf.c (__ctanhf): Likewise.
16966 * math/s_ctanhl.c (__ctanhl): Likewise.
16967 * math/s_ctanl.c (__ctanl): Likewise.
16968 * math/w_pow.c: Likewise.
16969 * math/w_powf.c: Likewise.
16970 * math/w_powl.c: Likewise.
16971 * math/w_scalb.c (sysv_scalb): Likewise.
16972 * math/w_scalbf.c (sysv_scalbf): Likewise.
16973 * math/w_scalbl.c (sysv_scalbl): Likewise.
16974 * misc/error.c (error_tail): Likewise.
16975 * misc/pselect.c (__pselect): Likewise.
16976 * nis/nis_callback.c (__nis_create_callback): Likewise.
16977 * nis/nis_call.c (__nisfind_server): Likewise.
16978 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16979 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16980 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16981 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16982 * nis/nis_lookup.c (nis_lookup): Likewise.
16983 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16984 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16985 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16986 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16987 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16988 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16989 * nis/nss_compat/compat-initgroups.c (add_group)
16990 (internal_getgrent_r): Likewise.
16991 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16992 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16993 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16994 (internal_getspnam_r): Likewise.
16995 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16996 (_nss_nis_getaliasbyname_r): Likewise.
16997 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16998 (_nss_nis_getntohost_r): Likewise.
16999 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17000 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17001 (_nss_nis_getgrgid_r): Likewise.
17002 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17003 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17004 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17005 (_nss_nis_gethostbyname4_r): Likewise.
17006 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17007 (initgroups_netid): Likewise.
17008 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17009 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17010 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17011 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17012 (_nss_nis_getprotobynumber_r): Likewise.
17013 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17014 (_nss_nis_getsecretkey): Likewise.
17015 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17016 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17017 (_nss_nis_getpwuid_r): Likewise.
17018 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17019 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17020 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17021 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17022 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17023 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17024 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17025 Likewise.
17026 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17027 (_nss_nisplus_getntohost_r): Likewise.
17028 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17029 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17030 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17031 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17032 Likewise.
17033 * nis/nss_nisplus/nisplus-initgroups.c
17034 (_nss_nisplus_initgroups_dyn): Likewise.
17035 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17036 (_nss_nisplus_getnetbyaddr_r): Likewise.
17037 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17038 (_nss_nisplus_getprotobynumber_r): Likewise.
17039 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17040 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17041 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17042 Likewise.
17043 * nis/nss_nisplus/nisplus-service.c
17044 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17045 (_nss_nisplus_getservbyport_r): Likewise.
17046 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17047 (_nss_nisplus_getspnam_r): Likewise.
17048 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17049 Likewise.
17050 * nscd/aicache.c (addhstaiX): Likewise.
17051 * nscd/cache.c (cache_search, prune_cache): Likewise.
17052 * nscd/connections.c (register_traced_file, send_ro_fd)
17053 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17054 (main_loop_epoll): Likewise.
17055 * nscd/grpcache.c (addgrbyX): Likewise.
17056 * nscd/hstcache.c (addhstbyX): Likewise.
17057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17058 * nscd/mem.c (gc, mempool_alloc): Likewise.
17059 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17060 (addinnetgrX): Likewise.
17061 * nscd/nscd-client.h (__nscd_acquire_maplock)
17062 (__nscd_drop_map_ref): Likewise.
17063 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17064 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17065 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17066 Likewise.
17067 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17068 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17069 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17070 (__nscd_get_map_ref): Likewise.
17071 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17072 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17073 Likewise.
17074 * nscd/pwdcache.c (addpwbyX): Likewise.
17075 * nscd/selinux.c (preserve_capabilities): Likewise.
17076 * nscd/servicescache.c (addservbyX): Likewise.
17077 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17078 * posix/fnmatch.c (fnmatch): Likewise.
17079 * posix/getopt.c (_getopt_internal_r): Likewise.
17080 * posix/glob.c (glob, glob_in_dir): Likewise.
17081 * posix/wordexp.c (exec_comm_child): Likewise.
17082 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17083 (getanswer_r, gaih_getanswer_slice): Likewise.
17084 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17085 * resolv/res_init.c: Likewise.
17086 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17087 * resolv/res_query.c (__libc_res_nquery): Likewise.
17088 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17089 Likewise.
17090 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17091 * stdio-common/perror.c (perror): Likewise.
17092 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17093 * stdio-common/tmpnam.c (tmpnam): Likewise.
17094 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17095 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17096 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17097 Likewise.
17098 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17099 * stdlib/putenv.c (putenv): Likewise.
17100 * stdlib/setenv.c (__add_to_environ): Likewise.
17101 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17102 * stdlib/strtol_l.c (INTERNAL): Likewise.
17103 * string/memmem.c (memmem): Likewise.
17104 * string/strerror.c (strerror): Likewise.
17105 * string/strnlen.c (__strnlen): Likewise.
17106 * string/test-memmem.c (simple_memmem): Likewise.
17107 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17108 * sunrpc/pm_getport.c (__get_socket): Likewise.
17109 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17110 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17111 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17112 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17113 Likewise.
17114 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17115 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17116 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17117 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17118 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17119 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17120 Likewise.
17121 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17122 Likewise.
17123 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17124 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17125 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17126 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17127 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17129 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17130 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17131 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17132 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17133 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17134 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17135 Likewise.
17136 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17137 Likewise.
17138 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17139 Likewise.
17140 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17141 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17142 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17143 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17144 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17145 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17146 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17147 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17148 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17149 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17150 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17151 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17152 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17153 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17155 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17156 Likewise.
17157 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17158 Likewise.
17159 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17160 Likewise.
17161 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17162 Likewise.
17163 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17164 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17165 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17166 Likewise.
17167 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17168 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17169 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17170 * sysdeps/posix/sleep.c: Likewise.
17171 * sysdeps/posix/tempname.c: Likewise.
17172 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17173 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17174 Likewise.
17175 * sysdeps/powerpc/powerpc32/dl-machine.h
17176 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17177 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17178 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17179 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17180 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17181 Likewise.
17182 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17183 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17184 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17185 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17186 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17187 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17188 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17189 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17190 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17191 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17192 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17193 (elf_machine_lazy_rel): Likewise.
17194 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17195 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17196 (elf_machine_lazy_rel): Likewise.
17197 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17198 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17199 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17200 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17201 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17202 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17203 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17204 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17205 Likewise.
17206 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17207 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17208 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17209 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17210 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17211 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17212 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17213 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17214 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17215 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17216 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17217 Likewise.
17218 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17219 (__posix_fallocate64_l64): Likewise.
17220 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17221 (posix_fallocate): Likewise.
17222 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17223 Likewise.
17224 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17225 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17226 (getifaddrs_internal): Likewise.
17227 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17228 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17229 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17230 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17231 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17232 (__posix_fallocate64_l64): Likewise.
17233 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17234 Likewise.
17235 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17236 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17237 (__get_clockfreq): Likewise.
17238 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17239 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17240 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17241 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17242 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17243 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17244 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17245 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17246 Likewise.
17247 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17248 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17249 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17250 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17251 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17252 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17253 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17254 Likewise.
17255 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17256 (posix_fallocate): Likewise.
17257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17258 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17259 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17260 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17261 (elf_machine_rela, elf_machine_rela_relative)
17262 (elf_machine_lazy_rel): Likewise.
17263 * time/asctime.c (asctime_internal): Likewise.
17264 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17265 * time/tzset.c (__tzset_parse_tz): Likewise.
17266 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17267 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17268 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17269 * wcsmbs/wcsmbsload.h: Likewise.
17270
17271 [BZ #15894]
17272 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17273
17274 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17275 (arena_get2): Remove THREAD_STATS conditionals.
17276 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17277 (__malloc_stats, int): Likewise.
17278
17279 2014-02-08 Mike Frysinger <vapier@gentoo.org>
17280
17281 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17282 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17283
17284 * manual/setjmp.texi: Fix typos/grammar errors.
17285
17286 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17287 Only return early when n is <= 0. Delete unused return statement.
17288
17289 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17290 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17291 * debug/tst-longjmp_chk3.c: New file.
17292
17293 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17294 (test_main): Replace code with set_fortify_handler call.
17295 * debug/test-strcpy_chk.c: Likewise.
17296 * debug/tst-chk1.c: Likewise.
17297 * debug/tst-longjmp_chk.c: Likewise.
17298 * test-skeleton.c: Include fcntl.h & paths.h
17299 (set_fortify_handler): Define.
17300
17301 * debug/tst-longjmp_chk.c: Add header comment and include
17302 ../test-skeleton.c.
17303 (do_test): Mark static.
17304 (TEST_FUNCTION): Define.
17305
17306 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17307 (IP_PMTUDISC_INTERFACE): Likewise.
17308 (IP_MULTICAST_IF): Likewise.
17309 (IP_MULTICAST_TTL): Likewise.
17310 (IP_MULTICAST_LOOP): Likewise.
17311 (IP_ADD_MEMBERSHIP): Likewise.
17312 (IP_DROP_MEMBERSHIP): Likewise.
17313 (IP_UNBLOCK_SOURCE): Likewise.
17314 (IP_BLOCK_SOURCE): Likewise.
17315 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17316 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17317 (IP_MSFILTER): Likewise.
17318 (MCAST_JOIN_GROUP): Likewise.
17319 (MCAST_BLOCK_SOURCE): Likewise.
17320 (MCAST_UNBLOCK_SOURCE): Likewise.
17321 (MCAST_LEAVE_GROUP): Likewise.
17322 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17323 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17324 (MCAST_MSFILTER): Likewise.
17325 (IP_MULTICAST_ALL): Likewise.
17326 (IP_UNICAST_IF): Likewise.
17327
17328 * timezone/Makefile: Delete $(have-ksh) check.
17329 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17330 * timezone/tzselect.ksh: Add +x mode bits.
17331
17332 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17333 (ANON_INODE_FS_MAGIC): Likewise.
17334 (BDEVFS_MAGIC): Likewise.
17335 (BINFMTFS_MAGIC): Likewise.
17336 (BTRFS_TEST_MAGIC): Likewise.
17337 (CRAMFS_MAGIC_WEND): Likewise.
17338 (DEBUGFS_MAGIC): Likewise.
17339 (ECRYPTFS_SUPER_MAGIC): Likewise.
17340 (EXT3_SUPER_MAGIC): Likewise.
17341 (EXT4_SUPER_MAGIC): Likewise.
17342 (FUTEXFS_SUPER_MAGIC): Likewise.
17343 (HOSTFS_SUPER_MAGIC): Likewise.
17344 (HUGETLBFS_MAGIC): Likewise.
17345 (MINIX3_SUPER_MAGIC): Likewise.
17346 (MTD_INODE_FS_MAGIC): Likewise.
17347 (NILFS_SUPER_MAGIC): Likewise.
17348 (OPENPROM_SUPER_MAGIC): Likewise.
17349 (PIPEFS_MAGIC): Likewise.
17350 (PSTOREFS_MAGIC): Likewise.
17351 (QNX6_SUPER_MAGIC): Likewise.
17352 (RAMFS_MAGIC): Likewise.
17353 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17354 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17355 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17356 (SECURITYFS_MAGIC): Likewise.
17357 (SELINUX_MAGIC): Likewise.
17358 (SMACK_MAGIC): Likewise.
17359 (SOCKFS_MAGIC): Likewise.
17360 (SQUASHFS_MAGIC): Likewise.
17361 (STACK_END_MAGIC): Likewise.
17362 (TMPFS_MAGIC): Likewise.
17363 (USBDEVICE_SUPER_MAGIC): Likewise.
17364 (V9FS_MAGIC): Likewise.
17365 (XENFS_SUPER_MAGIC): Likewise.
17366 (CRAMFS_MAGIC): Fix typo in comment.
17367 (EXT2_SUPER_MAGIC): Update comment.
17368 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17369
17370 2014-02-08 Joseph Myers <joseph@codesourcery.com>
17371
17372 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17373 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17374 * sysdeps/unix/sysv/linux/arm: Move directory from
17375 ports/sysdeps/unix/sysv/linux/arm.
17376 * README: Update listing for arm-*-linux-gnueabi.
17377
17378 * README: Remove mention of am33.
17379
17380 2014-02-07 Roland McGrath <roland@hack.frob.com>
17381
17382 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17383 than the comma operator, to avoid "rhs of comma has no effect"
17384 compiler warnings.
17385 (__sigfillset, __sigandset, __sigorset): Likewise.
17386 * include/signal.h (__sigemptyset): Likewise.
17387 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17388
17389 2014-02-07 Allan McRae <allan@archlinux.org>
17390
17391 * version.h (RELEASE): Set to "development".
17392 (VERSION): Set to "2.19.90"
17393 * NEWS: Add 2.20 section.
17394
17395 2014-02-06 Carlos O'Donell <carlos@redhat.com>
17396
17397 [BZ #16529]
17398 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17399
17400 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17401
17402 * manual/contrib.texi: Update entry for Carlos O'Donell,
17403 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17404
17405 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
17406
17407 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17408
17409 * sysdeps/unix/sysv/linux/kernel-features.h
17410 [__LINUX_KERNEL_VERSION >= 0x020621]
17411 (__ASSUME_PROC_PID_TASK_COMM): Define.
17412
17413 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17414
17415 [BZ #16398]
17416 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17417 conversion when destination buffer does not have enough space.
17418 * libio/tst-ftell-partial-wide.c: New test case.
17419 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17420
17421 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17422 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17423 Leonard and Allan McRae.
17424
17425 2014-02-04 David S. Miller <davem@davemloft.net>
17426
17427 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17428 32-bit.
17429
17430 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17431
17432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17433 New file
17434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17435 New file
17436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17437 New file.
17438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17439 New file.
17440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17441 New file.
17442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17443 New file.
17444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17445 New file.
17446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17447 New file.
17448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17449 New file.
17450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17451 New file.
17452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17453 New file.
17454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17455 New file.
17456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17457 New file.
17458
17459 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17460
17461 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17462 * shlib-versions: Likewise.
17463
17464 2014-02-04 Roland McGrath <roland@hack.frob.com>
17465 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17466
17467 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17468 (abilist-pattern): New variable, set to %-le.abilist.
17469
17470 * Makerules (abilist-pattern): New variable.
17471 (vpath): Use $(abilist-pattern) in place of %.abilist.
17472 (check-abi-% pattern rule): Likewise.
17473 (check-abi, update-abi): Likewise.
17474
17475 2014-02-04 Eric Wong <normalperson@yhbt.net>
17476
17477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17478
17479 2014-02-03 Carlos O'Donell <carlos@redhat.com>
17480
17481 * manual/startup.texi: Add next, previous, and top entries for
17482 the `Program Arguments' and `Environment Variables' nodes.
17483
17484 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
17485
17486 * manual/macros.texi: Add comments before MTASC-safety macros.
17487
17488 * manual/users.texi: Document MTASC-safety properties.
17489
17490 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17491 (pthread_getspecific, pthread_setspecific): Format with
17492 @deftypefun, and add @safety note.
17493 * manual/signal.texi: Move comments that analyze the above
17494 functions to their home place.
17495
17496 2014-02-03 Allan McRae <allan@archlinux.org>
17497
17498 * po/sl.po: Update Slovenian translation from translation project.
17499
17500 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
17501
17502 * manual/time.texi (timegm): Add missing blank after @c.
17503 Reported by Joseph Myers <joseph@codesourcery.com>.
17504
17505 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
17506
17507 * manual/check-safety.sh: New.
17508 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17509
17510 * manual/terminal.texi: Document MTASC-safety properties.
17511
17512 * manual/filesys.texi: Document MTASC-safety properties.
17513
17514 * manual/errno.texi: Document MTASC-safety properties.
17515
17516 * manual/intro.texi: Document safety identifiers and
17517 conditionals.
17518
17519 * manual/string.texi (wcstok): Fix prototype.
17520 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17521
17522 * manual/time.texi: Document MTASC-safety properties.
17523
17524 * manual/string.texi: Document MTASC-safety properties.
17525
17526 * manual/threads.texi: Document MTASC-safety properties.
17527
17528 * manual/stdio.texi: Document MTASC-safety properties.
17529
17530 * manual/syslog.texi: Document MTASC-safety properties.
17531
17532 * manual/sysinfo.texi: Document MTASC-safety properties.
17533
17534 * manual/startup.texi: Document MTASC-safety properties.
17535
17536 * manual/socket.texi: Document MTASC-safety properties.
17537
17538 * manual/signal.texi: Document MTASC-safety properties.
17539
17540 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
17541
17542 * manual/setjmp.texi: Document MTASC-safety properties.
17543
17544 * manual/search.texi: Document MTASC-safety properties.
17545
17546 * manual/resource.texi: Document MTASC-safety properties.
17547
17548 * manual/process.texi: Document MTASC-safety properties.
17549
17550 * manual/platform.texi: Document MTASC-safety properties.
17551
17552 * manual/pipe.texi: Document MTASC-safety properties.
17553
17554 * manual/pattern.texi: Document MTASC-safety properties.
17555
17556 * manual/message.texi: Document MTASC-safety properties.
17557
17558 [BZ #12751]
17559 * manual/memory.texi: Document MTASC-safety properties.
17560
17561 * manual/math.texi: Document MTASC-safety properties.
17562
17563 * manual/locale.texi: Document MTASC-safety properties.
17564
17565 * manual/llio.texi: Document MTASC-safety properties.
17566
17567 * manual/libdl.texi: New.
17568
17569 * manual/lang.texi: Document MTASC-safety properties.
17570
17571 * manual/job.texi: Document MTASC-safety properties.
17572
17573 * manual/getopt.texi: Document MTASC-safety properties.
17574
17575 * manual/ctype.texi: Document MTASC-safety properties.
17576
17577 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17578
17579 [BZ #16046]
17580 * csu/libc-tls.c (static_map): Remove variable.
17581 (__libc_setup_tls): Use main executable's link map for TLS data.
17582 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17583 casing for LM_ID_BASE and GL(dl_nns).
17584 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17585 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17586 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17587 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17588 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17589 member.
17590 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17591 l_phnum members.
17592
17593 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
17594
17595 * manual/debug.texi: Document MTASC-safety properties.
17596
17597 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17598
17599 [BZ #16510]
17600 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17601 of __x86_64__ when disabling x87 inline functions.
17602
17603 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
17604
17605 * manual/charset.texi: Document MTASC-safety properties.
17606
17607 * manual/crypt.texi: Document MTASC-safety properties.
17608
17609 * manual/conf.texi: Document MTASC-safety properties.
17610
17611 * manual/arith.texi: Document MTASC-safety properties.
17612
17613 * manual/argp.texi: Document MTASC-safety properties.
17614
17615 * manual/macros.texi: Introduce macros to document multi
17616 thread, asynchronous signal and asynchronous cancellation
17617 safety properties.
17618 * manual/intro.texi: Introduce the properties themselves.
17619
17620 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17621
17622 * sysdeps/sh/sh4/Makefile: New file.
17623
17624 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17625
17626 * math/gen-libm-test.pl ($srcdir): New variable.
17627 ($auto_input): Use it.
17628
17629 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17630
17631 [BZ #16506]
17632 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17633 access beyond array bounds when parsing netgroups file.
17634
17635 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17636 the old buffer before realloc.
17637
17638 2014-01-27 Allan McRae <allan@archlinux.org>
17639
17640 * po/fr.po: Update French translation from translation project.
17641
17642 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17643
17644 * sysdeps/sh/libm-test-ulps: Regenerate.
17645
17646 2014-01-24 David S. Miller <davem@davemloft.net>
17647
17648 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17649
17650 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17651
17652 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17653 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17654
17655 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17656
17657 [BZ #16474]
17658 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17659 string pointers after reallocation.
17660
17661 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17662
17663 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17664 __SH4A__ instead of __SH_FPU_ANY__.
17665
17666 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17667
17668 * sysdeps/sh/fpu_control.h: New file.
17669 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17670 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17671 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17672 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17673 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17674 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17675 * sysdeps/sh/sys/ucontext.h: Remove.
17676 * sysdeps/sh/sys: Remove directory.
17677
17678 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17679
17680 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17681 s390/sys/ucontext.h.
17682 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17683 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17684
17685 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17686
17687 [BZ #15605]
17688 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17689
17690 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17691
17692 [BZ#16431]
17693 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17694 Adjust the vDSO correctly for internal calls.
17695 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17696
17697 2014-01-20 Allan McRae <allan@archlinux.org>
17698
17699 * po/ca.po: Update Catalan translation from translation project.
17700
17701 2014-01-16 Mike Frysinger <vapier@gentoo.org>
17702
17703 * sysdeps/s390/sotruss-lib.c: New file.
17704
17705 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17706
17707 [BZ#16430]
17708 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17709 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17710 local calls issues by not having a PLT stub required for IFUNC calls.
17711 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17712
17713 2014-01-16 Joseph Myers <joseph@codesourcery.com>
17714
17715 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17716 * math/test-fpucw-static.c: Likewise.
17717
17718 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17719
17720 [BZ #16453]
17721 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17722
17723 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17724
17725 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17726 implementation for powerpc.
17727
17728 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
17729
17730 [BZ #14782]
17731 * sysdeps/posix/system.c (__libc_system): Do not enable
17732 asynchronous cancellation.
17733
17734 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17735
17736 [BZ #16427]
17737 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17738 handling only for numbers special also in the IEEE case.
17739
17740 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17741
17742 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17743
17744 2014-01-11 Allan McRae <allan@archlinux.org>
17745
17746 * po/bg.po: Update Bulgarian translation from translation project.
17747
17748 * po/de.po: Update German translation from translation project.
17749
17750 2014-01-10 Roland McGrath <roland@hack.frob.com>
17751
17752 * sysdeps/generic/gcc-compat.h: New file.
17753
17754 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17755
17756 * benchtests/asin-inputs: Correct slow inputs.
17757 * benchtests/acos-inputs: Likewise.
17758
17759 2014-01-10 Allan McRae <allan@archlinux.org>
17760
17761 * po:sv.po: Update Swedish translation from translation project.
17762
17763 * po/vi.po: Update Vietnamese translation from translation project.
17764
17765 * po/eo.po: Update Esperanto translation from translation project.
17766
17767 * po/cs.po: Update Czech translation from translation project.
17768
17769 * po/nl.po: Update Dutch translation from translation project.
17770
17771 * po/pl.po: Update Polish translation from translation project.
17772
17773 * po/ru.po: Update Russian translation from translation project.
17774
17775 * po/uk.po: Update Ukrainian translation from translation project.
17776
17777 2014-01-08 Brooks Moses <bmoses@google.com>
17778
17779 * elf/dl-load.c: Fix comment typo.
17780
17781 2014-01-08 Carlos O'Donell <carlos@redhat.com>
17782
17783 * po/header.pot: Rename to...
17784 * po/pot.header: ... this.
17785 * po/Makefile: Use pot.header.
17786
17787 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17788 Maxim Kuvyrkov <maxim@kugelworks.com>
17789
17790 [BZ #16394]
17791 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17792 SRC and DEST against LEN.
17793
17794 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17795
17796 [BZ #16414]
17797 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17798 implementation.
17799 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17800
17801 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17802
17803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17804
17805 2014-01-08 Joseph Myers <joseph@codesourcery.com>
17806
17807 [BZ #16408]
17808 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17809 for large positive arguments.
17810
17811 2014-01-07 Joseph Myers <joseph@codesourcery.com>
17812
17813 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17814
17815 * math/auto-libm-test-in: Mark various tests with
17816 xfail-rounding:ldbl-128ibm.
17817 * math/auto-libm-test-out: Regenerated.
17818
17819 [BZ #16407]
17820 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17821 Increase overflow threshold.
17822
17823 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
17824
17825 [BZ #14286]
17826 * stdio-common/vfprintf.c: Check for integer overflow.
17827
17828 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17829
17830 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17831 the first argument and return value of __tls_get_addr_internal.
17832
17833 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17834
17835 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17836 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17837
17838 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17839
17840 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17841 * sysdeps/s390/rtld-global-offsets.sym: New file.
17842 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17843 GLIBC_2.19 symbol.
17844 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17845 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17846 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17847 ... this.
17848 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17849 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17850 ... this.
17851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17852 Regenerate.
17853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17854 Regenerate.
17855 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17856 halfs of GPRs for high_gprs contexts.
17857 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17858 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17859 field.
17860 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17861 uc_flags field.
17862 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17863 64 bit versions:
17864 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17865 for high GPRs (uc_high_gprs) and for future extensions
17866 (__reserved).
17867 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17868 for future extensions (__reserved).
17869 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17870 64 bit versions:
17871 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17872 SC_HIGHGPRS offset definition.
17873 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17874 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17875
17876 * Versions.def: Add GLIBC_2.19 for libpthread.
17877 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17878 siglongjmp for libpthread with GLIBC_2.19 symver.
17879 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17880 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17881 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17882 * sysdeps/s390/__longjmp.c: New file.
17883 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17884 * sysdeps/s390/longjmp.c: New file.
17885 * sysdeps/s390/setjmp.S: New file.
17886 * sysdeps/s390/sigjmp.S: New file.
17887 * sysdeps/s390/v1-longjmp.c: New file.
17888 * sysdeps/s390/v1-setjmp.h: New file.
17889 * sysdeps/s390/v1-sigjmp.c: New file.
17890 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17891 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17892 GLIBC_2.19 version.
17893 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17894 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17895 versioned symbols for ____longjmp_chk.
17896 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17897 Likewise.
17898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17899 Regenerate.
17900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17901 Regenerate.
17902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17903 Regenerate.
17904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17905 Regenerate.
17906 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17907 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17908 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17909 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17910 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17911 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17912 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17913 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17914 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17915 * sysdeps/s390/rtld-__longjmp.c: New file.
17916 * sysdeps/s390/rtld-setjmp.S: New file.
17917
17918 2014-01-06 Joseph Myers <joseph@codesourcery.com>
17919
17920 [BZ #16400]
17921 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17922 Return -__logl (x) for small positive arguments without evaluating
17923 a polynomial.
17924
17925 2014-01-06 Mike Frysinger <vapier@gentoo.org>
17926
17927 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17928 Rename to ...
17929 (__ptrace_peeksiginfo_args): ... this.
17930 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17931 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17932 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17933
17934 2014-01-06 Allan McRae <allan@archlinux.org>
17935
17936 * inet/netinet/in.h: Fix typo in comment.
17937
17938 2014-01-05 Andreas Jaeger <aj@suse.de>
17939
17940 * sysdeps/i386/fpu/libm-test-ulps: Update.
17941
17942 2014-01-05 Allan McRae <allan@archlinux.org>
17943
17944 * po/libc.pot: Regenerated.
17945
17946 * malloc/memusagestat.c: Fix gettext call formatting.
17947
17948 2014-01-04 Sami Kerola <kerolasa@iki.fi>
17949
17950 * nscd/nscd.c: Improve usage() output.
17951
17952 2014-01-04 Mike Frysinger <vapier@gentoo.org>
17953
17954 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17955 * sysdeps/unix/sysv/linux/configure: Regenerated.
17956 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17957 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17958
17959 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17960
17961 [BZ #16390]
17962 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17963 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17964
17965 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17966
17967 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17968 extra tokens at end of #undef directive.
17969 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17970 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17971 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17972
17973 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17974
17975 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17976
17977 * math/auto-libm-test-in: Mark various tests with
17978 xfail-rounding:ldbl-128ibm.
17979 * math/auto-libm-test-out: Regenerated.
17980
17981 2014-01-02 Joseph Myers <joseph@codesourcery.com>
17982
17983 [BZ #16386]
17984 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17985 numbers with subnormal high part when calculating exponent.
17986
17987 [BZ #16385]
17988 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17989 fabs.
17990
17991 [BZ #16384]
17992 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17993 M_LN2l.
17994 (__ieee754_acoshl): Use __log1pl not __log1p.
17995
17996 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
17997
17998 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17999 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18000 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18001 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18002 (reused_arena, arena_get2): Convert to GNU style.
18003 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18004 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18005 (memalign_check, __malloc_set_state): Likewise.
18006 * malloc/mallocbug.c (main): Likewise.
18007 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18008 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18009 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18010 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18011 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18012 (__posix_memalign, malloc_info): Likewise.
18013 * malloc/malloc.h: Likewise.
18014 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18015 (mallochook, memalignhook, reallochook, mabort): Likewise.
18016 * malloc/mcheck.h: Likewise.
18017 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18018 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18019 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18020 * malloc/morecore.c (__default_morecore): Likewise.
18021 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18022 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18023 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18024 (print_and_abort): Likewise.
18025 * malloc/obstack.h: Likewise.
18026 * malloc/set-freeres.c (__libc_freeres): Likewise.
18027 * malloc/tst-mallocstate.c (main): Likewise.
18028 * malloc/tst-mtrace.c (main): Likewise.
18029 * malloc/tst-realloc.c (do_test): Likewise.
18030
18031 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18032
18033 [BZ #16366]
18034 * nscd/netgroupcache.c (do_notfound): New function.
18035 (addgetnetgrentX): Use it.
18036
18037 [BZ # 16365]
18038 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18039 NSS_STATUS_NOTFOUND.
18040
18041 2014-01-01 Joseph Myers <joseph@codesourcery.com>
18042
18043 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18045
18046 2014-01-01 Allan McRae <allan@archlinux.org>
18047
18048 * scripts/update-copyrights: Update configure input file suffix.
18049
18050 * NEWS: Update copyright year.
18051 * catgets/gencat.c: Likewise.
18052 * csu/version.c: Likewise.
18053 * debug/catchsegv.sh: Likewise.
18054 * debug/pcprofiledump.c: Likewise.
18055 * debug/xtrace.sh: Likewise.
18056 * elf/ldconfig.c: Likewise.
18057 * elf/ldd.bash.in: Likewise.
18058 * elf/pldd.c: Likewise.
18059 * elf/sotruss.ksh: Likewise.
18060 * elf/sprof.c: Likewise.
18061 * iconv/iconv_prog.c: Likewise.
18062 * iconv/iconvconfig.c: Likewise.
18063 * locale/programs/locale.c: Likewise.
18064 * locale/programs/localedef.c: Likewise.
18065 * login/programs/pt_chown.c: Likewise.
18066 * malloc/memusage.sh: Likewise.
18067 * malloc/memusagestat.c: Likewise.
18068 * malloc/mtrace.pl: Likewise.
18069 * manual/libc.texinfo: Likewise.
18070 * nscd/nscd.c: Likewise.
18071 * nss/getent.c: Likewise.
18072 * nss/makedb.c: Likewise.
18073 * posix/getconf.c: Likewise.
18074 * scripts/test-installation.pl: Likewise.
18075
18076 * All files with FSF copyright notices: Update copyright dates
18077 using scripts/update-copyrights.
18078 * intl/plural.c: Regenerated.
18079 * locale/programs/charmap-kw.h: Likewise.
18080 * locale/programs/locfile-kw.h: Likewise.
18081
18082 2013-12-31 Mike Frysinger <vapier@gentoo.org>
18083
18084 * sysdeps/unix/sysv/linux/configure: Regenerated.
18085 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18086 the linux/fanotify.h header.
18087 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18088 HAVE_LINUX_FANOTIFY_H is defined.
18089
18090 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18091
18092 * benchtests/cos-inputs: New inputs.
18093 * benchtests/sin-inputs: Likewise.
18094
18095 * benchtests/atan-inputs: New inputs. Fix name of multiple
18096 precision fallback inputs.
18097
18098 * benchtests/atanh-inputs: New inputs.
18099 * benchtests/tanh-inputs: Likewise.
18100
18101 * benchtests/acosh-inputs: New inputs.
18102 * benchtests/asinh-inputs: Likewise.
18103
18104 * benchtests/cosh-inputs: New inputs.
18105 * benchtests/sinh-inputs: Likewise.
18106
18107 * benchtests/acos-inputs: Add more inputs.
18108 * benchtests/asin-inputs: Likewise.
18109
18110 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
18111
18112 [BZ #16375]
18113 * manual/arith.texi: Fix spelling.
18114 * manual/charset.texi: Likewise.
18115 * manual/errno.texi: Likewise.
18116 * manual/filesys.texi: Likewise.
18117 * manual/lang.texi: Likewise.
18118 * manual/llio.texi: Likewise.
18119 * manual/locale.texi: Likewise.
18120 * manual/message.texi: Likewise.
18121 * manual/resource.texi: Likewise.
18122 * manual/search.texi: Likewise.
18123 * manual/setjmp.texi: Likewise.
18124 * manual/stdio.texi: Likewise.
18125 * manual/string.texi: Likewise.
18126 * manual/sysinfo.texi: Likewise.
18127 * manual/time.texi: Likewise.
18128
18129 2013-12-27 Carlos O'Donell <carlos@redhat.com>
18130
18131 * po/sl.po: New file.
18132
18133 2013-12-27 Mike Frysinger <vapier@gentoo.org>
18134
18135 * .gitignore: Add core/.gdbinit/.gdb_history.
18136
18137 2013-12-27 Allan McRae <allan@archlinux.org>
18138
18139 [BZ #16369]
18140 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18141 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18142
18143 2013-12-24 Brooks Moses <bmoses@google.com>
18144
18145 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18146 all compilers that claim C++98 compliance, not just GCC.
18147 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18148 Likewise.
18149
18150 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18151
18152 * NEWS: Restore accidentally deleted bug-fix entries.
18153
18154 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18155 Ondřej Bílka <neleai@seznam.cz>
18156
18157 [BZ #15073]
18158 * malloc/malloc.c (_int_free): Perform sanity check only if we
18159 have_lock.
18160
18161 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
18162
18163 [BZ #12986]
18164 * manual/stdio.texi (String Input Conversions): Clarify that character
18165 classes are not supported.
18166
18167 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18168
18169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18170
18171 2013-12-22 Joseph Myers <joseph@codesourcery.com>
18172
18173 [BZ #16337]
18174 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18175 Calculate results for small negative arguments directly rather
18176 than using reflection formula with special underflow handling.
18177
18178 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18179 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18180 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18181 (fchflags): Likewise.
18182 (revoke): Likewise.
18183 (setlogin): Likewise.
18184 (sigaltstack): Likewise.
18185 (wait4): Likewise.
18186 (sigblock): Remove.
18187 (sigsetmask): Likewise.
18188 (wait3): Likewise.
18189 (waitpid): Likewise.
18190 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18191 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18192 file.
18193 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18194 * sysdeps/unix/bsd/Makefile: ... here.
18195 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18196 * sysdeps/unix/bsd/Versions: ... here.
18197 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18198 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18199 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18200 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18201 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18202 * sysdeps/unix/bsd/sigblock.c: ... here.
18203 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18204 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18205 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18206 * sysdeps/unix/bsd/sigvec.c: ... here.
18207 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18208 * sysdeps/unix/bsd/tcdrain.c: ... here.
18209 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18210 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18211 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18212 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18213 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18214 * sysdeps/unix/bsd/wait.c: ... here.
18215 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18216 * sysdeps/unix/bsd/wait3.c: ... here.
18217 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18218 * sysdeps/unix/bsd/waitpid.c: ... here.
18219
18220 2013-12-21 Joseph Myers <joseph@codesourcery.com>
18221
18222 [BZ #16356]
18223 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18224 round-to-nearest for [!USE_AS_EXPM1L].
18225 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18226 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18227 more tests of exp and exp10. Expect some exp10 tests to miss
18228 exceptions or fail in directed rounding modes.
18229 * math/auto-libm-test-out: Regenerated.
18230 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18231 (exp10_test_tonearest): New function.
18232 (exp10_towardzero_test_data): New array.
18233 (exp10_test_towardzero): New function.
18234 (exp10_downward_test_data): New array.
18235 (exp10_test_downward): New function.
18236 (exp10_upward_test_data): New array.
18237 (exp10_test_upward): New function.
18238 (main): Call the new functions.
18239 * sysdeps/i386/fpu/libm-test-ulps: Update.
18240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18241
18242 2013-12-20 Joseph Myers <joseph@codesourcery.com>
18243
18244 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18245 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18246 * math/auto-libm-test-out: Regenerated.
18247 * math/libm-test.inc (acosh_test_data): Add more tests.
18248 (atanh_test_data): Likewise.
18249 (ceil_test_data): Likewise.
18250 (copysign_test_data): Likewise.
18251 * sysdeps/i386/fpu/libm-test-ulps: Update.
18252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18253
18254 * timezone/checktab.awk: Update from tzcode 2013i.
18255 * timezone/private.h: Likewise.
18256 * timezone/scheck.c: Likewise.
18257 * timezone/tzfile.h: Likewise.
18258 * timezone/tzselect.ksh: Likewise.
18259 * timezone/zdump.c: Likewise.
18260 * timezone/zic.c: Likewise.
18261
18262 * math/auto-libm-test-in: Add tests of cpow.
18263 * math/auto-libm-test-out: Regenerated.
18264 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18265 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18266 mpc_cc_c.
18267 (func_calc_desc): Add mpc_cc_c union field.
18268 (test_functions): Add cpow.
18269 (special_fill_2pi): New function.
18270 (special_real_inputs): Add 2pi.
18271 (calc_generic_results): Handle mpc_cc_c.
18272 * sysdeps/i386/fpu/libm-test-ulps: Update.
18273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18274
18275 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18276 csqrt, ctan and ctanh.
18277 * math/auto-libm-test-out: Regenerated.
18278 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18279 (TEST_COND_x86): Likewise.
18280 (ccos_test_data): Use AUTO_TESTS_c_c.
18281 (ccosh_test_data): Likewise.
18282 (cexp_test_data): Likewise.
18283 (clog_test_data): Likewise.
18284 (csqrt_test_data): Likewise.
18285 (ctan_test_data): Likewise.
18286 (ctan_tonearest_test_data): Likewise.
18287 (ctan_towardzero_test_data): Likewise.
18288 (ctan_downward_test_data): Likewise.
18289 (ctan_upward_test_data): Likewise.
18290 (ctanh_test_data): Likewise.
18291 (ctanh_tonearest_test_data): Likewise.
18292 (ctanh_towardzero_test_data): Likewise.
18293 (ctanh_downward_test_data): Likewise.
18294 (ctanh_upward_test_data): Likewise.
18295 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18296 mpc_c_c.
18297 (func_calc_desc): Add mpc_c_c union field.
18298 (FUNC_mpc_c_c): New macro.
18299 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18300 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18301 ctanh.
18302 (special_fill_min_subnorm_p120): New function.
18303 (special_real_inputs): Add min_subnorm_p120.
18304 (calc_generic_results): Handle mpc_c_c.
18305 * sysdeps/i386/fpu/libm-test-ulps: Update.
18306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18307
18308 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18309
18310 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18311 (do_sin_slow): New functions.
18312 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18313 (cslow2, csloww1, csloww2): Use the new functions.
18314
18315 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18316 Use M to change sign of result instead of X. Assume X is
18317 positive.
18318 (csloww1): Likewise.
18319 (__sin): Adjust.
18320 (__cos): Adjust.
18321
18322 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18323 arguments A and DA.
18324 (__sin): Adjust.
18325 (__cos): Likewise.
18326
18327 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18328 (__cos): Likewise.
18329 (sloww1): Don't adjust sign of DX.
18330 (csloww1): Likewise.
18331 (sloww2): Use X directly and don't adjust sign of DX.
18332 (csloww2): Likewise.
18333
18334 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18335
18336 * math/auto-libm-test-in: Add tests of cabs and carg.
18337 * math/auto-libm-test-out: Regenerated.
18338 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18339 (carg_test_data): Likewise.
18340 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18341 mpc_c_f.
18342 (func_calc_desc): Add mpc_c_f union field.
18343 (test_functions): Add cabs and carg.
18344 (calc_generic_results): Handle mpc_c_f.
18345
18346 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18347 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18348 as a macro and a compat symbol.
18349 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18350 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18351 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18352 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18353 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18354 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18355 not use .hidden.
18356 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18357 Likewise.
18358 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18359 Likewise.
18360 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18361 Likewise.
18362 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18363 Likewise.
18364 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18365 Likewise.
18366 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18367 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18368 from GLIBC_2.3.2.
18369
18370 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18371
18372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18373
18374 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18375
18376 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18377 trailing whitespace removed.
18378 * scripts/config.guess: Update to version 2013-11-29.
18379 * scripts/config.sub: Update to version 2013-10-01.
18380
18381 * math/auto-libm-test-in: Add tests of sincos.
18382 * math/auto-libm-test-out: Regenerated.
18383 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18384 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18385 mpfr_f_11.
18386 (func_calc_desc): Add mpfr_f_11 union field.
18387 (test_functions): Add sincos.
18388 (calc_generic_results): Handle mpfr_f_11.
18389 * sysdeps/i386/fpu/libm-test-ulps: Update.
18390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18391
18392 2013-12-19 Andreas Schwab <schwab@suse.de>
18393
18394 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18395 CALL_MCOUNT.
18396 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18397 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18398 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18399
18400 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18401
18402 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18403 * sysdeps/i386/fpu/libm-test-ulps: Update.
18404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18405
18406 [BZ #16293]
18407 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18408 round-to-nearest mode when using frndint.
18409 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18410 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18411 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18412 Likewise.
18413 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18414 sinh test to fail.
18415 * math/auto-libm-test-out: Regenerated.
18416 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18417 (TEST_COND_x86): Likewise.
18418 (expm1_tonearest_test_data): New array.
18419 (expm1_test_tonearest): New function.
18420 (expm1_towardzero_test_data): New array.
18421 (expm1_test_towardzero): New function.
18422 (expm1_downward_test_data): New array.
18423 (expm1_test_downward): New function.
18424 (expm1_upward_test_data): New array.
18425 (expm1_test_upward): New function.
18426 (main): Run the new test functions.
18427 * sysdeps/i386/fpu/libm-test-ulps: Update.
18428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18429
18430 * include/features.h: Update comment documenting feature test
18431 macros. Mention _DEFAULT_SOURCE in comment.
18432 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18433 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18434 _BSD_SOURCE and _SVID_SOURCE.
18435 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18436 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18437 !_SVID_SOURCE]: Likewise.
18438 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18439 (__USE_POSIX_IMPLICITLY): Define.
18440 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18441 (_POSIX_SOURCE): Undefine and redefine.
18442 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18443 (_POSIX_C_SOURCE): Likewise.
18444 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18445 (Feature Test Macros): Update documentation of default features.
18446
18447 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18448
18449 * benchtests/Makefile: Add bench-strtok.
18450 * benchtests/bench-strtok.c: New file: strtok benchtest.
18451
18452 2013-12-19 Allan McRae <allan@archlinux.org>
18453
18454 * manual/install.texi: Suppress menu for plain text output.
18455 * INSTALL: Regenerated.
18456
18457 2013-12-18 Brooks Moses <bmoses@google.com>
18458
18459 [BZ #15846]
18460 * misc/getauxval.c: Include errno.h.
18461 (__getauxval): Set errno to ENOENT if the requested type is not
18462 found.
18463 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18464 don't declare with __attribute_const__.
18465 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18466 * manual/startup.texi: Document that getauxval sets errno.
18467
18468 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18469
18470 * math/auto-libm-test-in: Add tests of jn and yn.
18471 * math/auto-libm-test-out: Regenerated.
18472 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18473 (yn_test_data): Likewise.
18474 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18475 mpfr_if_f.
18476 (func_calc_desc): Add mpfr_if_f union field.
18477 (FUNC_mpfr_if_f): New macro.
18478 (test_functions): Add jn and yn.
18479 (calc_generic_results): Assert type of second input for
18480 mpfr_ff_f. Handle mpfr_if_f.
18481 (output_for_one_input_case): Disable all checking for arguments
18482 fitting floating-point types in case of an integer argument.
18483 * sysdeps/i386/fpu/libm-test-ulps: Update.
18484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18485
18486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18487 Don't expect fegetround reference in libm.so.
18488
18489 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18490
18491 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18492 $(config-cflags-nofma).
18493
18494 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18495
18496 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18497 * math/auto-libm-test-out: Regenerated.
18498
18499 [BZ #16338]
18500 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18501 to determine exponent and adjust argument to have exponent of -1.
18502 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18503 log2.
18504 * math/auto-libm-test-out: Regenerated.
18505 * sysdeps/i386/fpu/libm-test-ulps: Update.
18506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18507
18508 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
18509
18510 * manual/probes.texi: Remove cases when per-thread arenas are
18511 disabled.
18512
18513 2013-12-18 Andreas Schwab <schwab@suse.de>
18514
18515 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18516 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18517 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18518 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18519 * sysdeps/i386/i686/multiarch/Makefile: Update.
18520 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18521
18522 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18523
18524 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18525 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18526
18527 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18528
18529 [BZ #15968]
18530 Support TZ transition times < 00:00:00.
18531 This is needed for version-3 tz-format files; it supports time
18532 stamps past 2037 for America/Godthab (the only entry in the tz
18533 database for which this change is relevant).
18534 * manual/time.texi (TZ Variable): Document transition times
18535 from -167:59:59 through -00:00:01.
18536 * time/tzset.c (tz_rule): Time of day is now signed.
18537 (__tzset_parse_tz): Parse negative time of day.
18538
18539 Document TZ transition times >= 25:00:00.
18540 * manual/time.texi (TZ Variable): Document transition times from
18541 25:00:00 through 167:59:59. These are already supported, and this
18542 support will help with version-3 tz-format files.
18543
18544 * manual/time.texi (TZ Variable): Modernize North America example
18545 to reflect current (i.e., 2007-and-later) daylight saving rules.
18546
18547 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18548
18549 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18550
18551 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18552 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18553 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18554 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18555 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18556 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18557 * sysdeps/unix/bsd/clock.c: Likewise.
18558 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18559 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18560 * sysdeps/unix/bsd/init-posix.c: Likewise.
18561 * sysdeps/unix/bsd/poll.c: Likewise.
18562 * sysdeps/unix/bsd/ptsname.c: Likewise.
18563 * sysdeps/unix/bsd/seekdir.c: Likewise.
18564 * sysdeps/unix/bsd/setegid.c: Likewise.
18565 * sysdeps/unix/bsd/seteuid.c: Likewise.
18566 * sysdeps/unix/bsd/setgid.c: Likewise.
18567 * sysdeps/unix/bsd/setrgid.c: Likewise.
18568 * sysdeps/unix/bsd/setruid.c: Likewise.
18569 * sysdeps/unix/bsd/setsid.c: Likewise.
18570 * sysdeps/unix/bsd/setuid.c: Likewise.
18571 * sysdeps/unix/bsd/sigaction.c: Likewise.
18572 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18573 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18574 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18575 * sysdeps/unix/bsd/telldir.c: Likewise.
18576 * sysdeps/unix/bsd/times.c: Likewise.
18577 * sysdeps/unix/bsd/usleep.c: Likewise.
18578
18579 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18580 ($(objpfx)libbsd-compat.a): Remove rule.
18581
18582 * include/features.h (__FAVOR_BSD): Do not define.
18583 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18584 features conflicting with POSIX.
18585 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18586 (_BSD_SOURCE): Remove description of not being a subset of other
18587 feature test macros.
18588 * manual/job.texi (getpgrp): Do not document BSD version.
18589 (getpgid): Do not document by reference to BSD getpgrp.
18590 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18591 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18592 * signal/signal.h [__FAVOR_BSD]: Likewise.
18593 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18594 instead of making contents conditional on [__FAVOR_BSD].
18595 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18596
18597 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18598
18599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18600
18601 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18602
18603 [BZ #16314]
18604 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18605 values below 2**-450, not 2**-500.
18606 * math/auto-libm-test-in: Don't allow spurious underflow from
18607 hypot.
18608 * math/auto-libm-test-out: Regenerated.
18609
18610 [BZ #16316]
18611 [BZ #16330]
18612 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18613 values of ha and hb and sort them after adjusting subnormal
18614 arguments.
18615 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18616 Likewise.
18617 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18618 values of ea and eb and sort them after adjusting subnormal
18619 arguments.
18620 * math/auto-libm-test-in: Do not expect some hypot tests of
18621 subnormals to fail. Add more hypot tests.
18622 * math/auto-libm-test-out: Regenerated.
18623
18624 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18625
18626 [BZ #13304]
18627 * sysdeps/sh/s_fma.c: New file.
18628 * sysdeps/sh/s_fmaf.c: New file.
18629 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18630 version.
18631 * sysdeps/sh/Implies: Add sh/soft-fp.
18632
18633 2013-12-16 Roland McGrath <roland@hack.frob.com>
18634
18635 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18636 level of indirection to members `objname', `errstring', `malloced'.
18637 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18638 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18639 it as the __longjmp argument (just pass 1 instead).
18640 (_dl_catch_error): Initialize C with argument pointers and address of
18641 volatile local ERRCODE rather than copying values out of C at return.
18642
18643 2013-12-16 Joseph Myers <joseph@codesourcery.com>
18644
18645 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18646 * math/auto-libm-test-out: Regenerated.
18647 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18648 (hypot_test_data): Likewise.
18649 (pow_test_data): Likewise.
18650 (pow_tonearest_test_data): Likewise.
18651 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18652 mpfr_ff_f.
18653 (func_calc_desc): Add mpfr_ff_f union field.
18654 (FUNC_mpfr_ff_f): New macro.
18655 (test_functions): Add atan2, hypot and pow.
18656 (special_fill_min): New function.
18657 (special_fill_minus_min): Likewise.
18658 (special_fill_min_subnorm): Likewise.
18659 (special_fill_minus_min_subnorm): Likewise.
18660 (special_real_inputs): Add min, -min, min_subnorm and
18661 -min_subnorm.
18662 (calc_generic_results): Handle mpfr_ff_f.
18663 * sysdeps/i386/fpu/libm-test-ulps: Update.
18664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18665
18666 2013-12-16 Will Newton <will.newton@linaro.org>
18667
18668 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18669 (Aligned Memory Blocks): Add documentation for aligned_alloc
18670 and suggest it as an alternative to posix_memalign.
18671 (Hooks for Malloc): Document __memalign_hook is also called
18672 for aligned_alloc. (Summary of Malloc): Add summary for
18673 aligned alloc. Document __memalign_hook is also called
18674 for aligned_alloc.
18675
18676 2013-12-16 Will Newton <will.newton@linaro.org>
18677
18678 * manual/memory.texi (Malloc Examples): Clarify default
18679 alignment documentation. Suggest posix_memalign rather
18680 than memalign or valloc.
18681 (Aligned Memory Blocks): Remove suggestion to use memalign
18682 or valloc. Remove obsolete comment about BSD.
18683 Document memalign errno values and mark the function obsolete.
18684 Document posix_memalign returned error codes. Mark valloc
18685 as obsolete. (Hooks for Malloc): __memalign_hook is also
18686 called for posix_memalign and valloc.
18687 (Summary of Malloc): Add posix_memalign to function summary.
18688 __memalign_hook is also called for posix_memalign and valloc.
18689
18690 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18691
18692 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18693 TAYLOR_SIN.
18694 (__sin): Adjust.
18695 (__cos): Likewise.
18696 (sloww): Use mynumber union. Expand ternary operator into
18697 if-else statements.
18698 (cslow): use mynumber union.
18699
18700 2013-12-16 Allan McRae <allan@archlinux.org>
18701
18702 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18703 * configure: Regenerated.
18704
18705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18706
18707 [BZ #14120]
18708 * configure.ac: Added --enable-maintainer-mode. Check for
18709 autoconf when enabled.
18710 * configure: Regenerated.
18711
18712 * nscd/nscd.service: New file.
18713 * nscd/nscd.tmpfiles: New file.
18714
18715 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
18716
18717 [BZ #12100]
18718 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18719 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18720 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18721 (strstr): Add __strstr_sse2_unaligned ifunc.
18722 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18723 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18724 (strcasestr): Remove __strcasestr_sse42 ifunc.
18725 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18727 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18728
18729 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18730
18731 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18732 * sysdeps/sh/bits/fenv.h: ... here.
18733 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18734
18735 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18736
18737 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18738
18739 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18740 hypotf multiarch implementations.
18741 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18742 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18743 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18744 multiarch hypot for PPC64.
18745 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18746 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18747 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18748 multiarch hypotf for PPC64.
18749
18750 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18751 modff multiarch implementations.
18752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18755 multiarch modf for PPC64.
18756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18759 multiarch modff for PPC64.
18760
18761 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18762 and logl multiarch implementations.
18763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18766 multiarch logb for PPC64.
18767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18770 multiarch logb for PPC64.
18771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18774 multiarch logb for PPC64.
18775
18776 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18777 isinff multiarch implementation.
18778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18779 file.
18780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18782 multiarch isinf for PPC64.
18783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18784 file.
18785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18786 multiarch isinff for PPC64.
18787
18788 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18789 finitef multiarch implementation.
18790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18791 file.
18792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18794 multiarch finite for PPC64.
18795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18796 file.
18797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18798 multiarch finitef for PPC64.
18799
18800 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18801 lrint multiarch implementation.
18802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18803 file.
18804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18806 multiarch llrint for PPC64.
18807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18808 multiarch lrint for PPC64.
18809
18810 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18811 copysignf multiarch implementation.
18812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18813 file.
18814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18815 file.
18816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18817 multiarch copysign for PPC64.
18818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18819 multiarch copysignf for PPC64.
18820
18821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18822 multiarch implementation.
18823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18824 file.
18825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18826 file.
18827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18828 file.
18829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18830 file.
18831 multiarch llround for PPC64.
18832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18833 multiarch trunc for PPC64.
18834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18835 multiarch truncf for PPC64.
18836
18837 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18838 multiarch implementation.
18839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18840 file.
18841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18842 file.
18843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18844 file.
18845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18846 file.
18847 multiarch llround for PPC64.
18848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18849 multiarch round for PPC64.
18850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18851 multiarch roundf for PPC64.
18852
18853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18854 multiarch implementation.
18855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18856 file.
18857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18858 file.
18859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18860 file.
18861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18862 file.
18863 multiarch llround for PPC64.
18864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18865 multiarch floor for PPC64.
18866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18867 multiarch floorf for PPC64.
18868
18869 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18870 multiarch implementation.
18871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18872 file.
18873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18874 file.
18875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18876 file.
18877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18878 file.
18879 multiarch llround for PPC64.
18880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18881 multiarch ceil for PPC64.
18882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18883 multiarch ceilf for PPC64.
18884
18885 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18886 multiarch implementation.
18887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18888 file.
18889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18890 file.
18891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18892 file.
18893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18894 multiarch llround for PPC64.
18895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18896 multiarch lround for PPC64.
18897
18898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18899 multiarch implementation.
18900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18903 file.
18904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18907 multiarch isnan for PPC64.
18908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18909 multiarch isnanf for PPC64.
18910
18911 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18912 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18913 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18914 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18915 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18917
18918 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18919 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18920 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18921 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18922
18923 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18924 multiarch implementations.
18925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18926 (__libc_ifunc_impl_list): Likewise.
18927 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18928 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18929 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18930 multiarch stpcpy for PPC64.
18931
18932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18933 multiarch implementations.
18934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18935 (__libc_ifunc_impl_list): Likewise.
18936 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18937 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18938 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18939 multiarch strcpy for PPC64.
18940
18941 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18942 redefine function name.
18943 (_wordcopy_fwd_dest_aligned): Likewise.
18944 (_wordcopy_bwd_aligned): Likewise.
18945 (_wordcopy_bwd_dest_aligned): Likewise.
18946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18947 multiarch implementations.
18948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18949 (__libc_ifunc_impl_list): Likewise.
18950 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18951 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18952 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18953 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18954 multiarch wcscpy for PPC64.
18955
18956 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18957 multiarch implementations.
18958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18959 (__libc_ifunc_impl_list): Likewise.
18960 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18961 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18962 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18963 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18964 multiarch wcscpy for PPC64.
18965
18966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18967 multiarch implementations.
18968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18969 (__libc_ifunc_impl_list): Likewise.
18970 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18971 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18972 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18973 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18974 multiarch wcsrchr for PPC64.
18975
18976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18977 multiarch implementations.
18978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18979 (__libc_ifunc_impl_list): Likewise.
18980 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18981 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18982 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18983 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18984 multiarch wcschr for PPC64.
18985
18986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18987 multiarch implementations.
18988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18989 (__libc_ifunc_impl_list): Likewise.
18990 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18991 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18992 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18993 multiarch strchrnul for PPC64.
18994
18995 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18996 implementations.
18997 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18998 (__libc_ifunc_impl_list): Likewise.
18999 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19000 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19001 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19002 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19003 strchr for PPC64.
19004
19005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19006 implementations.
19007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19008 (__libc_ifunc_impl_list): Likewise.
19009 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19010 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19011 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19012 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19013 strncmp for PPC64.
19014
19015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19016 multiarch implementations.
19017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19018 (__libc_ifunc_impl_list): Likewise.
19019 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19020 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19021 strncasecmp for PPC64.
19022 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19023 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19024 multiarch strncasecmp_l for PPC64.
19025
19026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19027 multiarch implementations.
19028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19029 (__libc_ifunc_impl_list): Likewise.
19030 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19031 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19032 multiarch strcasecmp for PPC64.
19033 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19034 file.
19035 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19036 multiarch strcasecmp_l for PPC64.
19037
19038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19039 implementations.
19040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19041 (__libc_ifunc_impl_list): Likewise.
19042 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19043 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19044 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19045 strnlen for PPC64.
19046
19047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19048 implementations.
19049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19050 (__libc_ifunc_impl_list): Likewise.
19051 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19052 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19053 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19054 strlen for PPC64.
19055
19056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19057 implementations.
19058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19059 (__libc_ifunc_impl_list): Likewise.
19060 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19061 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19062 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19063 rawmemrchr for PPC64.
19064
19065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19066 implementation.
19067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19068 (__libc_ifunc_impl_list): Likewise.
19069 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19070 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19071 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19072 memrchr for PPC64.
19073
19074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19075 implementation.
19076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19077 (__libc_ifunc_impl_list): Likewise.
19078 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19079 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19080 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19081 memchr for PPC64.
19082
19083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19084 implementation.
19085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19086 (__libc_ifunc_impl_list): Likewise.
19087 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19088 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19089 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19090 mempcpy for PPC64.
19091
19092 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19093 avoid cretion of __bzero symbol.
19094 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19095 Likewise.
19096 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19097 Likewise.
19098 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19099 Likewise.
19100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19101 multiarch implementations.
19102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19103 (__libc_ifunc_impl_list): Likewise.
19104 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19105 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19106 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19107 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19108 bzero for PPC32.
19109 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19110 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19111 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19112 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19113 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19114 memset for PPC64.
19115 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19116
19117 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19119 implementations.
19120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19121 (__libc_ifunc_impl_list): Likewise.
19122 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19123 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19124 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19125 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19126 memcmp for PPC64.
19127
19128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19129 multiarch for POWER/PPC64.
19130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19131 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19132 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19133 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19134 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19135 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19136 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19137 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19138 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19139 memcpy for PPC64.
19140
19141 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19142 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19143 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19144 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19145 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19146 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19147 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19148 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19149 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19150 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19151 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19152 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19153 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19154 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19155 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19163
19164 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19165
19166 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19167
19168 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19169
19170 * benchtests/Makefile (bench): Add exp2 and log2.
19171 (LDLIBS-bench-exp2): Add -lm.
19172 (LDLIBS-bench-log2): Likewise.
19173 * benchtests/exp2-inputs: New inputs file.
19174 * benchtests/log2-inputs: New inputs file.
19175 * benchtests/log-inputs: Add new inputs.
19176 * benchtests/tan-inputs: Likewise.
19177
19178 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19179
19180 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19181 definition...
19182 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19183 (csloww2): ... from here.
19184
19185 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19186 instead of structures.
19187 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19188 (POLYNOMIAL): Likewise.
19189 (TAYLOR_SLOW): Likewise.
19190 (__sin): Likewise.
19191 (__cos): Likewise.
19192 (slow1): Likewise.
19193 (slow2): Likewise.
19194 (sloww): Likewise.
19195 (sloww1); Likewise.
19196 (sloww2): Likewise.
19197 (bsloww1): Likewise.
19198 (bsloww2): Likewise.
19199 (cslow2): Likewise.
19200 (csloww): Likewise.
19201 (csloww1): Likewise.
19202 (csloww2): Likewise.
19203
19204 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
19205
19206 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19207 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19208 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19209 * malloc/hooks.c (realloc_check): Likewise.
19210
19211 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19212 * malloc/arena.c: Remove PER_THREAD conditional.
19213 [!PER_THREAD]: Remove code.
19214 (ptmalloc_unlock_all2): Likewise.
19215 (ptmalloc_init): Likewise.
19216 (_int_new_arena): Likewise.
19217 (arena_get2): Likewise.
19218 * malloc/hooks.c (__malloc_get_state): Likewise.
19219 (__malloc_set_state): Likewise.
19220 * malloc/malloc.c: Likewise.
19221 (struct malloc_state): Likewise.
19222 (struct malloc_par): Likewise.
19223 (__libc_realloc): Likewise.
19224 (__libc_mallopt): Likewise.
19225
19226 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19227
19228 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19229
19230 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
19231
19232 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19233 macro to a function. Check for zero perturb_byte.
19234 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19235
19236 * malloc/malloc.c: (force_reg): Remove.
19237 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19238 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19239 force_reg by atomic_forced_read.
19240 * malloc/arena.c (ptmalloc_init): Likewise.
19241 * malloc/hooks.c (top_check): Likewise.
19242
19243 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19244
19245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19246
19247 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19248
19249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19250
19251 2013-12-08 Joseph Myers <joseph@codesourcery.com>
19252
19253 * math/auto-libm-test-in: Add tests of lgamma.
19254 * math/auto-libm-test-out: Regenerated.
19255 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19256 (M_LOG_2_SQRT_PIl): Likewise.
19257 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19258 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19259 mpfr_f_f1.
19260 (func_calc_desc): Add mpfr_f_f1 union field.
19261 (ARGS1): New macro.
19262 (ARGS2): Likewise.
19263 (ARGS3): Likewise.
19264 (ARGS4): Likewise.
19265 (RET1): Likewise.
19266 (RET2): Likewise.
19267 (CALC): Likewise.
19268 (FUNC): Likewise.
19269 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19270 (test_functions): Add lgamma.
19271 (calc_generic_results): Handle mpfr_f_f1.
19272 * sysdeps/i386/fpu/libm-test-ulps: Update.
19273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19274
19275 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19276
19277 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19278 __mpn_add_n for PowerPC64/POWER7.
19279 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19280 __mpn_sub_n for PowerPC64/POWER7.
19281
19282 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19283 __mpn_addmul_1 for PowerPC64.
19284 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19285 __mpn_submul_1 for PowerPC64.
19286 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19287 for PowerPC64.
19288 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19289 for PowerPC64.
19290
19291 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19292
19293 [BZ #15089]
19294 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19295
19296 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19297
19298 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19299
19300 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19301 add multiarch folders.
19302 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19303 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19304 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19305 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19306 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19307 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19308 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19309 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19310 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19311 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19312 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19319
19320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19321 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19323 New file.
19324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19325 New file.
19326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19327 multiarch __ieee754_hypot for PowerPC32.
19328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19329 New file.
19330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19331 New file.
19332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19333 multiarch __ieee754_hypotf for PowerPC32.
19334
19335 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19336 long_double_symbol only if __logbl is defined.
19337 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19338 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19339 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19340 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19341 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19342 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19343 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19344 path for implementation.
19345 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19346 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19348 logb, and logbl multiarch implementations for PowerPC32.
19349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19350 file.
19351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19352 file.
19353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19354 multiarch logb for PowerPC32.
19355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19356 file.
19357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19358 file.
19359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19360 multiarch logbf for PowerPC32.
19361 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19363 file.
19364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19365 multiarch logbl implementation for PowerPC32.
19366
19367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19368 and modff multiarch implementations.
19369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19370 New file.
19371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19372 New file.
19373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19374 multiarch modf for PowerPC32.
19375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19376 New file.
19377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19378 New file.
19379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19380 multiarch modff for PowerPC32.
19381
19382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19383 and lrintf multiarch implementations.
19384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19385 New file.
19386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19387 New file.
19388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19389 multiarch lrint for PowerPC32.
19390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19391 file: multiarch lrintf for PowerPC32.
19392
19393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19394 and lroundf multiarch implementations.
19395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19396 New file.
19397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19398 New file.
19399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19400 New file.
19401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19402 multiarch lround for PowerPC32.
19403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19404 file: multiarch lroundf for PowerPC32.
19405
19406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19407 copysign and copysignf multiarch implementations.
19408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19409 New file.
19410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19411 New file.
19412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19413 file: multiarch copysign for PowerPC32.
19414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19415 file: multiarch copysignf for PowerPC32.
19416
19417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19418 and truncf multiarch implementations.
19419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19420 New file.
19421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19422 file.
19423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19424 multiarch trunc for PowerPC32.
19425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19426 New file.
19427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19428 New file.
19429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19430 multiarch truncf for PowerPC32.
19431
19432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19433 and roundf multiarch implementations.
19434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19435 New file.
19436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19437 file.
19438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19439 multiarch round for PowerPC32.
19440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19441 New file.
19442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19443 New file.
19444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19445 multiarch roundf for PowerPC32.
19446
19447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19448 and floorf multiarch implementations.
19449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19450 New file.
19451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19452 file.
19453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19454 multiarch floor for PowerPC32.
19455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19456 New file.
19457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19458 New file.
19459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19460 multiarch floorf for PowerPC32.
19461
19462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19463 and ceilf multiarch implementations.
19464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19465 New file.
19466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19467 file.
19468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19469 multiarch ceil for PowerPC32.
19470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19471 New file.
19472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19473 file.
19474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19475 multiarch ceilf for PowerPC32.
19476
19477 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19478 is defined.
19479 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19480 FINITEF is defined.
19481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19482 and finitef multiarch implementations.
19483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19484 New file.
19485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19486 file.
19487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19488 multiarch finite for PowerPC32.
19489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19490 New file.
19491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19492 file: multiarch finitef for PowerPC32.
19493
19494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19495 and isinff multiarch implementations.
19496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19497 file.
19498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19499 file.
19500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19501 multiarch isinf for PowerPC32.
19502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19503 New file.
19504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19505 multiarch isinff for PowerPC32.
19506
19507 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19508 alias when __isnan is defined.
19509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19510 and isnanf multiarch implementations.
19511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19512 file.
19513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19514 file.
19515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19516 file.
19517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19518 file.
19519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19520 multiarch isnan for PowerPC32.
19521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19522 New file.
19523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19524 New file.
19525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19526 multiarch isnanf for PowerPC32.
19527
19528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19529 and sqrtf multiarch implementations.
19530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19531 file.
19532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19533 file.
19534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19535 multiarch sqrt for PowerPC32.
19536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19537 file.
19538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19539 file.
19540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19541 multiarch sqrtf for PowerPC32.
19542
19543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19544 and llroundf multiarch implementations.
19545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19546 New file.
19547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19548 New file.
19549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19550 New file.
19551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19552 file: multiarch llround for PowerPC32.
19553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19554 file: multiarch llroundf for PowerPC32.
19555
19556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19557 multiarch PowerPC32 fpu implementations.
19558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19559 New file.
19560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19561 New file.
19562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19563 multiarch llrint for PowerPC32.
19564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19565 New file.
19566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19567 New file.
19568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19569 file.
19570
19571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19572
19573 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19574 file.
19575 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19576 file.
19577 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19578 file.
19579 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19580 multiarch wordcopy for PPC32.
19581 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19582 wordcopy objects.
19583 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19584 (__libc_ifunc_impl_list): Likewise.
19585 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19586 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19587 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19588 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19589 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19590 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19591
19592 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19594 file.
19595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19596 file.
19597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19598 file.
19599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19600 multiarch wcscpy for PPC32.
19601 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19602 multiarch objects.
19603 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19604 (__libc_ifunc_impl_list): Likewise.
19605 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19606 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19607 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19608 sysdeps/powerpc/power6/wcscpy.c.
19609
19610 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19612 file.
19613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19614 file.
19615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19616 file.
19617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19618 multiarch wcsrchr for PPC32.
19619 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19620 multiarch objects.
19621 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19622 (__libc_ifunc_impl_list): Likewise.
19623 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19624 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19625 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19626 sysdeps/powerpc/power6/wcsrchr.c.
19627
19628 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19629 file.
19630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19631 file.
19632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19633 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19634 multiarch wcschr for PPc32.
19635 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19636 multiarch objects.
19637 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19638 (__libc_ifunc_impl_list): Likewise.
19639 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19640 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19641 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19642 sysdeps/powerpc/power6/wcschr.c.
19643
19644 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19645 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19646 file.
19647 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19648 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19649 file: multiarch strchr for PPC32.
19650 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19651 multiarch objects.
19652 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19653 (__libc_ifunc_impl_list): Likewise.
19654
19655 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19656 name.
19657 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19658 file.
19659 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19660 file.
19661 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19662 multiarch strchrnul for PPC32.
19663 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19664 multiarch objects.
19665 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19666 (__libc_ifunc_impl_list): Likewise.
19667
19668 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19669 file.
19670 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19671 multiarch strncasecmp for PPC32.
19672 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19673 file.
19674 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19675 multiarch strncasecmp_l for PPC32.
19676 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19677 strncasecmp multiarch objects.
19678 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19679 (__libc_ifunc_impl_list): Likewise.
19680
19681 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19682 file.
19683 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19684 multiarch strncasecmp for PPC32.
19685 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19686 New file.
19687 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19688 multiarch strcasecmp_l for PPC32.
19689 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19690 multiarch objects.
19691 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19692 (__libc_ifunc_impl_list): Likewise.
19693
19694 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19695 file.
19696 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19697 file.
19698 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19699 multiarch strncmp for PPC32.
19700 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19701 multiarch objects.
19702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19703 (__libc_ifunc_impl_list): Likewise.
19704
19705 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19706 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19707 file.
19708 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19709 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19711 multiarch objects.
19712 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19713 (__libc_ifunc_impl_list): Likewise.
19714
19715 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19716 file.
19717 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19718 file.
19719 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19721 multiarch objects.
19722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19723 (__libc_ifunc_impl_list): Likewise.
19724
19725 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19726 file.
19727 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19728 file.
19729 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19730 multiarch rawmemchr for PPC32.
19731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19732 multiarch objects.
19733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19734 (__libc_ifunc_impl_list): Likewise.
19735
19736 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19737 file.
19738 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19739 file.
19740 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19741 file: memrchr multiarch for PPC32.
19742 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19743 multiarch objects.
19744 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19745 (__libc_ifunc_impl_list): Likewise.
19746
19747 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19748 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19749 file.
19750 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19751 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19752 multiarch memchr for PPC32.
19753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19754 multiarch objects.
19755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19756 (__libc_ifunc_impl_list): Likewise.
19757
19758 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19759 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19760 file.
19761 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19762 file.
19763 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19764 file: multiarch mempcpy for PPC32.
19765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19766 multiarch objects.
19767 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19768 (__libc_ifunc_impl_list): Likewise.
19769
19770 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19771 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19772 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19773 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19774 multiarch bzero for PPC32.
19775 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19776 file.
19777 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19778 file.
19779 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19780 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19781 file: multiarch memset for PPC32.
19782 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19784 memset multiarch objects.
19785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19786 (__libc_ifunc_impl_list): Likewise.
19787
19788 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19789 file.
19790 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19791 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19792 memcmp for PPC32.
19793 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19794 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19795 multiarch objects.
19796 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19797 (__libc_ifunc_impl_list): Likewise.
19798
19799 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19800 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19801 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19802 file.
19803 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19804 file.
19805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19806 file.
19807 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19808 multiarch memcpy for PPC32.
19809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19810 multiarch objects.
19811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19812 (__libc_ifunc_impl_list): Likewise.
19813
19814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19815 support multiarch for POWER/PPC32.
19816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19817 Likewise.
19818 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19820 Implies file to make multiarch folder appers before the fpu and
19821 default folder for power4 configuration.
19822
19823 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19824
19825 * scripts/bench.pl: Append volatile keyword to type.
19826
19827 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19828
19829 * sysdeps/sh/sotruss-lib.c: New file.
19830 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19831
19832 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19833
19834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19835
19836 2013-12-05 Joseph Myers <joseph@codesourcery.com>
19837
19838 [BZ #6810]
19839 * math/w_tgamma.c: Include <errno.h>.
19840 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19841 * math/w_tgammaf.c: Include <errno.h>.
19842 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19843 * math/w_tgammal.c: Include <errno.h>.
19844 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19845 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19846 underflow. Add more tgamma tests.
19847 * math/auto-libm-test-out: Regenerated.
19848 * sysdeps/i386/fpu/libm-test-ulps: Update.
19849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19850
19851 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19852 sin, sinh, tan, tanh, tgamma, y0 and y1.
19853 * math/auto-libm-test-out: Regenerated.
19854 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19855 (TEST_COND_x86): Likewise.
19856 (M_E2l): Remove macro.
19857 (M_E3l): Likewise.
19858 (M_2_SQRT_PIl): Likewise.
19859 (M_SQRT_PIl): Likewise.
19860 (M_1_DIV_El): Likewise.
19861 (log_test_data): Use AUTO_TESTS_f_f.
19862 (log10_test_data): Likewise.
19863 (log1p_test_data): Likewise.
19864 (log2_test_data): Likewise.
19865 (sin_test_data): Likewise.
19866 (sin_tonearest_test_data): Likewise.
19867 (sin_towardzero_test_data): Likewise.
19868 (sin_downward_test_data): Likewise.
19869 (sin_upward_test_data): Likewise.
19870 (sinh_test_data): Likewise.
19871 (sinh_tonearest_test_data): Likewise.
19872 (sinh_towardzero_test_data): Likewise.
19873 (sinh_downward_test_data): Likewise.
19874 (sinh_upward_test_data): Likewise.
19875 (tan_test_data): Likewise.
19876 (tan_tonearest_test_data): Likewise.
19877 (tan_towardzero_test_data): Likewise.
19878 (tan_downward_test_data): Likewise.
19879 (tan_upward_test_data): Likewise.
19880 (tanh_test_data): Likewise.
19881 (tgamma_test_data): Likewise.
19882 (y0_test_data): Likewise.
19883 (y1_test_data): Likewise.
19884 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19885 (special_real_inputs): Add pi/4.
19886 * sysdeps/i386/fpu/libm-test-ulps: Update.
19887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19888
19889 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19890
19891 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19892 "longjmp_target" static probes.
19893 (__longjmp): Rename to __longjmp_symbol.
19894 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19895 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19896 on which longjmp to generate.
19897 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19898 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19899 probe.
19900 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19901 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19902 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19903 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19904 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19905 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19907 __longjmp_symbol based on which __longjmp to generate.
19908 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19909 probe.
19910 (setjmp): Rename to setjmp_symbol.
19911 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19912 (_setjmp): Rename to _setjmp_symbol.
19913 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19914 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19915 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19916 which setjmp to generate.
19917 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19918 "longjmp_target" static probes.
19919
19920 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19921
19922 * benchtests/README: Add note about output arguments.
19923 * benchtests/bench-sincos.c: Remove file.
19924 * benchtests/sincos-inputs: New file.
19925 * scripts/bench.pl: Identify output arguments and define
19926 static variables for them.
19927
19928 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19929
19930 [BZ #15941]
19931 * Makefile (INSTALL): Add install-plain.texi as the primary
19932 dependency.
19933 * manual/install-plain.texi: New file.
19934 * manual/install.texi: Include node directive only for
19935 non-plaintext output.
19936
19937 2013-12-04 Joseph Myers <joseph@codesourcery.com>
19938
19939 * stdlib/longlong.h: Update from GCC.
19940
19941 [BZ #6807]
19942 [BZ #15901]
19943 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19944 * math/w_j0f.c (y0f): Likewise.
19945 * math/w_j0l.c (__y0l): Likewise.
19946 * math/w_j1.c (y1): Likewise.
19947 * math/w_j1f.c (y1f): Likewise.
19948 * math/w_j1l.c (__y1l): Likewise
19949 * math/w_jn.c (yn): Likewise.
19950 * math/w_jnf.c (ynf): Likewise.
19951 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19952 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19953 value for Bessel function domain errors outside _SVID_ mode.
19954 Adjust sign of return value for yn (negative integer, 0).
19955 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19956 by zero in return for negative x and set sign appropriately for
19957 negative n.
19958 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19959 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19960 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19961 expectations in error cases.
19962 (y1_test_data): Likewise.
19963 (yn_test_data): Likewise.
19964 * sysdeps/i386/fpu/libm-test-ulps: Update.
19965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19966
19967 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19968
19969 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19970 "64" to "64-v1". Add "64-v2".
19971 (abi-64-options): Rename to ...
19972 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19973 (abi-64-condition): Rename to ...
19974 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19975 (abi-64-ld-soname): Rename to ...
19976 (abi-64-v1-ld-soname): ... this.
19977 (abi-64-v2-options): Define.
19978 (abi-64-v2-condition): Likewise.
19979 (abi-64-v2-ld-soname): Likewise.
19980 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19981 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19985
19986 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19987 Alan Modra <amodra@gmail.com>
19988
19989 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19990 New versions for use with the ELFv2 ABI.
19991 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19992 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19993 declaration.
19994 (struct La_ppc64v2_retval): Likewise.
19995 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19996 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19997 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19998 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19999 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20000 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20001 Do not save or restore CR.
20002 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20003 (_dl_profile_resolve): Do no save or restore CR. Support extended
20004 return values for ELFv2 ABI. Fix location of FPR return registers.
20005 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20006 updated values for _CALL_ELF == 2.
20007 (La_regs, La_retval, int_retval): Likewise.
20008
20009 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20010
20011 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20012 (FRAME_MIN_SIZE_PARM): Likewise.
20013 (FRAME_BACKCHAIN): Likewise.
20014 (FRAME_CR_SAVE): Likewise.
20015 (FRAME_LR_SAVE): Likewise.
20016 (FRAME_TOC_SAVE): Likewise.
20017 (FRAME_PARM_SAVE): Likewise.
20018 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20019 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20020 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20021 (call_mcount_parm_offset): New macro.
20022 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20023 (PROF): Use symbolic stack frame offsets.
20024 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20025 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20026 Redefine in terms of FRAME_MIN_SIZE.
20027 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20028 (_dl_profile_resolve): Likewise. Update comment.
20029 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20030 symbols stack frame offsets.
20031 (__sigsetjmp): Likewise.
20032 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20033 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20034 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20035 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20036
20037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20038 (FRAME_BACKCHAIN): Remove.
20039 (FRAME_CR_SAVE): Likewise.
20040 (FRAME_LR_SAVE): Likewise.
20041 (FRAME_COMPILER_DW): Likewise.
20042 (FRAME_LINKER_DW): Likewise.
20043 (FRAME_TOC_SAVE): Likewise.
20044 (FRAME_PARM_SAVE): Likewise.
20045 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20046 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20047 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20049 (CHECK_SP): Use symbolic stack frame offsets.
20050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20051 zone" instead of caller's parameter save area for temp storage.
20052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20053 Likewise. Also, use symbolic stack frame offsets.
20054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20055 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20056 our own stack frame instead of the caller's.
20057 (__socket): Use symbolic stack frame offsets.
20058
20059 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20060 Alan Modra <amodra@gmail.com>
20061
20062 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20063 Define.
20064 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20065 (PPC64_LOCAL_ENTRY_OFFSET): Define.
20066 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20067 New function.
20068 (elf_machine_fixup_plt): Call it.
20069 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20070 reloc arguments.
20071 (elf_machine_rela): Update call to elf_machine_plt_conflict.
20072 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20073 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20074 r2 before calling target.
20075
20076 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20077 Alan Modra <amodra@gmail.com>
20078
20079 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20080 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20081 versions of macros to support ELFv2 ABI.
20082 (LOCALENTRY): New macro.
20083 (ENTRY, EALIGN): Use it.
20084 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20085 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20086 fall through into ENTRY entry point.
20087 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20088 Only define if _CALL_ELF != 2.
20089
20090 (elf_machine_matches_host): Verify ABI version matches.
20091 (RTLD_START): Use LOCALENTRY.
20092 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20093 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20094 (PLT_ENTRY_WORDS): New macro.
20095 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20096 (elf_machine_runtime_setup): Support ELFv2 ABI.
20097 (elf_machine_fixup_plt): Likewise.
20098 (elf_machine_plt_conflict): Likewise.
20099 (resolve_ifunc): Likewise.
20100 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20102 Likewise.
20103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20104 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20106 (makecontext): Support ELFv2 ABI.
20107 * elf/elf.h (EF_PPC64_ABI): Define.
20108
20109 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20110
20111 * sysdeps/powerpc/powerpc64/sysdep.h
20112 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20113 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20114 (ENTRY) [ASSEMBLER]: ... but instead here ...
20115 (EALIGN) [ASSEMBLER]: ... and here.
20116 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20117 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20118 (ENTRY_2) [!ASSEMBLER]: Use it.
20119 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20120 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
20121 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20122 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20123 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20125 Use PPC64_LOAD_FUNCPTR.
20126
20127 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20128
20129 2013-12-04 Alan Modra <amodra@gmail.com>
20130
20131 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20132 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20133 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20134 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20135
20136 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20137 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20138 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20139 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20140 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20141 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20142
20143 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20144
20145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20146 (__makecontext): Fix incorrect CFI when backtracing out of
20147 context created via makecontext.
20148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20149 (__setcontext): Fix incorrect CFI during switch to new context.
20150 (__novec_setcontext): Likewise.
20151
20152 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20153
20154 [BZ #4772]
20155 * time/strptime_l.c (__strptime_internal): Allow modifiers
20156 in strptime.
20157 * time/tst-strptime.c (day_tests): Add testcase.
20158
20159 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20160
20161 * scripts/bench.pl: Skip over blank lines.
20162
20163 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20164
20165 [BZ #926]
20166 * manual/time.texi (Calendar Time): Clarify what timezone functions
20167 use.
20168
20169 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20170
20171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20172
20173 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20174
20175 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20176 implementation.
20177 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20178 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20179 * debug/memset_chk.c (__memset_chk): Likewise.
20180 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20181 * debug/strncpy_chk.c: Likewise.
20182
20183 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20184
20185 [BZ #15268]
20186 [BZ #15425]
20187 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20188 (__ieee754_exp): For possibly underflowing results, check size of
20189 result and force underflow exception if required.
20190 * math/auto-libm-test-in: Add more tests of exp.
20191 * math/auto-libm-test-out: Regenerated.
20192 * sysdeps/i386/fpu/libm-test-ulps: Update.
20193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20194
20195 [BZ #16283]
20196 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20197 * math/w_exp2f.c (__exp2f): Likewise.
20198 * math/w_exp2l.c (__exp2l): Likewise.
20199 * math/auto-libm-test-in: Do not allow missing errno on exp2
20200 underflow.
20201 * math/auto-libm-test-out: Regenerated.
20202
20203 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
20204
20205 [BZ #16274]
20206 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20207 handle filename validation.
20208 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20209 (do_open): Delete.
20210
20211 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20212
20213 [BZ #6786]
20214 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20215 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20216 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20217 <float.h>.
20218 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20219 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20220 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20221 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20222 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20223 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20224 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20225 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20226 Add more erfc tests.
20227 * math/auto-libm-test-out: Regenerated.
20228 * sysdeps/i386/fpu/libm-test-ulps: Update.
20229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20230
20231 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20232 exp2, expm1, j0 and j1.
20233 * math/auto-libm-test-out: Regenerated.
20234 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20235 (erfc_test_data): Likewise.
20236 (exp_test_data): Likewise.
20237 (exp_tonearest_test_data): Likewise.
20238 (exp_towardzero_test_data): Likewise.
20239 (exp_downward_test_data): Likewise.
20240 (exp_upward_test_data): Likewise.
20241 (exp10_test_data): Likewise.
20242 (exp2_test_data): Likewise.
20243 (expm1_test_data): Likewise.
20244 (j0_test_data): Likewise.
20245 (j1_test_data): Likewise.
20246 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20247 (input_flag_type): Add flag_xfail_rounding.
20248 (input_flags): Add xfail-rounding.
20249 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20250 (output_for_one_input_case): Handle flag_xfail_rounding.
20251 * sysdeps/i386/fpu/libm-test-ulps: Update.
20252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20253
20254 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20255
20256 [BZ #16289]
20257 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20258 division by 0.
20259
20260 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20261
20262 [BZ #16195]
20263 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20264 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20265 (STAP_PROBE0): New macro.
20266 (STAP_PROBE1): Likewise.
20267 (STAP_PROBE2): Likewise.
20268 (STAP_PROBE3): Likewise.
20269 (STAP_PROBE4): Likewise.
20270
20271 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
20272
20273 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20274
20275 2013-12-02 Steve Ellcey <sellcey@mips.com>
20276
20277 * benchtests/Makefile (bench): Add sqrt.
20278 (LDLIBS-bench-sqrt): New.
20279 * benchtests/sqrt-input: New.
20280
20281 2013-12-02 Pavel Simerda <psimerda@redhat.com>
20282
20283 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20284 (GAIH_EAI): Likewise.
20285 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20286 (gaih_inet): Likewise.
20287 (getaddrinfo): Don't use GAIH_EAI.
20288
20289 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20290 (struct gaih): Remove definition.
20291
20292 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20293
20294 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20295 Use HERRNOP directly.
20296
20297 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20298
20299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20300
20301 2013-11-30 Joseph Myers <joseph@codesourcery.com>
20302
20303 * math/gen-auto-libm-tests.c (test_functions): Add more
20304 single-argument functions.
20305 (special_fill_pi_2): New function.
20306 (special_fill_minus_pi_2): Likewise.
20307 (special_fill_pi_6): Likewise.
20308 (special_fill_minus_pi_6): Likewise.
20309 (special_fill_pi_3): Likewise.
20310 (special_fill_2pi_3): Likewise.
20311 (special_fill_e): Likewise.
20312 (special_fill_1_e): Likewise.
20313 (special_fill_e_minus_1): Likewise.
20314 (special_real_inputs): Add more special inputs.
20315 (output_for_one_input_case): Do not require ERANGE on underflow to
20316 zero if round-to-nearest result does not underflow to zero, unless
20317 exact results required.
20318 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20319 atan, atanh, cbrt, cos and cosh.
20320 * math/auto-libm-test-out: Regenerated.
20321 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20322 (acos_tonearest_test_data): Likewise.
20323 (acos_towardzero_test_data): Likewise.
20324 (acos_downward_test_data): Likewise.
20325 (acos_upward_test_data): Likewise.
20326 (acosh_test_data): Likewise.
20327 (asin_test_data): Likewise.
20328 (asin_tonearest_test_data): Likewise.
20329 (asin_towardzero_test_data): Likewise.
20330 (asin_upward_test_data): Likewise.
20331 (asinh_test_data): Likewise.
20332 (atan_test_data): Likewise.
20333 (atanh_test_data): Likewise.
20334 (cbrt_test_data): Likewise.
20335 (cos_test_data): Likewise.
20336 (cos_tonearest_test_data): Likewise.
20337 (cos_towardzero_test_data): Likewise.
20338 (cos_downward_test_data): Likewise.
20339 (cos_upward_test_data): Likewise.
20340 (cosh_test_data): Likewise.
20341 (cosh_tonearest_test_data): Likewise.
20342 (cosh_towardzero_test_data): Likewise.
20343 (cosh_downward_test_data): Likewise.
20344 (cosh_upward_test_data): Likewise.
20345 * sysdeps/i386/fpu/libm-test-ulps: Update.
20346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20347
20348 2013-11-29 Joseph Myers <joseph@codesourcery.com>
20349
20350 [BZ #6787]
20351 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20352 * math/w_exp10f.c (__exp10f): Likewise.
20353 * math/w_exp10l.c (__exp10l): Likewise.
20354 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20355 errno settings in existing tests.
20356
20357 [BZ #14032]
20358 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20359 precision control set to double precision.
20360 * sysdeps/i386/fpu/w_sqrt.c: New file.
20361 * math/auto-libm-test-in: Add more tests.
20362 * math/auto-libm-test-out: Update.
20363
20364 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20365 (sqrt_test_tonearest): New function.
20366 (sqrt_towardzero_test_data): New variable.
20367 (sqrt_test_towardzero): New function.
20368 (sqrt_downward_test_data): New variable.
20369 (sqrt_test_downward): New function.
20370 (sqrt_upward_test_data): New variable.
20371 (sqrt_test_upward): New function.
20372 (main): Call the new functions.
20373
20374 * math/gen-auto-libm-tests.c: New file.
20375 * math/auto-libm-test-in: Likewise.
20376 * math/auto-libm-test-out: New generated file.
20377 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20378 variables.
20379 (%beautify): Add generated representations of zero.
20380 (top level): Set $auto_input and call parse_auto_input.
20381 (beautify): Remove trailing "f" from hex float constants.
20382 (parse_args): Handle XFAIL_TEST.
20383 (convert_condition): New function.
20384 (or_value): Likewise.
20385 (or_cond_value): Likewise.
20386 (generate_testfile): Handle AUTO_TESTS_* lines.
20387 (parse_auto_input): New function.
20388 * math/libm-test.inc (XFAIL_TEST): New macro.
20389 (ERRNO_UNCHANGED): Update value.
20390 (ERRNO_EDOM): Likewise.
20391 (ERRNO_ERANGE): Likewise.
20392 (IGNORE_RESULT): Likewise.
20393 (TEST_COND_flt_32): New macro.
20394 (TEST_COND_dbl_64): Likewise.
20395 (TEST_COND_ldbl_96_intel): Likewise.
20396 (TEST_COND_ldbl_96_m68k): Likewise.
20397 (TEST_COND_ldbl_128): Likewise.
20398 (TEST_COND_ldbl_128ibm): Likewise.
20399 (TEST_COND_long32): Likewise.
20400 (TEST_COND_long64): Likewise.
20401 (TEST_COND_before_rounding): Likewise.
20402 (TEST_COND_after_rounding): Likewise.
20403 (enable_test): Handle XFAIL_TEST flag.
20404 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20405 with finite results.
20406 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20407 auto-libm-test-out.
20408
20409 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20410 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20411
20412 [BZ #16214]
20413 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20414 __tls_get_addr_internal instead of __tls_get_offset in order to
20415 avoid GOT pointer dependency. Make rtld export
20416 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20417 __tls_get_addr since we are a __tls_get_offset platform.
20418 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20419 GOT pointer being set up before.
20420 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20421
20422 2013-11-28 Joseph Myers <joseph@codesourcery.com>
20423
20424 * manual/math.texi (Errors in Math Functions): Document accuracy
20425 goals.
20426
20427 [BZ #15004]
20428 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20429 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20430 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20431 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20432 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20433 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20434 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20435 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20436 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20437 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20438 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20439 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20440 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20441 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20442 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20443 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20444
20445 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20446 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20447 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20448 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20449 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20450 Likewise.
20451 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20452 Likewise.
20453 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20454 Likewise.
20455 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20456 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20457 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20458 atomic-feupdateenv and flt-rounds.
20459 * sysdeps/powerpc/nofpu/Versions (libc): Add
20460 __atomic_feholdexcept, __atomic_feclearexcept,
20461 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20462 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20463 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20464 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20465 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20466 here.
20467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20468 Update.
20469
20470 * manual/arith.texi (FP Exceptions): Document that exceptions may
20471 not be raised when matherr is used.
20472 (Math Error Reporting): Document overflow in directed rounding
20473 modes. Document that errno may not be set when finite values are
20474 returned on overflow. Document intent to set errno on underflow
20475 only for underflow to zero.
20476
20477 [BZ #16271]
20478 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20479 round-to-nearest then adjust result for other rounding modes.
20480 * include/fenv.h (fegetround): Use libm_hidden_proto.
20481 * math/fegetround.c (fegetround): Use libm_hidden_def.
20482 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20483 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20484 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20485 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20486 Likewise.
20487 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20488 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20489 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20490 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20491
20492 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20493
20494 [BZ #16077]
20495 * nss/Versions (libnss_files): Add
20496 _nss_files_gethostbyname3_r.
20497 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20498 New function.
20499 (HOST_DB_LOOKUP): Remove macro.
20500 (_nss_files_gethostbyname_r): Implement function without the
20501 HOST_DB_LOOKUP macro.
20502 (_nss_files_gethostbyname2_r): Likewise.
20503
20504 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
20505
20506 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20507
20508 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
20509
20510 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20511 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20512 warning.
20513
20514 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20515
20516 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20517 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20518 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20519 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20520 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20521 __fe_nomask_env_priv and attribute_hidden.
20522 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20523 (libc_feupdateenv_test_ppc): Likewise.
20524 (libc_feresetround_ppc): Likewise.
20525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20526 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20527 compat_symbol macro.
20528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20529 (__fe_nomask_env): Likewise.
20530 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20531
20532 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20533
20534 * string/Makefile: Remove ifunc tests.
20535 * string/test-string.h: Define TEST_IFUNC.
20536 * string/test-bcopy-ifunc.c: Remove.
20537 * string/test-bzero-ifunc.c: Likewise.
20538 * string/test-memccpy-ifunc.c: Likewise.
20539 * string/test-memchr-ifunc.c: Likewise.
20540 * string/test-memcmp-ifunc.c: Likewise.
20541 * string/test-memcpy-ifunc.c: Likewise.
20542 * string/test-memmem-ifunc.c: Likewise.
20543 * string/test-memmove-ifunc.c: Likewise.
20544 * string/test-mempcpy-ifunc.c: Likewise.
20545 * string/test-memrchr-ifunc.c: Likewise.
20546 * string/test-memset-ifunc.c: Likewise.
20547 * string/test-rawmemchr-ifunc.c: Likewise.
20548 * string/test-stpcpy-ifunc.c: Likewise.
20549 * string/test-stpncpy-ifunc.c: Likewise.
20550 * string/test-strcasecmp-ifunc.c: Likewise.
20551 * string/test-strcasestr-ifunc.c: Likewise.
20552 * string/test-strcat-ifunc.c: Likewise.
20553 * string/test-strchr-ifunc.c: Likewise.
20554 * string/test-strchrnul-ifunc.c: Likewise.
20555 * string/test-strcmp-ifunc.c: Likewise.
20556 * string/test-strcpy-ifunc.c: Likewise.
20557 * string/test-strcspn-ifunc.c: Likewise.
20558 * string/test-strlen-ifunc.c: Likewise.
20559 * string/test-strncasecmp-ifunc.c: Likewise.
20560 * string/test-strncat-ifunc.c: Likewise.
20561 * string/test-strncmp-ifunc.c: Likewise.
20562 * string/test-strncpy-ifunc.c: Likewise.
20563 * string/test-strnlen-ifunc.c: Likewise.
20564 * string/test-strpbrk-ifunc.c: Likewise.
20565 * string/test-strrchr-ifunc.c: Likewise.
20566 * string/test-strspn-ifunc.c: Likewise.
20567 * string/test-strstr-ifunc.c: Likewise.
20568
20569 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20570
20571 * benchtests/Makefile: Remove ifunc tests.
20572 * benchtests/bench-string.h: Define TEST_IFUNC.
20573 * benchtests/bench-bcopy-ifunc.c: Remove.
20574 * benchtests/bench-bzero-ifunc.c: Likewise.
20575 * benchtests/bench-memccpy-ifunc.c: Likewise.
20576 * benchtests/bench-memchr-ifunc.c: Likewise.
20577 * benchtests/bench-memcmp-ifunc.c: Likewise.
20578 * benchtests/bench-memcpy-ifunc.c: Likewise.
20579 * benchtests/bench-memmem-ifunc.c: Likewise.
20580 * benchtests/bench-memmove-ifunc.c: Likewise.
20581 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20582 * benchtests/bench-memrchr-ifunc.c: Likewise.
20583 * benchtests/bench-memset-ifunc.c: Likewise.
20584 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20585 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20586 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20587 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20588 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20589 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20590 * benchtests/bench-strcat-ifunc.c: Likewise.
20591 * benchtests/bench-strchr-ifunc.c: Likewise.
20592 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20593 * benchtests/bench-strcmp-ifunc.c: Likewise.
20594 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20595 * benchtests/bench-strcpy-ifunc.c: Likewise.
20596 * benchtests/bench-strcspn-ifunc.c: Likewise.
20597 * benchtests/bench-strlen-ifunc.c: Likewise.
20598 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20599 * benchtests/bench-strncat-ifunc.c: Likewise.
20600 * benchtests/bench-strncmp-ifunc.c: Likewise.
20601 * benchtests/bench-strncpy-ifunc.c: Likewise.
20602 * benchtests/bench-strnlen-ifunc.c: Likewise.
20603 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20604 * benchtests/bench-strrchr-ifunc.c: Likewise.
20605 * benchtests/bench-strsep-ifunc.c: Likewise.
20606 * benchtests/bench-strspn-ifunc.c: Likewise.
20607 * benchtests/bench-strstr-ifunc.c: Likewise.
20608
20609 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20610
20611 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20612
20613 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20614
20615 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20616 * rt/aio.h: Likewise.
20617 * sysdeps/gnu/bits/utmp.h: Likewise.
20618 * sysdeps/gnu/bits/utmpx.h: Likewise.
20619 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20620 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20621 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20622 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20623 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20624 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20625 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20626 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20627 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20628 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20629 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20630 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20631 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20633 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20634 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20635 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20636 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20637 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20638 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20639 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20640 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20641 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20642 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20643 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20645 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20646 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20647 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20648 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20649 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20650 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20651 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20652 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20653 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20654 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20655 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20656 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20657 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20658 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20659 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20660 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20661
20662 2013-11-25 Carlos O'Donell <carlos@redhat.com>
20663
20664 [BZ #16245]
20665 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20666 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20667
20668 2013-11-25 Joseph Myers <joseph@codesourcery.com>
20669
20670 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20671 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20672 Likewise.
20673
20674 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20675
20676 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20677 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20678 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20679 (__fesetround): Remove define.
20680 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20681 rounding and exceptions handling.
20682 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20683 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20684 (__fe_nomask_env): Likewise.
20685 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20686 __fegetround instead of fegetround.
20687 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20688 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20689
20690 2013-11-21 Roland McGrath <roland@hack.frob.com>
20691
20692 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20693 it's there.
20694
20695 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20696
20697 2013-11-21 Meador Inge <meadori@codesourcery.com>
20698
20699 [BZ #11157]
20700 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20701 (encrypt_r): Likewise.
20702 * malloc/obstack.h (obstack_free): Likewise.
20703 * posix/unistd.h (encrypt): Likewise.
20704
20705 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20706
20707 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20708 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20709 DL_CALL_DT_FINI() that call the functions directly.
20710 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20711 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20712 * elf/dl-fini.c: Likewise.
20713
20714 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
20715
20716 * malloc/hooks.c (memalign_check): Add alignment rounding.
20717 * malloc/malloc.c (_mid_memalign): New function.
20718 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20719 Implement by calling _mid_memalign.
20720 * manual/probes.texi (Memory Allocation Probes): Remove
20721 memory_valloc_retry and memory_pvalloc_retry.
20722
20723 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20724
20725 * locale/programs/locarchive.c (open_archive): Add const
20726 qualifier to ARCHIVEFNAME and copy default fname to
20727 DEFAULT_FNAME.
20728
20729 [BZ #15601]
20730 * libio/tst-widetext.input: Rename Oriya to Odia.
20731 * locale/iso-639.def: Likewise.
20732
20733 * manual/probes.texi (Mathematical Function Probes): Add
20734 documentation for sin, cos, asin and acos probes.
20735 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20736 (__sin32): Add slowasin probe.
20737 (__cos32): Add slowacos probe.
20738 (__mpsin): Add slowsin probe.
20739 (__mpcos): Add slowcos probe.
20740
20741 2013-11-19 Joseph Myers <joseph@codesourcery.com>
20742
20743 [BZ #15483]
20744 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20745 thread-local __sim_exceptions_thread and global
20746 __sim_exceptions_global.
20747 (__sim_disabled_exceptions): Change to thread-local
20748 __sim_disabled_exceptions_thread and global
20749 __sim_disabled_exceptions_global.
20750 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20751 and global __sim_round_mode_global.
20752 (__simulate_exceptions): Use thread-local floating-point state and
20753 set global state from it as needed.
20754 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20755 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20756 __sim_round_mode_thread.
20757 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20758 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20759 and global __sim_exceptions_global.
20760 (__sim_disabled_exceptions): Change to thread-local
20761 __sim_disabled_exceptions_thread and global
20762 __sim_disabled_exceptions_global.
20763 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20764 and global __sim_round_mode_global.
20765 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20766 (SIM_SET_GLOBAL): Likewise.
20767 * sysdeps/powerpc/soft-fp/sfp-machine.h
20768 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20769 __sim_round_mode_thread.
20770 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20771 __sim_disabled_exceptions_thread.
20772 (__sim_exceptions): Change to __sim_exceptions_thread.
20773 (__sim_disabled_exceptions): Change to
20774 __sim_disabled_exceptions_thread.
20775 (__sim_round_mode): Change to __sim_round_mode_thread.
20776 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20777 thread-local floating-point state and set global state from it as
20778 needed.
20779 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20780 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20781 (__sim_disabled_exceptions): Remove extern declaration.
20782 (feenableexcept): Use thread-local floating-point state and set
20783 global state from it as needed.
20784 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20785 extern declaration.
20786 (__sim_disabled_exceptions): Likewise.
20787 (__sim_round_mode): Likewise.
20788 (__fegetenv): Use thread-local floating-point state.
20789 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20790 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20791 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20792 floating-point state and set global state from it as needed.
20793 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20794 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20795 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20796 Likewise.
20797 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20798 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20799 Likewise.
20800 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20801 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20802 Use __sim_round_mode_thread.
20803 * math/test-fenv-tls.c: New file.
20804 * math/Makefile (tests): Add test-fenv-tls.
20805 ($(objpfx)test-fenv-tls): Depend on
20806 $(common-objpfx)nptl/libpthread.so.
20807
20808 2013-11-19 Andreas Schwab <schwab@suse.de>
20809
20810 * locale/programs/locale.c (show_info): Decode wordarray elements.
20811 * locale/categories.def (LC_MONETARY): Add element for
20812 _NL_MONETARY_CRNCYSTR.
20813 * locale/C-monetary.c (conversion_rate): New variable.
20814 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20815 element.
20816
20817 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20818
20819 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20820 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20821
20822 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20823
20824 * elf/Makefile (tst-auxv): New test.
20825 * elf/tst-auxv.c: New
20826 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20827
20828 2013-11-18 Joseph Myers <joseph@codesourcery.com>
20829
20830 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20831 (hidden_proto): Caller changed.
20832 (hidden_tls_proto): New macro.
20833 (libc_hidden_tls_proto): Likewise.
20834 (rtld_hidden_tls_proto): Likewise.
20835 (libm_hidden_tls_proto): Likewise.
20836 (libresolv_hidden_tls_proto): Likewise.
20837 (librt_hidden_tls_proto): Likewise.
20838 (libdl_hidden_tls_proto): Likewise.
20839 (libnss_files_hidden_tls_proto): Likewise.
20840 (libnsl_hidden_tls_proto): Likewise.
20841 (libnss_nisplus_hidden_tls_proto): Likewise.
20842 (libutil_hidden_tls_proto): Likewise.
20843
20844 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
20845
20846 [BZ #10253]
20847 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20848 (decompose_rpath): Defer expansion to fillin_rpath.
20849 (_dl_init_paths): Pass linkmap to fillin_rpath.
20850
20851 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20852
20853 * benchtests/Makefile: Add strsep.
20854 * benchtests/bench-strsep.c: New file: strsep benchtest.
20855 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20856
20857 2013-11-18 Andreas Schwab <schwab@suse.de>
20858
20859 * locale/programs/locale.c (show_info) [case byte]: Check for
20860 '\377' instead of '\177'.
20861 * locale/C-monetary.c (not_available): Always use "\377".
20862 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20863 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20864 detect unavailable sign_posn locale elements.
20865 * locale/localeconv.c (__localeconv): For grouping and
20866 mon_grouping handle "\177" and "\377" like no grouping.
20867 (INT_ELEM): New macro. Use it to set all numeric members.
20868 * locale/programs/ld-monetary.c (monetary_read)
20869 <tok_mon_grouping>: Normalize single -1 to the empty string.
20870 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20871 Likewise.
20872
20873 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20874
20875 [BZ #16055]
20876 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20877 when we match (nil).
20878 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20879
20880 2013-11-16 Joseph Myers <joseph@codesourcery.com>
20881
20882 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20883 (NO_TEST_INLINE): Update value.
20884 (ERRNO_UNCHANGED): Likewise.
20885 (ERRNO_EDOM): Likewise.
20886 (ERRNO_ERANGE): Likewise.
20887 (IGNORE_RESULT): Likewise.
20888 (check_float_internal): Check signs of NaN results if
20889 TEST_NAN_SIGN used.
20890 (check_complex): Pass TEST_NAN_SIGN flag through to second
20891 check_float_internal call.
20892 (copysign_test_data): Add tests with quiet NaNs as second
20893 argument. Use TEST_NAN_SIGN.
20894 (fabs_test_data): Add test of negative quiet NaN argument. Use
20895 TEST_NAN_SIGN.
20896 (signbit_test_data): Add tests of quiet NaN argument.
20897 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20898
20899 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20900 $ignore_result.
20901 (parse_args): Handle function results specified as IGNORE.
20902 * math/libm-test.inc (IGNORE_RESULT): New macro.
20903 (check_float_internal): Do not check numerical result if flag
20904 IGNORE_RESULT set.
20905 (check_complex): Pass through IGNORE_RESULT to second
20906 check_float_internal call.
20907 (check_int): Do not check numerical result if flag IGNORE_RESULT
20908 set.
20909 (check_long): Likewise.
20910 (check_bool): Likewise.
20911 (check_longlong): Likewise.
20912 (lrint_test_data): Add tests of infinite and NaN arguments.
20913 (lrint_tonearest_test_data): Likewise.
20914 (lrint_towardzero_test_data): Likewise.
20915 (lrint_downward_test_data): Likewise.
20916 (lrint_upward_test_data): Likewise.
20917 (llrint_test_data): Likewise.
20918 (llrint_tonearest_test_data): Likewise.
20919 (llrint_towardzero_test_data): Likewise.
20920 (llrint_downward_test_data): Likewise.
20921 (llrint_upward_test_data): Likewise.
20922 (lround_test_data): Likewise.
20923 (llround_test_data): Likewise.
20924
20925 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20926 (ERRNO_UNCHANGED): Update value.
20927 (ERRNO_EDOM): Likewise.
20928 (ERRNO_ERANGE): Likewise.
20929 (NO_TEST_INLINE_FLOAT): New macro.
20930 (NO_TEST_INLINE_DOUBLE): Likewise.
20931 (enable_test): New function.
20932 (RUN_TEST_f_f): Check enable_test before running test.
20933 (RUN_TEST_2_f): Likewise.
20934 (RUN_TEST_fff_f): Likewise.
20935 (RUN_TEST_c_f): Likewise.
20936 (RUN_TEST_f_f1): Likewise.
20937 (RUN_TEST_fF_f1): Likewise.
20938 (RUN_TEST_fI_f1): Likewise.
20939 (RUN_TEST_ffI_f1): Likewise.
20940 (RUN_TEST_c_c): Likewise.
20941 (RUN_TEST_cc_c): Likewise.
20942 (RUN_TEST_f_i): Likewise.
20943 (RUN_TEST_f_i_tg): Likewise.
20944 (RUN_TEST_ff_i_tg): Likewise.
20945 (RUN_TEST_f_b): Likewise.
20946 (RUN_TEST_f_b_tg): Likewise.
20947 (RUN_TEST_f_l): Likewise.
20948 (RUN_TEST_f_L): Likewise.
20949 (RUN_TEST_fFF_11): Likewise.
20950 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20951 conditionals.
20952 (cosh_test_data): Likewise.
20953 (exp_test_data): Likewise.
20954 (expm1_test_data): Likewise.
20955 (hypot_test_data): Likewise.
20956 (pow_test_data): Likewise.
20957 (sinh_test_data): Likewise.
20958 (tanh_test_data): Likewise.
20959 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20960 flags argument.
20961
20962 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20963 tests with quiet NaN input and output.
20964 (acosh_test_data): Likewise.
20965 (asin_test_data): Likewise.
20966 (asinh_test_data): Likewise.
20967 (atan_test_data): Likewise.
20968 (atanh_test_data): Likewise.
20969 (atan2_test_data): Likewise.
20970 (cbrt_test_data): Likewise.
20971 (cos_test_data): Likewise.
20972 (cosh_test_data): Likewise.
20973 (erf_test_data): Likewise.
20974 (erfc_test_data): Likewise.
20975 (exp_test_data): Likewise.
20976 (exp10_test_data): Likewise.
20977 (exp2_test_data): Likewise.
20978 (expm1_test_data): Likewise.
20979 (hypot_test_data): Likewise.
20980 (j0_test_data): Likewise.
20981 (j1_test_data): Likewise.
20982 (jn_test_data): Likewise.
20983 (lgamma_test_data): Likewise.
20984 (log_test_data): Likewise.
20985 (log10_test_data): Likewise.
20986 (log1p_test_data): Likewise.
20987 (log2_test_data): Likewise.
20988 (pow_test_data): Likewise.
20989 (scalb_test_data): Likewise.
20990 (sin_test_data): Likewise.
20991 (sincos_test_data): Likewise.
20992 (sinh_test_data): Likewise.
20993 (tan_test_data): Likewise.
20994 (tanh_test_data): Likewise.
20995 (tgamma_test_data): Likewise.
20996 (y0_test_data): Likewise.
20997 (y1_test_data): Likewise.
20998 (yn_test_data): Likewise.
20999
21000 [BZ #16167]
21001 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21002 argument being NaN and avoid computations with second argument in
21003 that case.
21004 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21005 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21006 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21007
21008 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21009
21010 * locale/iso-639.def: Add Chitwani Tharu (the).
21011
21012 2013-11-14 Andreas Schwab <schwab@suse.de>
21013
21014 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21015 word instead of empty string.
21016
21017 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21018
21019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21020 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21022 (__fe_nomask_env): Likewise.
21023
21024 2013-11-13 Steve Ellcey <sellcey@mips.com>
21025
21026 * benchtests/bench-timing.h: Include time.h.
21027
21028 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21029
21030 [BZ #15997]
21031 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21032 to 3.4.0 for x32.
21033 * sysdeps/unix/sysv/linux/configure: Regenerated.
21034
21035 2013-11-13 Joseph Myers <joseph@codesourcery.com>
21036
21037 [BZ #16151]
21038 * stdlib/strtod_l.c (round_and_return): Do not consider
21039 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21040 exponent one less than half the least subnormal exponent.
21041 * stdlib/test-strtod-round-data: Add more tests.
21042 * stdlib/tst-strtod-round.c (tests): Regenerated.
21043
21044 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21045
21046 [BZ #14143]
21047 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21048 (__fe_mask_env): Likewise.
21049 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21050 libm_hidden_proto and add function prototype.
21051 (__fe_mask_env): Add function prototype.
21052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21053 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21055 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21057 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21058
21059 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21060
21061 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21062 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21063
21064 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21065
21066 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21067 of htab_find_slot().
21068
21069 2013-11-11 David S. Miller <davem@davemloft.net>
21070
21071 [BZ #16150]
21072 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21073 symbol in the non-vis3 case in static builds.
21074 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21075 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21076 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21077 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21078
21079 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21080
21081 [BZ #387]
21082 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21083 it is empty.
21084
21085 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21086
21087 * benchtests/Makefile: Add bench-strtod.
21088 * benchtests/bench-strtod.c: New file: strtod benchtest
21089
21090 2013-11-11 Andreas Schwab <schwab@suse.de>
21091
21092 [BZ #16153]
21093 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21094 terminating NUL in key length.
21095
21096 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21097
21098 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21099 Add artificial ODP entry for vDSO symbol for PPC64.
21100 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21101 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21102
21103 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21104
21105 [BZ #15374]
21106 * nss/getent.c (services_keys): Recognize services starting with digit.
21107
21108 2013-11-06 David S. Miller <davem@davemloft.net>
21109
21110 [BZ #15985]
21111 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21112 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21113
21114 2013-11-06 Will Newton <will.newton@linaro.org>
21115
21116 * manual/memory.texi (Malloc Examples): Remove register
21117 keyword from examples.
21118
21119 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
21120
21121 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21122
21123 2013-11-04 Joseph Myers <joseph@codesourcery.com>
21124
21125 [BZ #6981]
21126 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21127 depending on [__GCC_IEC_559 > 0].
21128 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21129 depending on [__GCC_IEC_559_COMPLEX > 0].
21130
21131 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
21132
21133 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21134 to iso-639.def.
21135
21136 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
21137
21138 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21139
21140 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
21141
21142 [BZ #16112]
21143 * malloc/malloc (malloc_info): Do not handle first bin as
21144 special case.
21145
21146 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
21147
21148 * locale/iso-639.def: Add Central Nahuatl (nhn).
21149
21150 2013-11-01 Bruno Haible <bruno@clisp.org>
21151
21152 [BZ #7003]
21153 * manual/math.texi (BSD Random): Specify range upper bound as
21154 in POSIX.
21155
21156 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
21157
21158 * locale/iso-639.def: Add Meadow Mari (mhr).
21159
21160 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
21161
21162 [BZ #14752], [BZ #15763]
21163 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21164 Validate name.
21165 * rt/tst_shm.c: Add test for escaping directory.
21166
21167 2013-10-31 Andreas Schwab <schwab@suse.de>
21168
21169 [BZ #15917]
21170 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21171 followed by 'x' as part of digit sequence.
21172 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21173
21174 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21175
21176 [BZ #16037]
21177 * configure.ac: allow GNU Make 4.0 and greater.
21178 * configure: Regenerated.
21179
21180 2013-10-30 Will Newton <will.newton@linaro.org>
21181
21182 [BZ #16038]
21183 * malloc/hooks.c (memalign_check): Limit alignment to the
21184 maximum representable power of two.
21185 * malloc/malloc.c (__libc_memalign): Likewise.
21186 * malloc/tst-memalign.c (do_test): Add test for very
21187 large alignment values.
21188 * malloc/tst-posix_memalign.c (do_test): Likewise.
21189
21190 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21191
21192 [BZ #11087]
21193 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21194 (munmap_chunk): Likewise.
21195 (mremap_chunk): Likewise.
21196
21197 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21198
21199 [BZ #15799]
21200 * stdlib/div.c (div): Remove obsolete code.
21201 * stdlib/ldiv.c (ldiv): Likewise.
21202 * stdlib/lldiv.c (lldiv): Likewise.
21203
21204 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21205
21206 [BZ #16071]
21207 * nss/nss_files/files-XXX.c (get_contents_ret): New
21208 enumerator.
21209 (get_contents): New function.
21210 (internal_getent): Use it. Expand size of LINEBUFLEN.
21211
21212 2013-10-30 Mike Frysinger <vapier@gentoo.org>
21213
21214 * configure.in: Moved to ...
21215 * configure.ac: ... here. Change reference to configure.in
21216 to configure.ac.
21217 * sysdeps/arm/preconfigure.ac: ... here.
21218 configure.in to configure.ac.
21219 * sysdeps/gnu/configure.in: Moved to ...
21220 * sysdeps/gnu/configure.ac: ... here.
21221 * sysdeps/i386/configure.in: Moved to ...
21222 * sysdeps/i386/configure.ac: ... here.
21223 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21224 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21225 * sysdeps/mach/configure.in: Moved to ...
21226 * sysdeps/mach/configure.ac: ... here.
21227 * sysdeps/mach/hurd/configure.in: Moved to ...
21228 * sysdeps/mach/hurd/configure.ac: ... here.
21229 * sysdeps/powerpc/configure.in: Moved to ...
21230 * sysdeps/powerpc/configure.ac: ... here.
21231 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21232 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21233 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21234 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21235 * sysdeps/s390/s390-32/configure.in: Moved to ...
21236 * sysdeps/s390/s390-32/configure.ac: ... here.
21237 * sysdeps/s390/s390-64/configure.in: Moved to ...
21238 * sysdeps/s390/s390-64/configure.ac: ... here.
21239 * sysdeps/sh/configure.in: Moved to ...
21240 * sysdeps/sh/configure.ac: ... here.
21241 * sysdeps/sparc/configure.in: Moved to ...
21242 * sysdeps/sparc/configure.ac: ... here.
21243 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21244 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21245 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21246 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21247 * sysdeps/x86_64/configure.in: Moved to ...
21248 * sysdeps/x86_64/configure.ac: ... here.
21249 * sysdeps/x86_64/preconfigure.in: Moved to ...
21250 * sysdeps/x86_64/preconfigure.ac: ... here.
21251 * aclocal.m4: Change reference to configure.in to configure.ac.
21252 * config.h.in: Likewise.
21253 * manual/install.texi: Likewise.
21254 * manual/maint.texi: Likewise.
21255 * Makefile: Likewise.
21256 * malloc/Makefile: Likewise.
21257 * nscd/Makefile: Likewise.
21258 * Makeconfig: Change reference to configure.in and
21259 preconfigure.in to configure.ac and preconfigure.ac
21260 respectively.
21261 * INSTALL: Regenerated.
21262 * configure: Likewise.
21263 * sysdeps/gnu/configure: Likewise.
21264 * sysdeps/i386/configure: Likewise.
21265 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21266 * sysdeps/mach/configure: Likewise.
21267 * sysdeps/mach/hurd/configure: Likewise.
21268 * sysdeps/powerpc/configure: Likewise.
21269 * sysdeps/powerpc/powerpc32/configure: Likewise.
21270 * sysdeps/powerpc/powerpc64/configure: Likewise.
21271 * sysdeps/s390/s390-32/configure: Likewise.
21272 * sysdeps/s390/s390-64/configure: Likewise.
21273 * sysdeps/sh/configure: Likewise.
21274 * sysdeps/sparc/configure: Likewise.
21275 * sysdeps/unix/sysv/linux/configure: Likewise.
21276 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21277 * sysdeps/x86_64/configure: Likewise.
21278 * sysdeps/x86_64/preconfigure: Likewise.
21279
21280 2013-10-29 Andreas Schwab <schwab@suse.de>
21281
21282 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21283
21284 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21285
21286 * benchtests/pow-inputs: Add new inputs.
21287
21288 * benchtests/exp-inputs: Add new inputs.
21289
21290 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21291 conditional check for return value.
21292 (__cos32): Likewise.
21293
21294 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21295
21296 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21297 to provide a boost for large inputs with word alignment.
21298 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21299 implementation based on optimized PPC64 strcpy.
21300 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21301 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21302 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21303 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21304
21305 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21306
21307 [BZ #2801]
21308 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21309
21310 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21311
21312 [BZ #14876]
21313 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21314 * time/tst-strptime.c (day_tests): Add testcase.
21315
21316 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21317
21318 [BZ #14029]
21319 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21320
21321 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21322
21323 [BZ #16074]
21324 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21325 MAP_FAILED on error.
21326
21327 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21328
21329 [BZ #16072]
21330 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21331 heap for large requests.
21332
21333 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21334
21335 [BZ #9954]
21336 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21337 result if the result has no associated interface.
21338 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21339 interface for all 127.X.Y.Z addresses.
21340
21341 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
21342
21343 * locale/iso-639.def: Add Ligurian (lij)
21344
21345 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
21346
21347 [BZ #15825]
21348 * sunrpc/rpc_main.c: Document rpcgen -5.
21349
21350 2013-10-19 Michael Stahl <mstahl@redhat.com>
21351
21352 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21353
21354 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
21355
21356 [BZ #10278]
21357 * posix/glob.c: Match only directories when trailing slash is present.
21358 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21359 (main): Add testcase.
21360
21361 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
21362
21363 [BZ #15670]
21364 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21365
21366 2013-10-18 Carlos O'Donell <carlos@redhat.com>
21367
21368 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21369 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21370 AUTH_DES and cindex for FIPS 140-2.
21371 (DES Encryption): Add cindex FIPS 46-3.
21372
21373 * locale/locarchive.h (struct locarhandle): Add fname.
21374 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21375 if an optional argument was specified to --list-archive,
21376 otherwise NULL.
21377 * locale/programs/locarchive.c (show_archive_content): Take new
21378 argument fname and pass it via ah.fname to open_archive.
21379 * locale/programs/localedef.h: Update decl.
21380 (open_archive): If AH->fname is non-null, open that file
21381 rather than the default file name, and don't ignore ENOENT.
21382 (create_archive): Set AH.fname to NULL.
21383 (delete_locales_from_archive): Likewise.
21384 (add_locales_to_archive): Likewise.
21385 * locale/programs/locfile.c (write_all_categories): Likewise.
21386
21387 2013-10-18 Joseph Myers <joseph@codesourcery.com>
21388 Aldy Hernandez <aldyh@redhat.com>
21389
21390 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21391 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21392 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21393 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21394 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21395 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21396 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21397 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21398 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21399 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21400 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21401 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21402 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21403 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21404 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21405 Likewise.
21406 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21407 Likewise.
21408 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21409 Likewise.
21410 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21411 Likewise.
21412 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21413 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21414 Likewise.
21415 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21416 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21417 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21418 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21419 Likewise.
21420 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21421 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21422 * sysdeps/powerpc/preconfigure: Likewise.
21423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21424 Likewise.
21425 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21426 Replace contents of file by #include of <fenv_libc.h>.
21427 * sysdeps/powerpc/soft-fp/sfp-machine.h
21428 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21429 and <sys/prctl.h>.
21430 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21431 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21432 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21433 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21434 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21435 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21438 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21439 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21440 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21441 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21443 Allow copysignl PLT reference to be missing.
21444
21445 2013-10-18 Richard Sandiford <richard@codesourcery.com>
21446 Joseph Myers <joseph@codesourcery.com
21447
21448 [BZ #15948]
21449 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21450 single character.
21451 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21452
21453 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21454
21455 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21456 * elf/tst-tls1.c: Likewise.
21457 * elf/tst-tls10.h: Likewise.
21458 * elf/tst-tls14.c: Likewise.
21459 * elf/tst-tls2.c: Likewise.
21460 * elf/tst-tls3.c: Likewise.
21461 * elf/tst-tls4.c: Likewise.
21462 * elf/tst-tls5.c: Likewise.
21463 * elf/tst-tls6.c: Likewise.
21464 * elf/tst-tls7.c: Likewise.
21465 * elf/tst-tls8.c: Likewise.
21466 * elf/tst-tls9.c: Likewise.
21467 * elf/tst-tlsmod1.c: Likewise.
21468 * elf/tst-tlsmod13.c: Likewise.
21469 * elf/tst-tlsmod13a.c: Likewise.
21470 * elf/tst-tlsmod14a.c: Likewise.
21471 * elf/tst-tlsmod16a.c: Likewise.
21472 * elf/tst-tlsmod16b.c: Likewise.
21473 * elf/tst-tlsmod2.c: Likewise.
21474 * elf/tst-tlsmod3.c: Likewise.
21475 * elf/tst-tlsmod4.c: Likewise.
21476 * elf/tst-tlsmod5.c: Likewise.
21477 * elf/tst-tlsmod6.c: Likewise.
21478
21479 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
21480
21481 [BZ #12486]
21482 * malloc/malloc.c: remove checks for statistics.
21483
21484 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21485
21486 [BZ #15277]
21487 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21488 * inet/tst-network.c: Add testcase.
21489
21490 2013-10-17 Andreas Schwab <schwab@suse.de>
21491
21492 [BZ #15218]
21493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21494 to determine canonical name.
21495
21496 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21497
21498 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21499 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21501 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21503 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21504 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21505 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21506 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21507 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21508 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21509 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21510 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21511 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21512 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21513 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21515 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21516 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21517 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21518 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21519 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21520 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21521 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21522 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21523 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21524 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21525 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21526 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21527 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21528 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21529 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21530 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21531 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21532 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21533 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21534 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21535 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21536 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21537 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21538 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21539 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21540 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21541 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21542 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21543 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21544 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21545 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21546 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21547 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21548 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21549 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21550 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21551 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21552 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21553 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21554 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21555 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21556
21557 2013-10-17 Joseph Myers <joseph@codesourcery.com>
21558
21559 [BZ #16041]
21560 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21561 make result into a quiet NaN.
21562
21563 2013-10-16 Joseph Myers <joseph@codesourcery.com>
21564
21565 * soft-fp/adddf3.c: Fix horizontal whitespace.
21566 * soft-fp/addsf3.c: Likewise.
21567 * soft-fp/addtf3.c: Likewise.
21568 * soft-fp/divdf3.c: Likewise.
21569 * soft-fp/divsf3.c: Likewise.
21570 * soft-fp/divtf3.c: Likewise.
21571 * soft-fp/double.h: Likewise.
21572 * soft-fp/eqdf2.c: Likewise.
21573 * soft-fp/eqsf2.c: Likewise.
21574 * soft-fp/eqtf2.c: Likewise.
21575 * soft-fp/extenddftf2.c: Likewise.
21576 * soft-fp/extended.h: Likewise.
21577 * soft-fp/extendsfdf2.c: Likewise.
21578 * soft-fp/extendsftf2.c: Likewise.
21579 * soft-fp/extendxftf2.c: Likewise.
21580 * soft-fp/fixdfdi.c: Likewise.
21581 * soft-fp/fixdfsi.c: Likewise.
21582 * soft-fp/fixdfti.c: Likewise.
21583 * soft-fp/fixsfdi.c: Likewise.
21584 * soft-fp/fixsfsi.c: Likewise.
21585 * soft-fp/fixsfti.c: Likewise.
21586 * soft-fp/fixtfdi.c: Likewise.
21587 * soft-fp/fixtfsi.c: Likewise.
21588 * soft-fp/fixtfti.c: Likewise.
21589 * soft-fp/fixunsdfdi.c: Likewise.
21590 * soft-fp/fixunsdfsi.c: Likewise.
21591 * soft-fp/fixunsdfti.c: Likewise.
21592 * soft-fp/fixunssfdi.c: Likewise.
21593 * soft-fp/fixunssfsi.c: Likewise.
21594 * soft-fp/fixunssfti.c: Likewise.
21595 * soft-fp/fixunstfdi.c: Likewise.
21596 * soft-fp/fixunstfsi.c: Likewise.
21597 * soft-fp/fixunstfti.c: Likewise.
21598 * soft-fp/floatdidf.c: Likewise.
21599 * soft-fp/floatdisf.c: Likewise.
21600 * soft-fp/floatditf.c: Likewise.
21601 * soft-fp/floatsidf.c: Likewise.
21602 * soft-fp/floatsisf.c: Likewise.
21603 * soft-fp/floatsitf.c: Likewise.
21604 * soft-fp/floattidf.c: Likewise.
21605 * soft-fp/floattisf.c: Likewise.
21606 * soft-fp/floattitf.c: Likewise.
21607 * soft-fp/floatundidf.c: Likewise.
21608 * soft-fp/floatundisf.c: Likewise.
21609 * soft-fp/floatunditf.c: Likewise.
21610 * soft-fp/floatunsidf.c: Likewise.
21611 * soft-fp/floatunsisf.c: Likewise.
21612 * soft-fp/floatunsitf.c: Likewise.
21613 * soft-fp/floatuntidf.c: Likewise.
21614 * soft-fp/floatuntisf.c: Likewise.
21615 * soft-fp/floatuntitf.c: Likewise.
21616 * soft-fp/fmadf4.c: Likewise.
21617 * soft-fp/fmasf4.c: Likewise.
21618 * soft-fp/fmatf4.c: Likewise.
21619 * soft-fp/gedf2.c: Likewise.
21620 * soft-fp/gesf2.c: Likewise.
21621 * soft-fp/getf2.c: Likewise.
21622 * soft-fp/ledf2.c: Likewise.
21623 * soft-fp/lesf2.c: Likewise.
21624 * soft-fp/letf2.c: Likewise.
21625 * soft-fp/muldf3.c: Likewise.
21626 * soft-fp/mulsf3.c: Likewise.
21627 * soft-fp/multf3.c: Likewise.
21628 * soft-fp/negdf2.c: Likewise.
21629 * soft-fp/negsf2.c: Likewise.
21630 * soft-fp/negtf2.c: Likewise.
21631 * soft-fp/op-1.h: Likewise.
21632 * soft-fp/op-2.h: Likewise.
21633 * soft-fp/op-4.h: Likewise.
21634 * soft-fp/op-8.h: Likewise.
21635 * soft-fp/op-common.h: Likewise.
21636 * soft-fp/quad.h: Likewise.
21637 * soft-fp/single.h: Likewise.
21638 * soft-fp/soft-fp.h: Likewise.
21639 * soft-fp/sqrtdf2.c: Likewise.
21640 * soft-fp/sqrtsf2.c: Likewise.
21641 * soft-fp/sqrttf2.c: Likewise.
21642 * soft-fp/subdf3.c: Likewise.
21643 * soft-fp/subsf3.c: Likewise.
21644 * soft-fp/subtf3.c: Likewise.
21645 * soft-fp/truncdfsf2.c: Likewise.
21646 * soft-fp/trunctfdf2.c: Likewise.
21647 * soft-fp/trunctfsf2.c: Likewise.
21648 * soft-fp/trunctfxf2.c: Likewise.
21649 * soft-fp/unorddf2.c: Likewise.
21650 * soft-fp/unordsf2.c: Likewise.
21651 * soft-fp/unordtf2.c: Likewise.
21652
21653 2013-10-15 Joseph Myers <joseph@codesourcery.com>
21654
21655 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21656 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21657
21658 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
21659
21660 * elf/dl-libc.c: Clear initfini list after freeing.
21661
21662 2013-10-14 Joseph Myers <joseph@codesourcery.com>
21663
21664 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21665 * soft-fp/addsf3.c: Likewise.
21666 * soft-fp/addtf3.c: Likewise.
21667 * soft-fp/divdf3.c: Likewise.
21668 * soft-fp/divsf3.c: Likewise.
21669 * soft-fp/divtf3.c: Likewise.
21670 * soft-fp/double.h: Likewise.
21671 * soft-fp/eqdf2.c: Likewise.
21672 * soft-fp/eqsf2.c: Likewise.
21673 * soft-fp/eqtf2.c: Likewise.
21674 * soft-fp/extenddftf2.c: Likewise.
21675 * soft-fp/extended.h: Likewise.
21676 * soft-fp/extendsfdf2.c: Likewise.
21677 * soft-fp/extendsftf2.c: Likewise.
21678 * soft-fp/extendxftf2.c: Likewise.
21679 * soft-fp/fixdfdi.c: Likewise.
21680 * soft-fp/fixdfsi.c: Likewise.
21681 * soft-fp/fixdfti.c: Likewise.
21682 * soft-fp/fixsfdi.c: Likewise.
21683 * soft-fp/fixsfsi.c: Likewise.
21684 * soft-fp/fixsfti.c: Likewise.
21685 * soft-fp/fixtfdi.c: Likewise.
21686 * soft-fp/fixtfsi.c: Likewise.
21687 * soft-fp/fixtfti.c: Likewise.
21688 * soft-fp/fixunsdfdi.c: Likewise.
21689 * soft-fp/fixunsdfsi.c: Likewise.
21690 * soft-fp/fixunsdfti.c: Likewise.
21691 * soft-fp/fixunssfdi.c: Likewise.
21692 * soft-fp/fixunssfsi.c: Likewise.
21693 * soft-fp/fixunssfti.c: Likewise.
21694 * soft-fp/fixunstfdi.c: Likewise.
21695 * soft-fp/fixunstfsi.c: Likewise.
21696 * soft-fp/fixunstfti.c: Likewise.
21697 * soft-fp/floatdidf.c: Likewise.
21698 * soft-fp/floatdisf.c: Likewise.
21699 * soft-fp/floatditf.c: Likewise.
21700 * soft-fp/floatsidf.c: Likewise.
21701 * soft-fp/floatsisf.c: Likewise.
21702 * soft-fp/floatsitf.c: Likewise.
21703 * soft-fp/floattidf.c: Likewise.
21704 * soft-fp/floattisf.c: Likewise.
21705 * soft-fp/floattitf.c: Likewise.
21706 * soft-fp/floatundidf.c: Likewise.
21707 * soft-fp/floatundisf.c: Likewise.
21708 * soft-fp/floatunsidf.c: Likewise.
21709 * soft-fp/floatunsisf.c: Likewise.
21710 * soft-fp/floatuntidf.c: Likewise.
21711 * soft-fp/floatuntisf.c: Likewise.
21712 * soft-fp/floatuntitf.c: Likewise.
21713 * soft-fp/fmadf4.c: Likewise.
21714 * soft-fp/fmasf4.c: Likewise.
21715 * soft-fp/fmatf4.c: Likewise.
21716 * soft-fp/gedf2.c: Likewise.
21717 * soft-fp/gesf2.c: Likewise.
21718 * soft-fp/getf2.c: Likewise.
21719 * soft-fp/ledf2.c: Likewise.
21720 * soft-fp/lesf2.c: Likewise.
21721 * soft-fp/letf2.c: Likewise.
21722 * soft-fp/muldf3.c: Likewise.
21723 * soft-fp/mulsf3.c: Likewise.
21724 * soft-fp/multf3.c: Likewise.
21725 * soft-fp/negdf2.c: Likewise.
21726 * soft-fp/negsf2.c: Likewise.
21727 * soft-fp/negtf2.c: Likewise.
21728 * soft-fp/op-1.h: Likewise.
21729 * soft-fp/op-2.h: Likewise.
21730 * soft-fp/op-4.h: Likewise.
21731 * soft-fp/op-8.h: Likewise.
21732 * soft-fp/op-common.h: Likewise.
21733 * soft-fp/quad.h: Likewise.
21734 * soft-fp/single.h: Likewise.
21735 * soft-fp/soft-fp.h: Likewise.
21736 * soft-fp/sqrtdf2.c: Likewise.
21737 * soft-fp/sqrtsf2.c: Likewise.
21738 * soft-fp/sqrttf2.c: Likewise.
21739 * soft-fp/subdf3.c: Likewise.
21740 * soft-fp/subsf3.c: Likewise.
21741 * soft-fp/subtf3.c: Likewise.
21742 * soft-fp/truncdfsf2.c: Likewise.
21743 * soft-fp/trunctfdf2.c: Likewise.
21744 * soft-fp/trunctfsf2.c: Likewise.
21745 * soft-fp/trunctfxf2.c: Likewise.
21746 * soft-fp/unorddf2.c: Likewise.
21747 * soft-fp/unordsf2.c: Likewise.
21748 * soft-fp/unordtf2.c: Likewise.
21749
21750 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
21751
21752 [BZ #15672]
21753 * misc/error.c (error_tail): Fix possible buffer overflow.
21754
21755 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21756
21757 [BZ #13028]
21758 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21759 address.
21760
21761 2013-10-14 P. J. McDermott <pj@pehjota.net>
21762
21763 [BZ #832]
21764 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21765 testing pipefail option.
21766
21767 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21768
21769 * soft-fp/double.h: Indent preprocessor directives inside #if.
21770 * soft-fp/extended.h: Likewise.
21771 * soft-fp/op-2.h: Likewise.
21772 * soft-fp/op-4.h: Likewise.
21773 * soft-fp/op-common.h: Likewise.
21774 * soft-fp/quad.h: Likewise.
21775 * soft-fp/single.h: Likewise.
21776 * soft-fp/soft-fp.h: Likewise.
21777
21778 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21779
21780 * iconv/iconv_prog.c: Fix typos.
21781 * stdio-common/psiginfo-data.h: Likewise.
21782
21783 2013-10-12 Reuben Thomas <rrt@sc3d.org>
21784
21785 [BZ #15764]
21786 * locale/setlocale.c: Fix typo.
21787
21788 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21789
21790 [BZ #16036]
21791 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21792 signaling NaN arguments.
21793 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21794 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21795
21796 [BZ #14910]
21797 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21798 unordered operands.
21799 * soft-fp/gesf2.c (__gesf2): Likewise.
21800 * soft-fp/getf2.c (__getf2): Likewise.
21801 * soft-fp/ledf2.c (__ledf2): Likewise.
21802 * soft-fp/lesf2.c (__lesf2): Likewise.
21803 * soft-fp/letf2.c (__letf2): Likewise.
21804
21805 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21806 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21807 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21808 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21809 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21810 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21811 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21812 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21813 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21814 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21815 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21816 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21817 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21818 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21819 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21820 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21821 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21822 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21823 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21824 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21825 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21826 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21827 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21828 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21829 * soft-fp/floattidf.c (__floattidf): Likewise.
21830 * soft-fp/floattisf.c (__floattisf): Likewise.
21831 * soft-fp/floattitf.c (__floattitf): Likewise.
21832 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21833 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21834 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21835 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21836 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21837 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21838 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21839 * soft-fp/gesf2.c (__gesf2): Likewise.
21840 * soft-fp/getf2.c (__getf2): Likewise.
21841 * soft-fp/ledf2.c (__ledf2): Likewise.
21842 * soft-fp/lesf2.c (__lesf2): Likewise.
21843 * soft-fp/letf2.c (__letf2): Likewise.
21844
21845 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21846 Undefine and redefine.
21847 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21848 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21849 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21850 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21851 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21852 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21853 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21854 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21855 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21856 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21857 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21858 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21859 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21860 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21861 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21862
21863 [BZ #16032]
21864 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21865 without decrementing exponent if mantissa >= that for the
21866 denominator, not >.
21867 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21868 denominator, not >. Decrement exponent in < case instead of
21869 incrementing in >= case.
21870 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21871 without decrementing exponent if mantissa >= that for the
21872 denominator, not >.
21873
21874 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21875 computing saturated result for unsigned overflow.
21876
21877 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21878 Jeff Law <law@redhat.com>
21879
21880 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21881 (atan2Mp): Add systemtap probe marker.
21882 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21883 (__ieee754_log): Add systemtap probe marker.
21884 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21885 (atanMp): Add systemtap probe marker.
21886 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21887 (tanMp): Add systemtap probe marker.
21888 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21889 (__slowexp): Add systemtap probe marker.
21890 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21891 (__slowpow): Add systemtap probe marker.
21892 * manual/probes.texi: Document probes.
21893
21894 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
21895
21896 [BZ #15362]
21897 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21898 written.
21899 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21900 written.
21901 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21902 written to buffer but not flushed.
21903 * libio/iofwrite_u.c: Likewise.
21904 * libio/iopadn.c: Return bytes returned even if EOF was
21905 encountered.
21906 * libio/iowpadn.c: Likewise.
21907 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21908 if _IO_padn does not write the whole buffer.
21909 [!COMPILE_WPRINTF] (PAD): Likewise.
21910
21911 2013-10-10 David S. Miller <davem@davemloft.net>
21912
21913 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21914 directory block.
21915
21916 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21917
21918 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21919 instead of FSF address.
21920 * soft-fp/fixdfti.c: Likewise.
21921 * soft-fp/fixsfti.c: Likewise.
21922 * soft-fp/fixtfti.c: Likewise.
21923 * soft-fp/fixunsdfti.c: Likewise.
21924 * soft-fp/fixunssfti.c: Likewise.
21925 * soft-fp/fixunstfti.c: Likewise.
21926 * soft-fp/floattidf.c: Likewise.
21927 * soft-fp/floattisf.c: Likewise.
21928 * soft-fp/floattitf.c: Likewise.
21929 * soft-fp/floatuntidf.c: Likewise.
21930 * soft-fp/floatuntisf.c: Likewise.
21931 * soft-fp/floatuntitf.c: Likewise.
21932 * soft-fp/trunctfxf2.c: Likewise.
21933
21934 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21935 * soft-fp/fixdfti.c: Likewise.
21936 * soft-fp/fixsfti.c: Likewise.
21937 * soft-fp/fixtfti.c: Likewise.
21938 * soft-fp/fixunsdfti.c: Likewise.
21939 * soft-fp/fixunssfti.c: Likewise.
21940 * soft-fp/fixunstfti.c: Likewise.
21941 * soft-fp/floattidf.c: Likewise.
21942 * soft-fp/floattisf.c: Likewise.
21943 * soft-fp/floattitf.c: Likewise.
21944 * soft-fp/floatuntidf.c: Likewise.
21945 * soft-fp/floatuntisf.c: Likewise.
21946 * soft-fp/floatuntitf.c: Likewise.
21947 * soft-fp/trunctfxf2.c: Likewise.
21948
21949 2013-10-10 David S. Miller <davem@davemloft.net>
21950
21951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21952
21953 2013-10-10 Joseph Myers <joseph@codsourcery.com>
21954
21955 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21956 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21957 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21958 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21959 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21960 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21961 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21962
21963 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21964 for NaNs before doing comparisons on argument.
21965 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21966 Likewise.
21967
21968 2013-10-10 Will Newton <will.newton@linaro.org>
21969
21970 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21971 passed to _int_memalign does not overflow.
21972
21973 2013-10-10 Torvald Riegel <triegel@redhat.com>
21974
21975 * scripts/bench.pl: Add include-sources directive.
21976 * benchtests/README: Update documentation.
21977
21978 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21979
21980 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21981 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21982 instead of FP_INIT_ROUNDMODE.
21983 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21984 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21985
21986 [BZ #16034]
21987 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21988 copy class of input value.
21989 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21990 not handle exceptions.
21991 * soft-fp/negsf2.c (__negsf2): Likewise.
21992 * soft-fp/negtf2.c (__negtf2): Likewise.
21993 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21994
21995 2013-10-09 Joseph Myers <joseph@codesourcery.com>
21996
21997 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21998 semicolon. From Linux kernel.
21999
22000 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22001
22002 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22003
22004 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22005
22006 [BZ #156]
22007 * manual/socket.texi: Added statement about buffer
22008 for gethostbyname2_r.
22009
22010 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
22011
22012 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22013 Use .p2align directive instead, throughout.
22014 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22015 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22016 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22017 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22018 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22019 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22020 * sysdeps/x86_64/strchr.S: Likewise.
22021 * sysdeps/x86_64/strrchr.S: Likewise.
22022
22023 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22024
22025 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22026
22027 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22028
22029 * sysdeps/generic/math_private.h (__mpsin1): Remove
22030 declaration.
22031 (__mpcos1): Likewise.
22032 (__mpsin): New argument __range_reduce.
22033 (__mpcos): Likewise.
22034 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22035 (slow): Use __mpsin and __mpcos.
22036 (slow1): Likewise.
22037 (slow2): Likewise.
22038 (sloww): Likewise.
22039 (sloww1): Likewise.
22040 (sloww2): Likewise.
22041 (bsloww): Likewise.
22042 (bsloww1): Likewise.
22043 (bsloww2): Likewise.
22044 (cslow2): Likewise.
22045 (csloww): Likewise.
22046 (csloww1): Likewise.
22047 (csloww2): Likewise.
22048 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22049 range_reduce. Merge in __mpsin1.
22050 (__mpcos): Likewise.
22051 (__mpsin1): Remove.
22052 (__mpcos1): Likewise.
22053
22054 2013-10-07 Joseph Myers <joseph@codesourcery.com>
22055
22056 * locale/loadlocale.c (_nl_intern_locale_data): Use
22057 LOCFILE_ALIGNED_P.
22058 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22059 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22060 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22061 obstack data is appropriately aligned.
22062 (obstack_int32_grow_fast): Likewise.
22063 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22064 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22065 (add_locale_uint32_array): Likewise.
22066
22067 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22068
22069 * benchtests/Makefile: Remove ARGLIST and RET variables.
22070 ($(objpfx)bench-%.c): Pass only function name to the script.
22071 * benchtests/README: Update documentation.
22072 * benchtests/acos-inputs: Add new directives.
22073 * benchtests/acosh-inputs: Likewise.
22074 * benchtests/asin-inputs: Likewise.
22075 * benchtests/asinh-inputs: Likewise.
22076 * benchtests/atan-inputs: Likewise.
22077 * benchtests/atanh-inputs: Likewise.
22078 * benchtests/cos-inputs: Likewise.
22079 * benchtests/cosh-inputs: Likewise.
22080 * benchtests/exp-inputs: Likewise.
22081 * benchtests/log-inputs: Likewise.
22082 * benchtests/pow-inputs: Likewise.
22083 * benchtests/rint-inputs: Likewise.
22084 * benchtests/sin-inputs: Likewise.
22085 * benchtests/sinh-inputs: Likewise.
22086 * benchtests/tan-inputs: Likewise.
22087 * benchtests/tanh-inputs: Likewise.
22088 * scripts/bench.pl: Add support for new directives.
22089
22090 2013-10-07 Alan Modra <amodra@gmail.com>
22091
22092 * README: Fix careless merge.
22093
22094 2013-10-05 Alan Modra <amodra@gmail.com>
22095
22096 * NEWS: Mention powerpc64le support and bugs fixed.
22097 * README: Both big-endian and little-endian powerpc64 supported.
22098
22099 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22100
22101 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22102 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22103 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22104 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22105
22106 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22107
22108 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22109 match prototype.
22110
22111 2013-10-04 Joseph Myers <joseph@codesourcery.com>
22112
22113 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22114 Move -mhard-float appending from
22115 ports/sysdeps/powerpc/powerpc32/Makefile.
22116 [$(with-fp) = yes] (ASFLAGS): Likewise.
22117 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22118 * sysdeps/powerpc/nofpu: Move directory from
22119 ports/sysdeps/powerpc/nofpu.
22120 * sysdeps/powerpc/soft-fp: Move directory from
22121 ports/sysdeps/powerpc/soft-fp.
22122 * sysdeps/powerpc/powerpc32/405: Move directory from
22123 ports/sysdeps/powerpc/powerpc32/405.
22124 * sysdeps/powerpc/powerpc32/440: Move directory from
22125 ports/sysdeps/powerpc/powerpc32/440.
22126 * sysdeps/powerpc/powerpc32/464: Move directory from
22127 ports/sysdeps/powerpc/powerpc32/464.
22128 * sysdeps/powerpc/powerpc32/476: Move directory from
22129 ports/sysdeps/powerpc/powerpc32/476.
22130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22131 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22133 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22135 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22137 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22139 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22140 * README: Update for powerpc-*-linux-gnu software floating point
22141 support in libc.
22142
22143 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22144 case to powerpc/powerpc32*.
22145 * sysdeps/unix/sysv/linux/configure: Regenerated.
22146
22147 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22148 (_FPU_MASK_OM): Define as 0x04.
22149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22151 0x00c10080.
22152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22153 0x0000003c.
22154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22155
22156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22157 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22158 getcontext_e500.
22159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22160 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22161 setcontext_e500.
22162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22163 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22164 and setcontext_e500.
22165
22166 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22167
22168 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22169
22170 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22171
22172 * manual/threads.texi (Default Thread Attributes): Fix typo.
22173
22174 2013-10-04 Will Newton <will.newton@linaro.org>
22175
22176 * malloc/Makefile: Add tst-memalign.
22177 * malloc/tst-memalign.c: New file.
22178
22179 * malloc/tst-posix_memalign.c: Add comments.
22180 (do_test): Add comments and call free on all potentially
22181 allocated pointers. Add space after cast.
22182
22183 * malloc/tst-pvalloc.c: Add comments.
22184 (do_test): Add comments and call free on all potentially
22185 allocated pointers. Remove duplicate check for NULL pointer.
22186 Add space after cast.
22187
22188 * malloc/tst-valloc.c: Add comments.
22189 (do_test): Add comments and call free on all potentially
22190 allocated pointers. Remove duplicate check for NULL pointer.
22191 Add space after cast.
22192
22193 2013-10-04 Alan Modra <amodra@gmail.com>
22194
22195 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22196 Use stdint types in rather than __attribute__((mode())).
22197 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22198
22199 2013-10-04 Alan Modra <amodra@gmail.com>
22200
22201 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22202 Correct handling of unaligned relocs for little-endian.
22203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22204
22205 2013-10-04 Alan Modra <amodra@gmail.com>
22206
22207 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22208 * configure: Regenerate.
22209 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22210 * shlib-versions: Likewise.
22211
22212 2013-10-04 Alan Modra <amodra@gmail.com>
22213
22214 * string/tester.c (test_memrchr): Increment reported test cycle.
22215
22216 2013-10-04 Alan Modra <amodra@gmail.com>
22217
22218 * string/test-memcpy.c (do_one_test): When reporting errors, print
22219 string address and don't overrun end of string.
22220
22221 2013-10-04 Alan Modra <amodra@gmail.com>
22222
22223 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22224 insrdi. Make better use of reg selection to speed exit slightly.
22225 Schedule entry path a little better. Remove useless "are we done"
22226 checks on entry to main loop. Handle wrapping around zero address.
22227 Correct main loop count. Handle single left-over word from main
22228 loop inline rather than by using loop_small. Remove extra word
22229 case in loop_small caused by wrong loop count. Add little-endian
22230 support.
22231 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22232 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22233 cache hint.
22234 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22235 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22236 support. Avoid rlwimi.
22237 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22238
22239 2013-10-04 Alan Modra <amodra@gmail.com>
22240
22241 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22242 insrdi. Formatting.
22243 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22244 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22245 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22246 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22247 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22248 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22249
22250 2013-10-04 Alan Modra <amodra@gmail.com>
22251
22252 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22253 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22254 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22255 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22256 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22257 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22258 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22259 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22260 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22261 use of regs. Use power7 mtocrf. Tidy function tails.
22262
22263 2013-10-04 Alan Modra <amodra@gmail.com>
22264
22265 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22266 Formatting. Consistently use rXXX register defines or rN defines.
22267 Use early exit labels that avoid restoring unused non-volatile regs.
22268 Make cr field use more consistent with rWORDn compares. Rename
22269 regs used as shift registers for unaligned loop, using rN defines
22270 for short lifetime/multiple use regs.
22271 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22272 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22273 addi 1,1,64 to pop stack frame. Simplify return value code.
22274 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22275
22276 2013-10-04 Alan Modra <amodra@gmail.com>
22277
22278 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22279 support. Correct typos, formatting. Optimize tail. Use insrdi
22280 rather than rlwimi.
22281 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22282 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22283 little-endian support. Correct typos.
22284 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22285 rather than rlwimi.
22286 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22287 in loop and entry code to keep "and." results.
22288 (strchr): Add little-endian support. Comment. Move cntlzd
22289 earlier in tail.
22290 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22291
22292 2013-10-04 Alan Modra <amodra@gmail.com>
22293
22294 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22295 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22296 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22297 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22298
22299 2013-10-04 Alan Modra <amodra@gmail.com>
22300
22301 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22302 (rTMP): Define as r11.
22303 (strcmp): Add little-endian support. Optimise tail.
22304 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22305 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22306 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22307 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22308 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22309 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22310 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22311
22312 2013-10-04 Alan Modra <amodra@gmail.com>
22313
22314 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22315 little-endian support. Remove unnecessary "are we done" tests.
22316 Handle "s" wrapping around zero and extremely large "size".
22317 Correct main loop count. Handle single left-over word from main
22318 loop inline rather than by using small_loop. Correct comments.
22319 Delete "zero" tail, use "end_max" instead.
22320 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22321
22322 2013-10-04 Alan Modra <amodra@gmail.com>
22323
22324 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22325 support. Don't branch over align.
22326 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22327 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22328 support. Rearrange tmp reg use to suit. Comment.
22329 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22330
22331 2013-10-04 Alan Modra <amodra@gmail.com>
22332
22333 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22334
22335 2013-10-04 Alan Modra <amodra@gmail.com>
22336
22337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22338 conditional form of branch and link when obtaining pc.
22339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22340
22341 2013-10-04 Alan Modra <amodra@gmail.com>
22342
22343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22344 HIWORD/LOWORD.
22345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22347
22348 2013-10-04 Alan Modra <amodra@gmail.com>
22349
22350 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22351 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22352 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22353 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22354 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22355 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22356 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22357 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22358 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22359 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22360
22361 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22362 Alistair Popple <alistair@ozlabs.au.ibm.com>
22363 Alan Modra <amodra@gmail.com>
22364
22365 [BZ #15723]
22366 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22367 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22368 _dl_hwcap access for little-endian.
22369 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22370 destroy vmx regs when saving unaligned.
22371 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22372 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22373 destroy vmx regs when saving unaligned.
22374
22375 2013-10-04 Alan Modra <amodra@gmail.com>
22376
22377 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22378 Don't use a union to pack hi/low value.
22379
22380 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22381
22382 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22383 for little-endian.
22384 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22385 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22386 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22387 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22388 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22389
22390 2013-10-04 Alan Modra <amodra@gmail.com>
22391
22392 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22393 constants to usual value for .cst8 section, and remove redundant
22394 high address load.
22395 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22396 constant for 0x1p52. Load little-endian words of double from
22397 correct stack offsets.
22398
22399 2013-10-04 Alan Modra <amodra@gmail.com>
22400
22401 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22402 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22403 words of double from correct stack offsets.
22404 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22405 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22406 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22407 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22408 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22409 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22410 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22411 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22412 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22413 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22414 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22415 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22416 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22417 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22418 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22419 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22420 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22421
22422 2013-10-04 Alan Modra <amodra@gmail.com>
22423
22424 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22425 64-bit int/double union.
22426 (_FPU_SETCW): Likewise.
22427 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22428 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22429
22430 2013-10-04 Alan Modra <amodra@gmail.com>
22431
22432 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22433 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22434
22435 2013-10-04 Alan Modra <amodra@gmail.com>
22436
22437 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22438 use vector int constants.
22439 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22440
22441 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22442
22443 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22444 array with long long.
22445 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22446 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22447 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22448 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22449 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22450 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22451 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22452 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22453 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22454 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22455 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22456 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22457 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22458
22459 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22460
22461 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22462 (__signbit): Likewise. Correct for little-endian.
22463 (__signbitl): Call __signbit.
22464 (lrint): Correct for little-endian.
22465 (lrintf): Call lrint.
22466
22467 2013-10-04 Alan Modra <amodra@gmail.com>
22468
22469 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22470 union 32-bit int array member with 64-bit int array.
22471 (t515, tm256): Double rather than long double.
22472 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22473
22474 2013-10-04 Alan Modra <amodra@gmail.com>
22475
22476 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22477 Delete.
22478 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22479 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22480 version of math_ldbl.h.
22481
22482 2013-10-04 Alan Modra <amodra@gmail.com>
22483
22484 [BZ #15734], [BZ #15735]
22485 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22486 all uses of ieee875 long double macros and unions. Simplify test
22487 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22488 ldbl_extract_mantissa value for ix,iy exponents. Properly
22489 normalize after ldbl_extract_mantissa, and don't add hidden bit
22490 already handled. Don't treat low word of ieee854 mantissa like
22491 low word of IBM long double and mask off bit when testing for
22492 zero.
22493 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22494 all uses of ieee875 long double macros and unions. Simplify tests
22495 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22496 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22497 two1022, instead use their values. Recognise that tests for large
22498 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22499 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22500 Rewrite all uses of ieee875 long double macros and unions. Simplify
22501 test for 0.0L and nan. Correct negation.
22502 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22503 ieee875 long double macros and unions. Correct output for large
22504 magnitude x. Correct absolute value calculation.
22505 (__erfcl): Likewise.
22506 * math/libm-test.inc: Add tests for errors discovered in IBM long
22507 double versions of fmodl, remainderl, erfl and erfcl.
22508
22509 2013-10-04 Alan Modra <amodra@gmail.com>
22510
22511 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22512 all uses of ieee854 long double macros and unions. Simplify tests
22513 for long doubles that are fully specified by the high double.
22514 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22515 Likewise.
22516 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22517 Remove dead code too.
22518 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22519 (__ieee754_ynl): Likewise.
22520 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22521 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22522 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22523 Remove dead code too.
22524 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22525 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22526 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22527 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22528 Simplify.
22529 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22530 Simplify.
22531 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22532 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22533 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22534 Comment on variable precision.
22535 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22536 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22537 Likewise.
22538 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22539 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22540 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22541 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22542 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22543
22544 2013-10-04 Alan Modra <amodra@gmail.com>
22545
22546 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22547 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22548 all uses of ieee854 long double macros and unions.
22549 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22550 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22551 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22552 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22553 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22554 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22555 Likewise.
22556 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22557 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22558 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22559 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22560 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22561 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22562 Simplify sign and nan test too.
22563 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22564 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22565 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22566 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22567 Likewise.
22568 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22569 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22570 Likewise.
22571 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22572 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22573 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22574 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22575 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22577
22578 2013-10-04 Alan Modra <amodra@gmail.com>
22579
22580 * stdio-common/printf_size.c (__printf_size): Don't use
22581 union ieee854_long_double in fpnum union.
22582 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22583 signbit macro to retrieve sign from long double.
22584 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22585 retrieve sign from long double.
22586 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22587 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22588 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22589 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22590 * math/test-misc.c (main): Don't use union ieee854_long_double.
22591
22592 2013-10-04 Alan Modra <amodra@gmail.com>
22593
22594 [BZ #15680]
22595 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22596 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22597 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22598 calculation. Remove unnecessary test for denormal exponent.
22599 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22600 Correct handling of denormals. Avoid undefined shift behaviour.
22601 Correct normalisation of low mantissa when low double is denormal.
22602 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22603 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22604 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22605 Correct normalisation of low mantissa. Test for overflow of high
22606 mantissa and normalise.
22607 (ldbl_nearbyint): Use more readable constant for two52.
22608 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22609 (__mpn_construct_long_double): Fix test for overflow of high
22610 mantissa and correct normalisation. Avoid undefined shift.
22611
22612 2013-10-04 Alan Modra <amodra@gmail.com>
22613
22614 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22615 (union ibm_extended_long_double): Define as an array of ieee754_double.
22616 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22617 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22618 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22619 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22623 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22627
22628 2013-10-03 Joseph Myers <joseph@codesourcery.com>
22629
22630 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22631 page size instead of calling getpagesize.
22632
22633 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22634 (LOCFILE_ALIGN_MASK): Likewise.
22635 (LOCFILE_ALIGN_UP): Likewise.
22636 (LOCFILE_ALIGNED_P): Likewise.
22637 * locale/programs/ld-collate.c (collate_output): Use the new
22638 macros instead of __alignof__ (int32_t).
22639 * locale/weight.h (findidx): Likewise.
22640
22641 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
22642
22643 [BZ #431]
22644 * manual/string.texi: Fix strncat and wcsncat.
22645
22646 2013-10-03 Brooks Moses <bmoses@google.com>
22647
22648 [BZ #15915]
22649 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22650 * Makerules: ...here, and adjust associated comments.
22651
22652 2013-10-02 Will Newton <will.newton@linaro.org>
22653
22654 * malloc/Makefile: Add tst-pvalloc.
22655 * malloc/tst-pvalloc.c: New file.
22656
22657 2013-10-02 Will Newton <will.newton@linaro.org>
22658
22659 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22660 improve test coverage.
22661
22662 2013-10-02 Will Newton <will.newton@linaro.org>
22663
22664 * malloc/Makefile: Add tst-posix_memalign.
22665 * malloc/tst-posix_memalign.c: New file.
22666
22667 2013-10-01 Eric Blake <eblake@redhat.com>
22668
22669 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22670 Use __THROWNL rather than __THROW on static functions.
22671
22672 2013-09-30 Petr Machata <pmachata@redhat.com>
22673
22674 * elf/elf.h (R_AARCH64_ABS16): New macro.
22675 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22676 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22677 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22678 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22679 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22680 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22681 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22682 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22683 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22684 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22685 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22686 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22687 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22688 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22689 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22690 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22691 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22692 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22693 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22694 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22695 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22696 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22697 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22698 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22699 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22700 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22701 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22702 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22703 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22704 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22705 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22706 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22707 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22708 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22709 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22710 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22711 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22712 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22713 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22714 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22715 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22716 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22717 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22718 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22719 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22720 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22721 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22722 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22723 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22724 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22725 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22726 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22727 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22728 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22729 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22730 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22731 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22732 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22733 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22734 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22735 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22736 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22737 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22738 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22739 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22740 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22741 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22742 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22743 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22744 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22745 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22746 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22747 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22748 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22749 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22750 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22751 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22752 (R_AARCH64_TLSDESC_LDR): Likewise.
22753 (R_AARCH64_TLSDESC_ADD): Likewise.
22754 (R_AARCH64_TLSDESC_CALL): Likewise.
22755
22756 2013-09-30 Andreas Schwab <schwab@suse.de>
22757
22758 [BZ #15048]
22759 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22760 the nss database lookup.
22761 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22763
22764 2013-09-28 Mike Frysinger <vapier@gentoo.org>
22765
22766 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22767
22768 2013-09-28 P. J. McDermott <pj@pehjota.net>
22769
22770 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22771 ${Bash-specific parameter/pattern/string} parameter expansion.
22772 * sysdeps/unix/make-syscalls.sh: Likewise.
22773
22774 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22775
22776 * sysdeps/sh/stackguard-macros.h: New file.
22777
22778 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
22779
22780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22781 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22782 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22783 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22784 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22785 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22786
22787 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22788
22789 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22790 Fix thread ID register.
22791
22792 2013-09-25 Joseph Myers <joseph@codesourcery.com>
22793
22794 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22795 [POSIX || UNIX98]: Require rather than permitting all symbols from
22796 <time.h>.
22797 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22798 element of struct sched_param.
22799 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22800 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22801 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22802 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22803 constant.
22804
22805 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22806
22807 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22808 argument calculation.
22809
22810 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22811
22812 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22813 Expect macro.
22814 [POSIX] (pthread_attr_t): Do not require type.
22815 [POSIX] (pthread_cond_t): Likewise.
22816 [POSIX] (pthread_condattr_t): Likewise.
22817 [POSIX] (pthread_key_t): Likewise.
22818 [POSIX] (pthread_mutex_t): Likewise.
22819 [POSIX] (pthread_mutexattr_t): Likewise.
22820 [POSIX] (pthread_once_t): Likewise.
22821 [POSIX] (pthread_t): Likewise.
22822 [POSIX-based standards] (pthread_atfork): Expect function.
22823
22824 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22825 Richard Sandiford <richard@codesourcery.com>
22826
22827 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22828 (swap_endianness_p): New extern variable.
22829 (set_big_endian): New inline function.
22830 (maybe_swap_uint32): Likewise.
22831 (maybe_swap_uint32_array): Likewise.
22832 (maybe_swap_uint32_obstack): Likewise.
22833 * locale/programs/locfile.c: Include <stdbool.h>.
22834 (swap_endianness_p): New variable.
22835 (add_locale_uint32): Call maybe_swap_uint32.
22836 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22837 (write_locale_data): Call maybe_swap_uint32_array.
22838 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22839 maybe_swap_uint32.
22840 (obstack_int32_grow_fast): Likewise.
22841 (output_weightwc): Call maybe_swap_uint32_obstack.
22842 (collate_output): Likewise.
22843 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22844 (OPT_LITTLE_ENDIAN): Likewise.
22845 (options): Add --little-endian and --big-endian options.
22846 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22847 * locale/programs/locarchive.c: Include "locfile.h".
22848 (GET): New macro.
22849 (SET): Likewise.
22850 (INC): Likewise.
22851 (create_archive): Use the new macros to access fields of
22852 structures directly mapped from or written to locale archives.
22853 (oldlocrecentcmp): Likewise.
22854 (enlarge_archive): Likewise.
22855 (insert_name): Likewise.
22856 (add_alias): Likewise.
22857 (add_locale): Likewise.
22858 (delete_locales_from_archive): Likewise.
22859 (show_archive_content): Likewise.
22860 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22861 locale data.
22862
22863 2013-09-24 Roland McGrath <roland@hack.frob.com>
22864
22865 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22866 http://www.gnu.org/doc/freemanuals.texi.
22867 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22868
22869 2013-09-24 Will Newton <will.newton@linaro.org>
22870
22871 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22872 macro.
22873
22874 2013-09-23 Joseph Myers <joseph@codesourcery.com>
22875
22876 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22877 unsigned char.
22878
22879 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22880
22881 * manual/threads.texi (POSIX Threads): Fix a typo.
22882
22883 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22884
22885 [BZ #14547]
22886 * string/tst-strcoll-overflow.c: New test case.
22887 * string/Makefile (xtests): Add tst-strcoll-overflow.
22888 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22889 cache if string sizes may cause integer overflow.
22890
22891 [BZ #14547]
22892 * string/strcoll_l.c (coll_seq): New members rule, idx,
22893 save_idx and back_us.
22894 (get_next_seq_nocache): New function.
22895 (do_compare_nocache): New function.
22896 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22897 when malloc fails.
22898
22899 2013-09-23 Carlos O'Donell <carlos@redhat.com>
22900
22901 [BZ #15754]
22902 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22903 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22904 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22905
22906 [BZ #15754]
22907 * elf/Makefile (tests): Add tst-ptrguard1.
22908 (tests-static): Add tst-ptrguard1-static.
22909 (tst-ptrguard1-ARGS): Define.
22910 (tst-ptrguard1-static-ARGS): Define.
22911 * elf/tst-ptrguard1.c: New file.
22912 * elf/tst-ptrguard1-static.c: New file.
22913 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22914 * sysdeps/i386/stackguard-macros.h: Likewise.
22915 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22916 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22917 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22918 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22919 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22920 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22921
22922 2013-09-23 Hector Marco <hecmargi@upv.es>
22923 Ismael Ripoll <iripoll@disca.upv.es>
22924 Carlos O'Donell <carlos@redhat.com>
22925
22926 [BZ #15754]
22927 * sysdeps/generic/stackguard-macros.h: Define
22928 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22929 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22930 Define __pointer_chk_guard_local.
22931 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22932 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22933
22934 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22935
22936 [BZ #15859]
22937 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22938
22939 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22940
22941 * include/string.h (__ffs): Declare as hidden.
22942 * string/ffs.c (__ffs): Define as hidden.
22943 * sysdeps/i386/ffs.c (__ffs): Likewise.
22944 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22945 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22946 * sysdeps/s390/ffs.c (__ffs): Likewise.
22947 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22948
22949 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
22950
22951 * NEWS: Mention malloc probes.
22952
22953 * malloc/arena.c (new_heap): New memory_heap_new probe.
22954 (grow_heap): New memory_heap_more probe.
22955 (shrink_heap): New memory_heap_less probe.
22956 (heap_trim): New memory_heap_free probe.
22957 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22958 (systrim): New memory_sbrk_less probe.
22959 * manual/probes.texi: Document them.
22960
22961 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22962 * manual/probes.texi: Document it.
22963
22964 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22965 (__libc_realloc): Add memory_realloc_retry probe.
22966 (__libc_memalign): Add memory_memalign_retry probe.
22967 (__libc_valloc): Add memory_valloc_retry probe.
22968 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22969 (__libc_calloc): Add memory_calloc_retry probe.
22970 * manual/probes.texi: Document them.
22971
22972 * malloc/arena.c (get_free_list): Add probe
22973 memory_arena_reuse_free_list.
22974 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22975 and memory_arena_reuse.
22976 (arena_get2) [!PER_THREAD]: Likewise.
22977 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22978 memory_arena_reuse_realloc.
22979 * manual/probes.texi: Document them.
22980
22981 * malloc/malloc.c (__libc_free): Add
22982 memory_mallopt_free_dyn_thresholds probe.
22983 (__libc_mallopt): Add multiple memory_mallopt probes.
22984 * manual/probes.texi: Document them.
22985
22986 * malloc/malloc.c: Include stap-probe.h.
22987 (__libc_mallopt): Add memory_mallopt probe.
22988 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22989 * manual/probes.texi: New.
22990 * manual/Makefile (chapters): Add probes.
22991 * manual/threads.texi: Set next node.
22992
22993 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22994
22995 [BZ #15963, #13985]
22996 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22997 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22998 Add `Chinese' to `nan' entry name.
22999
23000 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23001
23002 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23003 (POLYNOMIAL): Likewise.
23004 (TAYLOR_SINCOS): Likewise.
23005 (TAYLOR_SLOW): Likewise.
23006 (__sin): Use TAYLOR_SINCOS.
23007 (__cos): Likewise.
23008 (slow): Use TAYLOR_SLOW.
23009 (sloww): Likewise.
23010 (bsloww): Likewise.
23011 (csloww): Likewise.
23012
23013 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23014
23015 * stdlib/strtod_l.c: Fix buffer overrun.
23016
23017 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23018
23019 * benchtests/Makefile (bench): Add sincos.
23020 * benchtests/bench-sincos.c: New file.
23021
23022 * math/libm-test.inc (cos_test_data): New test inputs.
23023 (sin_test_data): Likewise.
23024
23025 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23026 macro.
23027 (__sin): Use it.
23028 (__cos): Likewise.
23029 (slow1): Likewise.
23030 (slow2): Likewise.
23031 (sloww1): Likewise.
23032 (sloww2): Likewise.
23033 (bsloww1): Likewise.
23034 (bsloww2): Likewise.
23035 (cslow2): Likewise.
23036 (csloww1): Likewise.
23037 (csloww2): Likewise.
23038
23039 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23040 function.
23041 (__sin): Use it.
23042 (__cos): Likewise.
23043
23044 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23045 gotos.
23046 (__cos): Likewise.
23047
23048 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23049
23050 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23051 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23052 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23053 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23054 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23055 * elf/cache.c (print_entry): Handle the new cache flags.
23056
23057 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23058 Aldy Hernandez <aldyh@redhat.com>
23059
23060 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23061 Change condition to [_SOFT_FLOAT].
23062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23074 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23077 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23078 declaration.
23079
23080 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23081
23082 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23083 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23084 (__longjmp): Use LOAD_GP to load saved GPRs.
23085 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23086 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23087 (__sigsetjmp): Use SAVE_GP to save GPRs.
23088
23089 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23090 Do not append -msoft-float.
23091 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23092
23093 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23094
23095 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23096
23097 2013-09-17 Joseph Myers <joseph@codesourcery.com>
23098
23099 [BZ #15966]
23100 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23101 (_FPU_GETCW): Use initial "__" on variable and field names but not
23102 on macro parameter name.
23103 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23104 parentheses around reference to macro parameter.
23105
23106 2013-09-13 Richard Sandiford <richard@codesourcery.com>
23107
23108 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23109 prototype.
23110 (ctype_startup): Use uint32_t in cast and sizeof for
23111 ctype->charnames.
23112
23113 2013-09-11 Jia Liu <proljc@gmail.com>
23114
23115 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23116 __daddr_t_defined.
23117 [__FreeBSD__]: Likewise.
23118
23119 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
23120
23121 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23122 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23123 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23124 (strchr): Remove __strchr_sse42 ifunc selection.
23125 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23126 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23127
23128 2013-09-11 Will Newton <will.newton@linaro.org>
23129
23130 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23131 parameter to RES. Remove hardcoded 1000 value.
23132 * benchtests/bench-skeleton.c (main): Pass RES parameter
23133 to TIMING_INIT and multiply result by 1000.
23134
23135 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23136
23137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23138
23139 2013-09-11 Andreas Schwab <schwab@suse.de>
23140
23141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23142 if not defined.
23143 (O_TMPFILE) [__USE_GNU]: Define.
23144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23145 Define.
23146
23147 2013-09-11 Will Newton <will.newton@linaro.org>
23148
23149 [BZ #15857]
23150 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23151 does not overflow.
23152
23153 2013-09-11 Will Newton <will.newton@linaro.org>
23154
23155 [BZ #15856]
23156 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23157 does not overflow.
23158
23159 2013-09-11 Will Newton <will.newton@linaro.org>
23160
23161 [BZ #15855]
23162 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23163 does not overflow.
23164
23165 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
23166
23167 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23168 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23170 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23172
23173 2013-09-10 Allan McRae <allan@archlinux.org>
23174
23175 [BZ #15748]
23176 * manual/arith.texi (Parsing of Floats): Clarify
23177 cross-reference.
23178
23179 [BZ #15849]
23180 * manual/install.texi (Running make install): Mention
23181 --enable-pt-chown.
23182 * INSTALL: Regenerated.
23183
23184 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23185
23186 * csu/init-first.c (_init): Remove the !SHARED condition around
23187 FPU control word initialization.
23188 * elf/dl-support.c (_dl_fpu_control): New variable.
23189 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23190 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23191 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23192 * math/test-fpucw-static.c: New file.
23193 * math/test-fpucw-ieee.c: New file.
23194 * math/test-fpucw-ieee-static.c: New file.
23195 * math/Makefile (tests): Add `test-fpucw-ieee' and
23196 `$(tests-static)'.
23197 (tests-static): New variable.
23198 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23199 dependency to...
23200 [($(build-shared),yes)]
23201 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23202 ... this.
23203 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23204 New dependency.
23205
23206 2013-09-09 Allan McRae <allan@archlinux.org>
23207
23208 [BZ #15939]
23209 * manual/string.texi (Collation Functions): Fix typo in
23210 strcoll example.
23211 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23212
23213 [BZ #15893]
23214 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23215
23216 [BZ #15892]
23217 * libio/memstream.c (open_memstream): Fix memory leak.
23218 * libio/wmemstream.c (open_wmemstream): Likewise.
23219
23220 [BZ #15895]
23221 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23222
23223 2013-09-09 Will Newton <will.newton@linaro.org>
23224
23225 * malloc/Makefile: Add tst-realloc to tests.
23226 * malloc/tst-realloc.c: New file.
23227
23228 2013-09-09 Allan McRae <allan@archlinux.org>
23229
23230 [BZ #15844]
23231 * COPYING: Update from GNU website to fix FSF address.
23232 * COPYING.LIB: Likewise.
23233
23234 2013-09-06 David S. Miller <davem@davemloft.net>
23235
23236 * po/zh_TW.po: Update Chinese (traditional) translation from
23237 translation project.
23238
23239 2013-09-06 Richard Sandiford <richard@codesourcery.com>
23240 Joseph Myers <joseph@codesourcery.com>
23241
23242 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23243 "localeinfo.h".
23244 (obstack_chunk_alloc): New macro.
23245 (obstack_chunk_free): Likewise.
23246 (record_offset): New function.
23247 (init_locale_data): Likewise.
23248 (align_locale_data): Likewise.
23249 (add_locale_empty): Likewise.
23250 (add_locale_raw_data): Likewise.
23251 (add_locale_raw_obstack): Likewise.
23252 (add_locale_string): Likewise.
23253 (add_locale_wstring): Likewise.
23254 (add_locale_uint32): Likewise.
23255 (add_locale_uint32_array): Likewise.
23256 (add_locale_char): Likewise.
23257 (start_locale_structure): Likewise.
23258 (end_locale_structure): Likewise.
23259 (start_locale_prelude): Likewise.
23260 (end_locale_prelude): Likewise.
23261 (write_locale_data): Take locale_file structure rather than an
23262 iovec.
23263 * locale/programs/locfile.h: Include "obstack.h".
23264 (struct locale_file): Change to store locale file contents instead
23265 of header.
23266 (init_locale_data): New prototype.
23267 (align_locale_data): Likewise.
23268 (add_locale_empty): Likewise.
23269 (add_locale_raw_data): Likewise.
23270 (add_locale_raw_obstack): Likewise.
23271 (add_locale_string): Likewise.
23272 (add_locale_wstring): Likewise.
23273 (add_locale_uint32): Likewise.
23274 (add_locale_uint32_array): Likewise.
23275 (add_locale_char): Likewise.
23276 (start_locale_structure): Likewise.
23277 (end_locale_structure): Likewise.
23278 (start_locale_prelude): Likewise.
23279 (end_locale_prelude): Likewise.
23280 (write_locale_data): Update prototype.
23281 * locale/programs/3level.h (struct TABLE): Remove result field.
23282 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23283 Use new locale_file interface.
23284 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23285 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23286 * locale/programs/ld-address.c (address_output): Use new
23287 locale_file interface.
23288 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23289 NO_ADD_LOCALE.
23290 (collate_finish): Don't call collseq_table_finalize.
23291 (collate_output): Use new locale_file interface.
23292 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23293 in file.
23294 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23295 (TABLE): Move defines earlier in file.
23296 (ELEMENT): Likewise.
23297 (DEFAULT): Likewise.
23298 (wctrans_table_add): Move macro and inline function earlier in
23299 file.
23300 (struct wctype_table): Move type earlier in file.
23301 (add_locale_wctype_table): New static prototype.
23302 (struct locale_ctype_t): Use logical types instead of struct iovec
23303 pointers for members.
23304 (ctype_output): Use new locale_file interface.
23305 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23306 new locale_file interface.
23307 (allocate_arrays): Update for use of new locale_file interface.
23308 * locale/programs/ld-identification.c (identification_output): Use
23309 new locale_file interface.
23310 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23311 * locale/programs/ld-messages.c (messages_output): Likewise.
23312 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23313 * locale/programs/ld-name.c (name_output): Likewise.
23314 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23315 * locale/programs/ld-paper.c (paper_output): Likewise.
23316 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23317 * locale/programs/ld-time.c (time_output): Likewise.
23318
23319 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23320
23321 * benchtests/Makefile: Add memrchr benchmark.
23322 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23323 benchmark as memrchr.
23324 * benchtests/bench-memrchr-ifunc.c: New file.
23325 * benchtests/bench-memrchr.c: New file.
23326
23327 2013-09-06 Will Newton <will.newton@linaro.org>
23328
23329 * benchtests/Makefile (string-bench): Add memcpy.
23330
23331 2013-09-05 Carlos O'Donell <carlos@redhat.com>
23332 Cong Wang <amwang@redhat.com>
23333
23334 [BZ #15850]
23335 * sysdeps/unix/sysv/linux/bits/in.h
23336 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23337 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23338 before __USE_KERNEL_IPV6_DEFS uses.
23339 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23340 IPPROTO_BEETPH.
23341 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23342 sockaddr_in6, or ipv6_mreq.
23343
23344 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23345
23346 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23347 memory access for final bytes in some large inputs.
23348 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23349
23350 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23351
23352 * string/test-memrchr.c: New file.
23353 * string/test-memrchr-ifunc.c: New file.
23354 * string/Makefile: Add new memrchr testcase.
23355
23356 2013-09-05 Mike Frysinger <vapier@gentoo.org>
23357
23358 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23359 fanotify_init returns EPERM.
23360
23361 2013-09-04 Joseph Myers <joseph@codesourcery.com>
23362
23363 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23364 errors.
23365 (top level): Treat second token from macro or constant entries for
23366 allowed headers as allowed.
23367 * include/complex.h: Condition internal declarations on
23368 [!_ISOMAC].
23369 * include/fenv.h: Condition include of <stdbool.h> and internal
23370 declarations on [!_ISOMAC].
23371
23372 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23373
23374 [BZ #15923]
23375 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23376
23377 2013-09-04 Joseph Myers <joseph@codesourcery.com>
23378
23379 * configure.in (--enable-versioning): Remove configure option.
23380 (libc_cv_asm_symver_directive): Remove configure test.
23381 (libc_cv_ld_version_script_option): Likewise.
23382 (VERSIONING): Remove variable and AC_SUBST.
23383 (DO_VERSIONING): Remove AC_DEFINE.
23384 * configure: Regenerated.
23385 * config.h.in (DO_VERSIONING): Remove macro.
23386 * Makerules [$(versioning) = yes]: Change conditionals to
23387 [$(build-shared) = yes].
23388 * config.make.in (versioning): Remove variable.
23389 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23390 [$(build-shared) = yes].
23391 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23392 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23393 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23394 [$(build-shared) = yes].
23395 * extra-lib.mk [$(versioning) = yes]: Likewise.
23396 * hurd/Makefile [$(versioning) = yes]: Likewise.
23397 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23398 [SHARED].
23399 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23400 [SHARED].
23401 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23402 [SHARED && !NO_HIDDEN].
23403 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23404 [SHARED].
23405 [SHARED && DO_VERSIONING]: Likewise..
23406 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23407 [$(build-shared) = yes].
23408 * manual/install.texi (--disable-versioning): Remove
23409 documentation.
23410 * INSTALL: Regenerated.
23411 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23412 to [SHARED].
23413 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23414 [$(build-shared) = yes].
23415 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23416 * sysdeps/i386/i686/multiarch/strstr-c.c
23417 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23418 [SHARED && !NO_HIDDEN].
23419 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23420 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23421 * sysdeps/powerpc/powerpc32/dl-machine.c
23422 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23423 * sysdeps/powerpc/powerpc32/sysdep.h
23424 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23425 to [SHARED && PIC && !NO_HIDDEN].
23426 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23427 conditional to [SHARED].
23428
23429 2013-09-04 Will Newton <will.newton@linaro.org>
23430
23431 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23432 * benchtests/bench-string.h: Include bench-timing.h instead
23433 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23434 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23435 call to HP_TIMING_DIFF_INIT.
23436 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23437 instead of hp-timing.h macros.
23438 * benchtests/bench-memchr.c: Likewise.
23439 * benchtests/bench-memcmp.c: Likewise.
23440 * benchtests/bench-memcpy.c: Likewise.
23441 * benchtests/bench-memmem.c: Likewise.
23442 * benchtests/bench-memmove.c: Likewise.
23443 * benchtests/bench-memset.c: Likewise.
23444 * benchtests/bench-rawmemchr.c: Likewise.
23445 * benchtests/bench-strcasecmp.c: Likewise.
23446 * benchtests/bench-strcasestr.c: Likewise.
23447 * benchtests/bench-strcat.c: Likewise.
23448 * benchtests/bench-strchr.c: Likewise.
23449 * benchtests/bench-strcmp.c: Likewise.
23450 * benchtests/bench-strcpy.c: Likewise.
23451 * benchtests/bench-strcpy_chk.c: Likewise.
23452 * benchtests/bench-strlen.c: Likewise.
23453 * benchtests/bench-strncasecmp.c: Likewise.
23454 * benchtests/bench-strncat.c: Likewise.
23455 * benchtests/bench-strncmp.c: Likewise.
23456 * benchtests/bench-strncpy.c: Likewise.
23457 * benchtests/bench-strnlen.c: Likewise.
23458 * benchtests/bench-strpbrk.c: Likewise.
23459 * benchtests/bench-strrchr.c: Likewise.
23460 * benchtests/bench-strspn.c: Likewise.
23461 * benchtests/bench-strstr.c: Likewise.
23462
23463 2013-09-04 Will Newton <will.newton@linaro.org>
23464
23465 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23466
23467 2013-09-03 Joseph Myers <joseph@codesourcery.com>
23468
23469 [BZ #15427]
23470 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23471 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23472 * math/libm-test.inc (lgamma_test_data): Add more tests.
23473 * sysdeps/i386/fpu/libm-test-ulps: Update.
23474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23475
23476 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
23477
23478 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23480 Add ifunc.
23481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23482 Add strcmp-sse2-unaligned
23483 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23484
23485 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23486
23487 * Versions.def (libc): Add GLIBC_2.19.
23488
23489 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23490
23491 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23492 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23493
23494 2013-09-02 Joseph Myers <joseph@codesourcery.com>
23495
23496 [BZ #14155]
23497 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23498 intermediate calculations in recurrence.
23499 (__ieee754_ynf): Likewise.
23500 * math/libm-test.inc (jn_test_data): Do not allow spurious
23501 underflow exception. Add more tests.
23502 (yn_test_data): Add more tests.
23503 * sysdeps/i386/fpu/libm-test-ulps: Update.
23504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23505
23506 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
23507
23508 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23509
23510 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23511
23512 * csu/init-first.c: Fix then/than typos.
23513 * locale/programs/ld-collate.c: Likewise.
23514 * locale/programs/linereader.h: Likewise.
23515 * manual/charset.texi: Likewise.
23516 * manual/filesys.texi: Likewise.
23517 * manual/stdio.texi: Likewise.
23518 * manual/string.texi: Likewise.
23519 * stdlib/fmtmsg.c: Likewise.
23520 * sysdeps/i386/stpncpy.S: Likewise.
23521 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23522 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23523 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23524 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23525
23526 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23527
23528 * elf/dl-open.c: Fix typos.
23529 * iconvdata/gbbig5.c: Likewise.
23530 * iconvdata/iso-2022-jp.c: Likewise.
23531 * iconv/gconv_int.h: Likewise.
23532 * iconv/loop.c: Likewise.
23533 * nis/rpcsvc/nis.h: Likewise.
23534 * resolv/ns_name.c: Likewise.
23535 * stdio-common/vfscanf.c: Likewise.
23536 * streams/stropts.h: Likewise.
23537 * sunrpc/rpc_thread.c: Likewise.
23538 * sysdeps/i386/strpbrk.S: Likewise.
23539 * sysdeps/ieee754/k_standard.c: Likewise.
23540 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23541 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23542 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23543 * sysdeps/mach/hurd/profil.c: Likewise.
23544 * sysdeps/s390/dl-procinfo.h: Likewise.
23545 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23546 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23547 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23548 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23549 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23550
23551 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23552
23553 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23555
23556 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23557
23558 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23559 aix specific files.
23560 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23561 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23562 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23563 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23564 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23565 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23566 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23567 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23568
23569 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23570 Roland McGrath <roland@hack.frob.com>
23571
23572 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23573 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23574
23575 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23576
23577 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23578 __executable_start symbol instead of _start.
23579
23580 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23581
23582 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23583 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23584 Move macros to...
23585 * sysdeps/gnu/ldsodefs.h: ... this new file.
23586
23587 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23588 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23589 instead of ELFOSABI_LINUX.
23590
23591 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23592 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23593 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23594 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23595 Likewise.
23596 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23597 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23598 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23599 Likewise.
23600 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23601 (ibm_extended_long_double): Add ieee_nan member.
23602 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23603 (do_test): New function.
23604
23605 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23606 TEST_TRUNC.
23607 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23608 functions, renamed from truncdfsf_test, trunctfsf_test,
23609 trunctfdf_test.
23610 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23611 functions.
23612 (do_test): Run all these.
23613
23614 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23615
23616 * argp/argp-help.c: Fix typos.
23617 * argp/argp-parse.c: Likewise.
23618 * debug/backtracesyms.c: Likewise.
23619 * elf/elf.h: Likewise.
23620 * malloc/malloc.c: Likewise.
23621 * nis/nis_print.c: Likewise.
23622 * resolv/res_comp.c: Likewise.
23623 * stdlib/stdlib.h: Likewise.
23624 * sunrpc/clnt_tcp.c: Likewise.
23625 * sunrpc/clnt_udp.c: Likewise.
23626 * sunrpc/clnt_unix.c: Likewise.
23627 * sysdeps/unix/bsd/ptsname.c: Likewise.
23628 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23629 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23631 Likewise.
23632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23633 Likewise.
23634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23635 Likewise.
23636 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23637
23638 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23639
23640 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23642
23643 2013-08-27 Mike Frysinger <vapier@gentoo.org>
23644
23645 [BZ #15897]
23646 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23647 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23648 ($(objpfx)bug-dl-leaf): New rule.
23649 ($(objpfx)bug-dl-leaf.so): Likewise.
23650 ($(objpfx)bug-dl-leaf.out): Likewise.
23651 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23652 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23653 * dlfcn/bug-dl-leaf.c: New test.
23654 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23655 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23656 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23657 (dlclose): Likewise.
23658 (dlmopen): Likewise.
23659
23660 2013-08-27 Roland McGrath <roland@hack.frob.com>
23661
23662 * include/netdb.h [!_ISOMAC]:
23663 Don't include <tls.h>.
23664 (h_errno, __libc_h_errno): Move declaration and macros out of
23665 [_LIBC_REENTRANT].
23666
23667 * include/resolv.h [_RESOLV_H_]:
23668 Don't include <tls.h>.
23669 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23670 * resolv/res_libc.c: Don't include <tls.h>.
23671 (_res): Use __attribute__ ((nocommon)) in place of
23672 __attribute__ ((section (".bss"))).
23673
23674 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23675 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23676
23677 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23678
23679 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23680 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23681
23682 * resolv/res_mkquery.c: Include <sys/time.h>.
23683
23684 * inet/ifreq.c: Moved to ...
23685 * sysdeps/unix/ifreq.c: ... here.
23686 * inet/ifreq.c: New file, true stub version.
23687
23688 * socket/sa_len.c: New file.
23689 * socket/Makefile (aux): Add it.
23690 * sysdeps/unix/sysv/linux/Makefile
23691 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23692 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23693 and #include <socket/sa_len.c>.
23694 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23695 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23696
23697 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23698 * bits/socket.h: ... here.
23699
23700 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23701 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23702 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23703
23704 2013-08-27 Andreas Schwab <schwab@suse.de>
23705
23706 [BZ #15736]
23707 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23708 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23709 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23710 * string/test-strcasecmp.c (test_main): Run tests in several
23711 locales.
23712 * string/test-strncasecmp.c (test_main): Likewise.
23713
23714 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23715 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23716 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23717 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23718 (__strncasecmp_ssse3) [PIC]: Likewise.
23719
23720 2013-08-26 Roland McGrath <roland@hack.frob.com>
23721
23722 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23723
23724 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23725 instead of explicitly declaring xdecrypt.
23726 * nis/nss_nis/nis-publickey.c: Likewise.
23727
23728 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23729
23730 [BZ #15890]
23731 * nscd/aicache.c: Include res_hconf.h.
23732 (addhstaiX): Initialize res_hconf.
23733
23734 2013-08-26 Andreas Schwab <schwab@suse.de>
23735
23736 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23737 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23738
23739 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23740
23741 * nscd/aicache.c (addhstaiX): Fix indentation.
23742
23743 2013-08-25 Mike Frysinger <vapier@gentoo.org>
23744
23745 * configure.ac: Quote $build_pt_chown test.
23746 * configure: Regenerated.
23747
23748 2013-08-23 Joseph Myers <joseph@codesourcery.com>
23749
23750 [BZ #15532]
23751 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23752 * math/s_cexpf.c (__cexpf): Likewise.
23753 * math/s_cexpl.c (__cexpl): Likewise.
23754 * math/libm-test.inc (cexp_test_data): Correct expected return
23755 value for NaN + i0. Add another test.
23756
23757 2013-08-22 David S. Miller <davem@davemloft.net>
23758
23759 * po/ca.po: Update Catalan translation from translation project.
23760 * po/uk.po: Add Ukrainian translations from translation project.
23761
23762 2013-08-21 Joseph Myers <joseph@codesourcery.com>
23763
23764 [BZ #15797]
23765 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23766 is infinite, not alongside NaN test.
23767 * math/s_fdimf.c (__fdimf): Likewise.
23768 * math/s_fdiml.c (__fdiml): Likewise.
23769 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23770 errno is unchanged.
23771
23772 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
23773
23774 * argp/argp-help.c: Fix typos.
23775 * crypt/speeds.c: Likewise.
23776 * csu/check_fds.c: Likewise.
23777 * elf/dl-load.c: Likewise.
23778 * elf/dl-open.c: Likewise.
23779 * elf/reldep3.c: Likewise.
23780 * elf/reldep.c: Likewise.
23781 * elf/sprof.c: Likewise.
23782 * iconv/iconv_charmap.c: Likewise.
23783 * iconv/skeleton.c: Likewise.
23784 * iconv/strtab.c: Likewise.
23785 * io/lockf64.c: Likewise.
23786 * libio/libioP.h: Likewise.
23787 * resolv/gai_notify.c: Likewise.
23788 * resolv/ns_name.c: Likewise.
23789 * resolv/ns_samedomain.c: Likewise.
23790 * resolv/res_send.c: Likewise.
23791 * stdlib/random.c: Likewise.
23792 * sunrpc/rpc/xdr.h: Likewise.
23793 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23794 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23795 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23796 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23797 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23798 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23800 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23801 * sysdeps/mach/hurd/check_fds.c: Likewise.
23802 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23803 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23804 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23805 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23806 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23807 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23808 * sysdeps/pthread/aio_notify.c: Likewise.
23809 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23810 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23811 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23812 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23813 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23814
23815 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23816
23817 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23818 version if bit_Slow_SSE4_2 is set.
23819 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23820 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23821
23822 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23823
23824 [BZ #15867]
23825 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23826 trampoline stack frame information.
23827 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23828 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23829 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23830 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23831 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23832 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23833 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23834 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23835 sa_flags value.
23836 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23837 interrupting a syscall and set with option SA_SIGINFO.
23838
23839 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23840
23841 [BZ #15531]
23842 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23843 argument is infinite.
23844 * math/s_cprojf.c (__cprojf): Likewise.
23845 * math/s_cprojl.c (__cprojl): Likewise.
23846 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23847 * math/libm-test.inc (cproj_test_data): Add more tests.
23848
23849 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23850
23851 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23852 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23853 size. Use __ffs to determine corresponding shift.
23854
23855 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23856 Roland McGrath <roland@hack.frob.com>
23857
23858 * Makefile (INSTALL): Remove trailing blank lines from output of
23859 makeinfo.
23860
23861 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23862
23863 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23864 Align 32 bit compat elf_greg to 8 bytes.
23865
23866 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23867
23868 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23869
23870 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23871
23872 * string/strcoll_l.c (coll_seq): New structure.
23873 (get_next_seq_cached): New function.
23874 (get_next_seq): New function.
23875 (do_compare): New function.
23876 (STRCOLL): Use GNU style definition. Simplify implementation
23877 by using get_next_seq, get_next_seq_cached and do_compare.
23878
23879 2013-08-16 Florian Weimer <fweimer@redhat.com>
23880
23881 [BZ #14699]
23882 CVE-2013-4237
23883 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23884 member.
23885 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23886 member.
23887 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23888 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23889 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23890 conditional.
23891 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23892 GETDENTS_64BIT_ALIGNED.
23893 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23894 * manual/filesys.texi (Reading/Closing Directory): Document
23895 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23896 strongly.
23897 * manual/conf.texi (Limits for Files): Add portability note to
23898 NAME_MAX, PATH_MAX.
23899 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23900
23901 2013-08-13 Andreas Schwab <schwab@suse.de>
23902
23903 [BZ #15749]
23904 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23905 of fabs.
23906 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23907 LDBL_MAX_EXP >= 16384]: Add tests for it.
23908
23909 2013-08-12 David S. Miller <davem@davemloft.net>
23910
23911 * version.h (RELEASE): Set to "development".
23912 (VERSION): Set to "2.18.90".
23913 * NEWS: Add 2.19 section.
23914
23915 2013-08-03 David S. Miller <davem@davemloft.net>
23916
23917 * po/ko.po: Update Korean translation from translation project.
23918
23919 2013-08-01 David S. Miller <davem@davemloft.net>
23920
23921 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23922 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23923 Bilka.
23924
23925 2013-07-30 David S. Miller <davem@davemloft.net>
23926
23927 * po/fr.po: Update French translation from translation project.
23928
23929 2013-07-28 David S. Miller <davem@davemloft.net>
23930
23931 * po/cs.po: Update Czech translation from translation project.
23932
23933 * po/sv.po: Update Swedish translation from translation project.
23934
23935 2013-07-27 David S. Miller <davem@davemloft.net>
23936
23937 * po/eo.po: Update Esperanto translation from translation project.
23938
23939 * po/vi.po: Update Vietnamese translation from translation project.
23940
23941 * po/de.po: Update German translation from translation project.
23942
23943 2013-07-26 David S. Miller <davem@davemloft.net>
23944
23945 * po/bg.po: Update Bulgarian translation from translation project.
23946
23947 * po/nl.po: Update Dutch translation from translation project.
23948 * po/pl.po: Update Polish translation from translation project.
23949 * po/ru.po: Update Russian translation from translation project.
23950
23951 2013-07-24 David S. Miller <davem@davemloft.net>
23952
23953 * po/libc.pot: Update.
23954
23955 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23956
23957 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23958 variable page size.
23959 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23960 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23961 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23962
23963 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23964
23965 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23966
23967 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23968 Andreas Schwab <schwab@suse.de>
23969 Roland McGrath <roland@hack.frob.com>
23970 Joseph Myers <joseph@codesourcery.com>
23971 Carlos O'Donell <carlos@redhat.com>
23972
23973 [BZ #15755]
23974 * config.h.in: Define HAVE_PT_CHOWN.
23975 * config.make.in (build-pt-chown): New variable.
23976 * configure.in (--enable-pt_chown): New configure option.
23977 * configure: Regenerate.
23978 * login/Makefile: Include Makeconfig. Build pt_chown only if
23979 build-pt-chown is enabled.
23980 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23981 pt_chown to fix pty ownership.
23982 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23983 CLOSE_ALL_FDS.
23984 * manual/install.texi (Configuring and compiling): Mention
23985 --enable-pt_chown. Add @findex for grantpt.
23986 * INSTALL: Regenerate.
23987
23988 2013-07-20 David S. Miller <davem@davemloft.net>
23989
23990 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23991 difference between 32-bit and 64-bit.
23992
23993 2013-07-15 Carlos O'Donell <carlos@redhat.com>
23994
23995 [BZ #15711]
23996 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23997 Avoid system header dependency with -ffreestanding.
23998 ($(objpfx)bits/syscall%d): Likewise.
23999
24000 2013-07-13 David S. Miller <davem@davemloft.net>
24001
24002 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24003 underflows from atanl/atan2l due to bug 15319.
24004 (casinh_test_data): Likewise.
24005
24006 2013-07-07 David S. Miller <davem@davemloft.net>
24007
24008 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24009
24010 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24011
24012 * sysdeps/i386/fpu/libm-test-ulps: Update.
24013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24014
24015 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24016
24017 * configure.in (--enable-lock-elision): Fix message text.
24018 * INSTALL: Regenerate.
24019 * configure: Regenerate.
24020
24021 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24022
24023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24024
24025 2013-07-03 Andreas Jaeger <aj@suse.de>
24026
24027 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24028 define.
24029 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24030 (ptrace_peeksiginfo_args): Add.
24031 (__ptrace_peeksiginfo_flags): Add.
24032 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24033 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24034 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24035
24036 2013-07-03 Allan McRae <allan@archlinux.org>
24037
24038 * sysdeps/i386/fpu/libm-test-ulps: Update.
24039
24040 2013-07-02 David S. Miller <davem@davemloft.net>
24041
24042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24043
24044 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24045
24046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24047
24048 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24049
24050 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24052
24053 2013-07-02 Andi Kleen <ak@linux.intel.com>
24054
24055 * config.h.in (ENABLE_LOCK_ELISION): Add.
24056 * configure.in (--enable-lock-elision): Add option.
24057 * manual/install.texi: Document --enable lock elision.
24058 * configure: Regenerate
24059 * INSTALL: Regenerate.
24060
24061 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24062
24063 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24064 SSE4.2 strcasecmp for libc.a.
24065 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24066
24067 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24068
24069 [BZ #13304]
24070 * soft-fp/op-common.h (_FP_FMA): New macro.
24071 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24072 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24073 (_FP_MUL_MEAT_1_imm): ... here.
24074 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24075 (_FP_MUL_MEAT_1_wide): ... here.
24076 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24077 (_FP_MUL_MEAT_1_hard): ... here.
24078 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24079 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24080 (_FP_MUL_MEAT_2_wide): ... here.
24081 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24082 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24083 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24084 (_FP_MUL_MEAT_2_gmp): ... here.
24085 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24086 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24087 (_FP_MUL_MEAT_4_wide): ... here.
24088 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24089 (_FP_MUL_MEAT_4_gmp): ... here.
24090 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24091 (_FP_WFRACBITS_DW_S): Likewise.
24092 (_FP_WFRACXBITS_DW_S): Likewise.
24093 (_FP_HIGHBIT_DW_S): Likewise.
24094 (FP_FMA_S): Likewise.
24095 (_FP_FRAC_HIGH_DW_S): Likewise.
24096 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24097 (_FP_WFRACBITS_DW_D): Likewise.
24098 (_FP_WFRACXBITS_DW_D): Likewise.
24099 (_FP_HIGHBIT_DW_D): Likewise.
24100 (FP_FMA_D): Likewise.
24101 (_FP_FRAC_HIGH_DW_D): Likewise.
24102 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24103 (_FP_WFRACBITS_DW_E): Likewise.
24104 (_FP_WFRACXBITS_DW_E): Likewise.
24105 (_FP_HIGHBIT_DW_E): Likewise.
24106 (FP_FMA_E): Likewise.
24107 (_FP_FRAC_HIGH_DW_E): Likewise.
24108 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24109 (_FP_WFRACBITS_DW_Q): Likewise.
24110 (_FP_WFRACXBITS_DW_Q): Likewise.
24111 (_FP_HIGHBIT_DW_Q): Likewise.
24112 (FP_FMA_Q): Likewise.
24113 (_FP_FRAC_HIGH_DW_Q): Likewise.
24114 * soft-fp/fmasf4.c: New file.
24115 * soft-fp/fmadf4.c: Likewise.
24116 * soft-fp/fmatf4.c: Likewise.
24117
24118 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24119
24120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24121 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24122 Silvermont.
24123 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24124 macro.
24125 (index_Slow_SSE4_2): Likewise.
24126 (index_Prefer_PMINUB_for_stringop): Likewise.
24127 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24128 bit_Slow_SSE4_2 is set.
24129 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24130 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24131
24132 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24133
24134 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24135 rtld_global._dl_hwcap2.
24136 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24137 POWER8.
24138 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24139 POWER8 feature descriptions defined in _dl_hwcap2.
24140 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24141 string handling for POWER8 feature bits.
24142 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24143 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24144 _dl_powerpc_cap_flags.
24145 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24146 * sysdeps/powerpc/rtld-global-offsets.sym
24147 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24148 _dl_hwcap2 in the rtld_global_ro structure.
24149
24150 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24151
24152 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24153 hardware capabilities in support of AT_HWCAP2.
24154 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24155 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24156 GLRO(dl_hwcap2).
24157 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24158 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24159 explicitly the unknown a_type display mechanism is used.
24160 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24161 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24162 struct member.
24163 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24164 to macro prototype for AT_HWCAP2 support.
24165 * sysdeps/i386/dl-procinfo.h: Likewise.
24166 * sysdeps/s390/dl-procinfo.h: Likewise.
24167 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24168 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24169 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24170 return -1 for unknown a_type display fallback.
24171 * sysdeps/sparc/dl-procinfo.h: Likewise.
24172 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24173 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24174
24175 2013-06-28 Joseph Myers <joseph@codesourcery.com>
24176
24177 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24178 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24179
24180 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24181
24182 [BZ #12492]
24183 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24184 mprotect making __stack_prot writable.
24185
24186 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24187 Joseph Myers <joseph@codesourcery.com>
24188
24189 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24190 as being properly aligned.
24191
24192 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24193
24194 * dlfcn/modstatic5.c: New file.
24195 * dlfcn/tststatic5.c: New file.
24196 * dlfcn/Makefile (tests): Add tststatic5.
24197 (tests-static): Likewise.
24198 (modules-names): Add modstatic5.
24199 (tststatic5-ENV): New variable.
24200 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24201
24202 [BZ #15022]
24203 * elf/dl-support.c (_dl_main_map): New variable.
24204 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24205 (_dl_nns, _dl_load_adds): Set to 1.
24206 (_dl_initial_searchlist): Refer to _dl_main_map.
24207 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24208 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24209 call to _dl_get_origin.
24210 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24211 around call_map.
24212 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24213 * dlfcn/modstatic3.c: New file.
24214 * dlfcn/tststatic3.c: New file.
24215 * dlfcn/tststatic4.c: New file.
24216 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24217 (tests-static): Likewise.
24218 (modules-names): Add modstatic3.
24219 (tststatic3-ENV, tststatic4-ENV): New variables.
24220 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24221 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24222
24223 2013-06-26 Joseph Myers <joseph@codesourcery.com>
24224
24225 * configure.in (CC): Require GCC version 4.4 or later.
24226 * configure: Regenerated.
24227 * manual/install.texi (Tools for Compilation): Update GCC version
24228 requirement.
24229 * INSTALL: Regenerated.
24230
24231 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24232
24233 [BZ #15674]
24234 * string/test-memcmp.c (check2): New.
24235 (main): Call check2.
24236
24237 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24238
24239 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24240
24241 [BZ #15022]
24242 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24243 over to...
24244 (dl_open_worker) [!SHARED]: ... here.
24245
24246 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24247
24248 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24249
24250 2013-06-25 Richard Henderson <rth@redhat.com>
24251
24252 * locale/programs/locarchive.c: Include <libc-internal.h>
24253
24254 2013-06-25 Joseph Myers <joseph@codesourcery.com>
24255
24256 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24257 trailing whitespace removed.
24258
24259 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24260
24261 [BZ #10283]
24262 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24263 * locale/programs/locarchive.c: Include libc-mmap.h.
24264 (prepare_address_space): Take two new outputs (the mmap base and len).
24265 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24266 values.
24267 (create_archive): Declare new mmap base and len values for
24268 prepare_address_space, and store the result in ah.
24269 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24270 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24271 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24272 Declare new mmap base and len values for
24273 prepare_address_space, and store the result in new_ah.
24274 (open_archive): Declare new mmap base and len values for
24275 prepare_address_space, and store the result in ah.
24276 (close_archive): If ah->mmap_base is not NULL, use that and
24277 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24278 * sysdeps/generic/libc-mmap.h: New file.
24279
24280 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24281
24282 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24283 (ALIGN_UP): Likewise.
24284 (PTR_ALIGN_DOWN): Likewise.
24285 (PTR_ALIGN_UP): Likewise.
24286
24287 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24288
24289 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24290 entry mapped to PPC_PLATFORM_POWER8.
24291 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24292 POWER8.
24293 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24294 (_dl_string_platform): Add case for exporting platform position for
24295 POWER8.
24296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24297 search path to sysdeps/powerpc/powerpc32/power8 directory.
24298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24299 search path to sysdeps/powerpc/powerpc64/power8 directory.
24300 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24301 power7 directories.
24302 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24303 power7 directories.
24304
24305 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24306
24307 * INSTALL: Regenerate.
24308
24309 * nscd/connections.c (nscd_init): Fix comment.
24310
24311 2013-06-22 Joseph Myers <joseph@codesourcery.com>
24312
24313 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24314
24315 [BZ #15667]
24316 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24317 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24318
24319 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24320
24321 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24322 DL_DST_REQ_STATIC.
24323 (DL_DST_REQ_STATIC): Remove macro.
24324
24325 2013-06-21 Joseph Myers <joseph@codesourcery.com>
24326
24327 [BZ #7006]
24328 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24329 with a shift of 0 bits.
24330
24331 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24332
24333 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24334 $(tststatic-ENV).
24335
24336 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24337
24338 [BZ #15655]
24339 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24340
24341 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24342
24343 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24344 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24345 accepts -fno-tree-loop-distribute-patterns.
24346 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24347 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24348 recursive call.
24349 * string/memset.c (memset): Likewise.
24350 * string/test-memmove.c (simple_memmove): Disable loop transformation
24351 to library calls.
24352 * string/test-memset.c (simple_memset): Likewise.
24353 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24354 * benchtests/bench-memset.c (simple_memset): Likewise.
24355 * configure: Regenerated.
24356
24357 2013-06-20 Joseph Myers <joseph@codesourcery.com>
24358
24359 * math/test-misc.c (main): Ignore fesetround failure when failures
24360 of subsequent rounding tests would be ignored.
24361
24362 [BZ #15654]
24363 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24364 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24365 * math/fegetenv.c (__fegetenv): Return 0.
24366 * math/fegetexcept.c (fegetexcept): Return 0.
24367 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24368 FE_TONEAREST.
24369 * math/feholdexcpt.c (feholdexcept): Return 0.
24370 * math/fesetenv.c (__fesetenv): Return 0.
24371 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24372 argument FE_TONEAREST.
24373 * math/feupdateenv.c (__feupdateenv): Return 0.
24374 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24375
24376 2013-06-18 Roland McGrath <roland@hack.frob.com>
24377
24378 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24379 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24380 ($(objpfx)rtld-%.os rules): Use them.
24381
24382 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24383
24384 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24385 fields.
24386
24387 2013-06-17 Roland McGrath <roland@hack.frob.com>
24388
24389 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24390 length of target pattern, then descending length of dependency pattern.
24391 * configure.in (AWK): Require gawk 3.1.2 or newer.
24392 * manual/install.texi (Tools for Compilation): Say that we do.
24393 * configure: Regenerated.
24394
24395 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24396 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24397 * scripts/sysd-rules.awk: ... this new script.
24398 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24399 than a glob-style pattern.
24400
24401 2013-06-17 Joseph Myers <joseph@codesourcery.com>
24402
24403 * math/test-misc.c (main): Do not treat incorrectly rounded
24404 conversions as failure unless ROUNDING_TESTS passes.
24405
24406 2013-06-15 Joseph Myers <joseph@codesourcery.com>
24407
24408 [BZ #15631]
24409 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24410 restore exception state around main square root computation, then
24411 check for inexactness explicitly.
24412
24413 * math/libm-test.inc (fma_test_data): Add another test.
24414
24415 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24416
24417 * manual/threads.texi (Non-POSIX Extensions): New document
24418 node. Document pthread_getattr_default_np and
24419 pthread_setattr_default_np.
24420
24421 * Versions.def (libpthread): Add GLIBC_2.18.
24422 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24424 Likewise.
24425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24426 Likewise.
24427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24428 Likewise.
24429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24430 Likewise.
24431 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24432 Likewise.
24433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24434 Likewise.
24435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24436 Likewise.
24437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24438 Likewise.
24439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24440 Likewise.
24441
24442 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24443
24444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24445 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24446
24447 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24448 H.J. Lu <hjl.tools@gmail.com>
24449
24450 [BZ #15627]
24451 * sysdeps/x86_64/rtld-memset.c: Remove file.
24452 * sysdeps/x86_64/rtld-memset.S: New file.
24453
24454 2013-06-14 Joseph Myers <joseph@codesourcery.com>
24455
24456 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24457 (test_in_one_mode): Take arguments for whether the rounding mode
24458 is supported for each floating-point type.
24459 (do_test): Pass new arguments to test_in_one_mode using
24460 ROUNDING_TESTS.
24461
24462 2013-06-13 Roland McGrath <roland@hack.frob.com>
24463
24464 * posix/tst-waitid.c (do_test): Distinguish different instances of
24465 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24466 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24467 before entering the kernel for waitpid.
24468
24469 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24470
24471 * NEWS: Fix note on clock function precision. Text by Roland
24472 McGrath.
24473
24474 2013-06-13 Roland McGrath <roland@hack.frob.com>
24475
24476 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24477 it into place only when and if the sanity check passes.
24478
24479 2013-06-13 Joseph Myers <joseph@codesourcery.com>
24480
24481 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24482 output for whether conversion result is exact. Take argument
24483 indicating whether type is IBM long double.
24484 (round_for_all): Change need_exact field to ibm_ld.
24485 * stdlib/tst-strtod-round.c (struct exactness): New type.
24486 (struct test): Change bool ld_ok field to struct exactness exact.
24487 (TEST): Update all definitions for change to field.
24488 (tests): Regenerate array contents.
24489 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24490 field value. Check for IBM long double here.
24491 (do_test): Update calls to test_in_one_mode.
24492
24493 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24494
24495 [BZ #12515]
24496 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24497 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24498
24499 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24500
24501 [BZ #15605]
24502 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24503 generated by the compiler on loop optimizations.
24504 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24505 general definitions.
24506
24507 2013-06-12 Joseph Myers <joseph@codesourcery.com>
24508
24509 * math/bug-nextafter.c: Include <math-tests.h>.
24510 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24511 the relevant type.
24512 * math/bug-nexttoward.c: Include <math-tests.h>.
24513 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24514 the relevant type.
24515 * math/test-misc.c: Include <math-tests.h>.
24516 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24517 the relevant type.
24518
24519 2013-06-12 Andreas Jaeger <aj@suse.de>
24520
24521 * po/ia.po: Update Interlingua translation from translation
24522 project.
24523
24524 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24525
24526 * include/fenv.h: Include stdbool.h.
24527 (struct rm_ctx): New structure.
24528 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24529 Define macro.
24530 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24531 (SET_RESTORE_ROUNDF): Likewise.
24532 (SET_RESTORE_ROUNDL): Likewise.
24533 (SET_RESTORE_ROUND_NOEX): Likewise.
24534 (SET_RESTORE_ROUND_NOEXF): Likewise.
24535 (SET_RESTORE_ROUND_NOEXL): Likewise.
24536 (SET_RESTORE_ROUND_53BIT): Likewise.
24537 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24538 (libc_feresetround_noexf_ctx): Likewise.
24539 (libc_feresetround_noexl_ctx): Likewise.
24540 (libc_feholdsetround_53bit_ctx): Likewise.
24541 (libc_feresetround_53bit_ctx): Likewise.
24542 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24543 (libc_feholdexcept_setround_sse_ctx): New function.
24544 (libc_fesetenv_sse_ctx): Likewise.
24545 (libc_feupdateenv_sse_ctx): Likewise.
24546 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24547 (libc_feholdexcept_setround_387_ctx): Likewise.
24548 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24549 (libc_feholdsetround_387_prec_ctx): Likewise.
24550 (libc_feholdsetround_387_ctx): Likewise.
24551 (libc_feholdsetround_387_53bit_ctx): Likewise.
24552 (libc_feholdsetround_sse_ctx): Likewise.
24553 (libc_feresetround_sse_ctx): Likewise.
24554 (libc_feresetround_387_ctx): Likewise.
24555 (libc_feupdateenv_387_ctx): Likewise.
24556 (libc_feholdexcept_setroundf_ctx): Define macro.
24557 (libc_fesetenvf_ctx): Likewise.
24558 (libc_feupdateenvf_ctx): Likewise.
24559 (libc_feholdsetroundf_ctx): Likewise.
24560 (libc_feresetroundf_ctx): Likewise.
24561 (libc_feholdexcept_setround_ctx): Likewise.
24562 (libc_fesetenv_ctx): Likewise.
24563 (libc_feupdateenv_ctx): Likewise.
24564 (libc_feholdsetround_ctx): Likewise.
24565 (libc_feresetround_ctx): Likewise.
24566 (libc_feholdexcept_setroundl_ctx): Likewise.
24567 (libc_feupdateenvl_ctx): Likewise.
24568 (libc_feholdsetroundl_ctx): Likewise.
24569 (libc_feresetroundl_ctx): Likewise.
24570 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24571 (libc_feresetround_53bit_ctx): Likewise.
24572
24573 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24574
24575 * locale/iso-639.def: Convert to UTF-8.
24576
24577 2013-06-11 Joseph Myers <joseph@codesourcery.com>
24578
24579 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24580 (EXCEPTION_TESTS_double): Likewise.
24581 (EXCEPTION_TESTS_long_double): Likewise.
24582 (EXCEPTION_TESTS): Likewise.
24583 * math/libm-test.inc (test_exceptions): Only test exceptions if
24584 EXCEPTION_TESTS (FLOAT).
24585
24586 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24587
24588 * benchtests/Makefile (string-bench): Add strcpy_chk and
24589 stpcpy_chk.
24590 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24591 * benchtests/bench-stpcpy_chk.c: New file.
24592 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24593 * benchtests/bench-strcpy_chk.c: New file.
24594 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24595 code.
24596 (do_test): Likewise.
24597
24598 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24599
24600 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24601 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24602 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24603 with tabs where appropriate.
24604 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24605 dl-procinfo.h.
24606 [PPC_PLATFORM_PPC440]: Likewise.
24607 [PPC_PLATFORM_PPC464]: Likewise.
24608 [PPC_PLATFORM_PPC476]: Likewise.
24609 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24610 ppc464, and ppc476 platform strings merging from ports/
24611 dl-procinfo.h.
24612
24613 2013-06-11 Andreas Schwab <schwab@suse.de>
24614
24615 [BZ #14991]
24616 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24617 (from_ucs4_idx): Regenerate.
24618 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24619 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24620 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24621 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24622 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24623 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24624 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24625 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24626 from FROM_LOOP and TO_LOOP specific macros.
24627 (BODY): Handle combining characters.
24628 * iconvdata/BIG5HKSCS.irreversible: Update.
24629 * iconvdata/BIG5HKSCS.precomposed: New file.
24630 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24631 characters.
24632 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24633
24634 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24635
24636 * include/sys/time.h: Fix indentation and add copyright header.
24637
24638 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24639 (do_test): Likewise.
24640 * string/test-memchr.c (do_one_test): Likewise.
24641 (do_test): Likewise.
24642 * string/test-memcmp.c (do_one_test): Likewise.
24643 (do_test): Likewise.
24644 * string/test-memcpy.c (do_one_test): Likewise.
24645 (do_test): Likewise.
24646 * string/test-memmem.c (do_one_test): Likewise.
24647 (do_test): Likewise.
24648 (do_random_tests): Likewise.
24649 * string/test-memmove.c (do_one_test): Likewise.
24650 (do_test): Likewise.
24651 * string/test-memset.c (do_one_test): Likewise.
24652 (do_test): Likewise.
24653 * string/test-rawmemchr.c (do_one_test): Likewise.
24654 (do_test): Likewise.
24655 * string/test-strcasecmp.c (do_one_test): Likewise.
24656 (do_test): Likewise.
24657 * string/test-strcasestr.c (do_one_test): Likewise.
24658 (do_test): Likewise.
24659 * string/test-strcat.c (do_one_test): Likewise.
24660 (do_test): Likewise.
24661 * string/test-strchr.c (do_one_test): Likewise.
24662 (do_test): Likewise.
24663 * string/test-strcmp.c (do_one_test): Likewise.
24664 (do_test): Likewise.
24665 * string/test-strcpy.c (do_one_test): Likewise.
24666 (do_test): Likewise.
24667 * string/test-string.h: Likewise.
24668 (test_init): Likewise.
24669 * string/test-strlen.c (do_one_test): Likewise.
24670 (do_test): Likewise.
24671 * string/test-strncasecmp.c (do_one_test): Likewise.
24672 (do_test): Likewise.
24673 * string/test-strncat.c (do_one_test): Likewise.
24674 (do_test): Likewise.
24675 * string/test-strncmp.c (do_one_test): Likewise.
24676 (do_test_limit): Likewise.
24677 (do_test): Likewise.
24678 * string/test-strncpy.c (do_one_test): Likewise.
24679 (do_test): Likewise.
24680 * string/test-strnlen.c (do_one_test): Likewise.
24681 (do_test): Likewise.
24682 * string/test-strpbrk.c (do_one_test): Likewise.
24683 (do_test): Likewise.
24684 * string/test-strrchr.c (do_one_test): Likewise.
24685 (do_test): Likewise.
24686 * string/test-strspn.c (do_one_test): Likewise.
24687 (do_test): Likewise.
24688 * string/test-strstr.c (do_one_test): Likewise.
24689 (do_test): Likewise.
24690
24691 * benchtests/Makefile (string-bench): Add string benchmarks.
24692 * benchtests/bench-bcopy-ifunc.c: New file.
24693 * benchtests/bench-bcopy.c: New file.
24694 * benchtests/bench-bzero-ifunc.c: New file.
24695 * benchtests/bench-bzero.c: New file.
24696 * benchtests/bench-memccpy-ifunc.c: New file.
24697 * benchtests/bench-memccpy.c: New file.
24698 * benchtests/bench-memchr-ifunc.c: New file.
24699 * benchtests/bench-memchr.c: New file.
24700 * benchtests/bench-memcmp-ifunc.c: New file.
24701 * benchtests/bench-memcmp.c: New file.
24702 * benchtests/bench-memmem-ifunc.c: New file.
24703 * benchtests/bench-memmem.c: New file.
24704 * benchtests/bench-memmove-ifunc.c: New file.
24705 * benchtests/bench-memmove.c: New file.
24706 * benchtests/bench-mempcpy-ifunc.c: New file.
24707 * benchtests/bench-mempcpy.c: New file.
24708 * benchtests/bench-memset-ifunc.c: New file.
24709 * benchtests/bench-memset.c: New file.
24710 * benchtests/bench-rawmemchr-ifunc.c: New file.
24711 * benchtests/bench-rawmemchr.c: New file.
24712 * benchtests/bench-stpcpy-ifunc.c: New file.
24713 * benchtests/bench-stpcpy.c: New file.
24714 * benchtests/bench-stpncpy-ifunc.c: New file.
24715 * benchtests/bench-stpncpy.c: New file.
24716 * benchtests/bench-strcasecmp-ifunc.c: New file.
24717 * benchtests/bench-strcasecmp.c: New file.
24718 * benchtests/bench-strcasestr-ifunc.c: New file.
24719 * benchtests/bench-strcasestr.c: New file.
24720 * benchtests/bench-strcat-ifunc.c: New file.
24721 * benchtests/bench-strcat.c: New file.
24722 * benchtests/bench-strchr-ifunc.c: New file.
24723 * benchtests/bench-strchr.c: New file.
24724 * benchtests/bench-strchrnul-ifunc.c: New file.
24725 * benchtests/bench-strchrnul.c: New file.
24726 * benchtests/bench-strcmp-ifunc.c: New file.
24727 * benchtests/bench-strcmp.c: New file.
24728 * benchtests/bench-strcpy-ifunc.c: New file.
24729 * benchtests/bench-strcpy.c: New file.
24730 * benchtests/bench-strcspn-ifunc.c: New file.
24731 * benchtests/bench-strcspn.c: New file.
24732 * benchtests/bench-strlen-ifunc.c: New file.
24733 * benchtests/bench-strlen.c: New file.
24734 * benchtests/bench-strncasecmp-ifunc.c: New file.
24735 * benchtests/bench-strncasecmp.c: New file.
24736 * benchtests/bench-strncat-ifunc.c: New file.
24737 * benchtests/bench-strncat.c: New file.
24738 * benchtests/bench-strncmp-ifunc.c: New file.
24739 * benchtests/bench-strncmp.c: New file.
24740 * benchtests/bench-strncpy-ifunc.c: New file.
24741 * benchtests/bench-strncpy.c: New file.
24742 * benchtests/bench-strnlen-ifunc.c: New file.
24743 * benchtests/bench-strnlen.c: New file.
24744 * benchtests/bench-strpbrk-ifunc.c: New file.
24745 * benchtests/bench-strpbrk.c: New file.
24746 * benchtests/bench-strrchr-ifunc.c: New file.
24747 * benchtests/bench-strrchr.c: New file.
24748 * benchtests/bench-strspn-ifunc.c: New file.
24749 * benchtests/bench-strspn.c: New file.
24750 * benchtests/bench-strstr-ifunc.c: New file.
24751 * benchtests/bench-strstr.c: New file.
24752
24753 * benchtests/Makefile: Disable parallel execution of targets.
24754 (string-bench): Add memcpy.
24755 (benchset): New variable to store a list of benchmark sets.
24756 (bench-func): Renamed from bench.
24757 (bench-set): New target.
24758 (bench): Depend on bench-func and bench-set.
24759 * benchtests/README: Add section on benchmark sets.
24760 * benchtests/bench-memcpy-ifunc.c: New file.
24761 * benchtests/bench-memcpy.c: New file.
24762 * benchtests/bench-string.h: New file.
24763
24764 2013-06-11 Andreas Schwab <schwab@suse.de>
24765
24766 [BZ #15577]
24767 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24768 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24769 values in the triple.
24770 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24771 terminator in the group key.
24772
24773 2013-06-11 Andreas Jaeger <aj@suse.de>
24774
24775 * po/zh_TW.po: Update Chinese (traditional) translation from
24776 translation project.
24777
24778 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24779
24780 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24781 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24782 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24783 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24784 (clock_getcpuclockid): Likewise.
24785 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24786 Add weak_alias and libc_hidden_def.
24787 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24788 * rt/clock_gettime.c (clock_gettime): Rename to
24789 __clock_gettime. Add weak_alias and libc_hidden_def.
24790 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24791 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24792 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24793 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24794 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24795 Likewise.
24796 * rt/clock_settime.c (clock_settime): Rename to
24797 __clock_settime. Add weak_alias and libc_hidden_def.
24798 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24799
24800 2013-06-10 Joseph Myers <joseph@codesourcery.com>
24801
24802 * mach/err_boot.sub: Remove trailing whitespace.
24803 * mach/err_ipc.sub: Likewise.
24804 * mach/err_mach.sub: Likewise.
24805
24806 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24807 (ROUNDING_TESTS_double): Likewise.
24808 (ROUNDING_TESTS_long_double): Likewise.
24809 (ROUNDING_TESTS): Likewise.
24810 * math/libm-test.inc: Include <math-tests.h>.
24811 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24812 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24813 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24814 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24815
24816 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24817
24818 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24819 of assigning.
24820
24821 2013-06-08 Joseph Myers <joseph@codesourcery.com>
24822
24823 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24824 otherwise empty TRANS lines.
24825 * sysdeps/gnu/errlist.c: Regenerated.
24826
24827 * catgets/gencat.c (error_print): Use (void) in function
24828 definition.
24829 * crypt/crypt_util.c (__init_des): Likewise.
24830 * crypt/speeds.c (Stop): Likewise.
24831 (main): Likewise.
24832 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24833 * inet/ruserpass.c (token): Likewise.
24834 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24835 * intl/localealias.c (extend_alias_table): Likewise.
24836 * intl/plural-exp.c (init_germanic_plural): Likewise.
24837 * libio/fcloseall.c (__fcloseall): Likewise.
24838 * libio/genops.c (_IO_flush_all): Likewise.
24839 (_IO_flush_all_linebuffered): Likewise.
24840 (_IO_cleanup): Likewise.
24841 (_IO_iter_begin): Likewise.
24842 (_IO_iter_end): Likewise.
24843 (_IO_list_lock): Likewise.
24844 (_IO_list_unlock): Likewise.
24845 (_IO_list_resetlock): Likewise.
24846 * libio/getchar.c (getchar): Likewise.
24847 * libio/getchar_u.c (getchar_unlocked): Likewise.
24848 * libio/getwchar.c (getwchar): Likewise.
24849 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24850 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24851 * login/getpt.c (__getpt): Likewise.
24852 * login/tst-utmp.c (main): Likewise.
24853 * malloc/hooks.c (__malloc_check_init): Likewise.
24854 * malloc/malloc.c (__malloc_stats): Likewise.
24855 * malloc/mtrace.c (tr_break): Likewise.
24856 (mtrace): Likewise.
24857 (muntrace): Likewise.
24858 * misc/fstab.c (endfsent): Likewise.
24859 * misc/getclktck.c (__getclktck): Likewise.
24860 * misc/getdtsz.c (__getdtablesize): Likewise.
24861 * misc/gethostid.c (gethostid): Likewise.
24862 * misc/getpagesize.c (__getpagesize): Likewise.
24863 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24864 (__get_nprocs): Likewise.
24865 (__get_phys_pages): Likewise.
24866 (__get_avphys_pages): Likewise.
24867 * misc/getttyent.c (getttyent): Likewise.
24868 (setttyent): Likewise.
24869 (endttyent): Likewise.
24870 * misc/getusershell.c (getusershell): Likewise.
24871 (endusershell): Likewise.
24872 (setusershell): Likewise.
24873 (initshells): Likewise.
24874 * misc/hsearch.c (__hdestroy): Likewise.
24875 * misc/sync.c (sync): Likewise.
24876 * misc/syslog.c (closelog_internal): Likewise.
24877 (closelog): Likewise.
24878 * misc/ttyslot.c (ttyslot): Likewise.
24879 * misc/vhangup.c (vhangup): Likewise.
24880 * posix/fork.c (__fork): Likewise.
24881 * posix/getegid.c (__getegid): Likewise.
24882 * posix/geteuid.c (__geteuid): Likewise.
24883 * posix/getgid.c (__getgid): Likewise.
24884 * posix/getpid.c (__getpid): Likewise.
24885 * posix/getppid.c (__getppid): Likewise.
24886 * posix/getuid.c (__getuid): Likewise.
24887 * posix/pause.c (pause): Likewise.
24888 * posix/setpgrp.c (setpgrp): Likewise.
24889 * posix/setsid.c (__setsid): Likewise.
24890 * posix/test-vfork.c (noop): Likewise.
24891 * resolv/gethnamaddr.c (_endhtent): Likewise.
24892 (_gethtent): Likewise.
24893 (ht_endhostent): Likewise.
24894 (gethostent): Likewise.
24895 (dns_service): Likewise.
24896 * stdlib/drand48.c (drand48): Likewise.
24897 * stdlib/lrand48.c (lrand48): Likewise.
24898 * stdlib/mrand48.c (mrand48): Likewise.
24899 * stdlib/rand.c (rand): Likewise.
24900 * stdlib/random.c (__random): Likewise.
24901 * stdlib/setenv.c (clearenv): Likewise.
24902 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24903 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24904 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24905 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24906 (__get_nprocs): Likewise.
24907 (__get_phys_pages): Likewise.
24908 (__get_avphys_pages): Likewise.
24909 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24910 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24911 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24912 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24913 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24914 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24915 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24916 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24917 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24918 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24919 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24920 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24921 * sysdeps/posix/clock.c (clock): Likewise.
24922 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24923 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24924 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24925 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24926 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24927 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24928 (__get_nprocs_conf): Likewise.
24929 (__get_phys_pages): Likewise.
24930 (__get_avphys_pages): Likewise.
24931 * time/clock.c (clock): Likewise.
24932 * time/tzset.c (__tzname_max): Likewise.
24933
24934 2013-06-07 Joseph Myers <joseph@codesourcery.com>
24935
24936 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24937 (__bswap_32): Do not use "register".
24938 * crypt/crypt.c (_ufc_doit_r): Likewise.
24939 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24940 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24941 * gmon/gmon.c (__monstartup): Likewise.
24942 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24943 * hurd/hurdmalloc.c (more_memory): Likewise.
24944 (malloc): Likewise.
24945 (free): Likewise.
24946 (realloc): Likewise.
24947 (malloc_fork_prepare): Likewise.
24948 (malloc_fork_parent): Likewise.
24949 (malloc_fork_child): Likewise.
24950 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24951 (_svcauth_des): Likewise.
24952 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24953 * inet/inet_net.c (inet_network): Likewise.
24954 * inet/inet_netof.c (inet_netof): Likewise.
24955 * inet/rcmd.c (__validuser2_sa): Likewise.
24956 * io/fts.c (fts_open): Likewise.
24957 (fts_load): Likewise.
24958 (fts_close): Likewise.
24959 (fts_read): Likewise.
24960 (fts_children): Likewise.
24961 (fts_build): Likewise.
24962 (fts_stat): Likewise.
24963 (fts_sort): Likewise.
24964 (fts_alloc): Likewise.
24965 (fts_lfree): Likewise.
24966 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24967 (_IO_file_xsgetn): Likewise.
24968 (_IO_file_xsgetn_mmap): Likewise.
24969 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24970 (_IO_cookie_write): Likewise.
24971 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24972 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24973 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24974 * malloc/obstack.c (_obstack_begin): Likewise.
24975 (_obstack_begin_1): Likewise.
24976 (_obstack_newchunk): Likewise.
24977 (_obstack_allocated_p): Likewise.
24978 (obstack_free): Likewise.
24979 (_obstack_memory_used): Likewise.
24980 * misc/getttyent.c (getttynam): Likewise.
24981 (getttyent): Likewise.
24982 (skip): Likewise.
24983 (value): Likewise.
24984 * misc/getusershell.c (initshells): Likewise.
24985 * misc/syslog.c (__vsyslog_chk): Likewise.
24986 * misc/ttyslot.c (ttyslot): Likewise.
24987 * nis/nis_hash.c (__nis_hash): Likewise.
24988 * posix/fnmatch_loop.c (FCT): Likewise.
24989 * posix/getconf.c (print_all): Likewise.
24990 (main): Likewise.
24991 * posix/getopt.c (exchange): Likewise.
24992 * posix/glob.c (globfree): Likewise.
24993 (prefix_array): Likewise.
24994 (__glob_pattern_type): Likewise.
24995 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24996 (NS_GET32): Likewise.
24997 (NS_PUT16): Likewise.
24998 (NS_PUT32): Likewise.
24999 * resolv/gethnamaddr.c (getanswer): Likewise.
25000 (gethostbyname2): Likewise.
25001 (gethostbyaddr): Likewise.
25002 (_gethtent): Likewise.
25003 (_gethtbyname2): Likewise.
25004 (_gethtbyaddr): Likewise.
25005 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25006 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25007 * resolv/res_init.c (__res_vinit): Likewise.
25008 (net_mask): Likewise.
25009 * resolv/res_mkquery.c (outchar): Likewise.
25010 (PRINT): Likewise.
25011 * stdio-common/printf_fp.c (outchar): Likewise.
25012 (PRINT): Likewise.
25013 * stdio-common/printf_fphex.c (outchar): Likewise.
25014 (PRINT): Likewise.
25015 * stdio-common/printf_size.c (outchar): Likewise.
25016 (PRINT): Likewise.
25017 * stdio-common/test_rdwr.c (main): Likewise.
25018 * stdio-common/tfformat.c (matches): Likewise.
25019 * stdio-common/vfprintf.c (outchar): Likewise.
25020 (printf_unknown): Likewise.
25021 (buffered_vfprintf): Likewise.
25022 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25023 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25024 (ReadFile): Likewise.
25025 * stdlib/qsort.c (SWAP): Likewise.
25026 (_quicksort): Likewise.
25027 * stdlib/setenv.c (__add_to_environ): Likewise.
25028 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25029 * stdlib/strtol_l.c (__strtol_l): Likewise.
25030 * stdlib/tst-strtod.c (main): Likewise.
25031 * stdlib/tst-strtol.c (main): Likewise.
25032 * stdlib/tst-strtoll.c (main): Likewise.
25033 * string/bits/string2.h (__strcmp_cc): Likewise.
25034 (__strcmp_cg): Likewise.
25035 (__strcspn_c1): Likewise.
25036 (__strcspn_c2): Likewise.
25037 (__strcspn_c3): Likewise.
25038 (__strspn_c1): Likewise.
25039 (__strspn_c2): Likewise.
25040 (__strspn_c3): Likewise.
25041 (__strsep_1c): Likewise.
25042 (__strsep_2c): Likewise.
25043 (__strsep_3c): Likewise.
25044 * string/memccpy.c (__memccpy): Likewise.
25045 * string/stpcpy.c (__stpcpy): Likewise.
25046 * string/strcmp.c (strcmp): Likewise.
25047 * string/strrchr.c (strrchr): Likewise.
25048 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25049 Likewise.
25050 * sysdeps/mach/hurd/getcwd.c
25051 (_hurd_canonicalize_directory_name_internal): Likewise.
25052 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25053 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25054 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25055 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25056 Likewise, in both definitions.
25057 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25058 definitions.
25059 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25060 64] (__bswap_64): Likewise.
25061 * time/test_time.c (main): Likewise.
25062 * time/tzfile.c (__tzfile_read): Likewise.
25063 (__tzfile_compute): Likewise.
25064 * time/tzset.c (__tzset_parse_tz): Likewise.
25065 (tzset_internal): Likewise.
25066 (compute_change): Likewise.
25067 * wcsmbs/wcscat.c (__wcscat): Likewise.
25068 * wcsmbs/wcschr.c (wcschr): Likewise.
25069 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25070 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25071 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25072 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25073 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25074 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25075 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25076 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25077 * wcsmbs/wmemset.c (wmemset): Likewise.
25078
25079 2013-06-06 Joseph Myers <joseph@codesourcery.com>
25080
25081 * scripts/config.guess: Update to version 2013-05-16.
25082 * scripts/config.sub: Update to version 2013-04-24.
25083 * scripts/install-sh: Update to version 2011-11-20.07.
25084 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25085 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25086
25087 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
25088
25089 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25090 * elf/sln.c: Likewise.
25091 * hurd/hurd/ioctl.h: Likewise.
25092 * hurd/hurdmalloc.c: Likewise.
25093 * hurd/xattr.c: Likewise.
25094 * include/shlib-compat.h: Likewise.
25095 * inet/ruserpass.c: Likewise.
25096 * libio/iofgets_u.c: Likewise.
25097 * libio/iofgetws_u.c: Likewise.
25098 * locale/programs/ld-identification.c: Likewise.
25099 * locale/programs/ld-time.c: Likewise.
25100 * mach/msg-destroy.c: Likewise.
25101 * nss/nss_files/files-netgrp.c: Likewise.
25102 * resolv/res_data.c: Likewise.
25103 * soft-fp/op-1.h: Likewise.
25104 * soft-fp/op-2.h: Likewise.
25105 * soft-fp/op-4.h: Likewise.
25106 * soft-fp/op-common.h: Likewise.
25107 * stdio-common/printf_fphex.c: Likewise.
25108 * stdlib/strtod_l.c: Likewise.
25109 * sunrpc/rpc/clnt.h: Likewise.
25110 * sysdeps/generic/framestate.c: Likewise.
25111 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25112 * sysdeps/i386/bsd-setjmp.S: Likewise.
25113 * sysdeps/i386/__longjmp.S: Likewise.
25114 * sysdeps/i386/setjmp.S: Likewise.
25115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25116 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25117 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25118 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25119 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25120 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25121 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25122 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25123 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25124 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25125 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25126 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25127 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25128 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25129 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25130 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25131 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25132 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25133 * sysdeps/ieee754/support.c: Likewise.
25134 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25135 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25136 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25137 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25138 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25139 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25140 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25141 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25142 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25143 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25144 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25145 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25146 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25147 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25148 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25149 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25150 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25152
25153 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
25154
25155 * posix/transbug.c: Remove executable mode.
25156
25157 2013-06-05 Joseph Myers <joseph@codesourcery.com>
25158
25159 * crypt/speeds.c: Remove trailing whitespace.
25160 * dlfcn/default.c: Likewise.
25161 * elf/ifuncdep2.c: Likewise.
25162 * elf/ifuncmain1.c: Likewise.
25163 * elf/ifuncmain1vis.c: Likewise.
25164 * elf/testobj.h: Likewise.
25165 * elf/tst-stackguard1.c: Likewise.
25166 * gmon/sys/gmon.h: Likewise.
25167 * hurd/hurdmsg.c: Likewise.
25168 * hurd/new-fd.c: Likewise.
25169 * hurd/ports-get.c: Likewise.
25170 * iconvdata/ibm1008_420.c: Likewise.
25171 * inet/tst-getni1.c: Likewise.
25172 * inet/tst-getni2.c: Likewise.
25173 * libio/ioungetc.c: Likewise.
25174 * libio/wfiledoalloc.c: Likewise.
25175 * manual/libm-err-tab.pl: Likewise.
25176 * math/w_dremf.c: Likewise.
25177 * misc/ftruncate.c: Likewise.
25178 * posix/bug-glob2.c: Likewise.
25179 * posix/tst-pcre.c: Likewise.
25180 * posix/wait4.c: Likewise.
25181 * resolv/README: Likewise.
25182 * resolv/res_debug.h: Likewise.
25183 * resolv/tst-inet_ntop.c: Likewise.
25184 * setjmp/bug269-setjmp.c: Likewise.
25185 * soft-fp/extended.h: Likewise.
25186 * soft-fp/op-1.h: Likewise.
25187 * soft-fp/op-2.h: Likewise.
25188 * soft-fp/op-4.h: Likewise.
25189 * soft-fp/op-8.h: Likewise.
25190 * soft-fp/testit.c: Likewise.
25191 * stdio-common/bug16.c: Likewise.
25192 * stdlib/random.c: Likewise.
25193 * sunrpc/rpcsvc/rquota.x: Likewise.
25194 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25195 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25196 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25197 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25198 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25199 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25200 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25201 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25202 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25203 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25204 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25205 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25206 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25207 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25208 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25209 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25210 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25211 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25212 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25213 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25214 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25215 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25216 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25217 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25218 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25219 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25220 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25221 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25222 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25223 * sysdeps/ieee754/s_lib_version.c: Likewise.
25224 * sysdeps/mach/hurd/check_fds.c: Likewise.
25225 * sysdeps/mach/hurd/getsockname.c: Likewise.
25226 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25227 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25228 * sysdeps/powerpc/bits/link.h: Likewise.
25229 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25230 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25231 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25232 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25233 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25234 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25235 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25236 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25237 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25238 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25239 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25240 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25241 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25242 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25243 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25244 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25245 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25246 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25247 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25248 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25249 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25250 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25251 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25252 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25253 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25254 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25255 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25256 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25257 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25258 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25259 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25260 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25261 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25262 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25263 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25264 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25265 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25266 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25267 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25268 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25269 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25270 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25271 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25272 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25273 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25274 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25275 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25276 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25277 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25278 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25279 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25281 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25282 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25283 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25284 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25285 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25286 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25287 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25288 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25289 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25290 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25291 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25292 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25293 * sysdeps/powerpc/sysdep.h: Likewise.
25294 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25295 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25296 * sysdeps/sh/dl-trampoline.S: Likewise.
25297 * sysdeps/sh/memset.S: Likewise.
25298 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25299 * sysdeps/sh/strlen.S: Likewise.
25300 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25301 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25302 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25303 * sysdeps/sparc/sparc32/rem.S: Likewise.
25304 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25305 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25306 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25307 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25308 * sysdeps/sparc/sparc32/urem.S: Likewise.
25309 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25310 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25311 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25312 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25313 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25314 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25315 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25316 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25317 * sysdeps/unix/bsd/times.c: Likewise.
25318 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25319 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25323 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25324 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25325 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25326 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25327 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25328 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25329 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25330 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25331 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25332 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25333 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25334 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25335 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25336 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25337 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25338 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25339 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25340 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25341 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25342 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25343 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25344 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25345 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25346 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25347 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25348 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25349 * sysdeps/x86_64/strcspn.S: Likewise.
25350
25351 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25352
25353 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25354 generated file. Regenerate properly from gen-translit.pl.
25355 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25356 locale/C-translit.h.
25357
25358 2013-06-05 Andreas Schwab <schwab@suse.de>
25359
25360 [BZ #15100]
25361 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25362 week as 6 instead of -1.
25363 * time/tst-strptime.c (day_tests): Add test case.
25364
25365 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25366
25367 * sysdeps/generic/math_private.h
25368 (libc_feholdexcept_setround_53bit): Replace with
25369 libc_feholdsetround_53bit.
25370 (libc_feupdateenv_53bit): Replace with
25371 libc_feresetround_53bit.
25372 (SET_RESTORE_ROUND_53BIT): Adjust.
25373
25374 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25375
25376 * string/test-strchrnul.c: Add copyright header.
25377
25378 * posix/tst-getaddrinfo4.c: Increase test timeout.
25379
25380 2013-06-03 Carlos O'Donell <carlos@redhat.com>
25381
25382 [BZ #15536]
25383 * math/libm-test.inc (MAX_EXP): Remove
25384 (MIN_EXP): Define.
25385 (ulp): Use MIN_EXP - MANT_DIG.
25386 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25387
25388 2013-05-31 Carlos O'Donell <carlos@redhat.com>
25389
25390 * po/be.po: Revert last change.
25391 * po/zh_CN.po: Likewise.
25392 * po/header.pot: Likewise.
25393
25394 2013-05-31 Joseph Myers <joseph@codesourcery.com>
25395
25396 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25397 link-libc-deps to empty as target-specific variable.
25398 * Makerules (link-libc-args): New variable.
25399 (libc-for-link): Likewise.
25400 (link-libc-deps): Likewise.
25401 (lib%.so): Depend on $(link-libc-deps). Link with
25402 $(link-libc-args).
25403 (build-module): Link with $(link-libc-args).
25404 (build-module-asneeded): Likewise.
25405 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25406 list of objects.
25407 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25408 target-specific variable.
25409 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25410 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25411 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25412 libc.
25413 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25414 libc and ld.so.
25415 ($(objpfx)libpcprofile.so): Likewise.
25416 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25417 libc_nonshared.a.
25418 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25419 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25420 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25421 $(link-libc-deps).
25422 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25423 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25424 * login/Makefile ($(objpfx)libutil.so): Likewise.
25425 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25426 * math/Makefile ($(objpfx)libm.so): Likewise.
25427 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25428 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25429 variable instead of depending directly on libc.
25430 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25431 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25432 $(link-libc-deps).
25433 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25434 libc.
25435 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25436 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25437 ($(objpfx)libanl.so): Likewise.
25438 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25439 ld.so.
25440 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25441 $(link-libc-deps).
25442 * sysdeps/i386/fpu/Makefile: Remove file.
25443 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25444 ($(objpfx)libm.so): Remove dependency on ld.so.
25445
25446 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
25447
25448 [BZ # 15553]
25449 * nis/yp_xdr.c (XDRMAXNAME): Define.
25450 (XDRMAXRECORD): Define.
25451 (xdr_domainname): Use XDRMAXNAME.
25452 (xdr_mapname): Likewise.
25453 (xdr_peername): Likewise.
25454 (xdr_keydat): Use XDRMAXRECORD.
25455 (xdr_valdat): Likewise.
25456
25457 2013-05-30 Jeff Law <law@redhat.com>
25458
25459 [BZ #14256]
25460 * manual/errno.texi (ESTALE): Update to account for more than
25461 just NFS file systems.
25462 * sysdeps/gnu/errlist.c: Regenerated.
25463
25464 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25465
25466 [BZ #15465]
25467 * elf/Makefile (tests): Add tst-null-argv.
25468 (modules-names): Add tst-null-argv-lib.
25469 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25470 (tst-null-argv-ENV): Set environment for tst-null-argv.
25471 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25472 (RTLD_PROGNAME): New macro.
25473 * elf/tst-null-argv.c: New test case.
25474 * elf/tst-null-argv-lib.c: Library for test case.
25475 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25476 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25477 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25478 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25479 * elf/dl-init.c (call_init): Likewise.
25480 (_dl_init): Likewise.
25481 * elf/dl-load.c (print_search_path): Likewise.
25482 (_dl_map_object): Likewise.
25483 * elf/dl-lookup.c (do_lookup_x): Likewise.
25484 (add_dependency): Likewise.
25485 (_dl_lookup_symbol_x): Likewise.
25486 (_dl_debug_bindings): Likewise.
25487 * elf/dl-open.c (_dl_show_scope): Likewise.
25488 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25489 * elf/dl-version.c (match_symbol): Likewise.
25490 (_dl_check_map_versions): Likewise.
25491 * elf/rtld.c (dl_main): Likewise.
25492 (print_unresolved): Use RTLD_PROGNAME.
25493 (print_missing_version): Likewise.
25494 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25495 (elf_machine_rela): Likewise.
25496 * sysdeps/powerpc/powerpc32/dl-machine.c
25497 (__process_machine_rela): Likewise.
25498 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25499 Likewise.
25500 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25501 Likewise.
25502 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25503 Likewise.
25504 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25505 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25506 Likewise.
25507 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25508 Likewise.
25509 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25510
25511 2013-05-28 Carlos O'Donell <carlos@redhat.com>
25512
25513 * po/be.po: Add descriptive title.
25514 * po/zh_CN.po: Likewise.
25515 * po/header.pot: Likewise.
25516
25517 2013-05-28 Mike Frysinger <vapier@gentoo.org>
25518
25519 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25520 error message.
25521 (enlarge_archive): Likewise.
25522
25523 2013-05-28 Ben North <ben@redfrontdoor.org>
25524
25525 * manual/arith.texi (frexp): It is the magnitude of the return
25526 value which lies in [0.5, 1), not the return value itself.
25527
25528 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25529
25530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25531
25532 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25533
25534 * stdio-common/bug26.c (main): Correct fscanf template.
25535
25536 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25537 declare _dl_skip_args.
25538
25539 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25540 Don't declare.
25541
25542 * manual/platform.texi: Add missing @end deftypefun.
25543
25544 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25545
25546 [BZ #15529]
25547 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25548 bit of mantissa of 2^16382.
25549 * math/libm-test.inc (hypot_test_data): Add more tests.
25550
25551 * math/libm-test.inc: Add drem and pow10 to list of tested
25552 functions.
25553 (pow10_test): New function.
25554 (drem_test): Likewise.
25555 (drem_test_tonearest): Likewise.
25556 (drem_test_towardzero): Likewise.
25557 (drem_test_downward): Likewise.
25558 (drem_test_upward): Likewise.
25559 (main): Call the new functions.
25560
25561 * math/libm-test.inc (finite_test_data): Remove.
25562 (finite_test): Run tests from isfinite_test_data.
25563 (gamma_test_data): Remove.
25564 (gamma_test): Run tests from lgamma_test_data.
25565 * sysdeps/i386/fpu/libm-test-ulps: Update.
25566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25567
25568 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25569
25570 * manual/platform.texi: Add PowerPC PPR function set documentation.
25571 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25572 implementation.
25573
25574 2013-05-24 Carlos O'Donell <carlos@redhat.com>
25575
25576 * math/libm-test.inc (MAX_EXP): Define.
25577 (ULPDIFF): Define.
25578 (ulp): New function.
25579 (check_float_internal): Use ULPDIFF.
25580 (cpow_test): Disable failing test.
25581 (check_ulp): Test ulp() implemetnation.
25582 (main): Call check_ulp before starting tests.
25583
25584 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25585
25586 * math/gen-libm-test.pl (generate_testfile): Do not handle
25587 START_DATA and END_DATA.
25588 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25589 END_DATA.
25590 (acos_tonearest_test_data): Likewise.
25591 (acos_towardzero_test_data): Likewise.
25592 (acos_downward_test_data): Likewise.
25593 (acos_upward_test_data): Likewise.
25594 (acosh_test_data): Likewise.
25595 (asin_test_data): Likewise.
25596 (asin_tonearest_test_data): Likewise.
25597 (asin_towardzero_test_data): Likewise.
25598 (asin_downward_test_data): Likewise.
25599 (asin_upward_test_data): Likewise.
25600 (asinh_test_data): Likewise.
25601 (atan_test_data): Likewise.
25602 (atanh_test_data): Likewise.
25603 (atan2_test_data): Likewise.
25604 (cabs_test_data): Likewise.
25605 (cacos_test_data): Likewise.
25606 (cacosh_test_data): Likewise.
25607 (carg_test_data): Likewise.
25608 (casin_test_data): Likewise.
25609 (casinh_test_data): Likewise.
25610 (catan_test_data): Likewise.
25611 (catanh_test_data): Likewise.
25612 (cbrt_test_data): Likewise.
25613 (ccos_test_data): Likewise.
25614 (ccosh_test_data): Likewise.
25615 (ceil_test_data): Likewise.
25616 (cexp_test_data): Likewise.
25617 (cimag_test_data): Likewise.
25618 (clog_test_data): Likewise.
25619 (clog10_test_data): Likewise.
25620 (conj_test_data): Likewise.
25621 (copysign_test_data): Likewise.
25622 (cos_test_data): Likewise.
25623 (cos_tonearest_test_data): Likewise.
25624 (cos_towardzero_test_data): Likewise.
25625 (cos_downward_test_data): Likewise.
25626 (cos_upward_test_data): Likewise.
25627 (cosh_test_data): Likewise.
25628 (cosh_tonearest_test_data): Likewise.
25629 (cosh_towardzero_test_data): Likewise.
25630 (cosh_downward_test_data): Likewise.
25631 (cosh_upward_test_data): Likewise.
25632 (cpow_test_data): Likewise.
25633 (cproj_test_data): Likewise.
25634 (creal_test_data): Likewise.
25635 (csin_test_data): Likewise.
25636 (csinh_test_data): Likewise.
25637 (csqrt_test_data): Likewise.
25638 (ctan_test_data): Likewise.
25639 (ctan_tonearest_test_data): Likewise.
25640 (ctan_towardzero_test_data): Likewise.
25641 (ctan_downward_test_data): Likewise.
25642 (ctan_upward_test_data): Likewise.
25643 (ctanh_test_data): Likewise.
25644 (ctanh_tonearest_test_data): Likewise.
25645 (ctanh_towardzero_test_data): Likewise.
25646 (ctanh_downward_test_data): Likewise.
25647 (ctanh_upward_test_data): Likewise.
25648 (erf_test_data): Likewise.
25649 (erfc_test_data): Likewise.
25650 (exp_test_data): Likewise.
25651 (exp_tonearest_test_data): Likewise.
25652 (exp_towardzero_test_data): Likewise.
25653 (exp_downward_test_data): Likewise.
25654 (exp_upward_test_data): Likewise.
25655 (exp10_test_data): Likewise.
25656 (exp2_test_data): Likewise.
25657 (expm1_test_data): Likewise.
25658 (fabs_test_data): Likewise.
25659 (fdim_test_data): Likewise.
25660 (finite_test_data): Likewise.
25661 (floor_test_data): Likewise.
25662 (fma_test_data): Likewise.
25663 (fma_towardzero_test_data): Likewise.
25664 (fma_downward_test_data): Likewise.
25665 (fma_upward_test_data): Likewise.
25666 (fmax_test_data): Likewise.
25667 (fmin_test_data): Likewise.
25668 (fmod_test_data): Likewise.
25669 (fpclassify_test_data): Likewise.
25670 (frexp_test_data): Likewise.
25671 (gamma_test_data): Likewise.
25672 (hypot_test_data): Likewise.
25673 (ilogb_test_data): Likewise.
25674 (isfinite_test_data): Likewise.
25675 (isgreater_test_data): Likewise.
25676 (isgreaterequal_test_data): Likewise.
25677 (isinf_test_data): Likewise.
25678 (isless_test_data): Likewise.
25679 (islessequal_test_data): Likewise.
25680 (islessgreater_test_data): Likewise.
25681 (isnan_test_data): Likewise.
25682 (isnormal_test_data): Likewise.
25683 (issignaling_test_data): Likewise.
25684 (isunordered_test_data): Likewise.
25685 (j0_test_data): Likewise.
25686 (j1_test_data): Likewise.
25687 (jn_test_data): Likewise.
25688 (ldexp_test_data): Likewise.
25689 (lgamma_test_data): Likewise.
25690 (lrint_test_data): Likewise.
25691 (lrint_tonearest_test_data): Likewise.
25692 (lrint_towardzero_test_data): Likewise.
25693 (lrint_downward_test_data): Likewise.
25694 (lrint_upward_test_data): Likewise.
25695 (llrint_test_data): Likewise.
25696 (llrint_tonearest_test_data): Likewise.
25697 (llrint_towardzero_test_data): Likewise.
25698 (llrint_downward_test_data): Likewise.
25699 (llrint_upward_test_data): Likewise.
25700 (log_test_data): Likewise.
25701 (log10_test_data): Likewise.
25702 (log1p_test_data): Likewise.
25703 (log2_test_data): Likewise.
25704 (logb_test_data): Likewise.
25705 (logb_downward_test_data): Likewise.
25706 (lround_test_data): Likewise.
25707 (llround_test_data): Likewise.
25708 (modf_test_data): Likewise.
25709 (nearbyint_test_data): Likewise.
25710 (nextafter_test_data): Likewise.
25711 (nexttoward_test_data): Likewise.
25712 (pow_test_data): Likewise.
25713 (pow_tonearest_test_data): Likewise.
25714 (pow_towardzero_test_data): Likewise.
25715 (pow_downward_test_data): Likewise.
25716 (pow_upward_test_data): Likewise.
25717 (remainder_test_data): Likewise.
25718 (remainder_tonearest_test_data): Likewise.
25719 (remainder_towardzero_test_data): Likewise.
25720 (remainder_downward_test_data): Likewise.
25721 (remainder_upward_test_data): Likewise.
25722 (remquo_test_data): Likewise.
25723 (rint_test_data): Likewise.
25724 (rint_tonearest_test_data): Likewise.
25725 (rint_towardzero_test_data): Likewise.
25726 (rint_downward_test_data): Likewise.
25727 (rint_upward_test_data): Likewise.
25728 (round_test_data): Likewise.
25729 (scalb_test_data): Likewise.
25730 (scalbn_test_data): Likewise.
25731 (scalbln_test_data): Likewise.
25732 (signbit_test_data): Likewise.
25733 (sin_test_data): Likewise.
25734 (sin_tonearest_test_data): Likewise.
25735 (sin_towardzero_test_data): Likewise.
25736 (sin_downward_test_data): Likewise.
25737 (sin_upward_test_data): Likewise.
25738 (sincos_test_data): Likewise.
25739 (sinh_test_data): Likewise.
25740 (sinh_tonearest_test_data): Likewise.
25741 (sinh_towardzero_test_data): Likewise.
25742 (sinh_downward_test_data): Likewise.
25743 (sinh_upward_test_data): Likewise.
25744 (sqrt_test_data): Likewise.
25745 (tan_test_data): Likewise.
25746 (tan_tonearest_test_data): Likewise.
25747 (tan_towardzero_test_data): Likewise.
25748 (tan_downward_test_data): Likewise.
25749 (tan_upward_test_data): Likewise.
25750 (tanh_test_data): Likewise.
25751 (tgamma_test_data): Likewise.
25752 (trunc_test_data): Likewise.
25753 (y0_test_data): Likewise.
25754 (y1_test_data): Likewise.
25755 (yn_test_data): Likewise.
25756 (significand_test_data): Likewise.
25757
25758 * math/gen-libm-test.pl (@functions): Remove variable.
25759 (generate_testfile): Don't handle START and END lines.
25760 * math/libm-test.inc (START): New macro.
25761 (END): Likewise.
25762 (END_COMPLEX): Likewise.
25763 (acos_test): Use END macro without arguments.
25764 (acos_test_tonearest): Likewise.
25765 (acos_test_towardzero): Likewise.
25766 (acos_test_downward): Likewise.
25767 (acos_test_upward): Likewise.
25768 (acosh_test): Likewise.
25769 (asin_test): Likewise.
25770 (asin_test_tonearest): Likewise.
25771 (asin_test_towardzero): Likewise.
25772 (asin_test_downward): Likewise.
25773 (asin_test_upward): Likewise.
25774 (asinh_test): Likewise.
25775 (atan_test): Likewise.
25776 (atanh_test): Likewise.
25777 (atan2_test): Likewise.
25778 (cabs_test): Likewise.
25779 (cacos_test): Use END_COMPLEX macro without arguments.
25780 (cacosh_test): Likewise.
25781 (carg_test): Use END macro without arguments.
25782 (casin_test): Use END_COMPLEX macro without arguments.
25783 (casinh_test): Likewise.
25784 (catan_test): Likewise.
25785 (catanh_test): Likewise.
25786 (cbrt_test): Use END macro without arguments.
25787 (ccos_test): Use END_COMPLEX macro without arguments.
25788 (ccosh_test): Likewise.
25789 (ceil_test): Use END macro without arguments.
25790 (cexp_test): Use END_COMPLEX macro without arguments.
25791 (cimag_test): Use END macro without arguments.
25792 (clog_test): Use END_COMPLEX macro without arguments.
25793 (clog10_test): Likewise.
25794 (conj_test): Likewise.
25795 (copysign_test): Use END macro without arguments.
25796 (cos_test): Likewise.
25797 (cos_test_tonearest): Likewise.
25798 (cos_test_towardzero): Likewise.
25799 (cos_test_downward): Likewise.
25800 (cos_test_upward): Likewise.
25801 (cosh_test): Likewise.
25802 (cosh_test_tonearest): Likewise.
25803 (cosh_test_towardzero): Likewise.
25804 (cosh_test_downward): Likewise.
25805 (cosh_test_upward): Likewise.
25806 (cpow_test): Use END_COMPLEX macro without arguments.
25807 (cproj_test): Likewise.
25808 (creal_test): Use END macro without arguments.
25809 (csin_test): Use END_COMPLEX macro without arguments.
25810 (csinh_test): Likewise.
25811 (csqrt_test): Likewise.
25812 (ctan_test): Likewise.
25813 (ctan_test_tonearest): Likewise.
25814 (ctan_test_towardzero): Likewise.
25815 (ctan_test_downward): Likewise.
25816 (ctan_test_upward): Likewise.
25817 (ctanh_test): Likewise.
25818 (ctanh_test_tonearest): Likewise.
25819 (ctanh_test_towardzero): Likewise.
25820 (ctanh_test_downward): Likewise.
25821 (ctanh_test_upward): Likewise.
25822 (erf_test): Use END macro without arguments.
25823 (erfc_test): Likewise.
25824 (exp_test): Likewise.
25825 (exp_test_tonearest): Likewise.
25826 (exp_test_towardzero): Likewise.
25827 (exp_test_downward): Likewise.
25828 (exp_test_upward): Likewise.
25829 (exp10_test): Likewise.
25830 (exp2_test): Likewise.
25831 (expm1_test): Likewise.
25832 (fabs_test): Likewise.
25833 (fdim_test): Likewise.
25834 (finite_test): Likewise.
25835 (floor_test): Likewise.
25836 (fma_test): Likewise.
25837 (fma_test_towardzero): Likewise.
25838 (fma_test_downward): Likewise.
25839 (fma_test_upward): Likewise.
25840 (fmax_test): Likewise.
25841 (fmin_test): Likewise.
25842 (fmod_test): Likewise.
25843 (fpclassify_test): Likewise.
25844 (frexp_test): Likewise.
25845 (gamma_test): Likewise.
25846 (hypot_test): Likewise.
25847 (ilogb_test): Likewise.
25848 (isfinite_test): Likewise.
25849 (isgreater_test): Likewise.
25850 (isgreaterequal_test): Likewise.
25851 (isinf_test): Likewise.
25852 (isless_test): Likewise.
25853 (islessequal_test): Likewise.
25854 (islessgreater_test): Likewise.
25855 (isnan_test): Likewise.
25856 (isnormal_test): Likewise.
25857 (issignaling_test): Likewise.
25858 (isunordered_test): Likewise.
25859 (j0_test): Likewise.
25860 (j1_test): Likewise.
25861 (jn_test): Likewise.
25862 (ldexp_test): Likewise.
25863 (lgamma_test): Likewise.
25864 (lrint_test): Likewise.
25865 (lrint_test_tonearest): Likewise.
25866 (lrint_test_towardzero): Likewise.
25867 (lrint_test_downward): Likewise.
25868 (lrint_test_upward): Likewise.
25869 (llrint_test): Likewise.
25870 (llrint_test_tonearest): Likewise.
25871 (llrint_test_towardzero): Likewise.
25872 (llrint_test_downward): Likewise.
25873 (llrint_test_upward): Likewise.
25874 (log_test): Likewise.
25875 (log10_test): Likewise.
25876 (log1p_test): Likewise.
25877 (log2_test): Likewise.
25878 (logb_test): Likewise.
25879 (logb_test_downward): Likewise.
25880 (lround_test): Likewise.
25881 (llround_test): Likewise.
25882 (modf_test): Likewise.
25883 (nearbyint_test): Likewise.
25884 (nextafter_test): Likewise.
25885 (nexttoward_test): Likewise.
25886 (pow_test): Likewise.
25887 (pow_test_tonearest): Likewise.
25888 (pow_test_towardzero): Likewise.
25889 (pow_test_downward): Likewise.
25890 (pow_test_upward): Likewise.
25891 (remainder_test): Likewise.
25892 (remainder_test_tonearest): Likewise.
25893 (remainder_test_towardzero): Likewise.
25894 (remainder_test_downward): Likewise.
25895 (remainder_test_upward): Likewise.
25896 (remquo_test): Likewise.
25897 (rint_test): Likewise.
25898 (rint_test_tonearest): Likewise.
25899 (rint_test_towardzero): Likewise.
25900 (rint_test_downward): Likewise.
25901 (rint_test_upward): Likewise.
25902 (round_test): Likewise.
25903 (scalb_test): Likewise.
25904 (scalbn_test): Likewise.
25905 (scalbln_test): Likewise.
25906 (signbit_test): Likewise.
25907 (sin_test): Likewise.
25908 (sin_test_tonearest): Likewise.
25909 (sin_test_towardzero): Likewise.
25910 (sin_test_downward): Likewise.
25911 (sin_test_upward): Likewise.
25912 (sincos_test): Likewise.
25913 (sinh_test): Likewise.
25914 (sinh_test_tonearest): Likewise.
25915 (sinh_test_towardzero): Likewise.
25916 (sinh_test_downward): Likewise.
25917 (sinh_test_upward): Likewise.
25918 (sqrt_test): Likewise.
25919 (tan_test): Likewise.
25920 (tan_test_tonearest): Likewise.
25921 (tan_test_towardzero): Likewise.
25922 (tan_test_downward): Likewise.
25923 (tan_test_upward): Likewise.
25924 (tanh_test): Likewise.
25925 (tgamma_test): Likewise.
25926 (trunc_test): Likewise.
25927 (y0_test): Likewise.
25928 (y1_test): Likewise.
25929 (yn_test): Likewise.
25930 (significand_test): Likewise.
25931
25932 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
25933
25934 [BZ #15381]
25935 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25936
25937 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25938
25939 [BZ #14894]
25940 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25941 __ppc_mdoio and __ppc_mdoom.
25942 * manual/platform.texi: Document new functions __ppc_yield,
25943 __ppc_mdoio and __ppc_mdoom.
25944
25945 2013-05-22 Carlos O'Donell <carlos@redhat.com>
25946
25947 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25948 (main): Mention "tls" pseudo-hwcap is legacy.
25949 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25950
25951 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25952
25953 * math/gen-libm-test.pl (parse_args): Output only string of
25954 arguments as text for test name, not full call or descriptions of
25955 tests for extra outputs.
25956 (generate_testfile): Do not pass function name to parse_args.
25957 Generate this_func variable from START.
25958 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25959 field to arg_str.
25960 (struct test_ff_f_data): Likewise.
25961 (test_ff_f_data_nexttoward): Likewise.
25962 (struct test_fi_f_data): Likewise.
25963 (struct test_fl_f_data): Likewise.
25964 (struct test_if_f_data): Likewise.
25965 (struct test_fff_f_data): Likewise.
25966 (struct test_c_f_data): Likewise.
25967 (struct test_f_f1_data): Likewise. Remove field extra_name.
25968 (struct test_fF_f1_data): Likewise.
25969 (struct test_ffI_f1_data): Likewise.
25970 (struct test_c_c_data): Rename test_name field to arg_str.
25971 (struct test_cc_c_data): Likewise.
25972 (struct test_f_i_data): Likewise.
25973 (struct test_ff_i_data): Likewise.
25974 (struct test_f_l_data): Likewise.
25975 (struct test_f_L_data): Likewise.
25976 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25977 and extra2_name.
25978 (COMMON_TEST_SETUP): New macro.
25979 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25980 (COMMON_TEST_CLEANUP): Likewise.
25981 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25982 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25983 macros.
25984 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25985 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25986 macros.
25987 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25988 (RUN_TEST_fff_f): Take argument string. Call new setup and
25989 cleanup macros.
25990 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25991 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25992 macros.
25993 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25994 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25995 macros.
25996 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25997 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25998 cleanup macros.
25999 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26000 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26001 cleanup macros.
26002 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26003 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26004 cleanup macros.
26005 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26006 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26007 macros.
26008 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26009 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26010 macros.
26011 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26012 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26013 macros.
26014 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26015 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26016 cleanup macros.
26017 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26018 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26019 cleanup macros.
26020 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26021 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26022 macros.
26023 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26024 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26025 cleanup macros.
26026 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26027 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26028 macros.
26029 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26030 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26031 macros.
26032 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26033 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26034 cleanup macros.
26035 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26036
26037 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26038
26039 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26040 to _sifields.sigfault.
26041 (si_addr_lsb): Define new macro.
26042 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26043 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26044 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26045
26046 2013-05-03 Carlos O'Donell <carlos at redhat.com>
26047
26048 [BZ #15441]
26049 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26050 returns -1.
26051 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26052 null return -1.
26053 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26054 loading the domain.
26055
26056 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26057
26058 * math/gen-libm-test.pl (parse_args): Do not include expected
26059 result in test name.
26060 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26061 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26062 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26063 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26064 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26066
26067 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26068
26069 * benchtests/Makefile: Sort function entries.
26070
26071 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26072 tanh, asinh, acosh, atanh.
26073 * benchtests/acos-inputs: New file.
26074 * benchtests/acosh-inputs: New file.
26075 * benchtests/asin-inputs: New file.
26076 * benchtests/asinh-inputs: New file.
26077 * benchtests/atanh-inputs: New file.
26078 * benchtests/cosh-inputs: New file.
26079 * benchtests/log-inputs: New file.
26080 * benchtests/sinh-inputs: New file.
26081 * benchtests/tanh-inputs: New file.
26082
26083 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26084
26085 [BZ #15339]
26086 * posix/tst-getaddrinfo4.c: New test.
26087 * posix/Makefile (tests): Add it.
26088
26089 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26090
26091 [BZ #15339]
26092 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26093 when no services were used.
26094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26095 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26096
26097 2013-05-21 Andreas Schwab <schwab@suse.de>
26098
26099 [BZ #15014]
26100 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26101 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26102 successful.
26103 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26104 redundant variable declarations and reallocation of buffer when
26105 parsing as IPv6 address. Always set NSS status when called from
26106 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26107 buffer too small. Correct computation of needed size.
26108 * nss/Makefile (tests): Add test-digits-dots.
26109 * nss/test-digits-dots.c: New test.
26110
26111 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26112
26113 * benchtests/Makefile: Remove instructions for adding
26114 benchmark tests.
26115 * benchtests/README: New file to explain how to execute and
26116 enhance the benchmark tests.
26117
26118 2013-05-21 Andreas Schwab <schwab@suse.de>
26119
26120 [BZ #15493]
26121 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26122 * setjmp/tst-sigsetjmp.c: New test.
26123
26124 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26125
26126 * sysdeps/x86_64/memset.S (memset): New implementation.
26127 (__bzero): Likewise.
26128 (__memset_tail): New function.
26129
26130 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26131
26132 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26133 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26134 __memcpy_sse2_unaligned ifunc selection.
26135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26136 Add memcpy-sse2-unaligned.S.
26137 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26138 Add: __memcpy_sse2_unaligned.
26139
26140 2013-05-19 Joseph Myers <joseph@codesourcery.com>
26141
26142 [BZ #15490]
26143 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26144 math_force_eval before restoring floating-point envrionment.
26145 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26146 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26147 Likewise.
26148 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26149 <math_private.h>.
26150 (__nearbyintl): Use math_force_eval before restoring
26151 floating-point environment.
26152 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26153
26154 * math/gen-libm-test.pl (special_functions): Remove.
26155 (parse_args): Don't handle TEST_extra. Handle functions with no
26156 return value.
26157 * math/libm-test.inc (struct test_sincos_data): Replace with
26158 struct test_fFF_11_data.
26159 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26160 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26161 (sincos_test_data): Change element type to struct
26162 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26163 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26164 RUN_TEST_LOOP_sincos.
26165 * math/README.libm-test: Don't mention special handling of
26166 individual functions.
26167 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26168 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26169 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26170 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26171 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26173
26174 * math/gen-libm-test.pl (get_variable): Remove function.
26175 (parse_args): Don't show pointer parameters to call in test
26176 names. Use "extra output N" in test names for extra outputs
26177 rather than naming variables.
26178
26179 2013-05-18 Joseph Myers <joseph@codesourcery.com>
26180
26181 [BZ #15488]
26182 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26183 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26184 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26185 double tests.
26186 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26187 disable.
26188 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26189 check_long_double.
26190
26191 * math/gen-libm-test.pl (@tests): Remove variable.
26192 ($count): Likewise.
26193 (new_test): Remove function.
26194 (show_exceptions): New function.
26195 (special_functions): Use show_exceptions instead of new_test.
26196 (parse_args): Likewise.
26197 (generate_testfile): Pass only function name in generated call to
26198 print_max_error or print_complex_max_error.
26199 (get_ulps): Do not handle complex tests specially.
26200 (output_test): Rename to ...
26201 (get_all_ulps_for_test): ... this. Return a string rather than
26202 printing to a file. Require ulps to be present.
26203 (output_ulps): Generate arrays rather than #defines.
26204 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26205 (struct ulp_data): New type.
26206 (BUILD_COMPLEX_ULP): Remove macro.
26207 (compare_ulp_data): New function.
26208 (find_ulps): Likewise.
26209 (find_test_ulps): Likewise.
26210 (find_function_ulps): Likewise.
26211 (find_complex_function_ulps): Likewise.
26212 (print_max_error): Determine allowed ulps using
26213 find_function_ulps.
26214 (print_complex_max_error): Determine allowed ulps using
26215 find_complex_function_ulps.
26216 (check_float_internal): Determine max ulps using find_test_ulps.
26217 (check_float): Do not take max_ulp parameter. Update call to
26218 check_float_internal.
26219 (check_complex): Likewise.
26220 (check_int): Do not take max_ulp parameter.
26221 (check_long): Likewise.
26222 (check_bool): Likewise.
26223 (check_longlong): Likewise.
26224 (struct test_f_f_data): Remove max_ulp field.
26225 (struct test_ff_f_data): Likewise.
26226 (struct test_ff_f_data_nexttoward): Likewise.
26227 (struct test_fi_f_data): Likewise.
26228 (struct test_fl_f_data): Likewise.
26229 (struct test_if_f_data): Likewise.
26230 (struct test_fff_f_data): Likewise.
26231 (struct test_c_f_data): Likewise.
26232 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26233 (struct test_fF_f1_data): Likewise.
26234 (struct test_ffI_f1_data): Likewise.
26235 (struct test_c_c_data): Remove max_ulp field.
26236 (struct test_cc_c_data): Likewise.
26237 (struct test_f_i_data): Likewise.
26238 (struct test_ff_i_data): Likewise.
26239 (struct test_f_l_data): Likewise.
26240 (struct test_f_L_data): Likewise.
26241 (struct test_sincos_data): Likewise.
26242 (RUN_TEST_f_f): Do not handle ulps.
26243 (RUN_TEST_LOOP_f_f): Likewise.
26244 (RUN_TEST_2_f): Likewise.
26245 (RUN_TEST_LOOP_2_f): Likewise.
26246 (RUN_TEST_fff_f): Likewise.
26247 (RUN_TEST_LOOP_fff_f): Likewise.
26248 (RUN_TEST_c_f): Likewise.
26249 (RUN_TEST_LOOP_c_f): Likewise.
26250 (RUN_TEST_f_f1): Likewise.
26251 (RUN_TEST_LOOP_f_f1): Likewise.
26252 (RUN_TEST_fF_f1): Likewise.
26253 (RUN_TEST_LOOP_fF_f1): Likewise.
26254 (RUN_TEST_fI_f1): Likewise.
26255 (RUN_TEST_LOOP_fI_f1): Likewise.
26256 (RUN_TEST_ffI_f1): Likewise.
26257 (RUN_TEST_LOOP_ffI_f1): Likewise.
26258 (RUN_TEST_c_c): Likewise.
26259 (RUN_TEST_LOOP_c_c): Likewise.
26260 (RUN_TEST_cc_c): Likewise.
26261 (RUN_TEST_LOOP_cc_c): Likewise.
26262 (RUN_TEST_f_i): Likewise.
26263 (RUN_TEST_LOOP_f_i): Likewise.
26264 (RUN_TEST_f_i_tg): Likewise.
26265 (RUN_TEST_LOOP_f_i_tg): Likewise.
26266 (RUN_TEST_ff_i_tg): Likewise.
26267 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26268 (RUN_TEST_f_b): Likewise.
26269 (RUN_TEST_LOOP_f_b): Likewise.
26270 (RUN_TEST_f_b_tg): Likewise.
26271 (RUN_TEST_LOOP_f_b_tg): Likewise.
26272 (RUN_TEST_f_l): Likewise.
26273 (RUN_TEST_LOOP_f_l): Likewise.
26274 (RUN_TEST_f_L): Likewise.
26275 (RUN_TEST_LOOP_f_L): Likewise.
26276 (RUN_TEST_sincos): Likewise.
26277 (RUN_TEST_LOOP_sincos): Likewise.
26278
26279 2013-05-17 Joseph Myers <joseph@codesourcery.com>
26280
26281 [BZ #15480]
26282 [BZ #15485]
26283 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26284 main case of finite arguments, set rounding mode to FE_TONEAREST
26285 and discard exceptions.
26286 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26287 exceptions.
26288 (remainder_tonearest_test_data): New variable.
26289 (remainder_test_tonearest): New function.
26290 (remainder_towardzero_test_data): New variable.
26291 (remainder_test_towardzero): New function.
26292 (remainder_downward_test_data): New variable.
26293 (remainder_test_downward): New function.
26294 (remainder_upward_test_data): New variable.
26295 (remainder_test_upward): New function.
26296 (main): Call the new test functions.
26297
26298 * math/libm-test.inc (struct test_f_f1_data): Remove field
26299 extra_init.
26300 (struct test_fF_f1_data): Likewise.
26301 (struct test_ffI_f1_data): Likewise.
26302 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26303 based on value of EXTRA_EXPECTED.
26304 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26305 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26306 EXTRA_VAR based on value of EXTRA_EXPECTED.
26307 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26308 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26309 EXTRA_VAR based on value of EXTRA_EXPECTED.
26310 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26311 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26312 EXTRA_VAR based on value of EXTRA_EXPECTED.
26313 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26314 * math/gen-libm-test.pl (parse_args): Don't output initializers
26315 for extra output values.
26316
26317 * math/libm-test.inc (check_int): Expect result to be exactly
26318 equal to expected value and do not handle ulps.
26319 (check_long): Likewise.
26320 (check_longlong): Likewise.
26321
26322 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26323 exceptions.
26324 (cimag_test_data): Likewise.
26325 (conj_test_data): Likewise.
26326 (copysign_test_data): Likewise.
26327 (cproj_test_data): Likewise.
26328 (creal_test_data): Likewise.
26329 (fabs_test_data): Likewise.
26330 (fdim_test_data): Likewise.
26331 (finite_test_data): Likewise.
26332 (floor_test_data): Likewise.
26333 (fmax_test_data): Likewise.
26334 (fmin_test_data): Likewise.
26335 (fmod_test_data): Likewise.
26336 (fpclassify_test_data): Likewise.
26337 (frexp_test_data): Likewise.
26338 (ilogb_test_data): Likewise.
26339 (isfinite_test_data): Likewise.
26340 (isgreater_test_data): Likewise.
26341 (isgreaterequal_test_data): Likewise.
26342 (isinf_test_data): Likewise.
26343 (isless_test_data): Likewise.
26344 (islessequal_test_data): Likewise.
26345 (islessgreater_test_data): Likewise.
26346 (isnan_test_data): Likewise.
26347 (isnormal_test_data): Likewise.
26348 (issignaling_test_data): Likewise.
26349 (isunordered_test_data): Likewise.
26350 (ldexp_test_data): Likewise.
26351 (lrint_test_data): Likewise.
26352 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26353 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26354 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26355 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26356 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26357 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26358 test input.
26359 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26360 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26361 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26362 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26363 that test input.
26364 (lrint_downward_test_data): Test for "inexact" exceptions.
26365 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26366 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26367 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26368 test input.
26369 (lrint_upward_test_data): Test for "inexact" exceptions.
26370 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26371 test input.
26372 (llrint_test_data): Test for "inexact" exceptions.
26373 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26374 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26375 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26376 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26377 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26378 (llrint_downward_test_data): Test for "inexact" exceptions.
26379 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26380 (llrint_upward_test_data): Test for "inexact" exceptions.
26381 (logb_test_data): Likewise.
26382 (logb_downward_test_data): Likewise.
26383 (nextafter_test_data): Likewise.
26384 (nexttoward_test_data): Likewise.
26385 (remainder_test_data): Likewise.
26386 (remquo_test_data): Likewise.
26387 (scalbn_test_data): Likewise.
26388 (scalbln_test_data): Likewise.
26389 (signbit_test_data): Likewise.
26390 (sqrt_test_data): Likewise.
26391 (significand_test_data): Likewise.
26392
26393 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26394
26395 [BZ #15424]
26396 * benchtests/bench-modf.c (struct args): Mark arg0 as
26397 volatile.
26398 * scripts/bench.pl: Mark members of struct args as volatile.
26399
26400 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26401
26402 [BZ # 15497]
26403 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26404 negative infinity on POWER6 or lower.
26405 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26406
26407 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26408
26409 [BZ #15442]
26410 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26411 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26412 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26413 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26414 (_FP_SETQNAN): New macro.
26415 (_FP_SETQNAN_SEMIRAW): Likewise.
26416 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26417 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26418 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26419 (FP_EXTEND): Use _FP_FRAC_SNANP.
26420 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26421 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26422 into account.
26423 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26424 New macro.
26425 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26426 Likewise.
26427
26428 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26429
26430 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26431 with DIVIDE_BY_ZERO_EXCEPTION.
26432 (gamma_test_data): Likewise.
26433 (lgamma_test_data): Likewise.
26434 (log_test_data): Likewise.
26435 (log10_test_data): Likewise.
26436 (log2_test_data): Likewise.
26437 (tgamma_test_data): Likewise.
26438
26439 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26440 (acos_test_tonearest): Likewise.
26441 (acos_test_towardzero): Likewise.
26442 (acos_test_downward): Likewise.
26443 (acos_test_upward): Likewise.
26444 (acosh_test): Likewise.
26445 (asin_test): Likewise.
26446 (asin_test_tonearest): Likewise.
26447 (asin_test_towardzero): Likewise.
26448 (asin_test_downward): Likewise.
26449 (asin_test_upward): Likewise.
26450 (asinh_test): Likewise.
26451 (atan_test): Likewise.
26452 (atanh_test): Likewise.
26453 (atan2_test): Likewise.
26454 (cabs_test): Likewise.
26455 (cacos_test): Likewise.
26456 (cacosh_test): Likewise.
26457 (casin_test): Likewise.
26458 (casinh_test): Likewise.
26459 (catan_test): Likewise.
26460 (catanh_test): Likewise.
26461 (cbrt_test): Likewise.
26462 (ccos_test): Likewise.
26463 (ccosh_test): Likewise.
26464 (cexp_test): Likewise.
26465 (clog_test): Likewise.
26466 (clog10_test): Likewise.
26467 (cos_test): Likewise.
26468 (cos_test_tonearest): Likewise.
26469 (cos_test_towardzero): Likewise.
26470 (cos_test_downward): Likewise.
26471 (cos_test_upward): Likewise.
26472 (cosh_test): Likewise.
26473 (cosh_test_tonearest): Likewise.
26474 (cosh_test_towardzero): Likewise.
26475 (cosh_test_downward): Likewise.
26476 (cosh_test_upward): Likewise.
26477 (cpow_test): Likewise.
26478 (csin_test): Likewise.
26479 (csinh_test): Likewise.
26480 (csqrt_test): Likewise.
26481 (ctan_test): Likewise.
26482 (ctan_test_tonearest): Likewise.
26483 (ctan_test_towardzero): Likewise.
26484 (ctan_test_downward): Likewise.
26485 (ctan_test_upward): Likewise.
26486 (ctanh_test): Likewise.
26487 (ctanh_test_tonearest): Likewise.
26488 (ctanh_test_towardzero): Likewise.
26489 (ctanh_test_downward): Likewise.
26490 (ctanh_test_upward): Likewise.
26491 (erf_test): Likewise.
26492 (erfc_test): Likewise.
26493 (exp_test): Likewise.
26494 (exp_test_tonearest): Likewise.
26495 (exp_test_towardzero): Likewise.
26496 (exp_test_downward): Likewise.
26497 (exp_test_upward): Likewise.
26498 (exp10_test): Likewise.
26499 (exp2_test): Likewise.
26500 (expm1_test): Likewise.
26501 (fmod_test): Likewise.
26502 (gamma_test): Likewise.
26503 (hypot_test): Likewise.
26504 (j0_test): Likewise.
26505 (j1_test): Likewise.
26506 (jn_test): Likewise.
26507 (lgamma_test): Likewise.
26508 (log_test): Likewise.
26509 (log10_test): Likewise.
26510 (log1p_test): Likewise.
26511 (log2_test): Likewise.
26512 (logb_test_downward): Likewise.
26513 (pow_test): Likewise.
26514 (pow_test_tonearest): Likewise.
26515 (pow_test_towardzero): Likewise.
26516 (pow_test_downward): Likewise.
26517 (pow_test_upward): Likewise.
26518 (remainder_test): Likewise.
26519 (remquo_test): Likewise.
26520 (sin_test): Likewise.
26521 (sin_test_tonearest): Likewise.
26522 (sin_test_towardzero): Likewise.
26523 (sin_test_downward): Likewise.
26524 (sin_test_upward): Likewise.
26525 (sincos_test): Likewise.
26526 (sinh_test): Likewise.
26527 (sinh_test_tonearest): Likewise.
26528 (sinh_test_towardzero): Likewise.
26529 (sinh_test_downward): Likewise.
26530 (sinh_test_upward): Likewise.
26531 (sqrt_test): Likewise.
26532 (tan_test): Likewise.
26533 (tan_test_tonearest): Likewise.
26534 (tan_test_towardzero): Likewise.
26535 (tan_test_downward): Likewise.
26536 (tan_test_upward): Likewise.
26537 (tanh_test): Likewise.
26538 (tgamma_test): Likewise.
26539 (y0_test): Likewise.
26540 (y1_test): Likewise.
26541 (yn_test): Likewise.
26542
26543 * math/gen-libm-test.pl (adjust_arg): Remove function.
26544 (special_function): Remove argument $in_func. Only handle
26545 generating output for tables of tests, not inside functions.
26546 (parse_args): Likewise.
26547 (generate_testfile): Remove variable $in_func. Update call to
26548 parse_args.
26549 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26550 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26551 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26552 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26553 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26554 (MAX_VALUE_INIT): Rename macro to max_value.
26555 (MIN_VALUE_INIT): Rename macro to min_value.
26556 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26557 (plus_zero): Remove variable.
26558 (minus_zero): Likewise.
26559 (plus_infty): Likewise.
26560 (minus_infty): Likewise.
26561 (qnan_value): Likewise.
26562 (max_value): Likewise.
26563 (min_value): Likewise.
26564 (min_subnorm_value): Likewise.
26565
26566 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26567
26568 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26569 uint64_t or uint32_t usage.
26570 * crypt/sha256-block.c: Likewise.
26571 * crypt/sha256-crypt.c: Likewise.
26572 * crypt/sha256.c: Likewise.
26573 * crypt/sha512-block.c: Likewise.
26574 * crypt/sha512-crypt.c: Likewise.
26575 * crypt/sha512.c: Likewise.
26576 * debug/backtrace-tst.c: Likewise.
26577 * debug/pcprofiledump.c: Likewise.
26578 * elf/cache.c: Likewise.
26579 * elf/dl-cache.c: Likewise.
26580 * elf/dl-misc.c: Likewise.
26581 * elf/dl-profile.c: Likewise.
26582 * elf/dl-support.c: Likewise.
26583 * elf/ldconfig.c: Likewise.
26584 * elf/sprof.c: Likewise.
26585 * iconv/dummy-repertoire.c: Likewise.
26586 * iconv/iconv_charmap.c: Likewise.
26587 * iconv/skeleton.c: Likewise.
26588 * iconvdata/8bit-generic.c: Likewise.
26589 * iconvdata/cp737.h: Likewise.
26590 * iconvdata/cp775.h: Likewise.
26591 * iconvdata/ibm1008.h: Likewise.
26592 * iconvdata/ibm1025.h: Likewise.
26593 * iconvdata/ibm1046.h: Likewise.
26594 * iconvdata/ibm1097.h: Likewise.
26595 * iconvdata/ibm1112.h: Likewise.
26596 * iconvdata/ibm1122.h: Likewise.
26597 * iconvdata/ibm1123.h: Likewise.
26598 * iconvdata/ibm1124.h: Likewise.
26599 * iconvdata/ibm1129.h: Likewise.
26600 * iconvdata/ibm1130.h: Likewise.
26601 * iconvdata/ibm1132.h: Likewise.
26602 * iconvdata/ibm1133.h: Likewise.
26603 * iconvdata/ibm1137.h: Likewise.
26604 * iconvdata/ibm1140.h: Likewise.
26605 * iconvdata/ibm1141.h: Likewise.
26606 * iconvdata/ibm1142.h: Likewise.
26607 * iconvdata/ibm1143.h: Likewise.
26608 * iconvdata/ibm1144.h: Likewise.
26609 * iconvdata/ibm1145.h: Likewise.
26610 * iconvdata/ibm1146.h: Likewise.
26611 * iconvdata/ibm1147.h: Likewise.
26612 * iconvdata/ibm1148.h: Likewise.
26613 * iconvdata/ibm1149.h: Likewise.
26614 * iconvdata/ibm1153.h: Likewise.
26615 * iconvdata/ibm1154.h: Likewise.
26616 * iconvdata/ibm1155.h: Likewise.
26617 * iconvdata/ibm1156.h: Likewise.
26618 * iconvdata/ibm1157.h: Likewise.
26619 * iconvdata/ibm1158.h: Likewise.
26620 * iconvdata/ibm1160.h: Likewise.
26621 * iconvdata/ibm1161.h: Likewise.
26622 * iconvdata/ibm1162.h: Likewise.
26623 * iconvdata/ibm1163.h: Likewise.
26624 * iconvdata/ibm1164.h: Likewise.
26625 * iconvdata/ibm1166.h: Likewise.
26626 * iconvdata/ibm1167.h: Likewise.
26627 * iconvdata/ibm12712.h: Likewise.
26628 * iconvdata/ibm1390.h: Likewise.
26629 * iconvdata/ibm1399.h: Likewise.
26630 * iconvdata/ibm16804.h: Likewise.
26631 * iconvdata/ibm4517.h: Likewise.
26632 * iconvdata/ibm4899.h: Likewise.
26633 * iconvdata/ibm4909.h: Likewise.
26634 * iconvdata/ibm4971.h: Likewise.
26635 * iconvdata/ibm5347.h: Likewise.
26636 * iconvdata/ibm803.h: Likewise.
26637 * iconvdata/ibm856.h: Likewise.
26638 * iconvdata/ibm901.h: Likewise.
26639 * iconvdata/ibm902.h: Likewise.
26640 * iconvdata/ibm9030.h: Likewise.
26641 * iconvdata/ibm9066.h: Likewise.
26642 * iconvdata/ibm921.h: Likewise.
26643 * iconvdata/ibm922.h: Likewise.
26644 * iconvdata/ibm9448.h: Likewise.
26645 * iconvdata/isiri-3342.h: Likewise.
26646 * iconvdata/jis0201.h: Likewise.
26647 * include/link.h: Likewise.
26648 * include/netdb.h: Likewise.
26649 * inet/check_native.c: Likewise.
26650 * inet/check_pf.c: Likewise.
26651 * inet/getipv4sourcefilter.c: Likewise.
26652 * inet/getnameinfo.c: Likewise.
26653 * inet/getsourcefilter.c: Likewise.
26654 * inet/htonl.c: Likewise.
26655 * inet/setipv4sourcefilter.c: Likewise.
26656 * inet/setsourcefilter.c: Likewise.
26657 * inet/test-inet6_opt.c: Likewise.
26658 * inet/tst-network.c: Likewise.
26659 * locale/C-collate.c: Likewise.
26660 * locale/C-ctype.c: Likewise.
26661 * locale/C-time.c: Likewise.
26662 * locale/C-translit.h: Likewise.
26663 * locale/loadarchive.c: Likewise.
26664 * locale/programs/3level.h: Likewise.
26665 * locale/programs/charmap.c: Likewise.
26666 * locale/programs/charmap.h: Likewise.
26667 * locale/programs/ld-address.c: Likewise.
26668 * locale/programs/ld-collate.c: Likewise.
26669 * locale/programs/ld-ctype.c: Likewise.
26670 * locale/programs/ld-identification.c: Likewise.
26671 * locale/programs/ld-measurement.c: Likewise.
26672 * locale/programs/ld-messages.c: Likewise.
26673 * locale/programs/ld-monetary.c: Likewise.
26674 * locale/programs/ld-name.c: Likewise.
26675 * locale/programs/ld-numeric.c: Likewise.
26676 * locale/programs/ld-paper.c: Likewise.
26677 * locale/programs/ld-telephone.c: Likewise.
26678 * locale/programs/ld-time.c: Likewise.
26679 * locale/programs/linereader.c: Likewise.
26680 * locale/programs/locale.c: Likewise.
26681 * locale/programs/locarchive.c: Likewise.
26682 * locale/programs/locfile.h: Likewise.
26683 * locale/programs/repertoire.c: Likewise.
26684 * locale/programs/simple-hash.c: Likewise.
26685 * locale/programs/simple-hash.h: Likewise.
26686 * malloc/memusage.c: Likewise.
26687 * malloc/memusagestat.c: Likewise.
26688 * nis/nis_defaults.c: Likewise.
26689 * nis/nis_hash.c: Likewise.
26690 * nis/nis_print.c: Likewise.
26691 * nis/nis_xdr.c: Likewise.
26692 * nscd/connections.c: Likewise.
26693 * nscd/hstcache.c: Likewise.
26694 * nscd/nscd_gethst_r.c: Likewise.
26695 * nscd/nscd_getserv_r.c: Likewise.
26696 * nscd/nscd_helper.c: Likewise.
26697 * nscd/servicescache.c: Likewise.
26698 * nss/makedb.c: Likewise.
26699 * nss/nss_db/db-XXX.c: Likewise.
26700 * nss/nss_db/db-initgroups.c: Likewise.
26701 * nss/nss_db/db-netgrp.c: Likewise.
26702 * nss/nss_files/files-network.c: Likewise.
26703 * nss/nss_files/files-parse.c: Likewise.
26704 * posix/bug-regex5.c: Likewise.
26705 * posix/fnmatch_loop.c: Likewise.
26706 * posix/regcomp.c: Likewise.
26707 * posix/regexec.c: Likewise.
26708 * posix/tst-rfc3484-2.c: Likewise.
26709 * posix/tst-rfc3484-3.c: Likewise.
26710 * posix/tst-rfc3484.c: Likewise.
26711 * resolv/nss_dns/dns-canon.c: Likewise.
26712 * resolv/nss_dns/dns-network.c: Likewise.
26713 * resolv/res_init.c: Likewise.
26714 * resolv/res_mkquery.c: Likewise.
26715 * resolv/tst-aton.c: Likewise.
26716 * stdlib/cxa_atexit.c: Likewise.
26717 * stdlib/cxa_finalize.c: Likewise.
26718 * stdlib/gen-fpioconst.c: Likewise.
26719 * stdlib/strtol_l.c: Likewise.
26720 * string/tst-endian.c: Likewise.
26721 * sunrpc/auth_des.c: Likewise.
26722 * sunrpc/clnt_udp.c: Likewise.
26723 * sunrpc/rtime.c: Likewise.
26724 * sunrpc/svcauth_des.c: Likewise.
26725 * sunrpc/xdr.c: Likewise.
26726 * sunrpc/xdr_intXX_t.c: Likewise.
26727 * sunrpc/xdr_rec.c: Likewise.
26728 * sysdeps/generic/ldconfig.h: Likewise.
26729 * sysdeps/generic/ldsodefs.h: Likewise.
26730 * sysdeps/generic/memusage.h: Likewise.
26731 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26732 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26733 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26734 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26735 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26736 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26737 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26738 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26739 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26740 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26741 * sysdeps/posix/getaddrinfo.c: Likewise.
26742 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26743 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26744 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26745 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26746 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26747 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26748 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26749 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26750 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26751 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26752 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26753 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26754 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26755 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26756 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26757 * sysdeps/x86_64/dl-tls.h: Likewise.
26758 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26759 * time/alt_digit.c: Likewise.
26760 * time/era.c: Likewise.
26761 * wcsmbs/tst-c16c32-1.c: Likewise.
26762
26763 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26764
26765 * math/libm-test.inc (struct test_sincos_data): New type.
26766 (RUN_TEST_LOOP_sincos): New macro.
26767 (sincos_test_data): New variable.
26768 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26769
26770 2013-05-16 Richard Henderson <rth@redhat.com>
26771
26772 * math/atest-exp2.c (LIMB64): New macro.
26773 (CONSTSZ): New macro.
26774 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26775 (hexdig): Move ...
26776 (print_mpn_fp): ... to function scope.
26777 (read_mpn_hex): Remove.
26778 (get_log2): Remove.
26779 (exp2_mpn): Use mp_log2.
26780 (main): Use mp_exp1.
26781
26782 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26783
26784 * math/libm-test.inc: Remove comment about not testing "inexact"
26785 exceptions.
26786 (INEXACT_EXCEPTION): New macro.
26787 (NO_INEXACT_EXCEPTION): Likewise.
26788 (INVALID_EXCEPTION_OK): Update value.
26789 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26790 (OVERFLOW_EXCEPTION_OK): Likewise.
26791 (UNDERFLOW_EXCEPTION_OK): Likewise.
26792 (IGNORE_ZERO_INF_SIGN): Likewise.
26793 (ERRNO_UNCHANGED): Likewise.
26794 (ERRNO_EDOM): Likewise.
26795 (ERRNO_ERANGE): Likewise.
26796 (test_exceptions): Handle testing "inexact" exceptions.
26797 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26798 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26799 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26800 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26801 INEXACT_EXCEPTION.
26802 (rint_towardzero_test_data): Likewise.
26803 (rint_downward_test_data): Likewise.
26804 (rint_upward_test_data): Likewise.
26805
26806 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26807 with OVERFLOW_EXCEPTION.
26808 (exp10_test_data): Likewise.
26809 (exp2_test_data): Likewise.
26810 (expm1_test_data): Likewise.
26811 (lgamma_test_data): Likewise.
26812 (pow_test_data): Likewise.
26813 (tgamma_test_data): Likewise.
26814 (yn_test_data): Remove duplicate test of overflow.
26815
26816 * math/libm-test.inc (struct test_cc_c_data): New type.
26817 (RUN_TEST_LOOP_cc_c): New macro.
26818 (cpow_test_data): New variable.
26819 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26820
26821 * math/libm-test.inc (struct test_f_L_data): New type.
26822 (RUN_TEST_LOOP_f_L): New macro.
26823 (llrint_test_data): New variable.
26824 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26825 (llrint_tonearest_test_data): New variable.
26826 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26827 (llrint_towardzero_test_data): New variable.
26828 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26829 (llrint_downward_test_data): New variable.
26830 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26831 (llrint_upward_test_data): New variable.
26832 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26833 (llround_test_data): New variable.
26834 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26835
26836 2013-05-13 Peter Collingbourne <pcc@google.com>
26837
26838 * math/atest-exp2.c (get_log2): Remove const attribute.
26839
26840 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26841
26842 * math/libm-test.inc (struct test_f_l_data): New type.
26843 (RUN_TEST_LOOP_f_l): New macro.
26844 (lrint_test_data): New variable.
26845 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26846 (lrint_tonearest_test_data): New variable.
26847 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26848 (lrint_towardzero_test_data): New variable.
26849 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26850 (lrint_downward_test_data): New variable.
26851 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26852 (lrint_upward_test_data): New variable.
26853 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26854 (lround_test_data): New variable.
26855 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26856
26857 2013-05-15 Peter Collingbourne <pcc@google.com>
26858
26859 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26860 (EXTRACT_WORDS64) Use where appropriate.
26861 (INSERT_WORDS64) Likewise.
26862
26863 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26864 constraints with x constraints.
26865 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26866
26867 * malloc/obstack.c (_obstack_compat): Add initializer.
26868
26869 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26870
26871 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26872 si_trapno and add si_addr_lsb to _sifields.sigfault.
26873 (si_trapno): Remove macro.
26874 (si_addr_lsb): Define new macro.
26875 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26876
26877 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26878
26879 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26880 instead of TEST_f_l.
26881 (llrint_test_tonearest): Likewise.
26882 (llrint_test_towardzero): Likewise.
26883 (llrint_test_downward): Likewise.
26884 (llrint_test_upward): Likewise.
26885 (llround_test): Likewise.
26886
26887 * math/libm-test.inc (struct test_f_i_data): Add comment.
26888 (RUN_TEST_LOOP_f_b): New macro.
26889 (RUN_TEST_LOOP_f_b_tg): Likewise.
26890 (finite_test_data): New variable.
26891 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26892 (isfinite_test_data): New variable.
26893 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26894 (isinf_test_data): New variable.
26895 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26896 (isnan_test_data): New variable.
26897 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26898 (isnormal_test_data): New variable.
26899 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26900 (issignaling_test_data): New variable.
26901 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26902 (signbit_test_data): New variable.
26903 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26904
26905 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26906 with INVALID_EXCEPTION.
26907 (acosh_test_data): Likewise.
26908 (asin_test_data): Likewise.
26909 (atanh_test_data): Likewise.
26910 (fmod_test_data): Likewise.
26911 (log_test_data): Likewise.
26912 (log10_test_data): Likewise.
26913 (log2_test_data): Likewise.
26914 (pow_test_data): Likewise.
26915 (sqrt_test_data): Likewise.
26916 (y0_test_data): Likewise.
26917 (y1_test_data): Likewise.
26918 (yn_test_data): Likewise.
26919
26920 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26921 function contents.
26922
26923 * math/libm-test.inc (struct test_ff_i_data): New type.
26924 (RUN_TEST_LOOP_ff_i_tg): New macro.
26925 (isgreater_test_data): New variable.
26926 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26927 (isgreaterequal_test_data): New variable.
26928 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26929 (isless_test_data): New variable.
26930 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26931 (islessequal_test_data): New variable.
26932 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26933 (islessgreater_test_data): New variable.
26934 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26935 (isunordered_test_data): New variable.
26936 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26937
26938 2013-05-14 David S. Miller <davem@davemloft.net>
26939
26940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26941
26942 2013-05-14 Joseph Myers <joseph@codesourcery.com>
26943
26944 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26945
26946 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26947 extra_test to int.
26948 (struct test_f_i_data): Change type of max_ulp to int.
26949
26950 * math/libm-test.inc (test_ffI_f1_data): New type.
26951 (RUN_TEST_LOOP_ffI_f1): New macro.
26952 (remquo_test_data): New variable.
26953 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26954
26955 * setjmp/tst-setjmp-fp.c: New file.
26956 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26957 (link-libm): New variable.
26958 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26959
26960 * math/libm-test.inc (struct test_f_i_data): New type.
26961 (RUN_TEST_LOOP_f_i): New macro.
26962 (RUN_TEST_LOOP_f_i_tg): Likewise.
26963 (fpclassify_test_data): New variable.
26964 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26965 (ilogb_test_data): New variable.
26966 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26967
26968 * math/libm-test.inc (scalbln_test): Correct function name in END
26969 call.
26970
26971 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26972 (RUN_TEST_LOOP_fI_f1): New macro.
26973 (frexp_test_data): New variable.
26974 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26975
26976 * math/libm-test.inc (struct test_fF_f1_data): New type.
26977 (RUN_TEST_LOOP_fF_f1): New macro.
26978 (modf_test_data): New variable.
26979 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26980
26981 * math/libm-test.inc (struct test_f_f1_data): New type.
26982 (RUN_TEST_LOOP_f_f1): New macro.
26983 (gamma_test_data): New variable.
26984 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26985 (lgamma_test_data): New variable.
26986 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26987
26988 2013-05-13 Carlos O'Donell <carlos@redhat.com>
26989
26990 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26991 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26992 (main): Comment "tls" pseudo-hwcap.
26993
26994 2013-05-13 Joseph Myers <joseph@codesourcery.com>
26995
26996 * math/libm-test.inc (struct test_fl_f_data): New type.
26997 (RUN_TEST_LOOP_fl_f): New variable.
26998 (scalbln_test_data): New variable.
26999 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27000
27001 * math/libm-test.inc (struct test_fi_f_data): New type.
27002 (RUN_TEST_LOOP_fi_f): New macro.
27003 (ldexp_test_data): New variable.
27004 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27005 (scalbn_test_data): New variable.
27006 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27007
27008 * math/libm-test.inc (struct test_c_f_data): New type.
27009 (RUN_TEST_LOOP_c_f): New macro.
27010 (cabs_test_data): New variable.
27011 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27012 (carg_test_data): New variable.
27013 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27014 (cimag_test_data): New variable.
27015 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27016 (creal_test_data): New variable.
27017 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27018
27019 * math/libm-test.inc (struct test_if_f_data): New type.
27020 (RUN_TEST_LOOP_if_f): New macro.
27021 (jn_test_data): New variable.
27022 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27023 (yn_test_data): New variable.
27024 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27025
27026 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27027
27028 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27029
27030 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27031 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27032
27033 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27034
27035 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27036 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27037 (bench-deps): Add bench-timing.h.
27038 * benchtests-bench-skeleton.c: Include bench-timing.h.
27039 (main): Use TIMING_* macros instead of clock_gettime.
27040 * benchtests/bench-timing.h: New file.
27041
27042 [BZ #14582]
27043 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27044 Renamed from _LIB_VERSION.
27045 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27046
27047 2013-05-12 Joseph Myers <joseph@codesourcery.com>
27048
27049 * math/libm-test.inc (struct test_fff_f_data): New type.
27050 (RUN_TEST_LOOP_fff_f): New macro.
27051 (fma_test_data): New variable.
27052 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27053 (fma_towardzero_test_data): New variable.
27054 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27055 (fma_downward_test_data): New variable.
27056 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27057 (fma_upward_test_data): New variable.
27058 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27059
27060 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27061 (struct test_c_c_data): New type.
27062 (RUN_TEST_LOOP_c_c): New macro.
27063 (cacos_test_data): New variable.
27064 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27065 (cacosh_test_data): New variable.
27066 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27067 (casin_test_data): New variable.
27068 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27069 (casinh_test_data): New variable.
27070 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27071 (catan_test_data): New variable.
27072 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27073 (catanh_test_data): New variable.
27074 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27075 (ccos_test_data): New variable.
27076 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27077 (ccosh_test_data): New variable.
27078 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27079 (cexp_test_data): New variable.
27080 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27081 (clog_test_data): New variable.
27082 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27083 (clog10_test_data): New variable.
27084 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27085 (conj_test_data): New variable.
27086 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27087 (cproj_test_data): New variable.
27088 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27089 (csin_test_data): New variable.
27090 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27091 (csinh_test_data): New variable.
27092 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27093 (csqrt_test_data): New variable.
27094 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27095 (ctan_test_data): New variable.
27096 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27097 (ctan_tonearest_test_data): New variable.
27098 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27099 (ctan_towardzero_test_data): New variable.
27100 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27101 (ctan_downward_test_data): New variable.
27102 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27103 (ctan_upward_test_data): New variable.
27104 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27105 (ctanh_test_data): New variable.
27106 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27107 (ctanh_tonearest_test_data): New variable.
27108 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27109 (ctanh_towardzero_test_data): New variable.
27110 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27111 (ctanh_downward_test_data): New variable.
27112 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27113 (ctanh_upward_test_data): New variable.
27114 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27115 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27116 of BUILD_COMPLEX.
27117
27118 * math/libm-test.inc (struct test_ff_f_data): New type.
27119 (struct test_ff_f_data_nexttoward): Likewise.
27120 (RUN_TEST_LOOP_2_f): New macro.
27121 (RUN_TEST_LOOP_ff_f): Likewise.
27122 (atan2_test_data): New variable.
27123 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27124 (copysign_test_data): New variable.
27125 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27126 (fdim_test_data): New variable.
27127 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27128 (fmax_test_data): New variable.
27129 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27130 (fmin_test_data): New variable.
27131 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27132 (fmod_test_data): New variable.
27133 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27134 (hypot_test_data): New variable.
27135 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27136 (nextafter_test_data): New variable.
27137 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27138 (nexttoward_test_data): New variable.
27139 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27140 (pow_test_data): New variable.
27141 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27142 (pow_tonearest_test_data): New variable.
27143 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27144 (pow_towardzero_test_data): New variable.
27145 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27146 (pow_downward_test_data): New variable.
27147 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27148 (pow_upward_test_data): New variable.
27149 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27150 (remainder_test_data): New variable.
27151 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27152 (scalb_test_data): New variable.
27153 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27154 * sysdeps/i386/fpu/libm-test-ulps: Update.
27155
27156 2013-05-11 Joseph Myers <joseph@codesourcery.com>
27157
27158 * math/libm-test.inc (fma_test): Use max_value instead of local
27159 variable fltmax.
27160 (nextafter_test): Likewise.
27161
27162 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27163 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27164 (acos_downward_test_data): New variable.
27165 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27166 (acos_upward_test_data): New variable.
27167 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27168 (acosh_test_data): New variable.
27169 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27170 (asin_test_data): New variable.
27171 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27172 (asin_tonearest_test_data): New variable.
27173 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27174 (asin_towardzero_test_data): New variable.
27175 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27176 (asin_downward_test_data): New variable.
27177 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27178 (asin_upward_test_data): New variable.
27179 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27180 (asinh_test_data): New variable.
27181 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27182 (atan_test_data): New variable.
27183 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27184 (atanh_test_data): New variable.
27185 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27186 (cbrt_test_data): New variable.
27187 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27188 (ceil_test_data): New variable.
27189 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27190 (cos_test_data): New variable.
27191 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27192 (cos_tonearest_test_data): New variable.
27193 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27194 (cos_towardzero_test_data): New variable.
27195 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27196 (cos_downward_test_data): New variable.
27197 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27198 (cos_upward_test_data): New variable.
27199 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27200 (cosh_test_data): New variable.
27201 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27202 (cosh_tonearest_test_data): New variable.
27203 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27204 (cosh_towardzero_test_data): New variable.
27205 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27206 (cosh_downward_test_data): New variable.
27207 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27208 (cosh_upward_test_data): New variable.
27209 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27210 (erf_test_data): New variable.
27211 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27212 (erfc_test_data): New variable.
27213 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27214 (exp_test_data): New variable.
27215 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27216 (exp_tonearest_test_data): New variable.
27217 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27218 (exp_towardzero_test_data): New variable.
27219 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27220 (exp_downward_test_data): New variable.
27221 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27222 (exp_upward_test_data): New variable.
27223 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27224 (exp10_test_data): New variable.
27225 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27226 (exp2_test_data): New variable.
27227 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27228 (expm1_test_data): New variable.
27229 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27230 (fabs_test_data): New variable.
27231 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27232 (floor_test_data): New variable.
27233 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27234 (j0_test_data): New variable.
27235 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27236 (j1_test_data): New variable.
27237 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27238 (log_test_data): New variable.
27239 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27240 (log10_test_data): New variable.
27241 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27242 (log1p_test_data): New variable.
27243 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27244 (log2_test_data): New variable.
27245 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27246 (logb_test_data): New variable.
27247 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27248 (logb_downward_test_data): New variable.
27249 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27250 (nearbyint_test_data): New variable.
27251 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27252 (rint_test_data): New variable.
27253 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27254 (rint_tonearest_test_data): New variable.
27255 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27256 (rint_towardzero_test_data): New variable.
27257 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27258 (rint_downward_test_data): New variable.
27259 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27260 (rint_upward_test_data): New variable.
27261 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27262 (round_test_data): New variable.
27263 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27264 (sin_test_data): New variable.
27265 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27266 (sin_tonearest_test_data): New variable.
27267 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27268 (sin_towardzero_test_data): New variable.
27269 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27270 (sin_downward_test_data): New variable.
27271 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27272 (sin_upward_test_data): New variable.
27273 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27274 (sinh_test_data): New variable.
27275 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27276 (sinh_tonearest_test_data): New variable.
27277 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27278 (sinh_towardzero_test_data): New variable.
27279 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27280 (sinh_downward_test_data): New variable.
27281 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27282 (sinh_upward_test_data): New variable.
27283 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27284 (sqrt_test_data): New variable.
27285 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27286 (tan_test_data): New variable.
27287 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27288 (tan_tonearest_test_data): New variable.
27289 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27290 (tan_towardzero_test_data): New variable.
27291 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27292 (tan_downward_test_data): New variable.
27293 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27294 (tan_upward_test_data): New variable.
27295 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27296 (tanh_test_data): New variable.
27297 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27298 (tgamma_test_data): New variable.
27299 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27300 (trunc_test_data): New variable.
27301 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27302 (y0_test_data): New variable.
27303 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27304 (y1_test_data): New variable.
27305 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27306 (significand_test_data): New variable.
27307 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27308
27309 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27310
27311 [BZ #12387]
27312 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27313
27314 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27315
27316 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27317
27318 2013-05-10 Andreas Jaeger <aj@suse.de>
27319
27320 [BZ #15448]
27321 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27322 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27323
27324 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27325
27326 * math/gen-libm-test.pl (adjust_arg): New function.
27327 (special_functions): Handle generating output in both functions
27328 and arrays.
27329 (parse_args): Likewise.
27330 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27331 $in_func argument to parse_args.
27332 * math/libm-test.inc (struct test_f_f_data): New type.
27333 (IF_ROUND_INIT_): New macro.
27334 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27335 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27336 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27337 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27338 (ROUND_RESTORE_): Likewise.
27339 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27340 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27341 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27342 (ROUND_RESTORE_FE_UPWARD): Likewise.
27343 (RUN_TEST_LOOP_f_f): New macro.
27344 (acos_test_data): New variable.
27345 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27346 (acos_tonearest_test_data): New variable.
27347 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27348
27349 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27350
27351 * benchtests/bench-skeleton.c (startup): Fix coding style.
27352
27353 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27354
27355 [BZ #6809]
27356 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27357 negative infinity argument.
27358 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27359 negative infinity argument.
27360 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27361 negative infinity argument.
27362 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27363 domain errors.
27364
27365 2013-05-10 Florian Weimer <fweimer@redhat.com>
27366
27367 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27368 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27369 * iconv/iconv_prog.c (main): Likewise.
27370 * locale/programs/charmap-dir.c (charmap_readdir)
27371 (fopen_uncompressed): Likewise.
27372 * locale/programs/locfile.c (siblings_uncached)
27373 (write_locale_data): Use lstat64 instead of lstat.
27374 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27375 stat.
27376
27377 2013-05-10 Andreas Jaeger <aj@suse.de>
27378
27379 [BZ #15395]
27380 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27381 localization.
27382 Include <locale.h>.
27383
27384 2013-05-09 Carlos O'Donell <carlos@redhat.com>
27385
27386 * elf/dl-close.c (_dl_close_worker): Add comments.
27387
27388 2013-05-09 Joseph Myers <joseph@codesourcery.com>
27389
27390 [BZ #15359]
27391 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27392 high part of pi/2.
27393 (__ieee754_rem_pio2l): Update comments.
27394
27395 [BZ #15429]
27396 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27397 high part of pi/2.
27398 (__ieee754_rem_pio2l): Update comments.
27399
27400 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27401 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27402
27403 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27404 M_PI_4l.
27405
27406 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27407 (M_PI_34_LOG10El): Likewise.
27408 (M_PI2_LOG10El): Likewise.
27409 (M_PI4_LOG10El): Likewise.
27410 (M_PI_LOG10El): Likewise.
27411
27412 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27413
27414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27415
27416 2013-05-08 Joseph Myers <joseph@codesourcery.com>
27417
27418 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27419 (MINUS_ZERO_INIT): Likewise.
27420 (PLUS_INFTY_INIT): Likewise.
27421 (MINUS_INFTY_INIT): Likewise.
27422 (QNAN_VALUE_INIT): Likewise.
27423 (MAX_VALUE_INIT): Likewise.
27424 (MIN_VALUE_INIT): Likewise.
27425 (MIN_SUBNORM_VALUE_INIT): Likewise.
27426 (plus_zero): Initialize with PLUS_ZERO_INIT.
27427 (minus_zero): Initialize with MINUS_ZERO_INIT.
27428 (plus_infty): Initialize with PLUS_INFTY_INIT.
27429 (minus_infty): Initialize with MINUS_INFTY_INIT.
27430 (qnan_value): Initialize with QNAN_VALUE_INIT.
27431 (max_value): Initialize with MAX_VALUE_INIT.
27432 (min_value): Initialize with MIN_VALUE_INIT.
27433 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27434
27435 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27436 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27437 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27438 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27439
27440 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27441 (RUN_TEST_2_f): Likewise.
27442 (RUN_TEST_ff_f): Likewise.
27443 (RUN_TEST_fi_f): Likewise.
27444 (RUN_TEST_fl_f): Likewise.
27445 (RUN_TEST_fff_f): Likewise.
27446 (RUN_TEST_c_f): Likewise.
27447 (RUN_TEST_f_f1): Likewise.
27448 (RUN_TEST_fF_f1): Likewise.
27449 (RUN_TEST_fI_f1): Likewise.
27450 (RUN_TEST_ffI_f1): Likewise.
27451 (RUN_TEST_c_c): Likewise.
27452 (RUN_TEST_cc_c): Likewise.
27453 (RUN_TEST_f_i): Likewise.
27454 (RUN_TEST_f_i_tg): Likewise.
27455 (RUN_TEST_ff_i_tg): Likewise.
27456 (RUN_TEST_f_b): Likewise.
27457 (RUN_TEST_f_b_tg): Likewise.
27458 (RUN_TEST_f_l): Likewise.
27459 (RUN_TEST_f_L): Likewise.
27460 (RUN_TEST_sincos): Likewise.
27461 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27462 whether to show exceptions. Do not include ");\n" in return
27463 value.
27464 (special_functions): Output call to RUN_TEST_sincos instead of
27465 check_float calls. Update calls to new_test.
27466 (parse_args): Output call to single RUN_TEST_* macro instead of
27467 check_* calls and other assignments. Update calls to new_test.
27468
27469 [BZ #2546]
27470 [BZ #2560]
27471 [BZ #5159]
27472 [BZ #15426]
27473 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27474 input to result for tgamma overflow.
27475 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27476 (gamma_coeff): New variable.
27477 (NCOEFF): New macro.
27478 (gamma_positive): New function.
27479 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27480 underflow here. Use gamma_positive instead of exp (lgamma) for
27481 other arguments.
27482 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27483 (gamma_coeff): New variable.
27484 (NCOEFF): New macro.
27485 (gammaf_positive): New function.
27486 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27487 underflow here. Use gamma_positive instead of exp (lgamma) for
27488 other arguments.
27489 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27490 (gamma_coeff): New variable.
27491 (NCOEFF): New macro.
27492 (gammal_positive): New function.
27493 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27494 underflow here. Use gamma_positive instead of exp (lgamma) for
27495 other arguments.
27496 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27497 (gamma_coeff): New variable.
27498 (NCOEFF): New macro.
27499 (gammal_positive): New function.
27500 (__ieee754_gammal_r): Handle positive infinity, overflow and
27501 underflow here. Handle NaN the same as positive infinity. Remove
27502 check x < 0xffffffff for negative integers. Use gamma_positive
27503 instead of exp (lgamma) for other arguments.
27504 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27505 (gamma_coeff): New variable.
27506 (NCOEFF): New macro.
27507 (gammal_positive): New function.
27508 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27509 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27510 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27511 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27512 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27513 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27514 * sysdeps/generic/math_private.h (__gamma_productf): New
27515 prototype.
27516 (__gamma_product): Likewise.
27517 (__gamma_productl): Likewise.
27518 * math/Makefile (libm-calls): Add gamma_product.
27519 * math/libm-test.inc (tgamma_test): Add more tests.
27520 * sysdeps/i386/fpu/libm-test-ulps: Update.
27521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27522
27523 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
27524
27525 * benchtests/bench-skeleton.c (main): Preheat CPU.
27526
27527 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27528
27529 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27530
27531 2013-05-07 Roland McGrath <roland@hack.frob.com>
27532
27533 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27534 and _dl_skip_args_internal.
27535
27536 2013-05-07 Carlos O'Donell <carlos@redhat.com>
27537
27538 * manual/message.texi (Message Translation): Talk about users.
27539 Message to key mapping impacts design.
27540
27541 2013-05-06 Roland McGrath <roland@hack.frob.com>
27542
27543 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27544
27545 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27546
27547 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27548 * sysdeps/wordsize-64/glob64.c: ... here.
27549
27550 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27551 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27552 New macros.
27553
27554 * debug/getlogin_r_chk.c: Moved to ...
27555 * login/getlogin_r_chk.c: ... here.
27556 * debug/Makefile (routines): Move getlogin_r_chk to ...
27557 * login/Makefile (routines): ... here.
27558 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27559 * login/Versions (libc: GLIBC_2.4): ... here.
27560
27561 * io/poll.c (__poll): Renamed from poll.
27562 Add libc_hidden_def.
27563 (poll): Define as weak alias.
27564
27565 * debug/ptsname_r_chk.c: Moved to ...
27566 * login/ptsname_r_chk.c: ... here.
27567 * debug/Makefile (routines): Move ptsname_r_chk to ...
27568 * login/Makefile (routines): ... here.
27569 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27570 * login/Versions (libc: GLIBC_2.4): ... here.
27571
27572 * posix/getlogin.c: Moved to ...
27573 * login/getlogin.c: ... here.
27574 * posix/getlogin_r.c: Moved to ...
27575 * login/getlogin_r.c: ... here.
27576 * posix/getlogin_r.c: Moved to ...
27577 * login/getlogin_r.c: ... here.
27578 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27579 * login/Makefile (routines): ... here.
27580 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27581 * login/Versions (libc: GLIBC_2.0): ... here.
27582
27583 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27584 (setrlimit): Define as weak alias.
27585
27586 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27587 Call __ names for open, ftruncate, and close.
27588 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27589 (truncate): Define as weak alias.
27590
27591 2013-05-06 Joseph Myers <joseph@codesourcery.com>
27592
27593 * math/gen-libm-test.pl (parse_args): Initialize x before each
27594 test of frexp, modf and remquo.
27595
27596 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27597 test signgam value.
27598
27599 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27600
27601 [BZ #15418]
27602 [BZ #15419]
27603 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27604 internal tests.
27605 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27606
27607 2013-05-06 Roland McGrath <roland@hack.frob.com>
27608
27609 * elf/dl-writev.h: New file.
27610 * elf/dl-misc.c: Include it.
27611 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27612 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27613
27614 2013-05-04 Joseph Myers <joseph@codesourcery.com>
27615
27616 * math/libm-test.inc (noXFails): Remove variable.
27617 (noXPasses): Likewise.
27618 (BUILD_COMPLEX_INT): Remove macro.
27619 (print_screen): Remove xfail argument.
27620 (print_screen_max_error): Likewise.
27621 (update_stats): Likewise.
27622 (print_max_error): Likewise. Update calls to other affected
27623 functions.
27624 (print_complex_max_error): Likewise.
27625 (test_single_exception): Update calls to print_screen.
27626 (test_single_errno): Likewise.
27627 (check_float_internal): Remove xfail argument. Update calls to
27628 other affected functions.
27629 (check_float): Likewise.
27630 (check_complex): Likewise.
27631 (check_int): Likewise.
27632 (check_long): Likewise.
27633 (check_bool): Likewise.
27634 (check_longlong): Likewise.
27635 (main): Don't print noXFails and noXPasses.
27636 * math/gen-libm-test.pl (top level): Don't mention expected
27637 failure handling in comment.
27638 (new_test): Don't handle expected failures.
27639 (parse_args): Don't mention expected failure handling in comment.
27640 (generate_testfile): Don't handle expected failures.
27641 (parse_ulps): Likewise.
27642 (print_ulps_file): Likewise.
27643 (get_failure): Remove function.
27644 (output_test): Don't handle expected failures.
27645 * make/README.libm-test: Don't mention expected failure handling.
27646
27647 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27648 (minus_zero): Likewise.
27649 (plus_infty): Likewise.
27650 (minus_infty): Likewise.
27651 (qnan_value): Likewise.
27652 (max_value): Likewise.
27653 (min_value): Likewise.
27654 (min_subnorm_value): Likewise.
27655 (initialize): Do not initialize those variables dynamically.
27656
27657 2013-05-03 Roland McGrath <roland@hack.frob.com>
27658
27659 * io/open.c (__open_2): Moved to ...
27660 * io/open_2.c: ... this new file.
27661 * io/open64.c (__open64_2): Moved to ...
27662 * io/open64_2.c: ... this new file.
27663 * io/openat.c (__openat_2): Moved to ...
27664 * io/openat_2.c: ... this new file.
27665 * io/openat64.c (__openat64_2): Moved to ...
27666 * io/openat64_2.c: ... this new file.
27667 * io/Makefile (routines): Add them.
27668 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27669 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27670 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27671 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27672 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27673 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27674 (__openat64): Add hidden_ver.
27675 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27676 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27677
27678 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27679 Separately conditionalize setting of GLRO(dl_sysinfo) so
27680 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27681 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27682
27683 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27684
27685 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27686 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27687 definition.
27688 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27689 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27690 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27691 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27692 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27693
27694 2013-05-03 Joseph Myers <joseph@codesourcery.com>
27695
27696 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27697 test signgam value.
27698
27699 * math/libm-test.inc (hypot_test): Do not use
27700 IGNORE_ZERO_INF_SIGN.
27701
27702 2013-05-03 Andreas Jaeger <aj@suse.de>
27703
27704 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27705 Linux 3.9.
27706 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27707 (PF_MAX): Adjust for VSOCK change.
27708
27709 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27710
27711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27712
27713 2013-05-02 Carlos O'Donell <carlos@redhat.com>
27714
27715 [BZ #15264]
27716 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27717 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27718 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27719
27720 2013-05-02 David S. Miller <davem@davemloft.net>
27721
27722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27723
27724 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
27725
27726 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27727
27728 2013-05-01 Roland McGrath <roland@hack.frob.com>
27729
27730 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27731
27732 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27733
27734 [BZ #14952]
27735 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27736 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27737 Use __attribute__ ((__gnu_inline__)).
27738 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27739 Don't use __attribute__ ((__gnu_inline__)).
27740
27741 2013-05-01 Joseph Myers <joseph@codesourcery.com>
27742
27743 [BZ #15423]
27744 * math/s_catan.c (__catan): Handle small real or imaginary part of
27745 input specially to avoid spurious underflow.
27746 * math/s_catanf.c (__catanf): Likewise.
27747 * math/s_catanh.c (__catanh): Likewise.
27748 * math/s_catanhf.c (__catanhf): Likewise.
27749 * math/s_catanhl.c (__catanhl): Likewise.
27750 * math/s_catanl.c (__catanl): Likewise.
27751 * math/libm-test.inc (catan_test): Add more tests.
27752 (catanh_test): Likewise.
27753 * sysdeps/i386/fpu/libm-test-ulps: Update.
27754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27755
27756 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27757
27758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27759
27760 2013-04-30 Joseph Myers <joseph@codesourcery.com>
27761
27762 [BZ #15416]
27763 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27764 accurately for denominator in atan2.
27765 * math/s_catanf.c (__catanf): Likewise.
27766 * math/s_catanh.c (__catanh): Likewise.
27767 * math/s_catanhf.c (__catanhf): Likewise.
27768 * math/s_catanhl.c (__catanhl): Likewise.
27769 * math/s_catanl.c (__catanl): Likewise.
27770 * math/libm-test.inc (catan_test): Add more tests.
27771 (catanh_test): Likewise.
27772 * sysdeps/i386/fpu/libm-test-ulps: Update.
27773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27774
27775 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27776
27777 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27778
27779 * benchtests/Makefile (bench): Remove slow benchmarks.
27780 * benchtests/atan-inputs: Add slow benchmark inputs.
27781 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27782 (BENCH_FUNC): Accept variant offset.
27783 (VARIANT): Define.
27784 * benchtests/bench-skeleton.c (main): Run benchmark for each
27785 variant.
27786 * benchtests/cos-inputs: Add slow benchmark inputs.
27787 * benchtests/exp-inputs: Likewise.
27788 * benchtests/pow-inputs: Likewise.
27789 * benchtests/sin-inputs: Likewise.
27790 * benchtests/slowatan-inputs: Remove.
27791 * benchtests/slowatan.c: Remove.
27792 * benchtests/slowcos-inputs: Remove.
27793 * benchtests/slowcos.c: Remove.
27794 * benchtests/slowexp-inputs: Remove.
27795 * benchtests/slowexp.c: Remove.
27796 * benchtests/slowpow-inputs: Remove.
27797 * benchtests/slowpow.c: Remove.
27798 * benchtests/slowsin-inputs: Remove.
27799 * benchtests/slowsin.c: Remove.
27800 * benchtests/slowtan-inputs: Remove.
27801 * benchtests/slowtan.c: Remove.
27802 * benchtests/tan-inputs: Add slow benchmark inputs.
27803 * scripts/bench.pl: Parse comments and directives.
27804
27805 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27806 in CPPFLAGS.
27807 ($(objpfx)bench-%.c): Remove *-ITER.
27808 * benchtests/bench-modf.c: Remove definition of ITER.
27809 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27810 (main): Loop for DURATION seconds instead of fixed number of
27811 iterations.
27812 * scripts/bench.pl: Don't expect iterations in parameters.
27813
27814 2013-04-29 Roland McGrath <roland@hack.frob.com>
27815
27816 * io/fchdir.c (__fchdir): Renamed from fchdir.
27817 (fchdir): Define as weak alias.
27818
27819 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27820
27821 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27822 (ERRNO_EDOM): Likewise.
27823 (ERRNO_ERANGE): Likewise.
27824 (noErrnoTests): New variable.
27825 (init_max_error): Set errno to 0.
27826 (test_single_errno): New function.
27827 (test_errno): Likewise.
27828 (check_float_internal): Call test_errno. Set errno to 0.
27829 (check_complex): Refer to errno tests in comment.
27830 (check_int): Call test_errno. Set errno to 0.
27831 (check_long): Likewise.
27832 (check_bool): Likewise.
27833 (check_longlong): Likewise.
27834 (cos_test): Use ERRNO_* flags for errno tests instead of
27835 check_int.
27836 (expm1_test): Likewise.
27837 (fmod_test): Likewise.
27838 (ilogb_test): Likewise.
27839 (lgamma_test): Likewise.
27840 (pow_test): Likewise.
27841 (remainder_test): Likewise.
27842 (sin_test): Likewise.
27843 (tan_test): Likewise.
27844 (yn_test): Likewise.
27845 (initialize): Set errno to 0.
27846 (main): Print number of errno tests.
27847 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27848
27849 2013-04-29 Andreas Jaeger <aj@suse.de>
27850
27851 [BZ #15084]
27852 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27853 and RES_USEVC.
27854
27855 [BZ #15085]
27856 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27857 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27858 unimplemented.
27859
27860 [BZ #15380]
27861 * stdlib/random.c (__initstate): Return NULL if
27862 __initstate fails.
27863
27864 [BZ #15086]
27865 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27866 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27867 RES_SNGLKUPREOP.
27868
27869 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27870
27871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27872
27873 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27874
27875 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27876 of individual tests.
27877 (casin_test): Likewise.
27878 (casinh_test): Likewise.
27879
27880 2013-04-27 Joseph Myers <joseph@codesourcery.com>
27881
27882 [BZ #15409]
27883 * math/s_catan.c (__catan): Handle arguments with large real or
27884 imaginary part separately without squaring.
27885 * math/s_catanf.c (__catanf): Likewise.
27886 * math/s_catanh.c (__catanh): Likewise.
27887 * math/s_catanhf.c (__catanhf): Likewise.
27888 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27889 and redefine.
27890 (__catanhl): Handle arguments with large real or imaginary part
27891 separately without squaring.
27892 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27893 and redefine.
27894 (__catanl): Handle arguments with large real or imaginary part
27895 separately without squaring.
27896 * math/libm-test.inc (catan_test): Add more tests.
27897 (catanh_test): Likewise.
27898 * sysdeps/i386/fpu/libm-test-ulps: Update.
27899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27900
27901 2013-04-27 Andreas Jaeger <aj@suse.de>
27902
27903 [BZ #15007]
27904 * stdlib/stdlib.h: Update guards for qecvt.
27905 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27906 <stdlib.h>.
27907
27908 2013-04-27 Allan McRae <allan@archlinux.org>
27909
27910 * sysdeps/i386/fpu/libm-test-ulps: Update.
27911
27912 2013-04-26 Joseph Myers <joseph@codesourcery.com>
27913
27914 [BZ #15406]
27915 * math/s_catan.c: Include <float.h>.
27916 (__catan): Ensure underflow exception occurs for underflowed
27917 result.
27918 * math/s_catanf.c: Include <float.h>.
27919 (__catanf): Ensure underflow exception occurs for underflowed
27920 result.
27921 * math/s_catanh.c: Include <float.h>.
27922 (__catanh): Ensure underflow exception occurs for underflowed
27923 result.
27924 * math/s_catanhf.c: Include <float.h>.
27925 (__catanhf): Ensure underflow exception occurs for underflowed
27926 result.
27927 * math/s_catanhl.c: Include <float.h>.
27928 (__catanhl): Ensure underflow exception occurs for underflowed
27929 result.
27930 * math/s_catanl.c: Include <float.h>.
27931 (__catanl): Ensure underflow exception occurs for underflowed
27932 result.
27933 * math/libm-test.inc (catan_test): Add more tests.
27934 (catanh_test): Likewise.
27935
27936 [BZ #15405]
27937 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27938 underflowed result.
27939 * math/s_ccoshf.c (__ccoshf): Likewise.
27940 * math/s_ccoshl.c (__ccoshl): Likewise.
27941 * math/s_csin.c (__csin): Likewise.
27942 * math/s_csinf.c (__csinf): Likewise.
27943 * math/s_csinh.c (__csinh): Likewise.
27944 * math/s_csinhf.c (__csinhf): Likewise.
27945 * math/s_csinhl.c (__csinhl): Likewise.
27946 * math/s_csinl.c (__csinl): Likewise.
27947 * math/libm-test.inc (ccos_test): Add more tests.
27948 (ccosh_test): Likewise.
27949 (csin_test): Likewise.
27950 (csinh_test): Likewise.
27951
27952 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27953
27954 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27955 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27956 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27957 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27958 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27959 powerpc/power5+/fpu folders.
27960 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27961
27962
27963 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27964
27965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27966
27967 2013-04-25 Joseph Myers <joseph@codesourcery.com>
27968
27969 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27970 additions to variable.
27971 [$(config-machine) = x86_64] (modules-names): Likewise.
27972 ($(objpfx)tst-audit3): Remove dependency.
27973 ($(objpfx)tst-audit3.out): Likewise.
27974 ($(objpfx)tst-audit4): Likewise.
27975 ($(objpfx)tst-audit4.out): Likewise.
27976 ($(objpfx)tst-audit5): Likewise.
27977 ($(objpfx)tst-audit5.out): Likewise.
27978 ($(objpfx)tst-audit6): Likewise.
27979 ($(objpfx)tst-audit6.out): Likewise.
27980 ($(objpfx)tst-audit7): Likewise.
27981 ($(objpfx)tst-audit7.out): Likewise.
27982 (tst-audit3-ENV): Remove variable.
27983 (tst-audit4-ENV): Likewise.
27984 (tst-audit5-ENV): Likewise.
27985 (tst-audit6-ENV): Likewise.
27986 (tst-audit7-ENV): Likewise.
27987 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27988 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27989 addition to variable.
27990 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27991 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27992 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27993 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27994 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27995 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27996 tst-audit3, tst-audit4 and tst-audit5.
27997 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27998 tst-audit6 and tst-audit7.
27999 [$(subdir) = elf] (modules-names): Add audit modules for those
28000 tests.
28001 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28002 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28003 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28004 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28005 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28006 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28007 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28008 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28009 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28010 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28011 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28012 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28013 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28014 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28015 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28016 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28017 Likewise.
28018 [$(subdir) = elf && $(config-cflags-avx) = yes]
28019 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28020 [$(subdir) = elf && $(config-cflags-avx) = yes]
28021 (CFLAGS-tst-auditmod4a.c): Likewise.
28022 [$(subdir) = elf && $(config-cflags-avx) = yes]
28023 (CFLAGS-tst-auditmod4b.c): Likewise.
28024 [$(subdir) = elf && $(config-cflags-avx) = yes]
28025 (CFLAGS-tst-auditmod6b.c): Likewise.
28026 [$(subdir) = elf && $(config-cflags-avx) = yes]
28027 (CFLAGS-tst-auditmod6c.c): Likewise.
28028 [$(subdir) = elf && $(config-cflags-avx) = yes]
28029 (CFLAGS-tst-auditmod7b.c): Likewise.
28030 * elf/tst-audit3.c: Move to ...
28031 * sysdeps/x86_64/tst-audit3.c: ... here.
28032 * elf/tst-audit4.c: Move to ...
28033 * sysdeps/x86_64/tst-audit4.c: ... here.
28034 * elf/tst-audit5.c: Move to ...
28035 * sysdeps/x86_64/tst-audit5.c: ... here.
28036 * elf/tst-audit6.c: Move to ...
28037 * sysdeps/x86_64/tst-audit6.c: ... here.
28038 * elf/tst-audit7.c: Move to ...
28039 * sysdeps/x86_64/tst-audit7.c: ... here.
28040 * elf/tst-auditmod3a.c: Move to ...
28041 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28042 * elf/tst-auditmod3b.c: Move to ...
28043 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28044 * elf/tst-auditmod4a.c: Move to ...
28045 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28046 * elf/tst-auditmod4b.c: Move to ...
28047 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28048 * elf/tst-auditmod5a.c: Move to ...
28049 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28050 * elf/tst-auditmod5b.c: Move to ...
28051 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28052 * elf/tst-auditmod6a.c: Move to ...
28053 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28054 * elf/tst-auditmod6b.c: Move to ...
28055 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28056 * elf/tst-auditmod6c.c: Move to ...
28057 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28058 * elf/tst-auditmod7a.c: Move to ...
28059 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28060 * elf/tst-auditmod7b.c: Move to ...
28061 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28062
28063 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28064
28065 [BZ #15366]
28066 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28067 define unconditionally.
28068 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28069 define unconditionally.
28070 (INT8_C, INT16_C, etc.): Likewise.
28071
28072 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28073
28074 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28075 __ehdr_start with hidden visibility.
28076
28077 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28078
28079 2013-04-24 Carlos O'Donell <carlos@redhat.com>
28080
28081 * math/libm-test.inc (cos_test): Use accurate hex constants.
28082 (sincost_test): Likewise.
28083
28084 2013-04-24 Joseph Myers <joseph@codesourcery.com>
28085
28086 * math/libm-test.inc (catan_test): Add more tests.
28087 (catanh_test): Likewise.
28088
28089 * math/s_catanf.c (__catanf): Use suffixed floating-point
28090 constants.
28091 * math/s_catanhf.c (__catanhf): Likewise.
28092 * math/s_catanhl.c (__catanhl): Likewise.
28093 * math/s_catanl.c (__catanl): Likewise.
28094
28095 [BZ #15394]
28096 * math/s_catan.c (__catan): Calculate imaginary part of result
28097 with log1p not log unless computing log of number close to 0.
28098 * math/s_catanf.c (__catanf): Likewise.
28099 * math/s_catanl.c (__catanl): Likewise.
28100 * math/s_catanh.c (__catanh): Calculate real part of result with
28101 log1p not log unless computing log of number close to 0.
28102 * math/s_catanhf.c (__catanhf): Likewise.
28103 * math/s_catanhl.c (__catanhl): Likewise.
28104 * math/libm-test.inc (catan_test): Add more tests.
28105 (catanh_test): Likewise.
28106 * sysdeps/i386/fpu/libm-test-ulps: Update.
28107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28108
28109 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28110
28111 * benchtests/Makefile: Mention files in which fast and slow
28112 paths of math functions are implemented.
28113
28114 2013-04-23 Roland McGrath <roland@hack.frob.com>
28115
28116 * sysdeps/posix/timespec_get.c: New file.
28117
28118 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28119
28120 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28121 POWER.
28122 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28123 for POWER.
28124 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28125 powerpc/power5/fpu folders.
28126 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28127 * benchtests/Makefile: Add modf testcase.
28128 * benchtests/bench-modf.c: New file: Benchmark test for mo
28129
28130 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28131
28132 [BZ #14888]
28133 * time/Makefile (tests): Add tst-strptime-whitespace.
28134 * time/strptime_l.c (get_number): Use ISSPACE.
28135 (__strptime_internal): Likewise.
28136 * time/tst-strptime-whitespace.c: New test case.
28137
28138 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28139
28140 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28141 member.
28142 (_nss_files_init): Set it here.
28143
28144 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28145
28146 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28147 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28148 unsigned.
28149
28150 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28151
28152 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28153
28154 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28155
28156 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28157 size just once.
28158
28159 2013-04-21 David S. Miller <davem@davemloft.net>
28160
28161 * po/ru.po: Update Russion translation from translation project.
28162
28163 2013-04-17 Adam Conrad <adconrad@0c3.net>
28164
28165 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28166 and setfsgid.
28167
28168 2013-04-17 Carlos O'Donell <carlos@redhat.com>
28169
28170 * configure.in: Remove i386 configure warning. Remove i386 case.
28171 * configure: Regenerate.
28172 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28173 Add example to error message.
28174 * sysdeps/i386/configure: Regenerate.
28175
28176 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28177
28178 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28179 slowtan.
28180 * benchtests/cos-inputs: New file.
28181 * benchtests/slowcos-inputs: New file.
28182 * benchtests/slowcos.c: New file.
28183 * benchtests/slowtan-inputs: New file.
28184 * benchtests/slowtan.c: New file.
28185 * benchtests/tan-inputs: New file.
28186
28187 2013-04-16 Roland McGrath <roland@hack.frob.com>
28188
28189 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28190 considered kosher.
28191
28192 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28193
28194 * benchtests/Makefile: Include cppflags-iterator.mk to add
28195 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28196
28197 * Makefile.in (bench-clean): New target.
28198 * benchtests/Makefile (bench-clean): Likewise.
28199
28200 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28201
28202 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28203
28204 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28205
28206 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28207
28208 2013-04-15 Andreas Schwab <schwab@suse.de>
28209
28210 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28211 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28212 * nscd/pwdcache.c (cache_addpw): Likewise.
28213 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28214 more than recsize.
28215
28216 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28217
28218 * benchtests/Makefile (bench): Write all output to
28219 bench-out.tmp together.
28220
28221 2013-04-15 Andreas Schwab <schwab@suse.de>
28222
28223 * nscd/nscd.c (main): Don't fork again after closing files.
28224
28225 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28226
28227 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28228
28229 * benchtests/Rules (bench-deps): Collect dependencies into a
28230 single variable. Add Makefile to dependencies.
28231 ($(objpfx)bench-%.c): Depend on bench-deps.
28232
28233 2013-04-12 Roland McGrath <roland@hack.frob.com>
28234 Xavier Roche <roche+kml2@exalead.com>
28235
28236 [BZ #15361]
28237 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28238 just that it's a file descriptor.
28239 * manual/llio.texi (Synchronizing AIO Operations): Update description
28240 for EBADF error from aio_fsync.
28241
28242 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28243
28244 * Rules (bench): Move target definition...
28245 * benchtests/Makefile: ... here.
28246
28247 2013-04-11 Carlos O'Donell <carlos@redhat.com>
28248
28249 * math/libm-test.inc (cos_test): Fix PI/2 test.
28250 (sincos_test): Likewise.
28251 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28252 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28253
28254 2013-04-11 Andreas Schwab <schwab@suse.de>
28255
28256 [BZ #13988]
28257 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28258 accept exponent character only when digits were seen.
28259 * stdio-common/Makefile (tests): Add bug26.
28260 * stdio-common/bug26.c: New file.
28261
28262 [BZ #14293]
28263 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28264 non-freeable.
28265
28266 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28267
28268 * Makeconfig (rtld-prefix): Define built linker prefix.
28269 * Rules (run-bench): Use it.
28270 * math/Makefile (run-regen-ulps): Likewise.
28271
28272 * Rules (bench): Remove eval.
28273
28274 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28275 Roland McGrath <roland@hack.frob.com>
28276 Ondrej Bilka <neleai@seznam.cz>
28277
28278 [BZ #15346]
28279 * time/getdate.c: Include ctype.h and alloca.h.
28280 (__getdate_r): Trim leading and trailing spaces of input.
28281 * time/tst-getdate.c (tests): Add tests with leading and
28282 trailing spaces.
28283
28284 2013-04-08 Roland McGrath <roland@hack.frob.com>
28285
28286 [BZ #14280]
28287 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28288 when computing value.
28289
28290 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28291
28292 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28293 Use testrun.sh to run libm tests.
28294
28295 [BZ #15309]
28296 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28297
28298 2013-04-06 Marko Myllynen <myllynen@redhat.com>
28299
28300 [BZ #15264]
28301 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28302
28303 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28304
28305 * Makefile.in (regen-ulps): New target.
28306 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28307 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28308 [ifneq (no,$(PERL)] (regen-ulps): New target.
28309 [ifeq (no,$(PERL)] (regen-ulps): New target.
28310 * math/libm-test.inc (ulps_file_name): Define.
28311 (output_dir): New variable.
28312 (options): Add "output-dir" option.
28313 (parse_opt): Handle 'o' case.
28314 (main): If output_dir is non-NULL use it as a prefix
28315 otherwise use "".
28316 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28317
28318 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28319
28320 [BZ #10060, #10062]
28321 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28322 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28323 fail configure if __sync_val_compare_and_swap is not inlined.
28324 * sysdeps/i386/configure: Regenerate.
28325 * configure.in: Build for i686 when configured for i386.
28326 * configure: Regenerate.
28327 * README: Remove i386 reference.
28328
28329 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28330
28331 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28332 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28333
28334 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28335
28336 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28337 (lmsnanval): New variables.
28338 (F): Add conversion tests.
28339 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28340 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28341
28342 * stdio-common/tstdiomisc.c (F): Properly collect individual
28343 tests' results.
28344
28345 [BZ #14686, #15336]
28346 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28347 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28348 Instead, use input NaN values or generate a qNaN by arithmetic
28349 operation. Also fix bugs to comply with the standard.
28350 * math/libm-test.inc (remainder_test): Add more tests.
28351
28352 [BZ #15335, #15342]
28353 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28354 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28355 input NaN values or generate a qNaN by arithmetic operation.
28356
28357 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28358 unreachable code.
28359
28360 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28361 definitions.
28362
28363 2013-04-03 Joseph Myers <joseph@codesourcery.com>
28364
28365 [BZ #14478]
28366 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28367 underflowed result.
28368 * math/s_cexpf.c (__cexpf): Likewise.
28369 * math/s_cexpl.c (__cexpl): Likewise.
28370 * math/libm-test.inc (cexp_test): Add more tests.
28371
28372 2013-04-03 Andreas Schwab <schwab@suse.de>
28373
28374 [BZ #15330]
28375 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28376 order arrays from heap if bigger than alloca cutoff.
28377
28378 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28379
28380 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28381 (SNAN_TESTS_double): Refer to GCC PR56831.
28382 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28383 GCC PR56828.
28384
28385 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28386
28387 * Rules (bench): Move bench.out after the run is complete.
28388
28389 * Rules (bench): Echo currently running benchmark.
28390
28391 * benchtests/Makefile (bench): Add atan and slowatan.
28392 * benchtests/atan-inputs: New file.
28393 * benchtests/slowatan-inputs: New file.
28394 * benchtests/slowatan.c: New file.
28395
28396 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28397 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28398 its value.
28399
28400 [BZ #15305]
28401 * sysdeps/unix/sysv/linux/kernel-features.h
28402 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28403 __ASSUME_XFS_RESTRICTED_CHOWN.
28404 * sysdeps/unix/sysv/linux/pathconf.c
28405 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28406 Save and restore errno.
28407
28408 2013-04-02 Joseph Myers <joseph@codesourcery.com>
28409
28410 [BZ #15327]
28411 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28412 arguments using __kernel_casinh.
28413 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28414 arguments using __kernel_casinhf.
28415 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28416 arguments using __kernel_casinhl.
28417 * math/libm-test.inc (cacosh_test): Add more tests.
28418 * sysdeps/i386/fpu/libm-test-ulps: Update.
28419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28420
28421 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28422
28423 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28424 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28425
28426 * bench/Makefile (bench): Add sin and slowsin.
28427 * benchtests/sin-inputs: New file.
28428 * benchtests/slowsin-inputs: New file.
28429 * benchtests/slowsin.c: New file.
28430
28431 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28432 (bench): Add slowexp and slowpow.
28433 (exp-ITER): Increase iterations.
28434 (pow-ITER): Likewise.
28435 * benchtests/exp-inputs: Change input.
28436 * benchtests/pow-inputs: Likewise.
28437 * benchtests/slowexp-inputs: New file.
28438 * benchtests/slowexp.c: New file.
28439 * benchtests/slowpow-inputs: New file.
28440 * benchtests/slowpow.c: New file.
28441
28442 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28443
28444 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28445 instructions.
28446 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28447 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28448 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28449 * benchtests/Makefile: Add rint benchtest.
28450 * benchtests/rint-inputs: Input for rint benchtest.
28451
28452 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28453
28454 * Versions.def (libm): Add GLIBC_2.18.
28455 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28456 hidden libm prototypes.
28457 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28458 * math/Makefile (libm-calls): Add s_issignaling.
28459 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28460 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28461 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28462 declaration.
28463 * math/math.h [__USE_GNU] (issignaling): New macro.
28464 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28465 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28466 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28467 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28468 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28469 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28470 * manual/arith.texi (issignaling): New section.
28471 * manual/libm-err-tab.pl (@all_functions): Update comment.
28472 * math/gen-libm-test.pl (parse_args): Apply special handling for
28473 issignaling.
28474 * math/libm-test.inc (print_float, issignaling_test): New
28475 functions.
28476 (check_float_internal): Add issignaling checks.
28477 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28478 default definition.
28479 * sysdeps/powerpc/math-tests.h: New file.
28480 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28481 tests.
28482 * math/test-snan.c (TEST_FUNC): Likewise.
28483
28484 2013-03-30 David S. Miller <davem@davemloft.net>
28485
28486 * po/de.po: Update from translation team.
28487
28488 2013-03-30 Joseph Myers <joseph@codesourcery.com>
28489
28490 [BZ #10357]
28491 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28492 imaginary part less than 1.0 and real part less than 0.5
28493 specially.
28494 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28495 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28496 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28497 (cacos_test): Add more tests.
28498 (casin_test): Likewise.
28499 (casinh_test): Likewise.
28500 * sysdeps/i386/fpu/libm-test-ulps: Update.
28501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28502
28503 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28504
28505 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28506 ONE with its value.
28507
28508 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28509 (__pow_mp): Replace ONE and MONE with their values.
28510 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28511 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28512 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28513 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28514 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28515 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28516
28517 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28518
28519 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28520 (__pow_mp): Replace ZERO and MZERO with their values.
28521 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28522 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28523 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28524 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28525 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28526 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28527 (__sqr): Likewise.
28528
28529 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28530
28531 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28532
28533 2013-03-28 Roland McGrath <roland@hack.frob.com>
28534
28535 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28536 Declare with __attribute__ ((weak)).
28537 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28538 Call __call_tls_dtors only if it's not NULL.
28539
28540 2013-03-28 Roland McGrath <roland@hack.frob.com>
28541
28542 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28543 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28544 magic __ehdr_start linker symbol if it's defined.
28545 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28546 them up here if it was already done.
28547
28548 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28549 (_dl_aux_init): Use const in cast when setting it.
28550 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28551 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28552 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28553
28554 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28555 Declare them here.
28556 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28557 * csu/libc-tls.c: Nor here.
28558 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28559
28560 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28561 (__libc_message): Never call vsyslog.
28562
28563 2013-03-28 Alan Modra <amodra@gmail.com>
28564
28565 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28566 Define as empty.
28567 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28568 Likewise.
28569
28570 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28571
28572 [BZ #15214]
28573 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28574 underflow.
28575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28576
28577 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28578
28579 [BZ #15304]
28580 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28581 Don't add gid passed as argument.
28582
28583 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28584
28585 2013-03-27 Joseph Myers <joseph@codesourcery.com>
28586
28587 [BZ #15307]
28588 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28589 imaginary part between 1.0 and 1.5 and real part less than 0.5
28590 specially.
28591 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28592 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28593 * math/libm-test.inc (cacos_test): Add more tests.
28594 (casin_test): Likewise.
28595 (casinh_test): Likewise.
28596 * sysdeps/i386/fpu/libm-test-ulps: Update.
28597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28598
28599 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28600
28601 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28602 constants.
28603 (norm): Likewise.
28604 (denorm): Likewise.
28605 (__dbl_mp): Likewise.
28606 (add_magnitudes): Likewise.
28607 (sub_magnitudes): Likewise.
28608 (__add): Likewise.
28609 (__sub): Likewise.
28610 (__mul): Likewise.
28611 (__sqr): Likewise.
28612 (__inv): Likewise.
28613 (__dvd): Likewise.
28614
28615 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28616 commented code.
28617 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28618 (__dubcos): Likewise.
28619 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28620 (__ieee754_acos): Likewise.
28621 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28622 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28623 (__exp1): Likewise.
28624 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28625 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28626 (log1): Likewise.
28627 (my_log2): Likewise.
28628 (checkint): Likewise.
28629 * sysdeps/ieee754/dbl-64/e_remainder.c
28630 (__ieee754_remainder): Likewise.
28631 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28632 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28633 (bsloww): Likewise.
28634 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28635
28636 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28637 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28638 MANTISSA_STORE_T to store computations on mantissa. Use
28639 macros for rounding and division.
28640 (denorm): Likewise.
28641 (__dbl_mp): Likewise.
28642 (add_magnitudes): Likewise.
28643 (sub_magnitudes): Likewise.
28644 (__mul): Likewise.
28645 (__sqr): Likewise.
28646 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28647 powers of two in terms of TWOPOW macro.
28648 (mp_no): Make type of mantissa as MANTISSA_T.
28649 [!RADIXI]: Define RADIXI.
28650 [!TWO52]: Define TWO52.
28651 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28652
28653 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28654
28655 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28656 llroundl symbol when building for PPC32.
28657
28658 2013-03-24 Mark H Weaver <mhw@netris.org>
28659
28660 * manual/arith.texi (Normalization Functions): Fix prototypes for
28661 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28662
28663 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28664
28665 [BZ #13889]
28666 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28667 high value to check if expl overflow.
28668 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28669 to check for underflow and overflow.
28670 * math/libm-test.inc: Add exp test.
28671
28672 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28673
28674 [BZ #11120]
28675 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28676 with NOT_IN_libc.
28677
28678 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28679
28680 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28681 symbol.
28682
28683 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28684
28685 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28686 wrap blocks consisting of several statements.
28687
28688 * sysdeps/generic/math-tests.h: New file.
28689 * sysdeps/i386/fpu/math-tests.h: Likewise.
28690 * math/test-snan.c: Include it.
28691 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28692
28693 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28694
28695 [BZ #15285]
28696 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28697 (__ieee754_j0l): Do not improve calculations using cos of twice
28698 input for inputs above LDBL_MAX / 2.0L.
28699 (__ieee754_y0l): Likewise.
28700 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28701 (__ieee754_j1l): Do not improve calculations using cos of twice
28702 input for inputs above LDBL_MAX / 2.0L.
28703 (__ieee754_y1l): Likewise.
28704 * math/libm-test.inc (j0_test): Add another test.
28705 (j1_test): Likewise.
28706 (y0_test): Likewise.
28707 (y1_test): Likewise.
28708 * sysdeps/i386/fpu/libm-test-ulps: Update.
28709
28710 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28711
28712 * Rules ($(objpfx)bench-%.c): Include code from a C source
28713 file.
28714
28715 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28716
28717 [BZ #15287]
28718 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28719 imaginary part 1.0 and real part less than 0.5 specially.
28720 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28721 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28722 * math/libm-test.inc (cacos_test): Add more tests.
28723 (casin_test): Likewise.
28724 (casinh_test): Likewise.
28725 * sysdeps/i386/fpu/libm-test-ulps: Update.
28726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28727
28728 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28729
28730 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28731 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28732
28733 2013-03-20 Joseph Myers <joseph@codesourcery.com>
28734
28735 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28736 * config.make.in (config-cflags-sse4): Remove variable.
28737 (config-cflags-avx): Likewise.
28738 (config-cflags-sse2avx): Likewise.
28739 (config-cflags-novzeroupper): Likewise.
28740 (config-asflags-i686): Likewise.
28741 (have-mfma4): Likewise.
28742 (have-as-vis3): Likewise.
28743 (MIG): Likewise.
28744 * configure.in (MIG): Do not AC_SUBST.
28745 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28746 (libc_cv_cc_sse4): Do not AC_SUBST.
28747 (libc_cv_cc_avx): Likewise.
28748 (libc_cv_cc_sse2avx): Likewise.
28749 (libc_cv_cc_novzeroupper): Likewise.
28750 (libc_cv_cc_fma4): Likewise.
28751 (libc_cv_as_i686): Likewise.
28752 (libc_cv_sparc_as_vis3): Likewise.
28753 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28754 LIBC_CONFIG_VAR.
28755 (config-asflags-i686): Likewise.
28756 (config-cflags-avx): Likewise.
28757 (config-cflags-sse2avx): Likewise.
28758 (have-mfma4): Likewise.
28759 (config-cflags-novzeroupper): Likewise.
28760 * sysdeps/mach/configure.in (MIG): Likewise.
28761 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28762 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28763 LIBC_CONFIG_VAR.
28764 (config-cflags-avx): Likewise.
28765 (config-cflags-sse2avx): Likewise.
28766 (have-mfma4): Likewise.
28767 (config-cflags-novzeroupper): Likewise.
28768 * configure: Regenerated.
28769 * sysdeps/i386/configure: Likewise.
28770 * sysdeps/mach/configure: Likewise.
28771 * sysdeps/sparc/configure: Likewise.
28772 * sysdeps/x86_64/configure: Likewise.
28773
28774 2013-03-20 Roland McGrath <roland@hack.frob.com>
28775
28776 [BZ #14812]
28777 * locale/programs/localedef.c (options): Put N_ translation marker
28778 on argument names, not just descriptions.
28779
28780 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28781
28782 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28783
28784 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
28785
28786 [BZ #14176]
28787 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28788
28789 2013-03-19 Roland McGrath <roland@hack.frob.com>
28790
28791 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28792 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28793 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28794 [!BEFORE_ABORT] (before_abort): New function.
28795 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28796 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28797 (writev_for_fatal): New function.
28798 (WRITEV_FOR_FATAL): New macro; call that.
28799 (backtrace_and_maps): New function.
28800 (BEFORE_ABORT): New macro; call that.
28801 (struct str_list): Type removed.
28802 (__libc_message, __libc_fatal): Functions removed.
28803 Include <sysdeps/posix/libc_fatal.c> instead.
28804
28805 2013-03-19 Joseph Myers <joseph@codesourcery.com>
28806
28807 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28808 constants.
28809 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28810 double constants.
28811
28812 2013-03-19 Andreas Schwab <schwab@suse.de>
28813
28814 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28815 * sysdeps/gnu/configure: Regenerate.
28816
28817 * configure.in: Substitute libc_cv_rtlddir.
28818 * configure: Regenerate.
28819 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28820 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28821 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28822 * elf/Makefile (install-others, CFLAGS-interp.c)
28823 (ldso_install, common-ldd-rewrite): Likewise.
28824 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28825 $(inst_slibdir)/$(rtld-installed-name).
28826 * scripts/rellns-sh: Add -p option.
28827 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28828 for source.
28829
28830 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28831
28832 * manual/nptl.texi: Renamed to ...
28833 * manual/threads.texi: ... this.
28834 * manual/Makefile (chapters): Update.
28835
28836 2013-03-18 Roland McGrath <roland@hack.frob.com>
28837
28838 [BZ #14812]
28839 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28840 on argument names, not just descriptions.
28841 * malloc/memusagestat.c (options): Likewise.
28842 * nss/getent.c (options): Likewise.
28843
28844 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
28845
28846 [BZ #14812]
28847 * iconv/iconv_prog.c (options): Put N_ translation marker
28848 on argument names, not just descriptions.
28849 * iconv/iconvconfig.c (options): Likewise.
28850
28851 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
28852
28853 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28854 implementation which is faster on all x86_64 architectures.
28855 Tested on AMD, Intel Nehalem, SNB, IVB.
28856 * sysdeps/x86_64/strnlen.S: Likewise.
28857
28858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28859 Remove all multiarch strlen and strnlen versions.
28860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28861 Remove strlen and strnlen related parts.
28862
28863 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28864 Inline strlen part.
28865 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28866
28867 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28868 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28869 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28870 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28871 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28872 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28873
28874 2013-03-17 Carlos O'Donell <carlos@redhat.com>
28875
28876 * manual/memory.texi (Malloc Tunable Parameters):
28877 Sort parameters alphabetically. Add comments for missing entries.
28878
28879 2013-03-17 David S. Miller <davem@davemloft.net>
28880
28881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28882
28883 2013-03-16 Joseph Myers <joseph@codesourcery.com>
28884
28885 [BZ #15283]
28886 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28887 for arguments at most half maximum finite value.
28888 * math/libm-test.inc (j0_test): Add more tests.
28889 (j1_test): Likewise.
28890 (y0_test): Likewise.
28891 (y1_test): Likewise.
28892 * sysdeps/i386/fpu/libm-test-ulps: Update.
28893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28894
28895 [BZ #14155]
28896 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28897 1 / x and functions P and Q for arguments above 0x1p256L.
28898 (__ieee754_y0l): Likewise.
28899 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28900 (__ieee754_y1l): Likewise.
28901 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28902 (j1_test): Likewise.
28903 (y0_test): Likewise.
28904 (y1_test): Likewise.
28905
28906 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28907
28908 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28909 variable.
28910
28911 2013-03-15 Roland McGrath <roland@hack.frob.com>
28912
28913 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28914 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28915 zero since it's initialized to EXEC_PAGESIZE.
28916
28917 * sysdeps/unix/sysv/linux/ldsodefs.h
28918 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28919 * sysdeps/generic/ldsodefs.h: ... here.
28920
28921 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28922
28923 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28924
28925 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28926 math/test-snan.c.
28927 * math/test-snan.c: Renamed from
28928 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28929 * math/Makefile (tests): Add test-snan.
28930 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28931 test-powerpc-snan.
28932
28933 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28934 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28935 functions.
28936 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28937 __builtin_nan family of functions.
28938 * math/libm-test.inc (initialize): Initialize qnan_value with
28939 __builtin_nan family of functions.
28940 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28941 Remove variables.
28942 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28943 Remove functions.
28944 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28945 storage class. Initialize qNaN_var and sNaN_var with
28946 __builtin_nan and __builtin_nans families of functions,
28947 respectively.
28948
28949 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28950 (sqrt_test): Remove duplicate test with qNaN input.
28951 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28952 (round_test, signbit_test, significand_test): Note missing +/-Inf
28953 as well as qNaN tests.
28954
28955 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28956 qNaN_var. Fix a few strings, too.
28957 * math/libm-test.inc (nan_value): Rename to qnan_value.
28958 * math/gen-libm-test.pl (%beautify): Adjust to that.
28959 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28960 * math/test-misc.c (main): Likewise.
28961 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28962 to __qnan_bytes, and __qnan_union, respectively.
28963 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28964 Likewise.
28965 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28966 and lqnanval, respectively.
28967 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28968 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28969 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28970 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28971
28972 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28973 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28974 doubles.
28975
28976 * math/test-misc.c (main): Fix copy'n'pastos.
28977 * misc/tst-efgcvt.c (special): Likewise.
28978
28979 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28980 Remove declarations.
28981
28982 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28983
28984 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28985 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28986 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28987 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28988
28989 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28990
28991 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28992 macro to return vdso values correctly in IFUNC implementations.
28993 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28994 Optimization by using IFUNC.
28995
28996 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28997 Richard Henderson <rth@redhat.com>
28998 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28999
29000 * Makefile.in (bench): New target.
29001 * NEWS: Mention the benchmark framework.
29002 * Rules (bench): Likewise.
29003 (binaries-bench): Generate binaries for functions to
29004 benchmark.
29005 * benchtests/Makefile: New makefile for benchmark tests.
29006 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29007 programs.
29008 * benchtests/exp-inputs: New input file for EXP function.
29009 * benchtests/pow-inputs: New input file for POW function.
29010 * scripts/bench.pl: New script to generate source files for
29011 benchmark programs.
29012
29013 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29014
29015 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29016 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29017 computations on mantissa. Use macros for rounding and
29018 division.
29019 (denorm): Likewise.
29020 (__dbl_mp): Likewise.
29021 (add_magnitudes): Likewise.
29022 (sub_magnitudes): Likewise.
29023 (__mul): Likewise.
29024 (__sqr): Likewise.
29025 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29026 powers of two in terms of TWOPOW macro.
29027 (mp_no): Make type of mantissa as MANTISSA_T.
29028 [!RADIXI]: Define RADIXI.
29029 [!TWO52]: Define TWO52.
29030 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29031
29032 * manual/nptl.texi (cindex): Modify threads to pthreads.
29033
29034 2013-03-15 Joseph Myers <joseph@codesourcery.com>
29035
29036 * sysdeps/x86_64/preconfigure: Regenerated.
29037
29038 2013-03-14 Joseph Myers <joseph@codesourcery.com>
29039
29040 [BZ #14155]
29041 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29042 0x1p28 and above.
29043 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29044 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29045 0x1p28 and above.
29046 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29047 * math/libm-test.inc (j0_test): Do not allow one spurious
29048 underflow exception.
29049 (y1_test): Likewise.
29050
29051 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29052
29053 * manual/Makefile (chapters): Add nptl.
29054 * manual/debug.texi (Debugging Support): Add link to Threads
29055 chapter.
29056 * manual/nptl.texi: New file.
29057
29058 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29059
29060 2013-03-14 Petr Baudis <pasky@ucw.cz>
29061
29062 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29063 for non-NULL pointer before the memory validity test. Pointed
29064 out by Holger Brunck <holger.brunck@keymile.com>.
29065
29066 2013-03-13 Andreas Schwab <schwab@suse.de>
29067
29068 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29069 instead of .os.
29070
29071 2013-03-13 Joseph Myers <joseph@codesourcery.com>
29072
29073 * timezone/zic.c: Update from tzcode 2013b.
29074
29075 2013-03-12 Carlos O'Donell <carlos@redhat.com>
29076
29077 * manual/install.texi (Configuring and compiling):
29078 Mention i686 and i586.
29079 * INSTALL: Regenerate.
29080
29081 2013-03-12 Roland McGrath <roland@hack.frob.com>
29082
29083 * sysdeps/init_array/elf-init.c: New file.
29084 * csu/elf-init.c
29085 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29086 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29087
29088 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29089 __gmon_start__ as global, but as static with a .preinit_array pointer.
29090 * sysdeps/init_array/gmon-start.c: New file. Use that.
29091 * sysdeps/init_array/crti.S: New file, empty except for comments.
29092 * sysdeps/init_array/crtn.S: Likewise.
29093
29094 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
29095
29096 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29097 definining bcopy.
29098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29099 Remove Prefer_SSE_for_memop.
29100 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29101 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29102 HAS_PREFER_SSE_FOR_MEMOP.
29103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29104 memset-x86-64.
29105 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29106 Remove bzero, memset ifunc support.
29107 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29108 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29109 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29110 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29111
29112 2013-03-11 Andreas Schwab <schwab@suse.de>
29113
29114 [BZ #15234]
29115 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29116 by SHLIB_COMPAT.
29117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29118 (GLIBC_2.16): Remove pthread_atfork.
29119
29120 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29121
29122 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29123 (ptestcases.h): Likewise.
29124
29125 2013-03-08 Roland McGrath <roland@hack.frob.com>
29126
29127 * Makeconfig ($(common-objpfx)config.status): Depend on
29128 sysdeps/*/preconfigure{,.in} too.
29129
29130 2013-03-08 Joseph Myers <joseph@codesourcery.com>
29131
29132 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29133 (__free_hook): Use void * instead of __malloc_ptr_t.
29134 (__malloc_hook): Likewise.
29135 (__realloc_hook): Likewise.
29136 (__memalign_hook): Likewise.
29137 (__after_morecore_hook): Likewise.
29138 * malloc/arena.c (save_malloc_hook): Likewise.
29139 (save_free_hook): Likewise.
29140 * malloc/hooks.c (malloc_hook_ini): Likewise.
29141 (realloc_hook_ini): Likewise.
29142 (memalign_hook_ini): Likewise.
29143 * malloc/malloc.c (malloc_hook_ini): Likewise.
29144 (realloc_hook_ini): Likewise.
29145 (memalign_hook_ini): Likewise.
29146 (__free_hook): Likewise.
29147 (__malloc_hook): Likewise.
29148 (__realloc_hook): Likewise.
29149 (__memalign_hook): Likewise.
29150 (__libc_malloc): Likewise.
29151 (__libc_free): Likewise.
29152 (__libc_realloc): Likewise.
29153 (__libc_memalign): Likewise.
29154 (__libc_valloc): Likewise.
29155 (__libc_pvalloc): Likewise.
29156 (__libc_calloc): Likewise.
29157 (__posix_memalign): Likewise.
29158 * malloc/morecore.c (__sbrk): Likewise.
29159 (__default_morecore): Likewise.
29160
29161 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29162
29163 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29164 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29165 __malloc_ptrdiff_t.
29166
29167 * malloc/malloc.h (__malloc_size_t): Remove macro.
29168 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29169 __malloc_size_t.
29170 (old_memalign_hook): Likewise.
29171 (old_realloc_hook): Likewise.
29172 (struct hdr): Likewise.
29173 (flood): Likewise.
29174 (mallochook): Likewise.
29175 (memalignhook): Likewise.
29176 (reallochook): Likewise.
29177 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29178 (tr_old_realloc_hook): Likewise.
29179 (tr_old_memalign_hook): Likewise.
29180 (tr_mallochook): Likewise.
29181 (tr_reallochook): Likewise.
29182 (tr_memalignhook): Likewise.
29183
29184 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29185
29186 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29187 default_ldbl_pack and using as default implementation.
29188 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29189 implementation.
29190 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29191 redundant definition.
29192 (ldbl_insert_mantissa): Likewise.
29193 (ldbl_canonicalize): Likewise.
29194 (ldbl_nearbyint): Likewise.
29195 (ldbl_pack): Rename to ldbl_pack_ppc.
29196 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29197 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29198 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29199
29200 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29201
29202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29203 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29204 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29205 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29207 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29208 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29209 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29210
29211 2013-03-07 Andreas Jaeger <aj@suse.de>
29212
29213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29214 bits/mman-linux.h.
29215
29216 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29217
29218 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29219 Include mpa.h and declare __MPEXP.
29220 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29221 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29222 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29223 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29224 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29225 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29226 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29227
29228 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29229 (__slowpow): Use long double EXPL and LOGL functions to
29230 compute POW.
29231 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29232 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29233 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29234 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29235 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29236 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29237
29238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29239 intermediate variable to calculate exponent.
29240 (__sqr): Likewise.
29241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29242 Likewise.
29243 (__sqr): Likewise.
29244
29245 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29246 [!NO__SQR]: Define __sqr.
29247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29248 and NO__SQR. Remove all code except __mul and __sqr. Include
29249 sysdeps/ieee754/dbl-64/mpa.c.
29250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29251
29252 [BZ #12723]
29253 * posix/Makefile (tests): Add tst-pathconf.
29254 * posix/tst-pathconf.c: New test case.
29255 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29256 _PC_PIPE_BUF.
29257 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29258
29259 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
29260
29261 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29262
29263 2013-03-06 Andreas Jaeger <aj@suse.de>
29264
29265 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29266 definition via __MAP_ANONYMOUS.
29267
29268 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29269 it's not part of Linux headers.
29270
29271 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29272 (MAP_HUGE_MASK): Define.
29273
29274 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29275 Define.
29276 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29277 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29278 Define.
29279 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29280 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29281 Define.
29282 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29283 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29284 Define.
29285 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29286
29287 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29288 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29289 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29290 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29291 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29292 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29293
29294 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29295 Handle f2fs.
29296
29297 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29298 Handle f2fs and efivarfs.
29299
29300 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29301 f2fs.
29302
29303 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29304 (EFIVARFS_MAGIC): Add.
29305 (F2FS_LINK_MAX): Add.
29306
29307 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29308
29309 * stdio-common/vfprintf.c: Replace __builtin_expect with
29310 __glibc_unlikely.
29311
29312 2013-03-06 Joseph Myers <joseph@codesourcery.com>
29313
29314 [BZ #13550]
29315 * sysdeps/generic/bp-sym.h: Remove file.
29316 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29317 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29318 <bp-sym.h> and <bp-asm.h>.
29319 (__longjmp): Don't use BP_SYM.
29320 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29321 and <bp-asm.h>.
29322 (memcpy): Don't use BP_SYM.
29323 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29324 <bp-sym.h> and <bp-asm.h>.
29325 (memcpy): Don't use BP_SYM.
29326 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29327 <bp-asm.h>.
29328 (memcpy): Don't use BP_SYM.
29329 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29330 <bp-asm.h>.
29331 (memset): Don't use BP_SYM.
29332 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29333 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29334 (__bzero): Don't use BP_SYM.
29335 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29336 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29337 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29338 <bp-sym.h> and <bp-asm.h>.
29339 (memcmp): Don't use BP_SYM. Remove comment about bounded
29340 pointers.
29341 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29342 <bp-sym.h> and <bp-asm.h>.
29343 (memcpy): Don't use BP_SYM.
29344 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29345 <bp-sym.h> and <bp-asm.h>.
29346 (memset): Don't use BP_SYM.
29347 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29348 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29349 (__bzero): Don't use BP_SYM.
29350 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29351 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29352 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29353 <bp-sym.h> and <bp-asm.h>.
29354 (strncmp): Don't use BP_SYM. Remove comment about bounded
29355 pointers.
29356 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29357 <bp-sym.h> and <bp-asm.h>.
29358 (memcpy): Don't use BP_SYM.
29359 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29360 <bp-sym.h> and <bp-asm.h>.
29361 (memset): Don't use BP_SYM.
29362 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29363 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29364 (__bzero): Don't use BP_SYM.
29365 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29366 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29367 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29368 <bp-sym.h> and <bp-asm.h>.
29369 (__memchr): Don't use BP_SYM.
29370 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29371 <bp-sym.h> and <bp-asm.h>.
29372 (memcmp): Don't use BP_SYM. Remove comment about bounded
29373 pointers.
29374 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29375 <bp-sym.h> and <bp-asm.h>.
29376 (memcpy): Don't use BP_SYM.
29377 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29378 <bp-sym.h> and <bp-asm.h>.
29379 (__mempcpy): Don't use BP_SYM.
29380 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29381 <bp-sym.h> and <bp-asm.h>.
29382 (__memrchr): Don't use BP_SYM.
29383 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29384 <bp-sym.h> and <bp-asm.h>.
29385 (memset): Don't use BP_SYM.
29386 (__bzero): Likewise.
29387 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29388 <bp-sym.h> and <bp-asm.h>.
29389 (__rawmemchr): Don't use BP_SYM.
29390 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29391 <bp-sym.h> and <bp-asm.h>.
29392 (__STRCMP): Don't use BP_SYM.
29393 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29394 <bp-sym.h> and <bp-asm.h>.
29395 (strchr): Don't use BP_SYM.
29396 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29397 <bp-sym.h> and <bp-asm.h>.
29398 (__strchrnul): Don't use BP_SYM.
29399 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29400 <bp-sym.h> and <bp-asm.h>.
29401 (strlen): Don't use BP_SYM.
29402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29403 <bp-sym.h> and <bp-asm.h>.
29404 (strncmp): Don't use BP_SYM. Remove comment about bounded
29405 pointers.
29406 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29407 <bp-sym.h> and <bp-asm.h>.
29408 (__strnlen): Don't use BP_SYM.
29409 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29410 <bp-sym.h> and <bp-asm.h>.
29411 (__GI__setjmp): Don't use BP_SYM.
29412 (_setjmp): Likewise.
29413 (__sigsetjmp): Likewise.
29414 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29415 (L(start_addresses)): Don't use BP_SYM.
29416 (_start): Likewise.
29417 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29418 <bp-asm.h>.
29419 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29420 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29421 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29422 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29423 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29424 <bp-asm.h>.
29425 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29426 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29427 about bounded pointers.
29428 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29429 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29430 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29431 <bp-asm.h>.
29432 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29433 about bounded pointers. Remove GKM FIXME comments.
29434 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29435 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29436 <bp-asm.h>.
29437 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29438 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29439 Remove GKM FIXME comments.
29440 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29441 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29442 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29443 <bp-asm.h>.
29444 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29445 about bounded pointers. Remove GKM FIXME comment.
29446 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29447 and <bp-asm.h>.
29448 (strncmp): Don't use BP_SYM. Remove comment about bounded
29449 pointers.
29450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29451 <bp-sym.h> and <bp-asm.h>.
29452 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29454 <bp-sym.h> and <bp-asm.h>.
29455 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29456 comment.
29457
29458 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29459
29460 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29461 call free(NULL).
29462
29463 2013-03-05 David S. Miller <davem@davemloft.net>
29464
29465 * po/es.po: Update from translation team.
29466
29467 2013-03-05 Andreas Jaeger <aj@suse.de>
29468
29469 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29470 <bits/mman-linux.h>.
29471 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29472 is fine.
29473 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29474 <bits/mman-linux.h> to end of file.
29475 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29476 is fine.
29477 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29478 <bits/mman-linux.h> to end of file.
29479 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29480 is fine.
29481 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29482 <bits/mman-linux.h> to end of file.
29483
29484 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29485 (MCL_CURRENT, MCL_FUTURE): Define here.
29486
29487 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29488
29489 [BZ #15232]
29490 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29491 attribute_hidden.
29492 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29493
29494 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29495
29496 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29497 fourth parameter needed for rt_sigprocmask syscall.
29498 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29499 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29500 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29501 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29502 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29503 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29504
29505 2013-03-04 Joseph Myers <joseph@codesourcery.com>
29506
29507 [BZ #13550]
29508 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29509 comment about bounded pointers.
29510 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29511 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29512
29513 2013-03-04 Andreas Jaeger <aj@suse.de>
29514
29515 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29516 common definitions.
29517
29518 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29519 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29520 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29521 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29522 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29523 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29524
29525 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29526
29527 [BZ #15055]
29528 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29529 __ieee754_sqrl instead of __sqrl.
29530
29531 2013-03-01 Joseph Myers <joseph@codesourcery.com>
29532
29533 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29534 * sysdeps/powerpc/fpu_control.h: ... here.
29535 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29536 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29537 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29538 * sysdeps/powerpc/bits/mathinline.h: ... here.
29539
29540 2013-03-01 Roland McGrath <roland@hack.frob.com>
29541
29542 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29543 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29544 to just [NEED_DL_SYSINFO_DSO].
29545 * elf/dl-support.c: Likewise.
29546 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29547 * elf/rtld.c (dl_main): Likewise.
29548 * elf/setup-vdso.h (setup_vdso): Likewise.
29549 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29550 * sysdeps/unix/sysv/linux/dl-sysdep.c
29551 (_dl_discover_osversion): Likewise.
29552
29553 2013-03-01 Carlos O'Donell <carlos@redhat.com>
29554
29555 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29556 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29557
29558 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29559
29560 * NEWS: Mention libm performance improvements and non-x86 PI
29561 futex support.
29562
29563 * csu/libc-start.c (__pthread_initialize_minimal): Change
29564 function arguments.
29565 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29566
29567 2013-02-28 Joseph Myers <joseph@codesourcery.com>
29568
29569 [BZ #13550]
29570 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29571 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29572 <bp-sym.h> and <bp-asm.h>.
29573 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29574 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29575 and <bp-asm.h>.
29576 (memcpy): Don't use BP_SYM.
29577 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29578 <bp-asm.h>.
29579 (__mpn_add_n): Don't use BP_SYM.
29580 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29581 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29582 and <bp-asm.h>.
29583 (__mpn_addmul_1): Don't use BP_SYM.
29584 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29585 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29586 <bp-sym.h>.
29587 (_setjmp): Don't use BP_SYM.
29588 (__novmx_setjmp): Likewise.
29589 (__GI__setjmp): Likewise.
29590 (__vmx_setjmp): Likewise.
29591 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29592 <bp-sym.h>.
29593 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29594 (__bzero): Don't use BP_SYM.
29595 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29596 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29597 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29598 <bp-sym.h> and <bp-asm.h>.
29599 (memcpy): Don't use BP_SYM.
29600 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29601 <bp-sym.h> and <bp-asm.h>.
29602 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29603 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29604 <bp-sym.h> and <bp-asm.h>.
29605 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29606 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29607 <bp-asm.h>.
29608 (__mpn_lshift): Don't use BP_SYM.
29609 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29610 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29611 <bp-asm.h>.
29612 (memset): Don't use BP_SYM.
29613 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29614 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29615 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29616 <bp-asm.h>.
29617 (__mpn_mul_1): Don't use BP_SYM.
29618 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29619 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29620 <bp-sym.h> and <bp-asm.h>.
29621 (memcmp): Don't use BP_SYM.
29622 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29623 <bp-sym.h> and <bp-asm.h>.
29624 (memcpy): Don't use BP_SYM.
29625 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29626 <bp-sym.h> and <bp-asm.h>.
29627 (memset): Don't use BP_SYM.
29628 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29629 <bp-sym.h> and <bp-asm.h>.
29630 (strncmp): Don't use BP_SYM.
29631 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29632 <bp-sym.h> and <bp-asm.h>.
29633 (memcpy): Don't use BP_SYM.
29634 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29635 <bp-sym.h> and <bp-asm.h>.
29636 (memset): Don't use BP_SYM.
29637 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29638 <bp-sym.h> and <bp-asm.h>.
29639 (__memchr): Don't use BP_SYM.
29640 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29641 <bp-sym.h> and <bp-asm.h>.
29642 (memcmp): Don't use BP_SYM.
29643 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29644 <bp-sym.h> and <bp-asm.h>.
29645 (memcpy): Don't use BP_SYM.
29646 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29647 <bp-sym.h> and <bp-asm.h>.
29648 (__mempcpy): Don't use BP_SYM.
29649 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29650 <bp-sym.h> and <bp-asm.h>.
29651 (__memrchr): Don't use BP_SYM.
29652 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29653 <bp-sym.h> and <bp-asm.h>.
29654 (memset): Don't use BP_SYM.
29655 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29656 <bp-sym.h> and <bp-asm.h>.
29657 (__rawmemchr): Don't use BP_SYM.
29658 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29659 <bp-sym.h> and <bp-asm.h>.
29660 (__STRCMP): Don't use BP_SYM.
29661 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29662 <bp-sym.h> and <bp-asm.h>.
29663 (strchr): Don't use BP_SYM.
29664 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29665 <bp-sym.h> and <bp-asm.h>.
29666 (__strchrnul): Don't use BP_SYM.
29667 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29668 <bp-sym.h> and <bp-asm.h>.
29669 (strlen): Don't use BP_SYM.
29670 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29671 <bp-sym.h> and <bp-asm.h>.
29672 (strncmp): Don't use BP_SYM.
29673 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29674 <bp-sym.h> and <bp-asm.h>.
29675 (__strnlen): Don't use BP_SYM.
29676 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29677 <bp-asm.h>.
29678 (__mpn_rshift): Don't use BP_SYM.
29679 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29680 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29681 <bp-sym.h> and <bp-asm.h>.
29682 (__sigsetjmp): Don't use BP_SYM.
29683 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29684 (L(start_addresses)): Don't use BP_SYM.
29685 (_start): Likewise.
29686 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29687 <bp-asm.h>.
29688 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29689 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29690 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29691 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29692 <bp-asm.h>.
29693 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29694 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29695 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29696 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29697 <bp-asm.h>.
29698 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29699 comments.
29700 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29701 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29702 <bp-asm.h>.
29703 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29704 FIXME comments.
29705 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29706 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29707 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29708 <bp-asm.h>.
29709 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29710 comment.
29711 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29712 and <bp-asm.h>.
29713 (strncmp): Don't use BP_SYM,
29714 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29715 <bp-asm.h>.
29716 (__mpn_sub_n): Don't use BP_SYM.
29717 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29718 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29719 and <bp-asm.h>.
29720 (__mpn_submul_1): Don't use BP_SYM.
29721 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29723 <bp-sym.h> and <bp-asm.h>.
29724 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29726 <bp-sym.h> and <bp-asm.h>.
29727 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29728 comment.
29729
29730 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29731
29732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29733 Use ZK to minimize writes to Z.
29734 (sub_magnitudes): Simplify code a bit.
29735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29736 Use ZK to minimize writes to Z.
29737 (sub_magnitudes): Simplify code a bit.
29738
29739 2013-02-27 Roland McGrath <roland@hack.frob.com>
29740
29741 * csu/gmon-start.c: Add special exception to license text.
29742
29743 2013-02-27 Richard Henderson <rth@redhat.com>
29744
29745 * scripts/config.guess: Update from config.git.
29746 * scripts/config.sub: Likewise.
29747
29748 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29749
29750 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29751
29752 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29753
29754 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29755
29756 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29757
29758 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29759
29760 2013-02-26 Roland McGrath <roland@hack.frob.com>
29761
29762 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29763 [$(build-shared = yes].
29764
29765 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29766
29767 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29768 (__mul): Reduce iterations for calculating mantissa.
29769
29770 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29771 MPTWO.
29772 (__mpranred): Likewise.
29773
29774 [BZ #15160]
29775 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29776 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29777
29778 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29779
29780 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29781 Define __attribute__.
29782
29783 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29784
29785 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29786 unused.
29787 * posix/regex_internal.h (__attribute): Remove.
29788 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29789 (re_string_context_at): Likewise.
29790 (bitset_not): Use __attribute__ and mark function as possibly
29791 unused.
29792 (bitset_merge): Likewise.
29793 (bitset_mask): Likewise.
29794 (re_string_char_size_at): Likewise.
29795 (re_string_wchar_at): Likewise.
29796 (re_string_elem_size_at): Likewise.
29797
29798 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29799
29800 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29801 code.
29802 (cc32): Likewise.
29803
29804 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29805 (__acr): Likewise.
29806 (__cpy): Likewise.
29807 (norm): Likewise.
29808 (denorm): Likewise.
29809 (__dbl_mp): Likewise.
29810 (add_magnitudes): Likewise.
29811 (sub_magnitudes): Likewise.
29812 (__mul): Likewise.
29813 (__inv): Likewise.
29814
29815 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29816 style.
29817
29818 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29819 style.
29820
29821 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29822 code.
29823
29824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29825 up changes with default code.
29826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29827 Likewise.
29828
29829 2013-02-24 Allan McRae <allan@archlinux.org>
29830
29831 * manual/socket.texi (The Internet Namespace): Order menu items
29832 to match that in the file.
29833
29834 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29835 node listing of the info page menu.
29836
29837 2013-02-21 Joseph Myers <joseph@codesourcery.com>
29838
29839 [BZ #13550]
29840 * sysdeps/i386/bp-asm.h: Remove file.
29841 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29842 (PARMS): Do not use macros from bp-asm.h.
29843 (S1): Likewise.
29844 (S2): Likewise.
29845 (SIZE): Likewise.
29846 (__mpn_add_n): Do not use BP_SYM
29847 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29848 "bp-asm.h".
29849 (PARMS): Do not use macros from bp-asm.h.
29850 (S1): Likewise.
29851 (SIZE): Likewise.
29852 (__mpn_addmul_1): Do not use BP_SYM
29853 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29854 "bp-asm.h".
29855 (PARMS): Do not use macros from bp-asm.h.
29856 (SIGMSK): Likewise.
29857 (_setjmp): Likewise. Do not use BP_SYM.
29858 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29859 "bp-asm.h".
29860 (PARMS): Do not use macros from bp-asm.h.
29861 (SIGMSK): Likewise.
29862 (setjmp): Likewise. Do not use BP_SYM.
29863 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29864 "bp-asm.h".
29865 (PARMS): Do not use macros from bp-asm.h.
29866 (__frexp): Do not use BP_SYM.
29867 (frexp): Likewise.
29868 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29869 "bp-asm.h".
29870 (PARMS): Do not use macros from bp-asm.h.
29871 (__frexpf): Do not use BP_SYM.
29872 (frexpf): Likewise.
29873 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29874 "bp-asm.h".
29875 (PARMS): Do not use macros from bp-asm.h.
29876 (__frexpl): Do not use BP_SYM.
29877 (frexpl): Likewise.
29878 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29879 "bp-asm.h".
29880 (PARMS): Do not use macros from bp-asm.h.
29881 (__remquo): Do not use BP_SYM.
29882 (remquo): Likewise.
29883 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29884 "bp-asm.h".
29885 (PARMS): Do not use macros from bp-asm.h.
29886 (__remquof): Do not use BP_SYM.
29887 (remquof): Likewise.
29888 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29889 "bp-asm.h".
29890 (PARMS): Do not use macros from bp-asm.h.
29891 (__remquol): Do not use BP_SYM.
29892 (remquol): Likewise.
29893 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29894 "bp-asm.h".
29895 (PARMS): Do not use macros from bp-asm.h.
29896 (DEST): Likewise.
29897 (SRC): Likewise.
29898 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29899 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29900 "bp-asm.h".
29901 (PARMS): Do not use macros from bp-asm.h.
29902 (strlen): Do not use BP_SYM.
29903 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29904 "bp-asm.h".
29905 (PARMS): Do not use macros from bp-asm.h.
29906 (S1): Likewise.
29907 (S2): Likewise.
29908 (SIZE): Likewise.
29909 (__mpn_add_n): Do not use BP_SYM.
29910 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29911 "bp-asm.h".
29912 (PARMS): Do not use macros from bp-asm.h.
29913 (S1): Likewise.
29914 (SIZE): Likewise.
29915 (__mpn_addmul_1): Do not use BP_SYM.
29916 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29917 weak_alias.
29918 (bzero): Likewise.
29919 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29920 "bp-asm.h".
29921 (PARMS): Do not use macros from bp-asm.h.
29922 (S): Likewise.
29923 (SIZE): Likewise.
29924 (__mpn_lshift): Do not use BP_SYM.
29925 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29926 "bp-asm.h".
29927 (PARMS): Do not use macros from bp-asm.h.
29928 (DEST): Likewise.
29929 (SRC): Likewise.
29930 (LEN): Likewise.
29931 (memcpy): Likewise. Do not use BP_SYM.
29932 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29933 libc_hidden_def and weak_alias.
29934 (mempcpy): Do not use BP_SYM in weak_alias.
29935 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29936 "bp-asm.h".
29937 (PARMS): Do not use macros from bp-asm.h.
29938 (DEST): Likewise.
29939 (LEN): Likewise.
29940 [!BZERO_P] (CHR): Likewise.
29941 (memset): Likewise. Do not use BP_SYM.
29942 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29943 "bp-asm.h".
29944 (PARMS): Do not use macros from bp-asm.h.
29945 (S1): Likewise.
29946 (SIZE): Likewise.
29947 (__mpn_mul_1): Do not use BP_SYM.
29948 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29949 "bp-asm.h".
29950 (PARMS): Do not use macros from bp-asm.h.
29951 (S): Likewise.
29952 (SIZE): Likewise.
29953 (__mpn_rshift): Do not use BP_SYM.
29954 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29955 "bp-asm.h".
29956 (PARMS): Do not use macros from bp-asm.h.
29957 (STR): Likewise.
29958 (CHR): Likewise.
29959 (strchr): Likewise. Do not use BP_SYM.
29960 (index): Do not use BP_SYM in weak_alias.
29961 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29962 "bp-asm.h".
29963 (PARMS): Do not use macros from bp-asm.h.
29964 (DEST): Likewise.
29965 (SRC): Likewise.
29966 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29967 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29968 "bp-asm.h".
29969 (PARMS): Do not use macros from bp-asm.h.
29970 (strlen): Do not use BP_SYM.
29971 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29972 "bp-asm.h".
29973 (PARMS): Do not use macros from bp-asm.h.
29974 (S1): Likewise.
29975 (S2): Likewise.
29976 (SIZE): Likewise.
29977 (__mpn_sub_n): Do not use BP_SYM.
29978 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29979 "bp-asm.h".
29980 (PARMS): Do not use macros from bp-asm.h.
29981 (S1): Likewise.
29982 (SIZE): Likewise.
29983 (__mpn_submul_1): Do not use BP_SYM.
29984 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29985 "bp-asm.h".
29986 (PARMS): Do not use macros from bp-asm.h.
29987 (S1): Likewise.
29988 (S2): Likewise.
29989 (SIZE): Likewise.
29990 (__mpn_add_n): Do not use BP_SYM.
29991 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29992 weak_alias.
29993 (bzero): Likewise.
29994 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29995 "bp-asm.h".
29996 (PARMS): Do not use macros from bp-asm.h.
29997 (BLK2): Likewise.
29998 (LEN): Likewise.
29999 (memcmp): Do not use BP_SYM.
30000 (bcmp): Do not use BP_SYM in weak_alias.
30001 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30002 "bp-asm.h".
30003 (PARMS): Do not use macros from bp-asm.h.
30004 (DEST): Likewise.
30005 (SRC): Likewise.
30006 (LEN): Likewise.
30007 (memcpy): Likewise. Do not use BP_SYM.
30008 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30009 "bp-asm.h".
30010 (PARMS): Do not use macros from bp-asm.h.
30011 (DEST): Likewise.
30012 (SRC): Likewise.
30013 (LEN): Likewise.
30014 (memmove): Likewise. Do not use BP_SYM.
30015 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30016 "bp-asm.h".
30017 (PARMS): Do not use macros from bp-asm.h.
30018 (DEST): Likewise.
30019 (SRC): Likewise.
30020 (LEN): Likewise.
30021 (__mempcpy): Likewise. Do not use BP_SYM.
30022 (mempcpy): Do not use BP_SYM in weak_alias.
30023 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30024 "bp-asm.h".
30025 (PARMS): Do not use macros from bp-asm.h.
30026 (DEST): Likewise.
30027 (LEN): Likewise.
30028 [!BZERO_P] (CHR): Likewise.
30029 (memset): Likewise. Do not use BP_SYM.
30030 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30031 "bp-asm.h".
30032 (PARMS): Do not use macros from bp-asm.h.
30033 (STR2): Likewise.
30034 (strcmp): Do not use BP_SYM.
30035 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30036 "bp-asm.h".
30037 (PARMS): Do not use macros from bp-asm.h.
30038 (STR): Likewise.
30039 (DELIM): Likewise.
30040 [USE_AS_STRTOK_R] (SAVE): Likewise.
30041 (FUNCTION): Likewise. Do not use BP_SYM.
30042 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30043 aliases.
30044 (strtok_r): Likewise.
30045 (__GI___strtok_r): Likewise.
30046 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30047 (PARMS): Do not use macros from bp-asm.h.
30048 (S): Likewise.
30049 (SIZE): Likewise.
30050 (__mpn_lshift): Do not use BP_SYM.
30051 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30052 (PARMS): Do not use macros from bp-asm.h.
30053 (STR): Likewise.
30054 (CHR): Likewise.
30055 (__memchr): Do not use BP_SYM.
30056 (memchr): Do not use BP_SYM in weak_alias.
30057 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30058 (PARMS): Do not use macros from bp-asm.h.
30059 (BLK2): Likewise.
30060 (LEN): Likewise.
30061 (memcmp): Do not use BP_SYM.
30062 (bcmp): Do not use BP_SYM in weak_alias.
30063 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30064 (PARMS): Do not use macros from bp-asm.h.
30065 (S1): Likewise.
30066 (SIZE): Likewise.
30067 (__mpn_mul_1): Do not use BP_SYM.
30068 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30069 "bp-asm.h".
30070 (PARMS): Do not use macros from bp-asm.h.
30071 (STR): Likewise.
30072 (CHR): Likewise.
30073 (__rawmemchr): Do not use BP_SYM.
30074 (rawmemchr): Do not use BP_SYM in weak_alias.
30075 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30076 (PARMS): Do not use macros from bp-asm.h.
30077 (S): Likewise.
30078 (SIZE): Likewise.
30079 (__mpn_rshift): Do not use BP_SYM.
30080 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30081 (PARMS): Do not use macros from bp-asm.h.
30082 (SIGMSK): Likewise.
30083 (__sigsetjmp): Likewise. Do not use BP_SYM.
30084 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30085 (_start): Do not use BP_SYM.
30086 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30087 (PARMS): Do not use macros from bp-asm.h.
30088 (DEST): Likewise.
30089 (SRC): Likewise.
30090 (__stpcpy): Likewise. Do not use BP_SYM.
30091 (stpcpy): Do not use BP_SYM in weak_alias.
30092 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30093 "bp-asm.h".
30094 (PARMS): Do not use macros from bp-asm.h.
30095 (DEST): Likewise.
30096 (SRC): Likewise.
30097 (LEN): Likewise.
30098 (__stpncpy): Likewise. Do not use BP_SYM.
30099 (stpncpy): Do not use BP_SYM in weak_alias.
30100 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30101 (PARMS): Do not use macros from bp-asm.h.
30102 (STR): Likewise.
30103 (CHR): Likewise.
30104 (strchr): Likewise. Do not use BP_SYM.
30105 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30106 "bp-asm.h".
30107 (PARMS): Do not use macros from bp-asm.h.
30108 (STR): Likewise.
30109 (CHR): Likewise.
30110 (__strchrnul): Likewise. Do not use BP_SYM.
30111 (strchrnul): Do not use BP_SYM in weak_alias.
30112 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30113 "bp-asm.h".
30114 (PARMS): Do not use macros from bp-asm.h.
30115 (STOP): Likewise.
30116 (strcspn): Do not use BP_SYM.
30117 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30118 "bp-asm.h".
30119 (PARMS): Do not use macros from bp-asm.h.
30120 (STR): Likewise.
30121 (STOP): Likewise.
30122 (strpbrk): Likewise. Do not use BP_SYM.
30123 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30124 "bp-asm.h".
30125 (PARMS): Do not use macros from bp-asm.h.
30126 (STR): Likewise.
30127 (CHR): Likewise.
30128 (strrchr): Likewise. Do not use BP_SYM.
30129 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30130 (PARMS): Do not use macros from bp-asm.h.
30131 (SKIP): Likewise.
30132 (strspn): Do not use BP_SYM.
30133 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30134 (PARMS): Do not use macros from bp-asm.h.
30135 (STR): Likewise.
30136 (DELIM): Likewise.
30137 (SAVE): Likewise.
30138 (FUNCTION): Likewise. Do not use BP_SYM.
30139 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30140 aliases.
30141 (strtok_r): Likewise.
30142 (__GI___strtok_r): Likewise.
30143 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30144 (PARMS): Do not use macros from bp-asm.h.
30145 (S1): Likewise.
30146 (S2): Likewise.
30147 (SIZE): Likewise.
30148 (__mpn_sub_n): Do not use BP_SYM.
30149 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30150 "bp-asm.h".
30151 (PARMS): Do not use macros from bp-asm.h.
30152 (S1): Likewise.
30153 (SIZE): Likewise.
30154 (__mpn_submul_1): Do not use BP_SYM.
30155 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30156 <bp-sym.h>.
30157 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30158 and <bp-asm.h>.
30159 (PARMS): Do not use macros from bp-asm.h.
30160 (FLAGS): Likewise.
30161 (PTID): Likewise.
30162 (TLS): Likewise.
30163 (CTID): Likewise.
30164 (__clone): Do not use BP_SYM.
30165 (clone): Do not use BP_SYM in weak_alias.
30166 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30167 and <bp-asm.h>.
30168 (PARMS): Do not use macros from bp-asm.h.
30169 (LEN): Likewise.
30170 (__mmap64): Do not use BP_SYM.
30171 (mmap64): Do not use BP_SYM in weak_alias.
30172 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30173 <bp-sym.h> and <bp-asm.h>.
30174 (PARMS): Do not use macros from bp-asm.h.
30175 (__posix_fadvise64_l64): Do not use BP_SYM.
30176 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30177 (PARMS): Do not use macros from bp-asm.h.
30178 (NSOPS): Likewise.
30179 (semtimedop): Do not use BP_SYM.
30180 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30181 and <bp-asm.h>.
30182
30183 2013-02-21 Allan McRae <allan@archlinux.org>
30184
30185 * manual/message.texi (Charset conversion in gettext):
30186 Move @end statement to beginning of line.
30187
30188 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30189
30190 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30191 static.
30192 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30193 Likewise.
30194
30195 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30196 (denorm): Likewise.
30197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30199
30200 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30201
30202 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30203 tail-call to the resolved function if pltexit isn't needed.
30204
30205 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30206
30207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30208 or Y being zero as being unlikely.
30209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30210 Likewise.
30211
30212 2013-02-20 Carlos O'Donell <carlos@redhat.com>
30213
30214 * manual/nss.texi (System Databases and Name Service Switch):
30215 Remove frobnicate @pxref.
30216
30217 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30218
30219 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30220 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30221
30222 2013-02-20 Petr Machata <pmachata@redhat.com>
30223
30224 * elf/elf.h (R_ARM_TARGET1): New macro.
30225 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30226 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30227 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30228 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30229 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30230 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30231 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30232 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30233 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30234 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30235 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30236 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30237 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30238 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30239 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30240 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30241 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30242 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30243 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30244 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30245 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30246 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30247 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30248 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30249 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30250 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30251 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30252 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30253 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30254 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30255 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30256 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30257 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30258 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30259 (R_ARM_THM_GOT_BREL12): Likewise.
30260 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30261 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30262 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30263 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30264 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30265 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30266 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30267 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30268 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30269
30270 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30271
30272 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30273 __attribute_used__ to __attribute__ ((unused)).
30274
30275 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30276
30277 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30278 powerpc mpa.c.
30279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30280 comment formatting.
30281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30282
30283 2013-02-19 Joseph Myers <joseph@codesourcery.com>
30284
30285 [BZ #13550]
30286 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30287 Remove macro.
30288 (ENTER): Remove both macro definitions.
30289 (LEAVE): Likewise.
30290 (CHECK_BOUNDS_LOW): Likewise.
30291 (CHECK_BOUNDS_HIGH): Likewise.
30292 (CHECK_BOUNDS_BOTH): Likewise.
30293 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30294 (RETURN_BOUNDED_POINTER): Likewise.
30295 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30296 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30297 (POP_ERRNO_LOCATION_RETURN): Likewise.
30298 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30299 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30300 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30301 macros.
30302 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30303 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30304 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30305 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30306 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30307 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30308 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30309 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30310 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30311 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30312 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30313 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30314 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30315 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30316 removed macros.
30317 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30318 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30319 macros.
30320 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30321 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30322 * sysdeps/i386/i586/memset.S (memset): Likewise.
30323 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30324 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30325 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30326 macros.
30327 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30328 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30329 Change uses of L(2) to L(out).
30330 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30331 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30332 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30333 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30334 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30335 removed macros.
30336 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30337 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30338 macros.
30339 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30340 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30341 (RETURN): Do not use macro LEAVE.
30342 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30343 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30344 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30345 * sysdeps/i386/i686/memset.S (memset): Likewise.
30346 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30347 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30348 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30349 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30350 Likewise.
30351 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30352 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30353 L(1_2) and L(1_3) into L(1).
30354 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30355 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30356 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30357 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30358 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30359 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30360 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30361 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30362 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30363 macros.
30364 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30365 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30366 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30367 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30368 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30369 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30370 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30371 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30372 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30373 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30374 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30375 * sysdeps/i386/strspn.S (strspn): Likewise.
30376 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30377 conditional code.
30378 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30379 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30380 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30381 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30382 L(1_3) into L(1_1).
30383 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30384 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30385 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30386 macros.
30387 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30388
30389 2013-02-19 Jakub Jelinek <jakub@redhat.com>
30390
30391 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30392 macro.
30393
30394 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30395
30396 * math/atest-exp.c (exp_mpn): Remove ROUND.
30397 * math/atest-exp2.c (exp_mpn): Likewise.
30398 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30399
30400 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30401 * stdlib/tst-tls-atexit-lib.c: Likewise.
30402 * stdlib/tst-tls-atexit.c: Likewise.
30403
30404 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30405
30406 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30407 and __attribute_alloc_size__.
30408
30409 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30410
30411 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30412 __attribute_alloc_size__.
30413 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30414 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30415
30416 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30417
30418 * include/programs/xmalloc.h: New file.
30419 * catgets/gencat.c: Include it.
30420 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30421 * elf/pldd.c: Likewise.
30422 * iconv/iconv_charmap.c: Likewise.
30423 * iconv/iconvconfig.c: Likewise.
30424 * iconv/strtab.c: Likewise.
30425 * locale/programs/locale.c: Likewise.
30426 * locale/programs/localedef.h: Likewise.
30427 * locale/programs/simple-hash.c: Likewise.
30428 * nscd/nscd.h: Likewise.
30429 * nss/makedb.c: Likewise.
30430 * sysdeps/generic/ldconfig.h: Likewise.
30431
30432 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30433
30434 * Versions.def: Add GLIBC_2.18.
30435 * include/link.h (struct link_map): New member l_tls_dtor_count.
30436 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30437 (__call_tls_dtors): Likewise.
30438 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30439 __cxa_thread_atexit_impl.
30440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30441 Likewise.
30442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30443 Likewise.
30444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30445 Likewise.
30446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30447 Likewise.
30448 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30450 Likewise.
30451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30452 Likewise.
30453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30455 Likewise.
30456 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30457 (tests): Add test case tst-tls-atexit.
30458 (modules-names): Add shared library for tst-tls-atexit.
30459 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30460 (GLIBC_PRIVATE): Add __call_tls_dtors.
30461 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30462 for libstdc++.
30463 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30464 * stdlib/tst-tls-atexit.c: New test case.
30465 * stdlib/tst-tls-atexit-lib.c: New test case.
30466
30467 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30468
30469 * elf/Versions (ld): Add _dl_find_dso_for_object.
30470 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30471 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30472 (dl_open_worker): Use _dl_find_dso_for_object.
30473 * elf/dl-sym.c (do_sym): Likewise.
30474 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30475
30476 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30477
30478 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30479 Syntactic changes only.
30480 (_dl_runtime_profile): Do a tail-call to the resolved function.
30481
30482 2013-02-17 Joseph Myers <joseph@codesourcery.com>
30483
30484 [BZ #13550]
30485 * sysdeps/x86_64/bp-asm.h: Remove file.
30486 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30487 <bp-sym.h> and <bp-asm.h>.
30488 (__clone): Do not use BP_SYM.
30489 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30490 <bp-sym.h> and <bp-asm.h>.
30491 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30492 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30493 "bp-asm.h".
30494 (_setjmp): Do not use BP_SYM.
30495 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30496 "bp-asm.h".
30497 (setjmp): Do not use BP_SYM.
30498 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30499 libc_hidden_def.
30500 (mempcpy): Do not use BP_SYM in weak_alias.
30501 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30502 "bp-asm.h".
30503 (strchr): Do not use BP_SYM.
30504 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30505 "bp-asm.h".
30506 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30507 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30508 (_start): Do not use BP_SYM.
30509 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30510 "bp-asm.h".
30511 (strcat): Do not use BP_SYM.
30512 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30513 "bp-asm.h".
30514 (STRCMP): Do not use BP_SYM.
30515 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30516 "bp-asm.h".
30517 (STRCPY): Do not use BP_SYM.
30518 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30519 "bp-asm.h".
30520 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30521 "bp-asm.h".
30522 (FUNCTION): Do not use BP_SYM.
30523 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30524 weak_alias.
30525 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30526
30527 2013-02-17 Andreas Jaeger <aj@suse.de>
30528
30529 * time/Versions: Sort entries.
30530 * string/Versions: Likewise.
30531 * resolv/Versions: Likewise.
30532 * posix/Versions: Likewise.
30533 * iconv/Versions: Likewise.
30534 * elf/Versions: Likewise.
30535 * wcsmbs/Versions: Likewise.
30536
30537 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30538
30539 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30540 loop termination condition.
30541
30542 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30543 variable to calculate EZ.
30544 (__sqr): Likewise.
30545
30546 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30547 the lower precision input.
30548
30549 2013-02-15 Joseph Myers <joseph@codesourcery.com>
30550
30551 [BZ #13550]
30552 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30553 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30554 (run-via-rtld-prefix): Do not handle %-bp tests.
30555 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30556 (all-object-suffixes): Remove .ob.
30557 (bppfx): Remove variable.
30558 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30559 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30560 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30561 [$(build-bounded) = yes] (libtype.ob): Likewise.
30562 * Makerules (elide-routines.ob): Remove variable.
30563 (do-tests-clean): Do not handle *-bp.out.
30564 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30565 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30566 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30567 (tests): Do not include $(tests-bp.out).
30568 (xtests): Do not include $(xtests-bp.out).
30569 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30570 [$(build-bounded) = yes] ($(addprefix
30571 $(objpfx),$(binaries-bounded))): Remove rule.
30572 ($(objpfx)%-bp.out): Remove rule.
30573 * config.make.in (build-bounded): Remove variable.
30574 * crypt/Makefile [$(build-bounded) = yes]
30575 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30576 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30577 append to variable.
30578 [$(build-bounded) = yes] (install-lib): Likewise.
30579 [$(build-bounded) = yes] (generated): Likewise.
30580 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30581 Remove rule.
30582 * intl/Makefile [$(build-bounded) = yes]
30583 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30584 * math/Makefile [$(build-bounded) = yes]
30585 ($(tests:%=$(objpfx)%-bp): Likewise.
30586 * misc/Makefile [$(build-bounded) = yes]
30587 ($(objpfx)tst-tsearch-bp): Likewise.
30588 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30589 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30590 Remove dependency.
30591 * string/Makefile (o-objects.ob): Remove variable.
30592 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30593 (CFLAGS-.ob): Remove variable.
30594 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30595 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30596 both definitions of variable.
30597 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30598 (ASFLAGS-.ob): Remove variable.
30599
30600 2013-02-14 Joseph Myers <joseph@codesourcery.com>
30601
30602 [BZ #13550]
30603 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30604 Remove __BOUNDED_POINTERS__ from condition.
30605 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30606 * string/bits/string2.h [!__NO_STRING_INLINES &&
30607 !__BOUNDED_POINTERS__]: Likewise.
30608 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30609 Likewise.
30610 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30611 Remove conditional code.
30612 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30613 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30614 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30615 condition.
30616
30617 [BZ #13550]
30618 * csu/libc-start.c: Do not include <bp-sym.h>.
30619 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30620 * elf/dl-open.c: Do not include <bp-sym.h>.
30621 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30622 * math/fegetenv.c: Do not include <bp-sym.h>.
30623 (fegetenv): Do not use BP_SYM in versioned symbols.
30624 * nptl/sysdeps/pthread/bits/libc-lockP.h
30625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30626 <bp-sym.h>.
30627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30628 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30630 (__pthread_mutex_destroy): Likewise.
30631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30632 (__pthread_mutex_lock): Likewise.
30633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30634 (__pthread_mutex_trylock): Likewise.
30635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30636 (__pthread_mutex_unlock): Likewise.
30637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30638 (__pthread_mutexattr_init): Likewise.
30639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30640 (__pthread_mutexattr_destroy): Likewise.
30641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30642 (__pthread_mutexattr_settype): Likewise.
30643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30644 (__pthread_rwlock_init): Likewise.
30645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30646 (__pthread_rwlock_destroy): Likewise.
30647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30648 (__pthread_rwlock_rdlock): Likewise.
30649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30650 (__pthread_rwlock_tryrdlock): Likewise.
30651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30652 (__pthread_rwlock_wrlock): Likewise.
30653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30654 (__pthread_rwlock_trywrlock): Likewise.
30655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30656 (__pthread_rwlock_unlock): Likewise.
30657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30658 (__pthread_key_create): Likewise.
30659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30660 (__pthread_setspecific): Likewise.
30661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30662 (__pthread_getspecific): Likewise.
30663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30664 Likewise.
30665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30666 (_pthread_cleanup_push_defer): Likewise.
30667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30668 (_pthread_cleanup_pop_restore): Likewise.
30669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30670 (pthread_setcancelstate): Likewise.
30671 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30672 <bp-sym.h>.
30673 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30674 (memchr): Do not use BP_SYM in weak_alias.
30675 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30676 (fegetenv): Do not use BP_SYM in versioned symbols.
30677 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30678 (fesetenv): Do not use BP_SYM in versioned symbols.
30679 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30680 (feupdateenv): Do not use BP_SYM in versioned symbols.
30681 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30682 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30683 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30684 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30685 (open64): Do not use BP_SYM in weak_alias.
30686 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30687 (fegetenv): Do not use BP_SYM in versioned symbols.
30688 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30689 (fesetenv): Do not use BP_SYM in versioned symbols.
30690 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30691 (feupdateenv): Do not use BP_SYM in versioned symbols.
30692 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30693 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30694 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30695 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30696 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30697 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30698 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30699 <bp-sym.h>.
30700 (__libc_start_main): Do not use BP_SYM.
30701
30702 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30703
30704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30705 redundant return line.
30706 (norm): Likewise.
30707 (denorm): Likewise.
30708 (dbl_mp): Likewise.
30709 (sub_magnitudes): Likewise.
30710 (__add): Likewise.
30711 (__sub): Likewise.
30712 (__mul): Likewise.
30713 (__inv): Likewise.
30714 (__dvd): Likewise.
30715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30716 (norm): Likewise.
30717 (denorm): Likewise.
30718 (dbl_mp): Likewise.
30719 (sub_magnitudes): Likewise.
30720 (__add): Likewise.
30721 (__sub): Likewise.
30722 (__mul): Likewise.
30723 (__inv): Likewise.
30724 (__dvd): Likewise.
30725
30726 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30727 instead of __mul.
30728 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30729 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30730 (cc32): Likewise.
30731
30732 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30733 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30735 of __mul for squares.
30736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30737 function
30738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30739 Likewise.
30740 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30741 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30742
30743 2013-02-13 Joseph Myers <joseph@codesourcery.com>
30744
30745 [BZ #13550]
30746 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30747 code.
30748 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30749 prototype or function definition. Rename ubp_* variables and
30750 parameters. Remove argv definitions conditional on
30751 [__BOUNDED_POINTERS__].
30752 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30753 * elf/dl-runtime.c (_dl_fixup): Likewise.
30754 * include/set-hooks.h (RUN_HOOK): Likewise.
30755 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30756 definition.
30757 * string/strcpy.c (strcpy): Do not use __unbounded.
30758 * sysdeps/generic/frame.h (struct layout): Likewise.
30759 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30760 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30761 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30762 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30763 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30764 (__backtrace): Likewise.
30765 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30766 use __ptrvalue.
30767 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30768 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30769 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30770 Likewise.
30771 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30772 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30773 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30774 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30775 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30776 Do not use __unbounded.
30777 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30778 Rename __unboundedrlimits parameter to rlimits in prototype.
30779 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30780 Do not use __unbounded.
30781 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30782 not use __ptrvalue.
30783 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30784 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30785 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30786 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30787 __ptrvalue or __unbounded.
30788 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30789 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30790 use __unbounded.
30791 (__new_msgctl): Do not use __ptrvalue.
30792 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30793 __unbounded.
30794 (__libc_msgrcv): Do not use __ptrvalue.
30795 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30796 startup_info): Do not use __unbounded.
30797 (__libc_start_main): Likewise. Rename ubp_* variables and
30798 parameters. Remove argv definitions conditional on
30799 [__BOUNDED_POINTERS__].
30800 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30801 __ptrvalue.
30802 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30803 use __unbounded.
30804 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30805 or __ptrvalue.
30806 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30807 use __unbounded.
30808 (__new_shmctl): Do not use __ptrvalue.
30809 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30810 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30811 Likewise.
30812 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30813 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30814 (__libc_sigaction): Likewise.
30815 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30816 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30817 Likewise.
30818 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30819
30820 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
30821
30822 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30823
30824 * string/mempcpy.c: Implement by calling memcpy.
30825
30826 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30827
30828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30829
30830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30831 evaluation.
30832
30833 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30834 values in the mantissa.
30835
30836 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30837 minimize writes to Z.
30838 (sub_magnitudes): Simplify code a bit.
30839
30840 2013-02-12 Roland McGrath <roland@hack.frob.com>
30841
30842 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30843 from the message. The linker prefixes all warnings with that already.
30844
30845 2013-02-12 Andreas Schwab <schwab@suse.de>
30846
30847 [BZ #15078]
30848 * posix/regexec.c (extend_buffers): Add parameter min_len.
30849 (check_matching): Pass minimum needed length.
30850 (clean_state_log_if_needed): Likewise.
30851 (get_subexp): Likewise.
30852 * posix/Makefile (tests): Add bug-regex34.
30853 (bug-regex34-ENV): Define.
30854 * posix/bug-regex34.c: New file.
30855
30856 [BZ #11561]
30857 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30858 elements compare against the byte sequence of it, not its name.
30859 * posix/Makefile (tests): Add bug-regex35.
30860 (bug-regex35-ENV): Define.
30861 * posix/bug-regex35.c: New file.
30862
30863 2013-02-11 Tom de Vries <tom@codesourcery.com>
30864
30865 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30866 comment.
30867 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30868 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30869 (CHECK_EOL): Add undef.
30870
30871 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
30872
30873 * bits/stdlib-bsearch.h: New file.
30874 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30875 * stdlib/stdlib.h: Likewise.
30876
30877 2013-02-11 Roland McGrath <roland@hack.frob.com>
30878
30879 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30880 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30881 declaration.
30882 * manual/search.texi (Array Search Function): Add missing const in
30883 lfind prototype.
30884 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30885 declaration to use rlim_t.
30886 (Basic Scheduling Functions): Remove erroneous const from
30887 sched_getparam prototype. Remove erroneous * from
30888 sched_get_priority_max and sched_get_priority_min prototypes.
30889 (Resource Usage): Fix summary @comment on vtimes to refer to
30890 sys/vtimes.h rather than vtimes.h.
30891 Add missing *s in vtimes prototype.
30892 (Limits on Resources): Fix ulimit prototype to return long int.
30893 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30894 prototypes to use long int rather than double.
30895 (BSD Random): Fix initstate and setstate to use char *, not void *.
30896 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30897 prototype to make second argument 'struct aiocb64 *const[]'.
30898 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30899 (Status of AIO Operations): Remove erroneous const in aio_return and
30900 aio_return64 prototypes.
30901 (Synchronizing I/O): Fix sync prototype to return void.
30902 * manual/startup.texi (Suboptions): Remove an erroneous const in
30903 getsubopt prototype.
30904 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30905 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30906 use size_t rather than int.
30907 (Scanning All Users): Likewise for getpwent_r.
30908 (Setting Groups): Add missing const to setgroups prototype.
30909 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30910 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30911 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30912 'const void *' rather than 'const char *'.
30913 (Host Address Functions): Likewise for inet_ntop.
30914 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30915 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30916 ssize_t for return value.
30917 (Sending Data): Likewise for send, sendto, sendmsg.
30918 (Socket Option Functions): Add a missing const in setsockopt prototype.
30919 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30920 use wchar_t for the argument.
30921 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30922 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30923 take no arguments.
30924 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30925 double/float/long double for second argument.
30926 Fix return types of significand, significandf, significandl.
30927 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30928 argument in fchmod prototype.
30929 (File Owner): Use uid_t and gid_t in fchown prototype.
30930 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30931 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30932 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30933 use 'const struct dirent **' as argument types to CMP function pointer
30934 argument.
30935 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30936 (File Times): Fix summary magic @comment for struct utimbuf and utime
30937 to refer to utime.h, not time.h.
30938 * manual/string.texi (Argz Functions): Add missing const in
30939 argz_extract and argz_next prototypes.
30940 (Finding Tokens in a String): Likewise for basename.
30941 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30942 (Copying and Concatenation): Fix typo in wmemmove prototype.
30943 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30944 (Signal Stack): Remove erroneous const in sigstack prototype.
30945 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30946 prototype.
30947 (Simple Calendar Time): Likewise for stime.
30948 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30949 prototype.
30950 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30951 say sys/sysctl.h instead.
30952 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30953 and vsyslog prototypes.
30954
30955 2013-02-11 Tom de Vries <tom@codesourcery.com>
30956
30957 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30958 Remove.
30959
30960 2013-02-11 Roland McGrath <roland@hack.frob.com>
30961
30962 * misc/sys/mman.h: Fix typo in mremap comment.
30963
30964 2013-02-08 Roland McGrath <roland@hack.frob.com>
30965
30966 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30967 the '\0' terminator.
30968
30969 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30970
30971 [BZ #13550]
30972 * debug/segfault.c: Don't include <bp-checks.h>.
30973 * sysdeps/generic/bp-checks.h: Remove file.
30974 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30975 (__GETDENTS): Don't use CHECK_N.
30976 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30977 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30978 (__getgroups): Don't use CHECK_N.
30979 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30980 (setgroups): Don't use CHECK_N.
30981 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30982 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30983 (__libc_msgrcv): Don't use CHECK_N.
30984 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30985 (__libc_msgsnd): Don't use CHECK_N.
30986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30987 <bp-checks.h>.
30988 (__libc_pread): Don't use CHECK_N.
30989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30990 include <bp-checks.h>.
30991 (__libc_pread64): Don't use CHECK_N.
30992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30993 include <bp-checks.h>.
30994 (__libc_pwrite): Don't use CHECK_N.
30995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30996 include <bp-checks.h>.
30997 (__libc_pwrite64): Don't use CHECK_N.
30998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30999 <bp-checks.h>.
31000 (__libc_pread): Don't use CHECK_N.
31001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31002 include <bp-checks.h>.
31003 (__libc_pread64): Don't use CHECK_N.
31004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31005 include <bp-checks.h>.
31006 (__libc_pwrite): Don't use CHECK_N.
31007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31008 include <bp-checks.h>.
31009 (__libc_pwrite64): Don't use CHECK_N.
31010 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31011 (do_pread): Don't use CHECK_N.
31012 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31013 (do_pread64): Don't use CHECK_N.
31014 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31015 (do_pwrite): Don't use CHECK_N.
31016 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31017 (do_pwrite64): Don't use CHECK_N.
31018 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31019 (__libc_readv): Don't use CHECK_N.
31020 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31021 (semop): Don't use CHECK_N.
31022 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31023 <bp-checks.h>.
31024 (semtimedop): Don't use CHECK_N.
31025 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31026 (__libc_pread): Don't use CHECK_N.
31027 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31028 <bp-checks.h>.
31029 (__libc_pread64): Don't use CHECK_N.
31030 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31031 <bp-checks.h>.
31032 (__libc_pwrite): Don't use CHECK_N.
31033 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31034 <bp-checks.h>.
31035 (__libc_pwrite64): Don't use CHECK_N.
31036 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31037 <bp-checks.h>.
31038 (__libc_msgrcv): Don't use CHECK_N.
31039 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31040 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31041 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31042 (__libc_writev): Don't use CHECK_N.
31043
31044 2013-02-08 Roland McGrath <roland@hack.frob.com>
31045
31046 * string/strcpy.c: Removed unused variable.
31047
31048 * Makeconfig (+sysdep-includes): Define with := rather than =.
31049 Use an existing include/ subdir of each sysdeps dir before it.
31050
31051 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31052
31053 * nscd/connection.c (register_traced_file): Comment function.
31054 [HAVE_INOTIFY] (union __inev): Define.
31055 [HAVE_INOTIFY] (inotify_check_files): New function.
31056 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31057 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31058 clear_db_cache.
31059 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31060
31061 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31062
31063 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31064 loaded if not already and that a failure is permanent.
31065
31066 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31067
31068 [BZ #15006]
31069 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31070 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31071
31072 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31073
31074 [BZ #13550]
31075 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31076 (CHECK_1_NULL_OK): Likewise.
31077 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31078 (__fxstat): Do not use CHECK_1.
31079 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31080 <bp-checks.h>.
31081 (___fxstat64): Do not use CHECK_1.
31082 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31083 <bp-checks.h>.
31084 (__fxstatat): Do not use CHECK_1.
31085 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31086 <bp-checks.h>.
31087 (__fxstatat64): Do not use CHECK_1.
31088 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31089 <bp-checks.h>.
31090 (__fxstat): Do not use CHECK_1.
31091 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31092 <bp-checks.h>.
31093 (__fxstatat): Do not use CHECK_1.
31094 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31095 <bp-checks.h>.
31096 (__getresgid): Do not use CHECK_1.
31097 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31098 <bp-checks.h>.
31099 (__getresuid): Do not use CHECK_1.
31100 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31101 <bp-checks.h>.
31102 (__lxstat): Do not use CHECK_1.
31103 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31104 <bp-checks.h>.
31105 (__old_msgctl): Do not use CHECK_1.
31106 (__new_msgctl): Likewise.
31107 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31108 <bp-checks.h>.
31109 (__new_setrlimit): Do not use CHECK_1.
31110 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31111 <bp-checks.h>.
31112 (__old_shmctl): Do not use CHECK_1.
31113 (__new_shmctl): Likewise.
31114 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31115 <bp-checks.h>.
31116 (__xstat): Do not use CHECK_1.
31117 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31118 (__lxstat): Do not use CHECK_1.
31119 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31120 <bp-checks.h>.
31121 (___lxstat64): Do not use CHECK_1.
31122 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31123 (__old_msgctl): Do not use CHECK_1.
31124 (__new_msgctl): Likewise.
31125 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31126 <bp-checks.h>.
31127 (__gettimeofday): Do not use CHECK_1.
31128 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31129 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31130 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31131 <bp-checks.h>.
31132 (__gettimeofday): Do not use CHECK_1.
31133 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31134 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31135 (__new_shmctl): Do not use CHECK_1.
31136 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31137 <bp-checks.h>.
31138 (do_sigtimedwait): Do not use CHECK_1.
31139 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31140 <bp-checks.h>.
31141 (do_sigwaitinfo): Do not use CHECK_1.
31142 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31143 <bp-checks.h>.
31144 (msgctl): Do not use CHECK_1.
31145 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31146 <bp-checks.h>.
31147 (shmctl): Do not use CHECK_1.
31148 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31149 (ustat): Do not use CHECK_1.
31150 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31151 <bp-checks.h>.
31152 (__fxstat): Do not use CHECK_1.
31153 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31154 <bp-checks.h>.
31155 (__fxstatat): Do not use CHECK_1.
31156 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31157 <bp-checks.h>.
31158 (__lxstat): Do not use CHECK_1.
31159 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31160 <bp-checks.h>.
31161 (__xstat): Do not use CHECK_1.
31162 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31163 (__xstat): Do not use CHECK_1.
31164 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31165 (___xstat64): Do not use CHECK_1.
31166
31167 [BZ #13550]
31168 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31169 definitions.
31170 (CHECK_BOUNDS_HIGH): Likewise.
31171 * string/strcpy.c: Do not include <bp-checks.h>.
31172 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31173
31174 2013-02-07 Roland McGrath <roland@hack.frob.com>
31175
31176 * nscd/nscd-client.h (__nscd_drop_map_ref):
31177 Add __attribute__ ((unused)).
31178 * nis/nss-nisplus.h (niserr2nss): Likewise.
31179
31180 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31181 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31182
31183 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31184 Remove inline keyword.
31185 * include/rounding-mode.h (round_away): Likewise.
31186 * libio/wfileops.c (adjust_wide_data): Likewise.
31187 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31188 (__m128i_strloadu_tolower): Likewise.
31189 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31190 (__m128i_strloadu_tolower): Likewise.
31191 * time/mktime.c (ydhms_diff): Likewise.
31192 * locale/elem-hash.h (elem_hash): Likewise.
31193 * locale/setlocale.c (setdata): Likewise.
31194 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31195 (re_string_wchar_at): Likewise.
31196 (bitset_not, bitset_merge, bitset_mask): Likewise.
31197 [!(__GNUC__ > 3)] (inline): Remove macro.
31198 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31199 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31200 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31201 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31202 * string/memcmp.c (memcmp_bytes): Likewise.
31203 * locale/programs/locarchive.c (compute_hashval): Likewise.
31204 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31205 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31206 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31207 * nss/getent.c (print_rpc, print_protocols): Likewise.
31208 (print_passwd, print_group, print_aliases): Likewise.
31209 * nis/nss-nisplus.h (niserr2nss): Likewise.
31210 * nscd/connections.c (restart_p): Likewise.
31211 Change return type to bool.
31212
31213 2013-02-05 Roland McGrath <roland@hack.frob.com>
31214
31215 * Makeconfig (all-Depend-files): Add existing
31216 $(sorted-subdirs:=/Depend) files.
31217 (all-subdirs): Remove nss.
31218 * sysdeps/unix/inet/Subdirs: Add it here instead.
31219 * hesiod/Depend: New file.
31220
31221 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31222 instead of calling alloca.
31223
31224 * io/lseek.c (__lseek): Rename to __libc_lseek.
31225 Define __lseek as an alias.
31226
31227 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31228
31229 2013-02-04 Carlos O'Donell <carlos@redhat.com>
31230
31231 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31232 else clause and remove check for non-standard endianness.
31233
31234 2013-02-04 David S. Miller <davem@davemloft.net>
31235
31236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31237
31238 2013-02-04 Joseph Myers <joseph@codesourcery.com>
31239
31240 [BZ #13550]
31241 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31242 (__ubp_memchr): Remove prototype.
31243 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31244 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31245 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31246 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31247 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31248 Remove alias.
31249 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31250 (__ubp_memchr): Likewise.
31251 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31252 (__ubp_memchr): Likewise.
31253 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31254 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31255 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31256 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31257 CHECK_STRING.
31258 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31259 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31260 (__getcwd): Do not use CHECK_STRING.
31261 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31262 <bp-checks.h>.
31263 (__real_chown): Do not use CHECK_STRING.
31264 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31265 <bp-checks.h>.
31266 (fchownat): Do not use CHECK_STRING.
31267 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31268 CHECK_STRING.
31269 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31270 <bp-checks.h>.
31271 (__lchown): Do not use CHECK_STRING.
31272 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31273 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31274 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31275 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31277 include <bp-checks.h>.
31278 (truncate64): Do not use CHECK_STRING.
31279 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31280 <bp-checks.h>.
31281 (__real_chown): Do not use CHECK_STRING.
31282 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31283 <bp-checks.h>.
31284 (__lchown): Do not use CHECK_STRING.
31285 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31286 <bp-checks.h>.
31287 (__chown): Do not use CHECK_STRING.
31288 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31289 <bp-checks.h>.
31290 (truncate64): Do not use CHECK_STRING.
31291 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31292 Likewise.
31293 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31294 (__xmknod): Do not use CHECK_STRING.
31295 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31296 <bp-checks.h>.
31297 (__xmknodat): Do not use CHECK_STRING.
31298 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31299 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31300
31301 2013-02-04 Andreas Schwab <schwab@suse.de>
31302
31303 [BZ #14142]
31304 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31305 * include/netdb.h: Likewise for h_errno.
31306 * elf/tst-stackguard1.c: Include <tls.h>.
31307
31308 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31309
31310 * elf/link.h (struct link_map): Extend the l_addr comment.
31311 * include/link.h (struct link_map): Likewise.
31312
31313 2013-02-01 Joseph Myers <joseph@codesourcery.com>
31314
31315 [BZ #13550]
31316 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31317 (BOUNDED_1): Remove macro.
31318 * debug/backtrace.c: Don't include <bp-checks.h>.
31319 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31320 (__backtrace): Likewise.
31321 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31322 <bp-checks.h>.
31323 (__backtrace): Don't use BOUNDED_1.
31324 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31325 <bp-checks.h>.
31326 (__backtrace): Don't use BOUNDED_1.
31327 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31328 (__backtrace): Don't use BOUNDED_1.
31329 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31330 (shmat): Don't use BOUNDED_N.
31331
31332 2013-01-31 Joseph Myers <joseph@codesourcery.com>
31333
31334 [BZ #13550]
31335 * sysdeps/generic/bp-start.h: Remove file.
31336 * csu/libc-start.c: Don't include <bp-start.h>.
31337 (LIBC_START_MAIN): Set up __environ directly instead of using
31338 INIT_ARGV_and_ENVIRON.
31339 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31340 <bp-start.h>.
31341
31342 [BZ #13550]
31343 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31344 definitions.
31345 (CHECK_FCNTL): Likewise.
31346 (CHECK_N_PAGES): Likewise.
31347
31348 [BZ #13550]
31349 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31350 definitions.
31351 (CHECK_SIGSET_NULL_OK): Likewise.
31352 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31353 <bp-checks.h>.
31354 (sigpending): Don't use CHECK_SIGSET.
31355 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31356 <bp-checks.h>.
31357 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31358 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31359 <bp-checks.h>.
31360 (do_sigsuspend): Don't use CHECK_SIGSET.
31361 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31362 use CHECK_SIGSET.
31363 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31364 (do_sigwait): Don't use CHECK_SIGSET.
31365 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31366 use CHECK_SIGSET.
31367 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31368 include <bp-checks.h>.
31369 (sigpending): Don't use CHECK_SIGSET.
31370 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31371 include <bp-checks.h>.
31372 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31373 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31374 <bp-checks.h>.
31375 (sigpending): Don't use CHECK_SIGSET.
31376 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31377 <bp-checks.h>.
31378 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31379
31380 [BZ #13550]
31381 * sysdeps/generic/bp-semctl.h: Remove file.
31382 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31383 <bp-checks.h> and <bp-semctl.h>.
31384 (__old_semctl): Don't use CHECK_SEMCTL.
31385 (__new_semctl): Likewise.
31386 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31387 and <bp-semctl.h>.
31388 (__old_semctl): Don't use CHECK_SEMCTL.
31389 (__new_semctl): Likewise.
31390 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31391 <bp-checks.h> and <bp-semctl.h>.
31392 (__old_semctl): Don't use CHECK_SEMCTL.
31393 (__new_semctl): Likewise.
31394 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31395 <bp-checks.h> and <bp-semctl.h>.
31396 (semctl): Don't use CHECK_SEMCTL.
31397
31398 [BZ #13550]
31399 * Makerules (elide-bp-thunks): Remove variable.
31400 (elide-routines.oS): Don't use $(elide-bp-thunks).
31401 (elide-routines.os): Likewise.
31402 (elide-routines.o): Likewise.
31403 (elide-routines.op): Likewise.
31404 (elide-routines.og): Likewise.
31405 (objects): Don't use $(bp-thunks).
31406 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31407 include.
31408 (common-generated): Do not add s-proto-bp.d.
31409 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31410 (int): Likewise.
31411 (typ): Likewise.
31412 Do not generate makefile rules for bounded-pointer thunks.
31413 * sysdeps/generic/bp-thunks.h: Remove file.
31414 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31415 * sysdeps/unix/s-proto-bp.S: Likewise.
31416
31417 [BZ #15062]
31418 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31419 parts of result separately when argument is not close to line from
31420 -i to i and one part of argument is small.
31421 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31422 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31423 * math/libm-test.inc (cacos_test): Add more tests.
31424 (casin_test): Likewise.
31425 (casinh_test): Likewise.
31426 * sysdeps/i386/fpu/libm-test-ulps: Update.
31427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31428
31429 2013-01-31 David S. Miller <davem@davemloft.net>
31430
31431 * po/de.po: Update from translation team.
31432
31433 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31434
31435 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31436
31437 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31438
31439 * configure.in (_AC_PROG_CC_C89): New definition.
31440 * configure: Regenerate.
31441
31442 * configure.in (AC_PROG_CPP): New definition.
31443 * configure: Regenerate.
31444
31445 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31446
31447 * debug/tst-backtrace.h: New file.
31448 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31449 (ret): Remove variable.
31450 (x): Likewise.
31451 (FAIL): Remove macro.
31452 (NO_INLINE): Likewise.
31453 (fn1): Use match function instead of strstr.
31454 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31455 (ret): Remove variable.
31456 (x): Likewise.
31457 (FAIL): Remove macro.
31458 (NO_INLINE): Likewise.
31459 (fn): Use match function instead of strstr.
31460 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31461 (ret): Remove variable.
31462 (x): Likewise.
31463 (FAIL): Remove macro.
31464 (NO_INLINE): Likewise.
31465 (handle_signal): Use match function instead of strstr.
31466 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31467 (ret): Remove variable.
31468 (x): Likewise.
31469 (FAIL): Remove macro.
31470 (NO_INLINE): Likewise.
31471 (handle_signal): Use match function instead of strstr.
31472
31473 2013-01-23 Roland McGrath <roland@hack.frob.com>
31474
31475 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31476
31477 2013-01-23 David S. Miller <davem@davemloft.net>
31478
31479 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31480 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31481 argument of CAS if possible.
31482 * sysdeps/sparc/sparc64/bits/atomic.h
31483 (__arch_compare_and_exchange_val_32_acq): Likewise.
31484 (__arch_compare_and_exchange_val_64_acq): Likewise.
31485
31486 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31487
31488 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31489 * sysdeps/posix/ulimit.c: ... this.
31490 Include <limits.h>.
31491 * sysdeps/unix/bsd/ulimit.c: Remove file.
31492
31493 2013-01-23 Adam Conrad <adconrad@0c3.net>
31494
31495 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31496 (LDFLAGS-tst-array5): Likewise.
31497
31498 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31499
31500 [BZ #15036]
31501 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31502 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31503 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31504 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31505
31506 2013-01-21 David S. Miller <davem@davemloft.net>
31507
31508 * sysdeps/sparc/backtrace.c: New file.
31509 * sysdeps/sparc/sparc32/backtrace.h: New file.
31510 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31511 * sysdeps/sparc/sparc64/backtrace.h: New file.
31512 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31513 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31514 -funwind-tables.
31515
31516 2013-01-21 Andreas Schwab <schwab@suse.de>
31517
31518 [BZ #15020]
31519 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31520 closed its stdout.
31521
31522 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31523
31524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31525 "mpa2.h".
31526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31527
31528 2013-01-18 Joseph Myers <joseph@codesourcery.com>
31529 Mark Mitchell <mark@codesourcery.com>
31530 Tom de Vries <tom@codesourcery.com>
31531 Paul Pluzhnikov <ppluzhnikov@google.com>
31532
31533 * debug/tst-backtrace2.c: New file.
31534 * debug/tst-backtrace3.c: Likewise.
31535 * debug/tst-backtrace4.c: Likewise.
31536 * debug/tst-backtrace5.c: Likewise.
31537 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31538 (CFLAGS-tst-backtrace3.c): Likewise.
31539 (CFLAGS-tst-backtrace4.c): Likewise.
31540 (CFLAGS-tst-backtrace5.c): Likewise.
31541 (LDFLAGS-tst-backtrace2): Likewise.
31542 (LDFLAGS-tst-backtrace3): Likewise.
31543 (LDFLAGS-tst-backtrace4): Likewise.
31544 (LDFLAGS-tst-backtrace5): Likewise.
31545 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31546 tst-backtrace4 and tst-backtrace5.
31547
31548 2013-01-18 Anton Blanchard <anton@samba.org>
31549 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31550
31551 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31552 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31553 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31554 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31556 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31557 "+r" and remove output regs list as redundant. Add explicit inline
31558 asm to specify register of return val to work around compiler codegen
31559 bug. Remove (int) cast on return value. Add return type parameter to
31560 use in macro so that this macro does not truncate return value for
31561 64-bit values.
31562 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31563 pass to INTERNAL_VSYSCALL_NCS.
31564 (INLINE_VSYSCALL): Add 'long int' as return type to
31565 INTERNAL_VSYSCALL_NCS macro invocation.
31566 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31567 INTERNAL_VSYSCALL_NCS macro invocation.
31568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31569
31570 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31571
31572 [BZ #14496]
31573 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31574 Fix application of SIMD FP exception mask.
31575
31576 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31577 mp_no from a power of two.
31578 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31579 __mpexp_twomm1. Use __pow_mp.
31580
31581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31582 multiplication.
31583
31584 2013-01-17 David S. Miller <davem@davemloft.net>
31585
31586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31587
31588 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31589
31590 [BZ #15023]
31591 * include/complex.h: Condition contents on [!_COMPLEX_H].
31592 (__kernel_casinhf): New prototype.
31593 (__kernel_casinh): Likewise.
31594 (__kernel_casinhl): Likewise.
31595 * math/Makefile (libm_calls): Add k_casinh.
31596 * math/k_casinh.c: New file.
31597 * math/k_casinhf.c: Likewise.
31598 * math/k_casinhl.c: Likewise.
31599 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31600 finite nonzero arguments.
31601 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31602 finite nonzero arguments.
31603 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31604 finite nonzero arguments.
31605 * math/s_casinh.c: Do not include <float.h>.
31606 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31607 * math/s_casinhf.c: Do not include <float.h>.
31608 (__casinhf): Move code for finite nonzero arguments to
31609 k_casinhf.c.
31610 * math/s_casinhl.c: Do not include <float.h>.
31611 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31612 redefine.
31613 (__casinhl): Move code for finite nonzero arguments to
31614 k_casinhl.c.
31615 * math/libm-test.inc (cacos_test): Add more tests.
31616 * sysdeps/i386/fpu/libm-test-ulps: Update.
31617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31618
31619 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31620
31621 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31622 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31623 [!HAVE_MREMAP]: Remove [defined linux] case.
31624 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31625
31626 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31627
31628 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31629
31630 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
31631
31632 * elf/elf.h (R_386_SIZE32): New relocation.
31633 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31634 R_386_SIZE32.
31635 (elf_machine_rela): Likewise.
31636 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31637 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31638
31639 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31640
31641 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31642 (FP_FAST_FMA): Do not define.
31643 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31644 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31645 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31646 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31647 !_SOFT_FLOAT]: Likewise.
31648 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31649 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31650 value.
31651 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31652 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31653 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31654 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31655 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31656 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31657 file.
31658
31659 2013-01-16 Andreas Schwab <schwab@suse.de>
31660
31661 [BZ #14327]
31662 * include/stdlib.h (__mktemp): Add declaration.
31663 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31664 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31665
31666 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31667
31668 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31669 definitions.
31670 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31671 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31672 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31673 definitions here.
31674 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31675 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31676 definitions.
31677 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31678 and ONE.
31679 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31680 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31681 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31682 definitions.
31683 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31684 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31685 definitions.
31686 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31687
31688 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31689
31690 2013-01-15 David S. Miller <davem@davemloft.net>
31691
31692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31693 trunc{,f} to libm-sysdep_routes.
31694 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31696 file.
31697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31699 file.
31700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31701 file.
31702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31704 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31705 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31706 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31707 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31708 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31709 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31710
31711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31712 nearbyint{,f} to libm-sysdep_routes.
31713 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31715 New file.
31716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31717 file.
31718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31719 New file.
31720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31721 file.
31722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31724 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31725 file.
31726 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31727 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31728 file.
31729 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31730 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31731 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31732
31733 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31734 libc_feholdexcept and libc_fesetenv.
31735
31736 2013-01-15 Mike Frysinger <vapier@gentoo.org>
31737
31738 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31739
31740 2013-01-14 David S. Miller <davem@davemloft.net>
31741
31742 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31743 (SPARC_ASM_VIS2_IFUNC): Likewise.
31744 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31746 use of 'siam' instruction.
31747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31748 Likewise.
31749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31750 Likewise.
31751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31752 Likewise.
31753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31758 file.
31759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31760 file.
31761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31762 file.
31763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31764 file.
31765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31770 new VIS2 routines.
31771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31774 Likewise.
31775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31777 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31780 routines to libm-sysdep_routines.
31781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31782
31783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31784 fdim/fdimf to libm-sysdep_routines.
31785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31786 file.
31787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31789 file.
31790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31793 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31794 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31795 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31796 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31797
31798 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31799
31800 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31801 to optimize copies.
31802
31803 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31806
31807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31808 local variable MPTWO.
31809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31810 Likewise.
31811
31812 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31813
31814 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31815 GLOB_NOESCAPE.
31816
31817 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31818
31819 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31820
31821 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31822
31823 * manual/pattern.texi (glob_t): Document gl_flags.
31824 (glob64_t): Likewise.
31825
31826 2013-01-11 David S. Miller <davem@davemloft.net>
31827
31828 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31829 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31830 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
31831 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31832 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31833 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31834 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31835 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31836 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31837 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31838 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31839 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31840 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31841
31842 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31843 sparc V9 rather than using V8 code.
31844 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31845 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31846
31847 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31848 Move to...
31849 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31850 Here.
31851
31852 2013-01-11 Roland McGrath <roland@hack.frob.com>
31853
31854 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31855 not in the main loop.
31856 * configure: Regenerated.
31857
31858 2013-01-11 Joseph Myers <joseph@codesourcery.com>
31859
31860 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31861 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31862 to just #else.
31863 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31864 [!__GLIBC_HAVE_LONG_LONG] case.
31865 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31866 condition to just #else.
31867 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31868 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31869 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31870 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31871 unconditional.
31872 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31873 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31874 #elif condition to just #else.
31875 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31876 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31877 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31878 #elif condition to just #else.
31879
31880 2013-01-11 Steve Ellcey <sellcey@mips.com>
31881
31882 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31883 (EF_MIPS_ARCH_64): Fix value.
31884 (EF_MIPS_ARCH_32R2): New.
31885 (EF_MIPS_ARCH_64R2): New.
31886
31887 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31888
31889 * Makeconfig (+link-pie-before-libc): New.
31890 (+link-pie-after-libc): Likewise.
31891 (+link-pie-tests): Likewise.
31892 (+link-pie): Rewritten.
31893 (link-before-libc): Remove $(config-LDFLAGS).
31894 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31895 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31896 (config-LDFLAGS): Renamed to ...
31897 (rtld-LDFLAGS): This.
31898 (rtld-tests-LDFLAGS): New macro.
31899 (link-libc-rpath-link): Likewise.
31900 (link-libc-tests-rpath-link): Likewise.
31901 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31902 (link-libc): Prepand $(link-libc-rpath-link).
31903 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31904 (test-program-prefix): New macro.
31905 (test-via-rtld-prefix): Likewise.
31906 (test-program-cmd): Likewise.
31907 (host-test-program-cmd): Likewise.
31908 * Makefile ($(common-objpfx)testrun.sh): Replace
31909 $(run-program-prefix) with $(test-program-prefix).
31910 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31911 $(rtld-LDFLAGS).
31912 ($(common-objpfx)shlib.lds): Likewise.
31913 (build-module-helper): Likewise.
31914 ($(common-objpfx)format.lds): Likewise.
31915 * Rules (binaries-pie-tests): New.
31916 (binaries-pie-notests): Likewise.
31917 (binaries-pie): Rewritten.
31918 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31919 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31920 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31921 (make-test-out): Replace $(host-built-program-cmd) with
31922 $(host-test-program-cmd).
31923 * config.make.in (build-hardcoded-path-in-tests): New variable.
31924 * configure.in (--enable-hardcoded-path-in-tests): New configure
31925 option.
31926 (hardcoded_path_in_tests): New AC_SUBST.
31927 * configure: Regenerated.
31928 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31929 $(built-program-cmd) with $(test-program-cmd).
31930 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31931 (test_program_cmd): This.
31932 * elf/Makefile ($(objpfx)order.out): Run test with
31933 $(test-program-prefix).
31934 ($(objpfx)order2.out): Likewise.
31935 ($(objpfx)tst-initorder.out): Likewise.
31936 ($(objpfx)tst-initorder2.out): Likewise.
31937 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31938 $(test-program-cmd).
31939 ($(objpfx)tst-array1-static.out): Likewise.
31940 ($(objpfx)tst-array2.out): Likewise.
31941 ($(objpfx)tst-array3.out): Likewise.
31942 ($(objpfx)tst-array4.out): Likewise.
31943 ($(objpfx)tst-array5.out): Likewise.
31944 ($(objpfx)tst-array5-static.out): Likewise.
31945 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31946 $(test-program-cmd).
31947 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31948 $(run-program-prefix) with $(test-program-prefix).
31949 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31950 (test_program_prefix): This.
31951 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31952 $(run-program-prefix) with $(test-program-prefix).
31953 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31954 (test_program_prefix): This.
31955 * iconvdata/tst-tables.sh: Likewise.
31956 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31957 $(run-program-prefix) with $(test-program-prefix).
31958 ($(objpfx)tst-translit.out): Likewise.
31959 ($(objpfx)tst-gettext2.out): Likewise.
31960 ($(objpfx)tst-gettext4.out): Likewise.
31961 ($(objpfx)tst-gettext6.out): Likewise.
31962 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31963 (test_program_prefix): This.
31964 * intl/tst-gettext2.sh: Likewise.
31965 * intl/tst-gettext4.sh Likewise.
31966 * intl/tst-gettext6.sh: Likewise.
31967 * intl/tst-translit.sh: Likewise.
31968 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31969 with $(test-program-cmd).
31970 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31971 $(run-program-prefix) with $(test-program-prefix).
31972 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31973 (test_program_prefix): This.
31974 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31975 $(run-program-prefix) with $(test-program-prefix).
31976 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31977 (test_program_prefix): This.
31978 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31979 * posix/Makefile ($(objpfx)globtest.out): Replace
31980 $(run-via-rtld-prefix) and $(test-wrapper) with
31981 $(test-program-prefix) and $(test-via-rtld-prefix).
31982 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31983 $(test-program-prefix).
31984 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31985 $(host-test-program-cmd).
31986 (tst-spawn-ARGS): Likewise.
31987 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31988 $(test-program-prefix).
31989 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31990 (test_via_rtld_prefix): This.
31991 (test_wrapper): Renamed to ...
31992 (test_program_prefix): This.
31993 (run_program_prefix): Replaced by test_program_prefix.
31994 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31995 (test_program_prefix): This.
31996 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31997 with $(host-test-program-cmd).
31998 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31999 $(run-program-prefix) with $(test-program-prefix).
32000 ($(objpfx)tst-printf.out): Likewise.
32001 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32002 $(test-program-cmd).
32003 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32004 (test_program_prefix): This.
32005 * stdio-common/tst-unbputc.sh: Likewise.
32006 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32007 $(run-program-prefix) with $(test-program-prefix).
32008 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32009 (test_program_prefix): This.
32010 * string/Makefile ($(objpfx)tst-svc.out): Replace
32011 $(built-program-cmd) with $(test-program-cmd).
32012
32013 2013-01-11 Andreas Jaeger <aj@suse.de>
32014
32015 [BZ #15003]
32016 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32017 value. Sync with Linux 3.7.
32018
32019 2013-01-10 David S. Miller <davem@davemloft.net>
32020
32021 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32022 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32023 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32024
32025 2013-01-10 Roland McGrath <roland@hack.frob.com>
32026
32027 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32028 never set.
32029 * configure: Regenerated.
32030
32031 2013-01-10 David S. Miller <davem@davemloft.net>
32032
32033 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32034 sparc V9 rather than using V8 code.
32035 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32036 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32037
32038 2013-01-10 Roland McGrath <roland@hack.frob.com>
32039
32040 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32041 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32042 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32043 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32044 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32045 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32046 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32047 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32048 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32049 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32050 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32051 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32052 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32053 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32054 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32055 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32056 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32057 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32058 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32059 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32060 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32061 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32062 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32063 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32064 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32065 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32066 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32067
32068 2013-01-10 David S. Miller <davem@davemloft.net>
32069
32070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32071
32072 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32073
32074 * posix/Makefile (tests-static): New variable.
32075 (tests): Add $(tests-static).
32076 (tst-exec-static-ARGS): New variable.
32077 (tst-spawn-static-ARGS): Likewise.
32078 * posix/tst-exec-static.c: New file.
32079 * posix/tst-spawn-static.c: Likewise.
32080 * posix/tst-exec.c: Support run directly.
32081 * posix/tst-spawn.c: Likewise.
32082
32083 2013-01-10 Joseph Myers <joseph@codesourcery.com>
32084
32085 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32086 long.
32087 * math/bits/mathcalls.h (llrint): Likewise.
32088 (llround): Likewise.
32089 * stdlib/stdlib.h (struct drand48_data): Likewise.
32090 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32091 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32092 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32093 Likewise.
32094 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32095 Likewise.
32096 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32097 (elf_greg_t): Likewise.
32098 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32099 (__jmp_buf): Likewise.
32100 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32101 definitions.
32102 (llrint): Likewise, for all definitions.
32103 (llrintl): Likewise.
32104
32105 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32106 Remove [__GNUC__] condition.
32107 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32108 condition to just [__USE_ISOC99].
32109 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32110
32111 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32112
32113 [BZ #14200]
32114 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32115 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32116 defined.
32117 (_POSIX_V6_ILP32_OFF32): Likewise.
32118 (_XBS5_ILP32_OFF32): Likewise.
32119 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32120 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32121
32122 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32123
32124 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32125
32126 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32127 doubles __mpexp_twomm1. Adjust usage.
32128 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32129 Remove.
32130
32131 2013-01-10 Andreas Schwab <schwab@suse.de>
32132
32133 [BZ #14964]
32134 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32135 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32136
32137 2013-01-09 David S. Miller <davem@davemloft.net>
32138
32139 [BZ #15003]
32140 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32141 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32142 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32143 (TCP_FASTOPEN): Define.
32144 (tcp_repair_opt): New structure.
32145 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32146 enum values.
32147 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32148 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32149 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32150 (tcp_cookie_transactions): New structure.
32151
32152 2013-01-09 Anton Blanchard <anton@samba.org>
32153
32154 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32155 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32156 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32157 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32158
32159 2013-01-09 Joseph Myers <joseph@codesourcery.com>
32160
32161 * include/features.h (__USE_ANSI): Remove.
32162
32163 2013-01-09 Roland McGrath <roland@hack.frob.com>
32164
32165 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32166
32167 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32168
32169 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32170
32171 * sysdeps/s390/fpu/libm-test-ulps: Update.
32172
32173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32174
32175 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32176 (__acr): Likewise.
32177 (__cpy): Likewise.
32178 (norm): Likewise.
32179 (denorm): Likewise.
32180 (__mp_dbl): Likewise.
32181 (__dbl_mp): Likewise.
32182 (add_magnitudes): Likewise.
32183 (sub_magnitudes): Likewise.
32184 (__add): Likewise.
32185 (__sub): Likewise.
32186 (__mul): Likewise.
32187 (__inv): Likewise.
32188 (__dvd): Likewise.
32189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32190 (__acr): Likewise.
32191 (__cpy): Likewise.
32192 (norm): Likewise.
32193 (denorm): Likewise.
32194 (__mp_dbl): Likewise.
32195 (__dbl_mp): Likewise.
32196 (add_magnitudes): Likewise.
32197 (sub_magnitudes): Likewise.
32198 (__add): Likewise.
32199 (__sub): Likewise.
32200 (__mul): Likewise.
32201 (__inv): Likewise.
32202 (__dvd): Likewise.
32203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32204 (__acr): Likewise.
32205 (__cpy): Likewise.
32206 (norm): Likewise.
32207 (denorm): Likewise.
32208 (__mp_dbl): Likewise.
32209 (__dbl_mp): Likewise.
32210 (add_magnitudes): Likewise.
32211 (sub_magnitudes): Likewise.
32212 (__add): Likewise.
32213 (__sub): Likewise.
32214 (__mul): Likewise.
32215 (__inv): Likewise.
32216 (__dvd): Likewise.
32217
32218 2013-01-08 Joseph Myers <joseph@codesourcery.com>
32219
32220 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32221 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32222 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32223 2 && __USE_EXTERN_INLINES]: Likewise.
32224
32225 2013-01-08 Andreas Jaeger <aj@suse.de>
32226
32227 [BZ# 14985]
32228 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32229 Remove.
32230 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32231 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32232
32233 2013-01-07 Anton Blanchard <anton@samba.org>
32234
32235 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32236 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32237 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32238 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32239 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32240 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32241 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32242 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32244 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32245 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32246 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32247 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32248 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32249 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32250 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32251 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32252 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32253 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32254 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32255 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32256 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32257 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32258 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32259 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32260 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32261 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32262 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32263 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32264 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32265 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32267 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32268 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32269 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32270 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32271 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32272 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32273 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32274 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32275 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32276 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32277 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32278
32279 2013-01-07 Joseph Myers <joseph@codesourcery.com>
32280
32281 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32282 (__MALLOC_PMT): Likewise.
32283 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32284 [__GNUC__], only on [_LIBC].
32285 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32286 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32287 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32288 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32289 forward declaration.
32290 (realloc_hook_ini): Likewise.
32291 (memalign_hook_ini): Likewise.
32292 (__libc_memalign): Do not use __MALLOC_PMT in variable
32293 declaration.
32294 (__libc_valloc): Likewise.
32295 (__libc_pvalloc): Likewise.
32296 (__libc_calloc): Likewise.
32297 (__posix_memalign): Likewise.
32298
32299 [BZ #14996]
32300 * math/s_casinh.c: Include <float.h>.
32301 (__casinh): Do not do computation with squaring and square root
32302 for large arguments.
32303 * math/s_casinhf.c: Include <float.h>.
32304 (__casinhf): Do not do computation with squaring and square root
32305 for large arguments.
32306 * math/s_casinhl.c: Include <float.h>.
32307 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32308 (__casinhl): Do not do computation with squaring and square root
32309 for large arguments.
32310 * math/libm-test.inc (casin_test): Add more tests.
32311 (casinh_test): Likewise.
32312 * sysdeps/i386/fpu/libm-test-ulps: Update.
32313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32314
32315 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32316
32317 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32318 (__x86_64_raw_data_cache_size): Likewise.
32319 (__x86_64_data_cache_size_half): Likewise.
32320 (__x86_64_raw_data_cache_size_half): Likewise.
32321 (__x86_64_shared_cache_size): Likewise.
32322 (__x86_64_raw_shared_cache_size): Likewise.
32323 (__x86_64_shared_cache_size_half): Likewise.
32324 (__x86_64_raw_shared_cache_size_half): Likewise.
32325 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32326 to ...
32327 (__x86_data_cache_size): This.
32328 (__x86_64_raw_data_cache_size): Renamed to ...
32329 (__x86_raw_data_cache_size): This.
32330 (__x86_64_data_cache_size_half): Renamed to ...
32331 (__x86_data_cache_size_half): This.
32332 (__x86_64_raw_data_cache_size_half): Renamed to ...
32333 (__x86_raw_data_cache_size_half): This.
32334 (__x86_64_shared_cache_size): Renamed to ...
32335 (__x86_shared_cache_size): This.
32336 (__x86_64_raw_shared_cache_size): Renamed to ...
32337 (__x86_raw_shared_cache_size): This.
32338 (__x86_64_shared_cache_size_half): Renamed to ...
32339 (__x86_shared_cache_size_half): This.
32340 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32341 (__x86_raw_shared_cache_size_half): This.
32342 * sysdeps/x86_64/memcpy.S: Updated.
32343 * sysdeps/x86_64/memset.S: Likewise.
32344 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32345 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32346 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32347
32348 2013-01-04 David S. Miller <davem@davemloft.net>
32349
32350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32351
32352 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32353
32354 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32355 1 to avoid redefinition warning.
32356 (__USE_GNU): Don't define.
32357 (init_signaling_nan): Protoize.
32358
32359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32360
32361 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32362
32363 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32365 (__cpymn): Likewise.
32366 (norm): Remove commented code.
32367 (denorm): Likewise.
32368 (__mp_dbl): Likewise.
32369 (__inv): Likewise.
32370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32371 (__cpymn): Likewise.
32372 (norm): Remove commented code.
32373 (denorm): Likewise.
32374 (__mp_dbl): Likewise.
32375 (__inv): Likewise.
32376
32377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32378 mp_no value for 1.0 and 2.0.
32379 (norm): Use RADIXI instead of radixi.d.
32380 (denorm): Likewise.
32381 (__mul): Use 0.0 instead of zero.d.
32382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32383 mp_no value for 1.0 and 2.0.
32384 (norm): Use RADIXI instead of radixi.d.
32385 (denorm): Likewise.
32386 (__mul): Use 0.0 instead of zero.d.
32387
32388 2013-01-04 Joseph Myers <joseph@codesourcery.com>
32389
32390 [BZ #14994]
32391 * math/s_casinh.c (__casinh): Reduce finite argument to first
32392 quadrant then set signs of results at the end.
32393 * math/s_casinhf.c (__casinhf): Likewise.
32394 * math/s_casinhl.c (__casinhl): Likewise.
32395 * math/libm-test.inc (casin_test): Add more tests.
32396 (casinh_test): Likewise.
32397 * sysdeps/i386/fpu/libm-test-ulps: Update.
32398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32399
32400 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32401
32402 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32403
32404 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32405
32406 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32407 declarations.
32408 (denorm): Likewise.
32409 (__mp_dbl): Likewise.
32410 (__inv): Likewise.
32411
32412 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32413 and adjust the header comment.
32414
32415 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32416 variable name from declaration.
32417
32418 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32419
32420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32421 Initialize COMMON_CPUID_INDEX_7 element.
32422 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32423 (CPUID_RTM): Likewise.
32424 (HAS_RTM): Likewise.
32425 (COMMON_CPUID_INDEX_7): New enum.
32426
32427 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32428
32429 [BZ #14981]
32430 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32431 size is zero, record memory as freed.
32432
32433 2013-01-03 Andreas Jaeger <aj@suse.de>
32434
32435 * po/ia.po: Add new Interlingua translation.
32436
32437 2012-01-03 Allan McRae <allan@archlinux.org>
32438
32439 * locale/programs/localedef.c: Fix description of '--posix' flag.
32440
32441 2013-01-02 Joseph Myers <joseph@codesourcery.com>
32442
32443 * NEWS: Update dates in second copyright notice.
32444 * README: Update copyright dates in example.
32445 * manual/libc.texinfo: Update copyright dates.
32446 * scripts/test-installation.pl: Update copyright date in --version
32447 output.
32448
32449 * hurd/ctty-input.c: Fix copyright notice formatting.
32450 * hurd/ctty-output.c: Likewise.
32451 * hurd/dtable.c: Likewise.
32452 * hurd/hurd-raise.c: Likewise.
32453 * hurd/hurdprio.c: Likewise.
32454 * hurd/msgportdemux.c: Likewise.
32455 * misc/sys/file.h: Likewise.
32456 * misc/sys/ioctl.h: Likewise.
32457 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32458 * sysdeps/mach/hurd/chdir.c: Likewise.
32459 * sysdeps/mach/hurd/fchdir.c: Likewise.
32460 * sysdeps/mach/hurd/rename.c: Likewise.
32461 * sysdeps/mach/hurd/rmdir.c: Likewise.
32462 * sysdeps/mach/hurd/seekdir.c: Likewise.
32463 * sysdeps/mach/hurd/setsid.c: Likewise.
32464 * sysdeps/posix/wait3.c: Likewise.
32465
32466 * All files with FSF copyright notices: Update copyright dates
32467 using scripts/update-copyrights.
32468 * intl/plural.c: Regenerated.
32469 * locale/programs/charmap-kw.h: Likewise.
32470 * locale/programs/locfile-kw.h: Likewise.
32471
32472 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32473
32474 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32475 four values.
32476
32477 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32478 calculation loop and add branch prediction.
32479
32480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32481 check access beyond bounds of m1np.
32482
32483 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32484 MPTWO.
32485 (__inv): Remove local variable MPTWO to use the global
32486 constant.
32487 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32489 variable MPTWO.
32490 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32491 MP3HALFS static const.
32492
32493 2013-01-01 David S. Miller <davem@davemloft.net>
32494
32495 * po/ca.po: Update from translation team.
32496
32497 2013-01-01 Joseph Myers <joseph@codesourcery.com>
32498
32499 * scripts/update-copyrights: New file.
32500 * Makeconfig: Reformat copyright notice.
32501 * ctype/ctype.h: Likewise.
32502 * debug/swprintf_chk.c: Likewise.
32503 * elf/dl-cache.c: Likewise.
32504 * elf/dl-debug.c: Likewise.
32505 * elf/dl-object.c: Likewise.
32506 * grp/initgroups.c: Likewise.
32507 * hurd/Makefile: Likewise.
32508 * hurd/hurd/signal.h: Likewise.
32509 * hurd/hurdfault.c: Likewise.
32510 * hurd/hurdioctl.c: Likewise.
32511 * hurd/hurdlookup.c: Likewise.
32512 * hurd/intr-msg.c: Likewise.
32513 * iconv/gconv_open.c: Likewise.
32514 * libio/swprintf.c: Likewise.
32515 * locale/lc-ctype.c: Likewise.
32516 * locale/nl_langinfo.c: Likewise.
32517 * mach/Machrules: Likewise.
32518 * mach/Makefile: Likewise.
32519 * malloc/obstack.h: Likewise.
32520 * manual/Makefile: Likewise.
32521 * manual/tsort.awk: Likewise.
32522 * misc/bits/stab.def: Likewise.
32523 * nis/nis_print_group_entry.c: Likewise.
32524 * nis/nis_table.c: Likewise.
32525 * nis/nss_compat/compat-pwd.c: Likewise.
32526 * nis/nss_compat/compat-spwd.c: Likewise.
32527 * po/Makefile: Likewise.
32528 * posix/fnmatch.c: Likewise.
32529 * posix/regex.h: Likewise.
32530 * resolv/Makefile: Likewise.
32531 * resolv/nss_dns/dns-network.c: Likewise.
32532 * resolv/res_hconf.c: Likewise.
32533 * scripts/gen-sorted.awk: Likewise.
32534 * soft-fp/soft-fp.h: Likewise.
32535 * stdio-common/printf.h: Likewise.
32536 * stdlib/monetary.h: Likewise.
32537 * stdlib/random.c: Likewise.
32538 * stdlib/random_r.c: Likewise.
32539 * sysdeps/generic/Makefile: Likewise.
32540 * sysdeps/gnu/Makefile: Likewise.
32541 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32542 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32543 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32545 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32548 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32549 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32551 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32552 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32553 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32554 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32555 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32556 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32557 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32558 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32559 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32560 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32561 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32562 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32563 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32564 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32565 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32566 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32567 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32568 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32569 * sysdeps/mach/hurd/errnos.awk: Likewise.
32570 * sysdeps/mach/hurd/fork.c: Likewise.
32571 * sysdeps/mach/hurd/getcwd.c: Likewise.
32572 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32573 * sysdeps/mach/hurd/mmap.c: Likewise.
32574 * sysdeps/mach/hurd/utimes.c: Likewise.
32575 * sysdeps/mach/hurd/xmknod.c: Likewise.
32576 * sysdeps/posix/profil.c: Likewise.
32577 * sysdeps/posix/readdir_r.c: Likewise.
32578 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32579 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32580 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32581 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32583 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32584 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32585 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32587 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32588 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32589 * sysdeps/pthread/lio_listio.c: Likewise.
32590 * sysdeps/sparc/dl-procinfo.h: Likewise.
32591 * sysdeps/unix/i386/sysdep.S: Likewise.
32592 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32593 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32594 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32595 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32597 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32598 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32599 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32600 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32601 * sysdeps/wordsize-32/divdi3.c: Likewise.
32602 * time/sys/time.h: Likewise.
32603 * wcsmbs/Makefile: Likewise.
32604
32605 2013-01-01 David S. Miller <davem@davemloft.net>
32606
32607 * po/fr.po: Update from translation team.
32608
32609 * catgets/gencat.c: Update copyright year.
32610 * csu/version.c: Likewise.
32611 * debug/catchsegv.sh: Likewise.
32612 * debug/pcprofiledump.c: Likewise.
32613 * debug/xtrace.sh: Likewise.
32614 * elf/ldconfig.c: Likewise.
32615 * elf/ldd.bash.in: Likewise.
32616 * elf/pldd.c: Likewise.
32617 * elf/sotruss.ksh: Likewise.
32618 * elf/sprof.c: Likewise.
32619 * iconv/iconv_prog.c: Likewise.
32620 * iconv/iconvconfig.c: Likewise.
32621 * locale/programs/locale.c: Likewise.
32622 * locale/programs/localedef.c: Likewise.
32623 * login/programs/pt_chown.c: Likewise.
32624 * malloc/memusage.sh: Likewise.
32625 * malloc/memusagestat.c: Likewise.
32626 * malloc/mtrace.pl: Likewise.
32627 * nscd/nscd.c: Likewise.
32628 * nss/getent.c: Likewise.
32629 * nss/makedb.c: Likewise.
32630 * posix/getconf.c: Likewise.
32631
32632 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32633
32634 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32635 numbers.
32636
32637 2012-12-30 Mike Frysinger <vapier@gentoo.org>
32638
32639 * math/bits/mathcalls.h (modf): Use __nonnull.
32640
32641 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32642
32643 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32644 (split): Use macro CN instead of the bare value.
32645 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32646 could be used.
32647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32648 instead of the bare value.
32649 (power1): Likewise.
32650
32651 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32652
32653 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32654 __ATAN_TWOM.
32655 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32656
32657 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32658 their values.
32659 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32660 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32661 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32662 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32663
32664 2012-12-28 Andreas Jaeger <aj@suse.de>
32665
32666 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32667 values are from Linux 3.7.
32668
32669 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32670 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32671
32672 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32673
32674 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32675 TRUE case.
32676
32677 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32678 (norm): Likewise.
32679 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32680 variables with preprocessor constants.
32681 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32682 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32683 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32684
32685 2012-12-27 Bruno Haible <bruno@clisp.org>
32686
32687 [BZ #14317]
32688 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32689 only if needed.
32690
32691 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32692
32693 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32694 and use variable directly.
32695 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32696
32697 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32698 MPONE.
32699 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32700 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32701 variable MPONE.
32702 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32704 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32705 include directive. Remove local variable MPONE.
32706 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32707 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32708 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32709
32710 2012-12-25 David S. Miller <davem@davemloft.net>
32711
32712 * version.h (RELEASE): Set to "development".
32713 (VERSION): Set to "2.17.90".
32714 * NEWS: Add 2.18 section.
32715
32716 2012-12-21 David S. Miller <davem@davemloft.net>
32717
32718 * po/hr.po: Update from translation team.
32719
32720 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32721
32722 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32723
32724 2012-12-19 Steve Ellcey <sellcey@mips.com>
32725
32726 * NEWS: Mention new memcpy for MIPS.
32727
32728 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32729
32730 * manual/contrib.texi (Contributors): Spelling correction.
32731
32732 2012-12-15 David S. Miller <davem@davemloft.net>
32733
32734 * po/ru.po: Update from translation team.
32735
32736 2012-12-13 David S. Miller <davem@davemloft.net>
32737
32738 * NEWS: Mention IFUNC testsuite enhancements.
32739
32740 * po/pl.po: Update from translation team.
32741 * po/bg.po: Likewise.
32742
32743 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32744 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32745
32746 2012-12-11 David S. Miller <davem@davemloft.net>
32747
32748 * po/sv.po: Update from translation team.
32749
32750 * po/vi.po: Update from translation team.
32751
32752 * po/cs.po: Update from translation team.
32753
32754 * po/de.po: Update from translation team.
32755 * po/eo.po: Likewise.
32756 * po/nl.po: Likewise.
32757
32758 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32759
32760 [BZ #14246]
32761 * manual/argp.texi (Argp Helper Functions): Move node to follow
32762 Argp Parsing State.
32763
32764 [BZ #14872]
32765 * manual/conf.texi (Limits on File System Capacity): Mention if
32766 terminating null is included in the max size.
32767
32768 2012-12-10 Andreas Jaeger <aj@suse.de>
32769
32770 * po/cs.po: Update from translation team.
32771
32772 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32773
32774 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32775 void pointer and cast to uintptr_t.
32776 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32777 path.
32778 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32779 * sysdeps/s390/s390-64/memset.S: Likewise.
32780
32781 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
32782
32783 [BZ #14833]
32784 * menual/message.texi (Message Translation): Fix typos.
32785 (Helper programs for gettext): Likewise.
32786
32787 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32788
32789 [BZ #14898]
32790 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32791 Change to -1.
32792
32793 2012-12-07 David S. Miller <davem@davemloft.net>
32794
32795 * po/libc.pot: Update.
32796
32797 2012-12-07 Richard Henderson <rth@redhat.com>
32798
32799 [BZ #10114]
32800 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32801 normal/normal case to before the switch.
32802 (_FP_DIV): Likewise.
32803
32804 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32805 Mike Frysinger <vapier@gentoo.org>
32806
32807 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32808 check for __NR_fadvise64_64.
32809
32810 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32811
32812 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32813 0, not just to plain "0" as a statement.
32814 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32815 with cw.
32816
32817 2012-12-06 Joseph Myers <joseph@codesourcery.com>
32818
32819 * NEWS: Use sourceware.org in Bugzilla URL.
32820
32821 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32822
32823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32824 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32825
32826 * stdio-common/tst-put-error.c (do_test): Add newline to the
32827 padded test to ensure flush.
32828
32829 2012-12-05 Jeff Law <law@redhat.com>
32830
32831 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32832
32833 2012-12-05 Joseph Myers <joseph@codesourcery.com>
32834
32835 * README: Don't refer to ports add-on as distributed separately.
32836 Mention AArch64 in list of systems supported in the ports add-on.
32837
32838 * LICENSES: Add more non-FSF copyright and license notices.
32839
32840 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32841 ((unused)).
32842
32843 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32844
32845 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32846 10000 as width of padded output.
32847
32848 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32849
32850 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32851
32852 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32853 variable LX with __attribute__ ((unused)).
32854 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32855 Likewise.
32856 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32857 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32858 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32859 with __attribute__ ((unused)).
32860
32861 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
32862
32863 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32864
32865 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32866
32867 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32868 (CFLAGS-nldbl-acos.c): New variable.
32869 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32870 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32871 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32872 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32873 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32874 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32875 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32876 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32877 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32878 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32879 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32880 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32881 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32882 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32883 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32884 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32885 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32886 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32887 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32888 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32889 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32890 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32891 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32892 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32893 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32894 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32895 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32896 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32897 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32898 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32899 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32900 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32901 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32902 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32903 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32904 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32905 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32906 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32907 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32908 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32909 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32910 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32911 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32912 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32913 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32914 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32915 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32916 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32917 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32918 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32919 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32920 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32921 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32922 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32923 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32924 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32925 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32926 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32927 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32928 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32929 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32930 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32931 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32932 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32933 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32934 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32935 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32936 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32937 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32938 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32939 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32940 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32941 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32942 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32943 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32944 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32945 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32946 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32947 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32948 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32949 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32950 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32951 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32952 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32953 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32954 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32955 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32956 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32957 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32958 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32959 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32960 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32961 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32962 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32963 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32964 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32965 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32966
32967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32968 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32969
32970 [BZ #14914]
32971 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32972 whole low double instead of just low 47 bits when splitting values
32973 into two parts.
32974
32975 2012-12-03 Allan McRae <allan@archlinux.org>
32976
32977 * manual/stdio.texi (Predefined Printf Handlers): Remove
32978 @hsep and @vsep usage.
32979
32980 2012-12-03 Mike Frysinger <vapier@gentoo.org>
32981
32982 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32983 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32984
32985 2012-12-03 Jeff Law <law@redhat.com>
32986
32987 * time/sys/time.h (settimeofday): Do not mark TV argument
32988 as __nonnull.
32989
32990 2012-12-01 Mike Frysinger <vapier@gentoo.org>
32991
32992 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32993 when currently writing and seek to current position when not.
32994 * libio/Makefile (tests): Remove bug-fclose1.
32995 * libio/bug-fclose1.c: Delete.
32996
32997 2012-12-01 Joseph Myers <joseph@codesourcery.com>
32998
32999 * manual/arith.texi (feenableexcept): Fix typo.
33000 (fedisableexcept): Likewise.
33001
33002 2012-11-30 Roland McGrath <roland@hack.frob.com>
33003
33004 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33005 second, differently-typed declaration, rather than a cast.
33006
33007 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33008
33009 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33010 * include/rpc/svc.h: ... here.
33011
33012 2012-11-30 Aurelien Jarno <aurel32@debian.org>
33013
33014 [BZ #13013]
33015 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33016 depending n and resplen2 to catch cases where answer
33017 equals answerp2.
33018
33019 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33020
33021 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33022 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33023
33024 2012-11-29 Mike Frysinger <vapier@gentoo.org>
33025
33026 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33027
33028 2012-11-29 Roland McGrath <roland@hack.frob.com>
33029
33030 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33031
33032 2012-11-28 Jeff Law <law@redhat.com>
33033
33034 [BZ #13761]
33035 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33036 dataset_temporary. Track alloca usage into alloca_used.
33037 If dataset is large allocate and release it via malloc/free.
33038
33039 2012-06-04 Florian Weimer <fweimer@redhat.com>
33040
33041 [BZ #14197]
33042 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33043
33044 2012-11-28 David S. Miller <davem@davemloft.net>
33045
33046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33047
33048 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33049
33050 [BZ #14803]
33051 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33052 of pi/2 rounded to nearest to 64 bits.
33053 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33054 nearest to 64 bits.
33055 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33056 bits.
33057
33058 2012-11-28 Jeff Law <law@redhat.com>
33059 Martin Osvald <mosvald@redhat.com>
33060
33061 [BZ #14889]
33062 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33063 * sunrpc/svc.c: Include time.h.
33064 (__svc_accept_failed): New function.
33065 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33066 any reason other than EINTR, call __svc_accept_failed.
33067 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33068 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33069
33070 2012-11-28 Andreas Schwab <schwab@suse.de>
33071
33072 * scripts/abilist.awk: Also handle indirect functions in .opd
33073 section.
33074
33075 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33076
33077 [BZ #13881]
33078 * sysdeps/x86/fpu/powl_helper.c: New file.
33079 * sysdeps/x86/fpu/Makefile: Likewise.
33080 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33081 (p3): New object.
33082 (__ieee754_powl): Use __powl_helper for finite arguments except
33083 integer exponents below 8.
33084 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33085 (p3): New object.
33086 (__ieee754_powl): Use __powl_helper for finite arguments except
33087 integer exponents below 8.
33088 * math/libm-test.inc (pow_test): Add more tests and enable some
33089 previously disabled tests.
33090 * sysdeps/i386/fpu/libm-test-ulps: Update.
33091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33092
33093 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33094 Carlos O'Donell <carlos_odonell@mentor.com>
33095
33096 * nss/makedb.c (is_prime): Assert that input is odd and greater
33097 than 4. Note that fact in a comment too.
33098 (next_prime): Add 4 to input.
33099
33100 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33101
33102 [BZ #11741]
33103 * libio/Makefile (tests): Add test case tst-fwrite-error.
33104 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33105 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33106 * libio/tst-fwrite-error.c: New test case.
33107
33108 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33109
33110 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33111 before casting to void *.
33112 * include/libc-internal.h (__pointer_type): New macro.
33113 (__integer_if_pointer_type_sub): Likewise.
33114 (__integer_if_pointer_type): Likewise.
33115 (cast_to_integer): Likewise.
33116 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33117 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33118 before casting to atomic64_t.
33119 (atomic_exchange_acq): Likewise.
33120 (__arch_exchange_and_add_body): Likewise.
33121 (__arch_add_body): Likewise.
33122 (atomic_add_negative): Likewise.
33123 (atomic_add_zero): Likewise.
33124
33125 2012-11-26 Joseph Myers <joseph@codesourcery.com>
33126
33127 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33128 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33129 (add_fdes): Likewise.
33130 (linear_search_fdes): Likewise.
33131 (binary_search_unencoded_fdes): Likewise.
33132
33133 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33134
33135 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33136
33137 2012-11-24 Adam Conrad <adconrad@0c3.net>
33138
33139 * configure.in: Autodetect C++ header directories.
33140 * configure: Regenerated.
33141
33142 2012-11-23 Mike Frysinger <vapier@gentoo.org>
33143
33144 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33145
33146 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33147
33148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33149
33150 2012-11-22 Joseph Myers <joseph@codesourcery.com>
33151
33152 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33153 LDBL_MANT_DIG == 106]: Disable some tests.
33154 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33155 Likewise.
33156 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33157 Likewise.
33158
33159 [BZ #14871]
33160 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33161 input for small inputs. Return +/- pi/2 for large inputs.
33162 * math/libm-test.inc (atan_test): Add more tests.
33163
33164 * sysdeps/generic/unwind-dw2-fde-glibc.c
33165 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33166 __attribute__ ((unused)).
33167
33168 [BZ #14645]
33169 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33170 x * y if x and y are nonzero and z is zero.
33171
33172 [BZ #14811]
33173 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33174 nonzero exponents with absolute value below 0x1p-117 to +/-
33175 0x1p-117.
33176
33177 [BZ #14869]
33178 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33179 up arguments below 2**-450, not just those below 2**-500.
33180 * math/libm-test.inc (hypot_test): Add another test.
33181
33182 [BZ #14868]
33183 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33184 Return a+b for ratio over 2**120, not 2**60.
33185 * math/libm-test.inc (hypot_test): Add another test.
33186
33187 * math/libm-test.inc (clog_test): Use
33188 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33189 (clog10_test): Likewise.
33190
33191 [BZ #6778]
33192 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33193
33194 2012-11-22 Andreas Schwab <schwab@suse.de>
33195
33196 * sysdeps/i386/fpu/libm-test-ulps: Update.
33197
33198 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33199
33200 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33201 printf output with newline.
33202
33203 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33204
33205 [BZ #14865]
33206 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33207 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33208 -z nodlopen, -z initfirst and -z execstack support.
33209 * configure: Regenerated.
33210
33211 * elf/elf.h (DF_1_NODIRECT): New macro.
33212 (DF_1_IGNMULDEF): Likewise.
33213 (DF_1_NOKSYMS): Likewise.
33214 (DF_1_NOHDR): Likewise.
33215 (DF_1_EDITED): Likewise.
33216 (DF_1_NORELOC): Likewise.
33217 (DF_1_SYMINTPOSE): Likewise.
33218 (DF_1_GLOBAUDIT): Likewise.
33219 (DF_1_SINGLETON): Likewise.
33220 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33221 DT_1_SUPPORTED_MASK bits.
33222 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33223
33224 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33225
33226 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33227
33228 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33229
33230 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33231 macro.
33232
33233 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33234 (sendmmsg): Move declarations...
33235 * socket/sys/socket.h: ... here.
33236 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33237 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33238 include it from...
33239 * socket/recvmmsg.c: ... this new file.
33240 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33241 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33242 definition of __sendmmsg hidden.
33243 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33244 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33245 Move ENOSYS stub into and include it from...
33246 * socket/sendmmsg.c: ... this new file.
33247 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33248 (sysdep_routines): Move recvmmsg and sendmmsg...
33249 * socket/Makefile (routines): ... here.
33250 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33251 (GLIBC_PRIVATE): Add __sendmmsg.
33252 * include/sys/socket.h (__sendmmsg): Add declarations.
33253 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33254 sendmmsg.
33255
33256 2012-11-20 Joseph Myers <joseph@codesourcery.com>
33257
33258 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33259 variable I1 with __attribute__ ((unused)).
33260 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33261
33262 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33263
33264 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33265 DUMMY variables with __attribute__ ((unused)).
33266
33267 * bits/byteswap.h: Include <bits/types.h>.
33268 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33269
33270 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33271
33272 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33273 string_t. Do not manually set errno.
33274 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33275 length with __strnlen. Make sure to both set errno and return it on
33276 failure.
33277
33278 2012-11-19 David S. Miller <davem@davemloft.net>
33279
33280 With help from Joseph Myers.
33281 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33282 very large arguments properly.
33283 * math/libm-test.inc (atan_test): New tests.
33284 (atan2_test): New tests.
33285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33287
33288 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33289
33290 [BZ #14856]
33291 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33292 Define to 3.
33293
33294 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33295 [POSIX] (EADDRNOTAVAIL): Likewise.
33296 [POSIX] (EAFNOSUPPORT): Likewise.
33297 [POSIX] (EALREADY): Likewise.
33298 [POSIX] (ECONNABORTED): Likewise.
33299 [POSIX] (ECONNREFUSED): Likewise.
33300 [POSIX] (ECONNRESET): Likewise.
33301 [POSIX] (EDESTADDRREQ): Likewise.
33302 [POSIX] (EDQUOT): Likewise.
33303 [POSIX] (EHOSTUNREACH): Likewise.
33304 [POSIX] (EIDRM): Likewise.
33305 [POSIX] (EISCONN): Likewise.
33306 [POSIX] (ELOOP): Likewise.
33307 [POSIX] (EMULTIHOP): Likewise.
33308 [POSIX] (ENETDOWN): Likewise.
33309 [POSIX] (ENETUNREACH): Likewise.
33310 [POSIX] (ENOBUFS): Likewise.
33311 [POSIX] (ENODATA): Likewise.
33312 [POSIX] (ENOLINK): Likewise.
33313 [POSIX] (ENOMSG): Likewise.
33314 [POSIX] (ENOPROTOOPT): Likewise.
33315 [POSIX] (ENOSR): Likewise.
33316 [POSIX] (ENOSTR): Likewise.
33317 [POSIX] (ENOTCONN): Likewise.
33318 [POSIX] (ENOTSOCK): Likewise.
33319 [POSIX] (EOPNOTSUPP): Likewise.
33320 [POSIX] (EOVERFLOW): Likewise.
33321 [POSIX] (EPROTO): Likewise.
33322 [POSIX] (EPROTONOSUPPORT): Likewise.
33323 [POSIX] (EPROTOTYPE): Likewise.
33324 [POSIX] (ESTALE): Likewise.
33325 [POSIX] (ETIME): Likewise.
33326 [POSIX] (ETXTBSY): Likewise.
33327 [POSIX] (EWOULDBLOCK): Likewise.
33328 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33329 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33330 [POSIX] (SEEK_CUR): Likewise.
33331 [POSIX] (SEEK_END): Likewise.
33332 [POSIX || UNIX98] (mode_t): Do not require.
33333 [POSIX] (off_t): Likewise.
33334 [POSIX] (pid_t): Likewise.
33335 [POSIX] (sys/stat.h): Do not allow header.
33336 [POSIX] (unistd.h): Likewise.
33337 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33338 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33339 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33340 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33341 require.
33342 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33343 sigevent): Specify elements.
33344 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33345 entry.
33346 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33347 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33348
33349 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33350 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33351 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33352 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33353 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33354 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33355 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33356 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33357 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33358 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33359 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33360 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33361 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33362 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33363 Likewise.
33364 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33365 Likewise.
33366 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33367 Likewise.
33368 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33369 Likewise.
33370 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33371 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33372 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33373 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33374 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33375 Specify lower bound on value.
33376 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33377 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33378 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33379 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33380 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33381 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33382 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33383 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33384 value.
33385 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33386 as optional.
33387 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33388 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33389 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33390 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33391 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33392 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33393 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33394 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33395 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33396 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33397 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33398 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33399 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33400 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33401 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33402 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33403 entry.
33404 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33405 optional.
33406 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33407 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33408 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33409 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33410 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33411 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33412 Likewise.
33413 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33414 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33415 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33416 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33417 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33418 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33419 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33420 as optional.
33421 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33422 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33423 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33424 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33425 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33426 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33427 specify as optional.
33428 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33429 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33430 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33431 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33432 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33433 [XPG3] (NL_LANGMAX): Likewise.
33434 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33435 [POSIX || XPG3] (NL_NMAX): Likewise.
33436 [POSIX || XPG3] (NL_SETMAX): Likewise.
33437 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33438 [XPG3] (NZERO): Likewise.
33439 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33440 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33441 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33442 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33443 (REG_ERANGE): Expect.
33444 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33445 optional-constant.
33446 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33447 Use (void) in prototype.
33448 [POSIX] (*_t): Allow.
33449 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33450 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33451 (WRDE_BADVAL): Expect.
33452
33453 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33454 expect.
33455 [XPG3 || XPG4] (O_RSYNC): Likewise.
33456 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33457 Likewise.
33458 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33459 [XPG3 || XPG4] (sigqueue): Likewise.
33460 [XPG3 || XPG4] (sigtimedwait): Likewise.
33461 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33462 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33463 [XPG3 || XPG4] (vsnprintf): Likewise.
33464 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33465 Likewise.
33466 [XPG3 || XPG4] (blksize_t): Likewise.
33467 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33468 Likewise.
33469 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33470 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33471 [XPG3 || XPG4] (struct itimerspec): Likewise.
33472 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33473 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33474 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33475 [XPG3 || XPG4] (clockid_t): Likewise.
33476 [XPG3 || XPG4] (timer_t): Likewise.
33477 [XPG3 || XPG4] (clock_getres): Likewise.
33478 [XPG3 || XPG4] (clock_gettime): Likewise.
33479 [XPG3 || XPG4] (clock_settime): Likewise.
33480 [XPG3 || XPG4] (nanosleep): Likewise.
33481 [XPG3 || XPG4] (timer_create): Likewise.
33482 [XPG3 || XPG4] (timer_delete): Likewise.
33483 [XPG3 || XPG4] (timer_gettime): Likewise.
33484 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33485 [XPG3 || XPG4] (timer_settime): Likewise.
33486 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33487 [XPG3 || XPG4] (getlogin_r): Likewise.
33488 [XPG3 || XPG4] (pread): Likewise.
33489 [XPG3 || XPG4] (pthread_atfork): Likewise.
33490 [XPG3 || XPG4] (pwrite): Likewise.
33491
33492 [BZ #14835]
33493 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33494 <bits/siginfo.h>.
33495
33496 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33497
33498 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33499 finalizing MALLSTREAM.
33500
33501 * sysdeps/mach/hurd/syncfs.c: New file.
33502
33503 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33504
33505 [BZ #14719]
33506 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33507 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33508 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33509 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33510 (_nss_dns_gethostbyname4_r): Likewise.
33511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33512 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33513
33514 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33515
33516 [BZ #13763]
33517 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33518
33519 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33520
33521 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33522 * elf/cache.c (print_entry): Print ",AArch64" for
33523 FLAG_AARCH64_LIB64
33524
33525 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33526 * elf/cache.c (print_entry): Print ",hard-float" for
33527 FLAG_ARM_LIBHF.
33528
33529 2012-11-18 David S. Miller <davem@davemloft.net>
33530
33531 With help from Joseph Myers.
33532 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33533 cutoff to 2**-13.
33534 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33535 cutoff to 2**-25.
33536 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33537 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33538 small.
33539 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33540 * math/libm-test.inc (y0_test): New tests.
33541 (y1_test): New tests.
33542 * sysdeps/i386/fpu/libm-test-ulps: Update.
33543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33545
33546 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33547
33548 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33549 64-bit targets.
33550 * configure: Regenerated.
33551
33552 2012-11-17 David S. Miller <davem@davemloft.net>
33553
33554 [BZ #14811]
33555 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33556 nonzero exponents with absolute value below 0x1p-128 to +/-
33557 0x1p-128.
33558
33559 2012-11-17 Joseph Myers <joseph@codesourcery.com>
33560
33561 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33562
33563 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33564
33565 * posix/getconf-speclist.c: New file.
33566 * posix/posix-envs.def: Likewise.
33567 * posix/confstr.c (START_ENV_GROUP): New macro.
33568 (END_ENV_GROUP): Likewise.
33569 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33570 (KNOWN_PRESENT_ENV_STRING): Likewise.
33571 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33572 (UNKNOWN_ENVIRONMENT): Likewise.
33573 (confstr): Include posix-envs.def instead of handling
33574 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33575 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33576 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33577 (END_ENV_GROUP): Likewise.
33578 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33579 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33580 (UNKNOWN_ENVIRONMENT): Likewise.
33581 (__sysconf): Include posix-envs.def instead of handling associated
33582 cases directly here.
33583 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33584 preprocessing getconf-speclist.c rather than running getconf or
33585 generating empty file.
33586
33587 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33588
33589 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33590
33591 2012-11-16 Andrej Lajovic <natrij@gmail.com>
33592
33593 [BZ #14672]
33594 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33595
33596 2012-11-16 David S. Miller <davem@davemloft.net>
33597
33598 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33599 smaller than LDBL_EPSILON/2.0L, just return xm1.
33600
33601 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33602
33603 * elf/tst-array1.c (init): Set constructor priority to 1000.
33604 (fini): Set destructor priority to 1000.
33605 * elf/tst-array2dep.c: Likewise.
33606
33607 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33608
33609 [BZ #11741]
33610 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33611 (_IO_new_file_xsputn): Also return EOF if none of the input
33612 data was written when overflow failed.
33613 * libio/iopadn.c (_IO_padn): Likewise.
33614 * libio/iowpadn.c (_IO_wpadn): Likewise.
33615 * stdio-common/tst-put-error.c: Add copyright notice.
33616 (do_test): Add case for printing padded string.
33617 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33618 _IO_padn returned error.
33619 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33620 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33621 return EOF.
33622
33623 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33624
33625 * libio/libioP.h: Add comment note that the references to C++
33626 bits are now obsolete.
33627
33628 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33629
33630 * math/libm-test.inc (check_complex): Use asprintf.
33631
33632 2012-11-14 Joseph Myers <joseph@codesourcery.com>
33633
33634 * debug/pcprofiledump.c (print_version): Update copyright year.
33635 * malloc/memusagestat.c (print_version): Likewise.
33636
33637 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33638
33639 [BZ #14831]
33640 * elf/Makefile (tests): Add tst-audit8.
33641 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33642 ($(objpfx)tst-audit8.out): New target.
33643 (tst-audit8-ENV): New variable.
33644 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33645 audit if l_reloc_result is NULL.
33646 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33647 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33648 * elf/tst-audit8.c: New file.
33649
33650 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33651
33652 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33653 * misc/Makefile (CFLAGS-select.c): Define.
33654 * posix/Makefile (CFLAGS-pause.c): Define.
33655
33656 2012-11-13 David S. Miller <davem@davemloft.net>
33657
33658 * crypt/Makefile: Move test targets after toplevel Rules
33659 inclusion. Grab any necessary sysdep routines when linking.
33660 * crypt/md5.c (md5_process_block): Remove define, we will always
33661 name it __md5_process_block.
33662 (md5_finish_ctx): Update md5_process_block call.
33663 (md5_stream): Likewise.
33664 (md5_process_bytes): Likewise.
33665 (md5_process_block): Rename to __md5_process_block and move to ...
33666 * crypt/md5-block.c: ... here.
33667 * crypt/sha256.c (sha256_process_block): Move to ...
33668 * crypt/sha256-block.c: ... here.
33669 * crypt/sha512.c (sha512_process_block): Move to ...
33670 * crypt/sha512-block.c: ... here.
33671 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33672 path.
33673 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33674 * sysdeps/sparc/sparc64/multiarch/Makefile
33675 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33676 crypt subdir.
33677 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33678 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33679 multiarch changes.
33680 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33681 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33682 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33683 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33684 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33685 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33686 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33687 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33688 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33689 file.
33690 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33691 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33692 file.
33693 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33694
33695 2012-11-13 Joseph Myers <joseph@codesourcery.com>
33696
33697 * timezone/tzselect.ksh: Update from tzcode git revision
33698 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33699 * timezone/zdump.c: Likewise.
33700 * timezone/zic.c: Likewise.
33701 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33702 in TZVERSION setting, not $(PKGVERSION).
33703 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33704 REPORT_BUGS_TO settings.
33705
33706 [BZ #14838]
33707 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33708 macro.
33709
33710 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33711
33712 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33713 detection to immediately after _FP_ROUND().
33714 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33715 bits are 0.
33716
33717 2012-11-11 David S. Miller <davem@davemloft.net>
33718
33719 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33720 inttypes.h
33721 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33722 __close rather than their public counterparts.
33723
33724 2012-11-10 Joseph Myers <joseph@codesourcery.com>
33725
33726 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33727 file.
33728 [UNIX98] (sem_timedwait): Do not expect.
33729 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33730 [XPG4 || UNIX98] (sockatmark): Do not expect.
33731 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33732 (clock_getcpuclockid): Do not expect.
33733 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33734 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33735 Do not expect.
33736 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33737 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33738 [UNIX98] (vwscanf): Likewise.
33739 [UNIX98] (vswscanf): Likewise.
33740
33741 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33742
33743 * timezone/version.h: Remove file.
33744 * timezone/README: Do not refer to version.h.
33745 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33746 $(objpfx)version.h.
33747 ($(objpfx)zdump.o): Likewise.
33748 ($(objpfx)version.h): New target.
33749
33750 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33751 2012i.
33752 * timezone/README: Don't mention modification to tzselect.ksh.
33753 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33754 work on unmodified tzselect.ksh. Substitute version numbers in
33755 tzselect.ksh.
33756
33757 * Makefile (format-me): Remove.
33758 (INSTALL): Adjust indentation. Use commands directly instead of
33759 using $(format-me).
33760
33761 * aclocal.m4 (ACX_PKGVERSION): New macro.
33762 (ACX_BUGURL): Likewise.
33763 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33764 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33765 (REPORT_BUGS_TO): Likewise.
33766 * configure: Regenerated.
33767 * config.h.in (PKGVERSION): New macro.
33768 (REPORT_BUGS_TO): Likewise.
33769 * config.make.in (PKGVERSION): New variable.
33770 (PKGVERSION_TEXI): Likewise.
33771 (REPORT_BUGS_TO): Likewise.
33772 (REPORT_BUGS_TEXI): Likewise.
33773 * Makefile (format-me): Use -I$(common-objpfx)manual.
33774 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33775 ($(common-objpfx)manual/%): New target.
33776 (manual/%): Remove target.
33777 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33778 (print_version): Use PKGVERSION.
33779 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33780 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33781 and REPORT_BUGS_TO.
33782 ($(objpfx)xtrace): Likewise.
33783 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33784 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33785 (print_version): Use PKGVERSION.
33786 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33787 (do_version): Use PKGVERSION.
33788 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33789 REPORT_BUGS_TO.
33790 (common-ldd-rewrite): Likewise.
33791 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33792 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33793 (print_version): Use PKGVERSION.
33794 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33795 * elf/pldd.c (argp_program_bug_address): Remove variable.
33796 (more_help): New function.
33797 (argp): Use more_help.
33798 (print_version): Use PKGVERSION.
33799 * elf/sln.c (main): Use PKGVERSION.
33800 (usage): Use REPORT_BUGS_TO.
33801 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33802 (top level): Use PKGVERSION.
33803 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33804 (print_version): Use PKGVERSION.
33805 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33806 (print_version): Use PKGVERSION.
33807 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33808 (print_version): Use PKGVERSION.
33809 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33810 (print_version): Use PKGVERSION.
33811 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33812 (print_version): Use PKGVERSION.
33813 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33814 (print_version): Use PKGVERSION.
33815 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33816 and BUGURL.
33817 ($(objpfx)memusage): Likewise.
33818 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33819 (do_version): Use PKGVERSION.
33820 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33821 (print_version): Use PKGVERSION.
33822 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33823 ($PKGVERSION): New variable.
33824 ($REPORT_BUGS_TO): Likewise.
33825 (usage): Use $REPORT_BUGS_TO.
33826 (top level): Use $PKGVERSION.
33827 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33828 ($(objpfx)pkgvers.texi): New rule.
33829 ($(objpfx)stamp-pkgvers): Likewise.
33830 * manual/install.texi: Include pkgvers.texi.
33831 (--with-pkgversion): Document new configure option.
33832 (--with-bugurl): Likewise.
33833 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33834 than necessarily for this particular distribution. Use
33835 REPORT_BUGS_TO for where to report bugs.
33836 * INSTALL: Regenerated.
33837 * manual/libc.texinfo: Include pkgvers.texi.
33838 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33839 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33840 (print_version): Use PKGVERSION.
33841 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33842 (print_version): Use PKGVERSION.
33843 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33844 (print_version): Use PKGVERSION.
33845 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33846 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33847 macro.
33848 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33849 (print_version): Use PKGVERSION.
33850 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33851 (print_version): Use PKGVERSION.
33852 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33853 and PKGVERSION.
33854
33855 * timezone/checktab.awk: Update from tzcode 2012i.
33856 * timezone/ialloc.c: Likewise.
33857 * timezone/private.h: Likewise.
33858 * timezone/scheck.c: Likewise.
33859 * timezone/tzfile.h: Likewise.
33860 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33861 (TZVERSION): Hardcode tzcode version number.
33862 * timezone/zdump.c: Update from tzcode 2012i.
33863 * timezone/zic.c: Likewise.
33864 * timezone/version.h: New file.
33865 * timezone/README: Describe version.h. Update upstream location.
33866
33867 [BZ #14824]
33868 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33869 (mktemp): Enable declaration.
33870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33872 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33874 Likewise.
33875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33876 Likewise.
33877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33878 Likewise.
33879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33880 Likewise.
33881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33882 Likewise.
33883 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33884 Likewise.
33885
33886 [BZ #14821]
33887 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33888 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33889 for copies of such integer values.
33890 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33891 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33892
33893 2012-11-09 Andreas Jaeger <aj@suse.de>
33894
33895 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33896 definitions and declarations that are provided by
33897 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33898
33899 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33900
33901 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33902 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33903 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33904 definition.
33905
33906 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33907
33908 * elf/elf.h: Update comment before AArch64 relocations.
33909
33910 2012-11-07 David S. Miller <davem@davemloft.net>
33911
33912 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33913 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33914 (__start_context): Declare.
33915 (__makecontext_ret): Delete.
33916 (__makecontext): Hook up __start_context instead of
33917 __makecontext_ret.
33918 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33919 (sysdep_routines): Add __start_context when in stdlib.
33920
33921 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33922
33923 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33924 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33925 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33926 hardcoded "nm".
33927 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33928 (READELF): New variable. Use it instead of hardcoded "readelf".
33929
33930 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33931
33932 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33933 * sysdeps/x86/Makefile: Here.
33934 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33935 * sysdeps/x86/tst-xmmymm.sh: This.
33936
33937 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33938
33939 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33940 expectations.
33941 [UNIX98] (pthread_barrier_t): Do not expect.
33942 [UNIX98] (pthread_barrierattr_t): Likewise.
33943 [UNIX98] (pthread_spinlock_t): Likewise.
33944 [UNIX98] (pthread_barrier_destroy): Likewise.
33945 [UNIX98] (pthread_barrier_init): Likewise.
33946 [UNIX98] (pthread_barrier_wait): Likewise.
33947 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33948 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33949 [UNIX98] (pthread_barrierattr_init): Likewise.
33950 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33951 [UNIX98] (pthread_getcpuclockid): Likewise.
33952 [UNIX98] (pthread_mutex_timedlock): Likewise.
33953 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33954 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33955 [UNIX98] (pthread_sigmask): Likewise.
33956 [UNIX98] (pthread_spin_destroy): Likewise.
33957 [UNIX98] (pthread_spin_init): Likewise.
33958 [UNIX98] (pthread_spin_lock): Likewise.
33959 [UNIX98] (pthread_spin_trylock): Likewise.
33960 [UNIX98] (pthread_spin_unlock): Likewise.
33961 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33962 Do not expect.
33963 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33964 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33965 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33966 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33967 [XPG3 || XPG4] (pthread_key_t): Likewise.
33968 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33969 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33970 [XPG3 || XPG4] (pthread_once_t): Likewise.
33971 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33972 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33973 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33974 [XPG3 || XPG4] (pthread_t): Likewise.
33975
33976 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33977 not expect.
33978 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33979
33980 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33981 Change function return type to int.
33982
33983 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33984 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33985 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33986 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33987 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33988 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33989 [!POSIX] (posix_madvise): Likewise.
33990 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33991 && !UNIX98].
33992 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33993 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33994 (mode_t): Likewise.
33995 (posix_mem_offset): Likewise.
33996 (posix_typed_mem_get_info): Likewise.
33997 (posix_typed_mem_open): Likewise.
33998
33999 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34000 Change condition to [XOPEN2K8].
34001
34002 * conform/conformtest.pl: Preprocess allow-header data with -x c
34003 instead of from stdin.
34004 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34005 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34006 [C99-based standards] (cerfc): Likewise.
34007 [C99-based standards] (cexp2): Likewise.
34008 [C99-based standards] (cexpm1): Likewise.
34009 [C99-based standards] (clog10): Likewise.
34010 [C99-based standards] (clog1p): Likewise.
34011 [C99-based standards] (clog2): Likewise.
34012 [C99-based standards] (clgamma): Likewise.
34013 [C99-based standards] (ctgamma): Likewise.
34014 [C99-based standards] (cerff): Likewise.
34015 [C99-based standards] (cerfcf): Likewise.
34016 [C99-based standards] (cexp2f): Likewise.
34017 [C99-based standards] (cexpm1f): Likewise.
34018 [C99-based standards] (clog10f): Likewise.
34019 [C99-based standards] (clog1pf): Likewise.
34020 [C99-based standards] (clog2f): Likewise.
34021 [C99-based standards] (clgammaf): Likewise.
34022 [C99-based standards] (ctgammaf): Likewise.
34023 [C99-based standards] (cerfl): Likewise.
34024 [C99-based standards] (cerfcl): Likewise.
34025 [C99-based standards] (cexp2l): Likewise.
34026 [C99-based standards] (cexpm1l): Likewise.
34027 [C99-based standards] (clog10l): Likewise.
34028 [C99-based standards] (clog1pl): Likewise.
34029 [C99-based standards] (clog2l): Likewise.
34030 [C99-based standards] (clgammal): Likewise.
34031 [C99-based standards] (ctgammal): Likewise.
34032 * conform/data/inttypes.h-data [C99-based standards]: Include
34033 stdint.h-data. Remove all expectations for stdint.h contents.
34034 [C99-based standards] (PRI*): Do not allow.
34035 [C99-based standards] (SCN*): Likewise.
34036 [C99-based standards] (*_t): Likewise.
34037 [C99-based-standards] (PRId8): Expect macro.
34038 [C99-based-standards] (PRIi8): Likewise.
34039 [C99-based-standards] (PRIo8): Likewise.
34040 [C99-based-standards] (PRIu8): Likewise.
34041 [C99-based-standards] (PRIx8): Likewise.
34042 [C99-based-standards] (PRIX8): Likewise.
34043 [C99-based-standards] (SCNd8): Likewise.
34044 [C99-based-standards] (SCNi8): Likewise.
34045 [C99-based-standards] (SCNo8): Likewise.
34046 [C99-based-standards] (SCNu8): Likewise.
34047 [C99-based-standards] (SCNx8): Likewise.
34048 [C99-based-standards] (PRIdLEAST8): Likewise.
34049 [C99-based-standards] (PRIiLEAST8): Likewise.
34050 [C99-based-standards] (PRIoLEAST8): Likewise.
34051 [C99-based-standards] (PRIuLEAST8): Likewise.
34052 [C99-based-standards] (PRIxLEAST8): Likewise.
34053 [C99-based-standards] (PRIXLEAST8): Likewise.
34054 [C99-based-standards] (SCNdLEAST8): Likewise.
34055 [C99-based-standards] (SCNiLEAST8): Likewise.
34056 [C99-based-standards] (SCNoLEAST8): Likewise.
34057 [C99-based-standards] (SCNuLEAST8): Likewise.
34058 [C99-based-standards] (SCNxLEAST8): Likewise.
34059 [C99-based-standards] (PRIdFAST8): Likewise.
34060 [C99-based-standards] (PRIiFAST8): Likewise.
34061 [C99-based-standards] (PRIoFAST8): Likewise.
34062 [C99-based-standards] (PRIuFAST8): Likewise.
34063 [C99-based-standards] (PRIxFAST8): Likewise.
34064 [C99-based-standards] (PRIXFAST8): Likewise.
34065 [C99-based-standards] (SCNdFAST8): Likewise.
34066 [C99-based-standards] (SCNiFAST8): Likewise.
34067 [C99-based-standards] (SCNoFAST8): Likewise.
34068 [C99-based-standards] (SCNuFAST8): Likewise.
34069 [C99-based-standards] (SCNxFAST8): Likewise.
34070 [C99-based-standards] (PRId16): Likewise.
34071 [C99-based-standards] (PRIi16): Likewise.
34072 [C99-based-standards] (PRIo16): Likewise.
34073 [C99-based-standards] (PRIu16): Likewise.
34074 [C99-based-standards] (PRIx16): Likewise.
34075 [C99-based-standards] (PRIX16): Likewise.
34076 [C99-based-standards] (SCNd16): Likewise.
34077 [C99-based-standards] (SCNi16): Likewise.
34078 [C99-based-standards] (SCNo16): Likewise.
34079 [C99-based-standards] (SCNu16): Likewise.
34080 [C99-based-standards] (SCNx16): Likewise.
34081 [C99-based-standards] (PRIdLEAST16): Likewise.
34082 [C99-based-standards] (PRIiLEAST16): Likewise.
34083 [C99-based-standards] (PRIoLEAST16): Likewise.
34084 [C99-based-standards] (PRIuLEAST16): Likewise.
34085 [C99-based-standards] (PRIxLEAST16): Likewise.
34086 [C99-based-standards] (PRIXLEAST16): Likewise.
34087 [C99-based-standards] (SCNdLEAST16): Likewise.
34088 [C99-based-standards] (SCNiLEAST16): Likewise.
34089 [C99-based-standards] (SCNoLEAST16): Likewise.
34090 [C99-based-standards] (SCNuLEAST16): Likewise.
34091 [C99-based-standards] (SCNxLEAST16): Likewise.
34092 [C99-based-standards] (PRIdFAST16): Likewise.
34093 [C99-based-standards] (PRIiFAST16): Likewise.
34094 [C99-based-standards] (PRIoFAST16): Likewise.
34095 [C99-based-standards] (PRIuFAST16): Likewise.
34096 [C99-based-standards] (PRIxFAST16): Likewise.
34097 [C99-based-standards] (PRIXFAST16): Likewise.
34098 [C99-based-standards] (SCNdFAST16): Likewise.
34099 [C99-based-standards] (SCNiFAST16): Likewise.
34100 [C99-based-standards] (SCNoFAST16): Likewise.
34101 [C99-based-standards] (SCNuFAST16): Likewise.
34102 [C99-based-standards] (SCNxFAST16): Likewise.
34103 [C99-based-standards] (PRId32): Likewise.
34104 [C99-based-standards] (PRIi32): Likewise.
34105 [C99-based-standards] (PRIo32): Likewise.
34106 [C99-based-standards] (PRIu32): Likewise.
34107 [C99-based-standards] (PRIx32): Likewise.
34108 [C99-based-standards] (PRIX32): Likewise.
34109 [C99-based-standards] (SCNd32): Likewise.
34110 [C99-based-standards] (SCNi32): Likewise.
34111 [C99-based-standards] (SCNo32): Likewise.
34112 [C99-based-standards] (SCNu32): Likewise.
34113 [C99-based-standards] (SCNx32): Likewise.
34114 [C99-based-standards] (PRIdLEAST32): Likewise.
34115 [C99-based-standards] (PRIiLEAST32): Likewise.
34116 [C99-based-standards] (PRIoLEAST32): Likewise.
34117 [C99-based-standards] (PRIuLEAST32): Likewise.
34118 [C99-based-standards] (PRIxLEAST32): Likewise.
34119 [C99-based-standards] (PRIXLEAST32): Likewise.
34120 [C99-based-standards] (SCNdLEAST32): Likewise.
34121 [C99-based-standards] (SCNiLEAST32): Likewise.
34122 [C99-based-standards] (SCNoLEAST32): Likewise.
34123 [C99-based-standards] (SCNuLEAST32): Likewise.
34124 [C99-based-standards] (SCNxLEAST32): Likewise.
34125 [C99-based-standards] (PRIdFAST32): Likewise.
34126 [C99-based-standards] (PRIiFAST32): Likewise.
34127 [C99-based-standards] (PRIoFAST32): Likewise.
34128 [C99-based-standards] (PRIuFAST32): Likewise.
34129 [C99-based-standards] (PRIxFAST32): Likewise.
34130 [C99-based-standards] (PRIXFAST32): Likewise.
34131 [C99-based-standards] (SCNdFAST32): Likewise.
34132 [C99-based-standards] (SCNiFAST32): Likewise.
34133 [C99-based-standards] (SCNoFAST32): Likewise.
34134 [C99-based-standards] (SCNuFAST32): Likewise.
34135 [C99-based-standards] (SCNxFAST32): Likewise.
34136 [C99-based-standards] (PRId64): Likewise.
34137 [C99-based-standards] (PRIi64): Likewise.
34138 [C99-based-standards] (PRIo64): Likewise.
34139 [C99-based-standards] (PRIu64): Likewise.
34140 [C99-based-standards] (PRIx64): Likewise.
34141 [C99-based-standards] (PRIX64): Likewise.
34142 [C99-based-standards] (SCNd64): Likewise.
34143 [C99-based-standards] (SCNi64): Likewise.
34144 [C99-based-standards] (SCNo64): Likewise.
34145 [C99-based-standards] (SCNu64): Likewise.
34146 [C99-based-standards] (SCNx64): Likewise.
34147 [C99-based-standards] (PRIdLEAST64): Likewise.
34148 [C99-based-standards] (PRIiLEAST64): Likewise.
34149 [C99-based-standards] (PRIoLEAST64): Likewise.
34150 [C99-based-standards] (PRIuLEAST64): Likewise.
34151 [C99-based-standards] (PRIxLEAST64): Likewise.
34152 [C99-based-standards] (PRIXLEAST64): Likewise.
34153 [C99-based-standards] (SCNdLEAST64): Likewise.
34154 [C99-based-standards] (SCNiLEAST64): Likewise.
34155 [C99-based-standards] (SCNoLEAST64): Likewise.
34156 [C99-based-standards] (SCNuLEAST64): Likewise.
34157 [C99-based-standards] (SCNxLEAST64): Likewise.
34158 [C99-based-standards] (PRIdFAST64): Likewise.
34159 [C99-based-standards] (PRIiFAST64): Likewise.
34160 [C99-based-standards] (PRIoFAST64): Likewise.
34161 [C99-based-standards] (PRIuFAST64): Likewise.
34162 [C99-based-standards] (PRIxFAST64): Likewise.
34163 [C99-based-standards] (PRIXFAST64): Likewise.
34164 [C99-based-standards] (SCNdFAST64): Likewise.
34165 [C99-based-standards] (SCNiFAST64): Likewise.
34166 [C99-based-standards] (SCNoFAST64): Likewise.
34167 [C99-based-standards] (SCNuFAST64): Likewise.
34168 [C99-based-standards] (SCNxFAST64): Likewise.
34169 [C99-based-standards] (PRIdMAX): Likewise.
34170 [C99-based-standards] (PRIiMAX): Likewise.
34171 [C99-based-standards] (PRIoMAX): Likewise.
34172 [C99-based-standards] (PRIuMAX): Likewise.
34173 [C99-based-standards] (PRIxMAX): Likewise.
34174 [C99-based-standards] (PRIXMAX): Likewise.
34175 [C99-based-standards] (SCNdMAX): Likewise.
34176 [C99-based-standards] (SCNiMAX): Likewise.
34177 [C99-based-standards] (SCNoMAX): Likewise.
34178 [C99-based-standards] (SCNuMAX): Likewise.
34179 [C99-based-standards] (SCNxMAX): Likewise.
34180 [C99-based-standards] (PRIdPTR): Likewise.
34181 [C99-based-standards] (PRIiPTR): Likewise.
34182 [C99-based-standards] (PRIoPTR): Likewise.
34183 [C99-based-standards] (PRIuPTR): Likewise.
34184 [C99-based-standards] (PRIxPTR): Likewise.
34185 [C99-based-standards] (PRIXPTR): Likewise.
34186 [C99-based-standards] (SCNdPTR): Likewise.
34187 [C99-based-standards] (SCNiPTR): Likewise.
34188 [C99-based-standards] (SCNoPTR): Likewise.
34189 [C99-based-standards] (SCNuPTR): Likewise.
34190 [C99-based-standards] (SCNxPTR): Likewise.
34191 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34192 allow.
34193 * conform/data/stdint.h-data: Update comments to clarify
34194 requirements.
34195 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34196 type.
34197 [C99-based standards] (INT8_MAX): Likewise.
34198 [C99-based standards] (INT16_MIN): Likewise.
34199 [C99-based standards] (INT16_MAX): Likewise.
34200 [C99-based standards] (INT32_MIN): Likewise.
34201 [C99-based standards] (INT32_MAX): Likewise.
34202 [C99-based standards] (INT64_MIN): Likewise.
34203 [C99-based standards] (INT64_MAX): Likewise.
34204 [C99-based standards] (UINT8_MAX): Likewise.
34205 [C99-based standards] (UINT16_MAX): Likewise.
34206 [C99-based standards] (UINT32_MAX): Likewise.
34207 [C99-based standards] (UINT64_MAX): Likewise.
34208 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34209 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34210 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34211 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34212 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34213 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34214 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34215 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34216 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34217 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34218 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34219 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34220 [C99-based standards] (INT_FAST8_MIN): Likewise.
34221 [C99-based standards] (INT_FAST8_MAX): Likewise.
34222 [C99-based standards] (INT_FAST16_MIN): Likewise.
34223 [C99-based standards] (INT_FAST16_MAX): Likewise.
34224 [C99-based standards] (INT_FAST32_MIN): Likewise.
34225 [C99-based standards] (INT_FAST32_MAX): Likewise.
34226 [C99-based standards] (INT_FAST64_MIN): Likewise.
34227 [C99-based standards] (INT_FAST64_MAX): Likewise.
34228 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34229 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34230 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34231 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34232 [C99-based standards] (INTPTR_MIN): Likewise.
34233 [C99-based standards] (INTPTR_MAX): Likewise.
34234 [C99-based standards] (UINTPTR_MAX): Likewise.
34235 [C99-based standards] (INTMAX_MIN): Likewise.
34236 [C99-based standards] (INTMAX_MAX): Likewise.
34237 [C99-based standards] (UINTMAX_MAX): Likewise.
34238 [C99-based standards] (PTRDIFF_MIN): Likewise.
34239 [C99-based standards] (PTRDIFF_MAX): Likewise.
34240 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34241 [C99-based standards] (SIZE_MAX): Likewise.
34242 [C99-based standards] (WCHAR_MAX): Likewise.
34243 [C99-based standards] (WINT_MAX): Likewise.
34244 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34245 constraint on value.
34246 [C99-based standards] (WCHAR_MIN): Likewise.
34247 [C99-based standards] (WINT_MIN): Likewise.
34248 [C99-based standards] (*_t): Allow.
34249 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34250 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34251 Include math.h-data and complex.h-data. Remove all expectations
34252 of math.h and complex.h contents.
34253 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34254 at end of line.
34255 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34256 (struct tm): Expect tag.
34257 [C99-based-standards] (wcstof): Expect function.
34258 [C99-based-standards] (wcstold): Likewise.
34259 [C99-based-standards] (wcstoll): Likewise.
34260 [C99-based-standards] (wcstoull): Likewise.
34261 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34262 macro-int-constant. Specify type.
34263 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34264 constraint on value.
34265 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34266 Specify type.
34267 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34268 Specify value.
34269 [ISO C standards]: Do not allow headers.
34270 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34271 wcs[abcdefghijklmnopqrstuvwxyz]*.
34272 [ISO C standards] (*_t): Do not allow.
34273 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34274 Expect function.
34275 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34276 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34277 Specify type.
34278 [ISO C standards]: Do not allow headers.
34279 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34280 is[abcdefghijklmnopqrstuvwxyz]*.
34281 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34282 to[abcdefghijklmnopqrstuvwxyz]*.
34283 [ISO C standards] (*_t): Do not allow.
34284 * conform/data/stdalign.h-data: New file.
34285 * conform/data/stdbool.h-data: Likewise.
34286 * conform/data/stdnoreturn.h-data: Likewise.
34287
34288 2012-11-07 Roland McGrath <roland@hack.frob.com>
34289
34290 [BZ #14815]
34291 * manual/filesys.texi (Directory Entries): Typo fix.
34292 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34293
34294 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34295
34296 * elf/elf.h (EM_AARCH64): New macro.
34297 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34298 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34299 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34300 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34301 (R_AARCH64_TLSDESC): Likewise.
34302 (NT_ARM_TLS): Likewise.
34303 (NT_ARM_HW_BREAK): Likewise.
34304 (NT_ARM_HW_WATCH): Likewise.
34305
34306 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34307
34308 [BZ #14811]
34309 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34310 (__ieee754_powl): Saturate nonzero exponents with absolute value
34311 below 0x1p-79 to +/- 0x1p-79.
34312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34313 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34314 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34315 nonzero exponents with absolute value below 0x1p-32 to +/-
34316 0x1p-32.
34317 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34318 (__ieee754_powl): Saturate nonzero exponents with absolute value
34319 below 0x1p-79 to +/- 0x1p-79.
34320 * math/libm-test.inc (pow_test): Add more tests.
34321
34322 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34323
34324 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34325 _dl_s390_cap_flags with kernel. Increase string length.
34326 (_dl_s390_platforms): Add z196 and zEC12.
34327
34328 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34329
34330 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34331 Change XOPEN21K to XOPEN2K.
34332
34333 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34334
34335 * string/memmove.c: Use memcpy when possible.
34336
34337 2012-11-06 Andreas Jaeger <aj@suse.de>
34338
34339 * po/eo.po: Update from translation team.
34340
34341 2012-11-06 Joseph Myers <joseph@codesourcery.com>
34342
34343 [BZ #14793]
34344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34345 exponent and small x and y exponents, scale x or y up. Increase
34346 by 2 the exponent used in scaling up.
34347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34348 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34349 * math/libm-test.inc (fma_test): Add more tests.
34350 (fma_test_towardzero): Likewise.
34351 (fma_test_downward): Likewise.
34352 (fma_test_upward): Likewise.
34353
34354 2012-11-05 Joseph Myers <joseph@codesourcery.com>
34355
34356 [BZ #14805]
34357 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34358 fenv_t *.
34359
34360 [BZ #14801]
34361 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34362 namespace for names of struct fields.
34363 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34364 fenv_t fields.
34365 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34366 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34367
34368 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34369
34370 [BZ #3665]
34371 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34372
34373 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34374
34375 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34376 PTR_DEMANGLE.
34377
34378 [BZ #5246]
34379 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34380 PTR_DEMANGLE.
34381
34382 2012-11-04 Joseph Myers <joseph@codesourcery.com>
34383
34384 [BZ #14797]
34385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34386 definitely overflow as x * y not x * y + z.
34387 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34388 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34389 * math/libm-test.inc (fma_test): Add more tests.
34390 (fma_test_towardzero): Likewise.
34391 (fma_test_downward): Likewise.
34392 (fma_test_upward): Likewise.
34393
34394 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34395
34396 [BZ #157]
34397
34398 * include/stub-tag.h: Remove file.
34399 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34400 '#include' of it.
34401 * manual/maint.texi (Porting): Don't reference it.
34402 * Makerules ($(objpfx)stubs): Likewise.
34403 * dirent/closedir.c: Don't include <stub-tag.h>.
34404 * dirent/dirfd.c: Likewise.
34405 * dirent/fdopendir.c: Likewise.
34406 * dirent/getdents.c: Likewise.
34407 * dirent/getdents64.c: Likewise.
34408 * dirent/opendir.c: Likewise.
34409 * dirent/readdir.c: Likewise.
34410 * dirent/readdir64.c: Likewise.
34411 * dirent/readdir64_r.c: Likewise.
34412 * dirent/readdir_r.c: Likewise.
34413 * dirent/rewinddir.c: Likewise.
34414 * dirent/seekdir.c: Likewise.
34415 * dirent/telldir.c: Likewise.
34416 * gmon/profil.c: Likewise.
34417 * grp/setgroups.c: Likewise.
34418 * inet/if_index.c: Likewise.
34419 * io/access.c: Likewise.
34420 * io/chdir.c: Likewise.
34421 * io/chmod.c: Likewise.
34422 * io/chown.c: Likewise.
34423 * io/close.c: Likewise.
34424 * io/dup.c: Likewise.
34425 * io/dup2.c: Likewise.
34426 * io/dup3.c: Likewise.
34427 * io/euidaccess.c: Likewise.
34428 * io/faccessat.c: Likewise.
34429 * io/fchdir.c: Likewise.
34430 * io/fchmod.c: Likewise.
34431 * io/fchmodat.c: Likewise.
34432 * io/fchown.c: Likewise.
34433 * io/fchownat.c: Likewise.
34434 * io/fcntl.c: Likewise.
34435 * io/flock.c: Likewise.
34436 * io/fstatfs.c: Likewise.
34437 * io/fstatfs64.c: Likewise.
34438 * io/fstatvfs.c: Likewise.
34439 * io/fstatvfs64.c: Likewise.
34440 * io/futimens.c: Likewise.
34441 * io/fxstat.c: Likewise.
34442 * io/fxstat64.c: Likewise.
34443 * io/fxstatat.c: Likewise.
34444 * io/fxstatat64.c: Likewise.
34445 * io/getcwd.c: Likewise.
34446 * io/isatty.c: Likewise.
34447 * io/lchmod.c: Likewise.
34448 * io/lchown.c: Likewise.
34449 * io/link.c: Likewise.
34450 * io/linkat.c: Likewise.
34451 * io/lseek.c: Likewise.
34452 * io/lseek64.c: Likewise.
34453 * io/lxstat64.c: Likewise.
34454 * io/mkdir.c: Likewise.
34455 * io/mkdirat.c: Likewise.
34456 * io/mkfifo.c: Likewise.
34457 * io/mkfifoat.c: Likewise.
34458 * io/open.c: Likewise.
34459 * io/open64.c: Likewise.
34460 * io/openat.c: Likewise.
34461 * io/openat64.c: Likewise.
34462 * io/pipe.c: Likewise.
34463 * io/pipe2.c: Likewise.
34464 * io/poll.c: Likewise.
34465 * io/posix_fadvise.c: Likewise.
34466 * io/posix_fadvise64.c: Likewise.
34467 * io/posix_fallocate.c: Likewise.
34468 * io/posix_fallocate64.c: Likewise.
34469 * io/read.c: Likewise.
34470 * io/readlink.c: Likewise.
34471 * io/readlinkat.c: Likewise.
34472 * io/rmdir.c: Likewise.
34473 * io/sendfile.c: Likewise.
34474 * io/sendfile64.c: Likewise.
34475 * io/statfs.c: Likewise.
34476 * io/statfs64.c: Likewise.
34477 * io/statvfs.c: Likewise.
34478 * io/statvfs64.c: Likewise.
34479 * io/symlink.c: Likewise.
34480 * io/symlinkat.c: Likewise.
34481 * io/ttyname.c: Likewise.
34482 * io/ttyname_r.c: Likewise.
34483 * io/umask.c: Likewise.
34484 * io/unlink.c: Likewise.
34485 * io/unlinkat.c: Likewise.
34486 * io/utime.c: Likewise.
34487 * io/utimensat.c: Likewise.
34488 * io/write.c: Likewise.
34489 * io/xmknod.c: Likewise.
34490 * io/xmknodat.c: Likewise.
34491 * io/xstat.c: Likewise.
34492 * io/xstat64.c: Likewise.
34493 * login/getpt.c: Likewise.
34494 * login/grantpt.c: Likewise.
34495 * login/unlockpt.c: Likewise.
34496 * math/e_acoshl.c: Likewise.
34497 * math/e_acosl.c: Likewise.
34498 * math/e_asinl.c: Likewise.
34499 * math/e_atan2l.c: Likewise.
34500 * math/e_atanhl.c: Likewise.
34501 * math/e_coshl.c: Likewise.
34502 * math/e_expl.c: Likewise.
34503 * math/e_fmodl.c: Likewise.
34504 * math/e_gammal_r.c: Likewise.
34505 * math/e_hypotl.c: Likewise.
34506 * math/e_j0l.c: Likewise.
34507 * math/e_j1l.c: Likewise.
34508 * math/e_jnl.c: Likewise.
34509 * math/e_lgammal_r.c: Likewise.
34510 * math/e_log10l.c: Likewise.
34511 * math/e_log2l.c: Likewise.
34512 * math/e_logl.c: Likewise.
34513 * math/e_powl.c: Likewise.
34514 * math/e_rem_pio2l.c: Likewise.
34515 * math/e_sinhl.c: Likewise.
34516 * math/e_sqrtl.c: Likewise.
34517 * math/fclrexcpt.c: Likewise.
34518 * math/fedisblxcpt.c: Likewise.
34519 * math/feenablxcpt.c: Likewise.
34520 * math/fegetenv.c: Likewise.
34521 * math/fegetexcept.c: Likewise.
34522 * math/fegetround.c: Likewise.
34523 * math/feholdexcpt.c: Likewise.
34524 * math/fesetenv.c: Likewise.
34525 * math/fesetround.c: Likewise.
34526 * math/feupdateenv.c: Likewise.
34527 * math/fgetexcptflg.c: Likewise.
34528 * math/fraiseexcpt.c: Likewise.
34529 * math/fsetexcptflg.c: Likewise.
34530 * math/ftestexcept.c: Likewise.
34531 * math/k_cosl.c: Likewise.
34532 * math/k_rem_pio2l.c: Likewise.
34533 * math/k_sinl.c: Likewise.
34534 * math/k_tanl.c: Likewise.
34535 * math/s_asinhl.c: Likewise.
34536 * math/s_atanl.c: Likewise.
34537 * math/s_cbrtl.c: Likewise.
34538 * math/s_erfl.c: Likewise.
34539 * math/s_expm1l.c: Likewise.
34540 * math/s_log1pl.c: Likewise.
34541 * math/s_tanhl.c: Likewise.
34542 * misc/acct.c: Likewise.
34543 * misc/brk.c: Likewise.
34544 * misc/chflags.c: Likewise.
34545 * misc/chroot.c: Likewise.
34546 * misc/fchflags.c: Likewise.
34547 * misc/fgetxattr.c: Likewise.
34548 * misc/flistxattr.c: Likewise.
34549 * misc/fremovexattr.c: Likewise.
34550 * misc/fsetxattr.c: Likewise.
34551 * misc/fsync.c: Likewise.
34552 * misc/ftruncate.c: Likewise.
34553 * misc/futimes.c: Likewise.
34554 * misc/futimesat.c: Likewise.
34555 * misc/getdomain.c: Likewise.
34556 * misc/getdtsz.c: Likewise.
34557 * misc/gethostid.c: Likewise.
34558 * misc/gethostname.c: Likewise.
34559 * misc/getloadavg.c: Likewise.
34560 * misc/getpagesize.c: Likewise.
34561 * misc/getsysstats.c: Likewise.
34562 * misc/getxattr.c: Likewise.
34563 * misc/gtty.c: Likewise.
34564 * misc/ioctl.c: Likewise.
34565 * misc/lgetxattr.c: Likewise.
34566 * misc/listxattr.c: Likewise.
34567 * misc/llistxattr.c: Likewise.
34568 * misc/lremovexattr.c: Likewise.
34569 * misc/lsetxattr.c: Likewise.
34570 * misc/lutimes.c: Likewise.
34571 * misc/madvise.c: Likewise.
34572 * misc/mincore.c: Likewise.
34573 * misc/mlock.c: Likewise.
34574 * misc/mlockall.c: Likewise.
34575 * misc/mmap.c: Likewise.
34576 * misc/mprotect.c: Likewise.
34577 * misc/msync.c: Likewise.
34578 * misc/munlock.c: Likewise.
34579 * misc/munlockall.c: Likewise.
34580 * misc/munmap.c: Likewise.
34581 * misc/preadv.c: Likewise.
34582 * misc/preadv64.c: Likewise.
34583 * misc/ptrace.c: Likewise.
34584 * misc/pwritev.c: Likewise.
34585 * misc/pwritev64.c: Likewise.
34586 * misc/readv.c: Likewise.
34587 * misc/reboot.c: Likewise.
34588 * misc/remap_file_pages.c: Likewise.
34589 * misc/removexattr.c: Likewise.
34590 * misc/revoke.c: Likewise.
34591 * misc/select.c: Likewise.
34592 * misc/setdomain.c: Likewise.
34593 * misc/setegid.c: Likewise.
34594 * misc/seteuid.c: Likewise.
34595 * misc/sethostid.c: Likewise.
34596 * misc/sethostname.c: Likewise.
34597 * misc/setregid.c: Likewise.
34598 * misc/setreuid.c: Likewise.
34599 * misc/setxattr.c: Likewise.
34600 * misc/sstk.c: Likewise.
34601 * misc/stty.c: Likewise.
34602 * misc/swapoff.c: Likewise.
34603 * misc/swapon.c: Likewise.
34604 * misc/sync.c: Likewise.
34605 * misc/syncfs.c: Likewise.
34606 * misc/syscall.c: Likewise.
34607 * misc/truncate.c: Likewise.
34608 * misc/ualarm.c: Likewise.
34609 * misc/usleep.c: Likewise.
34610 * misc/ustat.c: Likewise.
34611 * misc/utimes.c: Likewise.
34612 * misc/vhangup.c: Likewise.
34613 * misc/writev.c: Likewise.
34614 * posix/_exit.c: Likewise.
34615 * posix/alarm.c: Likewise.
34616 * posix/execve.c: Likewise.
34617 * posix/fexecve.c: Likewise.
34618 * posix/fork.c: Likewise.
34619 * posix/fpathconf.c: Likewise.
34620 * posix/getaddrinfo.c: Likewise.
34621 * posix/getegid.c: Likewise.
34622 * posix/geteuid.c: Likewise.
34623 * posix/getgid.c: Likewise.
34624 * posix/getgroups.c: Likewise.
34625 * posix/getlogin.c: Likewise.
34626 * posix/getlogin_r.c: Likewise.
34627 * posix/getpgid.c: Likewise.
34628 * posix/getpid.c: Likewise.
34629 * posix/getppid.c: Likewise.
34630 * posix/getresgid.c: Likewise.
34631 * posix/getresuid.c: Likewise.
34632 * posix/getsid.c: Likewise.
34633 * posix/getuid.c: Likewise.
34634 * posix/glob64.c: Likewise.
34635 * posix/nanosleep.c: Likewise.
34636 * posix/pathconf.c: Likewise.
34637 * posix/pause.c: Likewise.
34638 * posix/posix_madvise.c: Likewise.
34639 * posix/pread.c: Likewise.
34640 * posix/pread64.c: Likewise.
34641 * posix/pwrite.c: Likewise.
34642 * posix/pwrite64.c: Likewise.
34643 * posix/sched_getaffinity.c: Likewise.
34644 * posix/sched_getp.c: Likewise.
34645 * posix/sched_gets.c: Likewise.
34646 * posix/sched_primax.c: Likewise.
34647 * posix/sched_primin.c: Likewise.
34648 * posix/sched_rr_gi.c: Likewise.
34649 * posix/sched_setaffinity.c: Likewise.
34650 * posix/sched_setp.c: Likewise.
34651 * posix/sched_sets.c: Likewise.
34652 * posix/sched_yield.c: Likewise.
34653 * posix/setgid.c: Likewise.
34654 * posix/setlogin.c: Likewise.
34655 * posix/setpgid.c: Likewise.
34656 * posix/setresgid.c: Likewise.
34657 * posix/setresuid.c: Likewise.
34658 * posix/setsid.c: Likewise.
34659 * posix/setuid.c: Likewise.
34660 * posix/sleep.c: Likewise.
34661 * posix/spawni.c: Likewise.
34662 * posix/sysconf.c: Likewise.
34663 * posix/times.c: Likewise.
34664 * posix/wait.c: Likewise.
34665 * posix/wait3.c: Likewise.
34666 * posix/wait4.c: Likewise.
34667 * posix/waitpid.c: Likewise.
34668 * resolv/gai_sigqueue.c: Likewise.
34669 * resource/getpriority.c: Likewise.
34670 * resource/getrlimit.c: Likewise.
34671 * resource/getrusage.c: Likewise.
34672 * resource/nice.c: Likewise.
34673 * resource/setpriority.c: Likewise.
34674 * resource/setrlimit.c: Likewise.
34675 * resource/ulimit.c: Likewise.
34676 * rt/aio_cancel.c: Likewise.
34677 * rt/aio_fsync.c: Likewise.
34678 * rt/aio_read.c: Likewise.
34679 * rt/aio_sigqueue.c: Likewise.
34680 * rt/aio_suspend.c: Likewise.
34681 * rt/aio_write.c: Likewise.
34682 * rt/clock_getres.c: Likewise.
34683 * rt/clock_gettime.c: Likewise.
34684 * rt/clock_nanosleep.c: Likewise.
34685 * rt/clock_settime.c: Likewise.
34686 * rt/lio_listio.c: Likewise.
34687 * rt/mq_close.c: Likewise.
34688 * rt/mq_getattr.c: Likewise.
34689 * rt/mq_notify.c: Likewise.
34690 * rt/mq_open.c: Likewise.
34691 * rt/mq_receive.c: Likewise.
34692 * rt/mq_send.c: Likewise.
34693 * rt/mq_setattr.c: Likewise.
34694 * rt/mq_timedreceive.c: Likewise.
34695 * rt/mq_timedsend.c: Likewise.
34696 * rt/mq_unlink.c: Likewise.
34697 * rt/shm_open.c: Likewise.
34698 * rt/shm_unlink.c: Likewise.
34699 * rt/timer_create.c: Likewise.
34700 * rt/timer_delete.c: Likewise.
34701 * rt/timer_getoverr.c: Likewise.
34702 * rt/timer_gettime.c: Likewise.
34703 * rt/timer_settime.c: Likewise.
34704 * setjmp/__longjmp.c: Likewise.
34705 * setjmp/setjmp.c: Likewise.
34706 * signal/kill.c: Likewise.
34707 * signal/killpg.c: Likewise.
34708 * signal/raise.c: Likewise.
34709 * signal/sigaction.c: Likewise.
34710 * signal/sigaltstack.c: Likewise.
34711 * signal/sigblock.c: Likewise.
34712 * signal/sigignore.c: Likewise.
34713 * signal/sigintr.c: Likewise.
34714 * signal/signal.c: Likewise.
34715 * signal/sigpause.c: Likewise.
34716 * signal/sigpending.c: Likewise.
34717 * signal/sigqueue.c: Likewise.
34718 * signal/sigreturn.c: Likewise.
34719 * signal/sigset.c: Likewise.
34720 * signal/sigsetmask.c: Likewise.
34721 * signal/sigstack.c: Likewise.
34722 * signal/sigsuspend.c: Likewise.
34723 * signal/sigtimedwait.c: Likewise.
34724 * signal/sigvec.c: Likewise.
34725 * signal/sigwait.c: Likewise.
34726 * signal/sigwaitinfo.c: Likewise.
34727 * signal/sysv_signal.c: Likewise.
34728 * socket/accept.c: Likewise.
34729 * socket/accept4.c: Likewise.
34730 * socket/bind.c: Likewise.
34731 * socket/connect.c: Likewise.
34732 * socket/getpeername.c: Likewise.
34733 * socket/getsockname.c: Likewise.
34734 * socket/getsockopt.c: Likewise.
34735 * socket/isfdtype.c: Likewise.
34736 * socket/listen.c: Likewise.
34737 * socket/recv.c: Likewise.
34738 * socket/recvfrom.c: Likewise.
34739 * socket/recvmsg.c: Likewise.
34740 * socket/send.c: Likewise.
34741 * socket/sendmsg.c: Likewise.
34742 * socket/sendto.c: Likewise.
34743 * socket/setsockopt.c: Likewise.
34744 * socket/shutdown.c: Likewise.
34745 * socket/sockatmark.c: Likewise.
34746 * socket/socket.c: Likewise.
34747 * socket/socketpair.c: Likewise.
34748 * stdio-common/ctermid.c: Likewise.
34749 * stdio-common/cuserid.c: Likewise.
34750 * stdio-common/remove.c: Likewise.
34751 * stdio-common/rename.c: Likewise.
34752 * stdio-common/renameat.c: Likewise.
34753 * stdio-common/tempname.c: Likewise.
34754 * stdlib/getcontext.c: Likewise.
34755 * stdlib/makecontext.c: Likewise.
34756 * stdlib/setcontext.c: Likewise.
34757 * stdlib/swapcontext.c: Likewise.
34758 * stdlib/system.c: Likewise.
34759 * streams/fattach.c: Likewise.
34760 * streams/fdetach.c: Likewise.
34761 * streams/getmsg.c: Likewise.
34762 * streams/getpmsg.c: Likewise.
34763 * streams/putmsg.c: Likewise.
34764 * streams/putpmsg.c: Likewise.
34765 * sysdeps/unix/bsd/getpt.c: Likewise.
34766 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34767 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34768 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34770 Likewise.
34771 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34772 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34773 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34774 * sysvipc/msgctl.c: Likewise.
34775 * sysvipc/msgget.c: Likewise.
34776 * sysvipc/msgrcv.c: Likewise.
34777 * sysvipc/msgsnd.c: Likewise.
34778 * sysvipc/semctl.c: Likewise.
34779 * sysvipc/semget.c: Likewise.
34780 * sysvipc/semop.c: Likewise.
34781 * sysvipc/semtimedop.c: Likewise.
34782 * sysvipc/shmat.c: Likewise.
34783 * sysvipc/shmctl.c: Likewise.
34784 * sysvipc/shmdt.c: Likewise.
34785 * sysvipc/shmget.c: Likewise.
34786 * termios/tcdrain.c: Likewise.
34787 * termios/tcflow.c: Likewise.
34788 * termios/tcflush.c: Likewise.
34789 * termios/tcgetattr.c: Likewise.
34790 * termios/tcgetpgrp.c: Likewise.
34791 * termios/tcsendbrk.c: Likewise.
34792 * termios/tcsetattr.c: Likewise.
34793 * termios/tcsetpgrp.c: Likewise.
34794 * time/adjtime.c: Likewise.
34795 * time/clock.c: Likewise.
34796 * time/getitimer.c: Likewise.
34797 * time/gettimeofday.c: Likewise.
34798 * time/setitimer.c: Likewise.
34799 * time/settimeofday.c: Likewise.
34800 * time/stime.c: Likewise.
34801 * time/time.c: Likewise.
34802
34803 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
34804
34805 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34806 /usr/old/bin.
34807
34808 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34809 instead of spaces.
34810 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34811
34812 2012-11-03 Joseph Myers <joseph@codesourcery.com>
34813
34814 [BZ #14796]
34815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34816 FE_TONEAREST before applying Dekker multiplication and Knuth
34817 addition. Clear inexact exceptions and check for exact zero
34818 results afterwards.
34819 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34820 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34821 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34822 * math/libm-test.inc (fma_test): Add more tests.
34823 (fma_test_towardzero): Likewise.
34824 (fma_test_downward): Likewise.
34825 (fma_test_upward): Likewise.
34826 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34827 function.
34828 (libc_fesetround): New macro.
34829 (libc_fesetroundf): Likewise.
34830 (libc_fesetroundl): Likewise.
34831 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34832 function.
34833 (libc_fesetround_387): Likewise.
34834 (libc_fesetroundf): New macro.
34835 (libc_fesetround): Likewise.
34836 (libc_fesetroundl): Likewise.
34837 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34838 function.
34839 (libc_fesetroundf): New macro.
34840 (libc_fesetround): Likewise.
34841 (libc_fesetroundl): Likewise.
34842 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34843 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34844 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34845 libm_hidden_ver.
34846 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34847 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34848 libm_hidden_def.
34849 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34850 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34851 libm_hidden_ver.
34852 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34853 libm_hidden_def.
34854
34855 [BZ #3439]
34856 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34857 integer constant usable in #if and use that to give value to enum
34858 constant.
34859 (FE_DIVBYZERO): Likewise.
34860 (FE_UNDERFLOW): Likewise.
34861 (FE_OVERFLOW): Likewise.
34862 (FE_INVALID): Likewise.
34863 (FE_INVALID_SNAN): Likewise.
34864 (FE_INVALID_ISI): Likewise.
34865 (FE_INVALID_IDI): Likewise.
34866 (FE_INVALID_ZDZ): Likewise.
34867 (FE_INVALID_IMZ): Likewise.
34868 (FE_INVALID_COMPARE): Likewise.
34869 (FE_INVALID_SOFTWARE): Likewise.
34870 (FE_INVALID_SQRT): Likewise.
34871 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34872 (FE_TONEAREST): Likewise.
34873 (FE_TOWARDZERO): Likewise.
34874 (FE_UPWARD): Likewise.
34875 (FE_DOWNWARD): Likewise.
34876 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34877 (FE_DIVBYZERO): Likewise.
34878 (FE_OVERFLOW): Likewise.
34879 (FE_UNDERFLOW): Likewise.
34880 (FE_INEXACT): Likewise.
34881 (FE_TONEAREST): Likewise.
34882 (FE_DOWNWARD): Likewise.
34883 (FE_UPWARD): Likewise.
34884 (FE_TOWARDZERO): Likewise.
34885 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34886 (FE_UNDERFLOW): Likewise.
34887 (FE_OVERFLOW): Likewise.
34888 (FE_DIVBYZERO): Likewise.
34889 (FE_INVALID): Likewise.
34890 (FE_TONEAREST): Likewise.
34891 (FE_TOWARDZERO): Likewise.
34892 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34893 (FE_OVERFLOW): Likewise.
34894 (FE_UNDERFLOW): Likewise.
34895 (FE_DIVBYZERO): Likewise.
34896 (FE_INEXACT): Likewise.
34897 (FE_TONEAREST): Likewise.
34898 (FE_TOWARDZERO): Likewise.
34899 (FE_UPWARD): Likewise.
34900 (FE_DOWNWARD): Likewise.
34901 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34902 (FE_DIVBYZERO): Likewise.
34903 (FE_OVERFLOW): Likewise.
34904 (FE_UNDERFLOW): Likewise.
34905 (FE_INEXACT): Likewise.
34906 (FE_TONEAREST): Likewise.
34907 (FE_DOWNWARD): Likewise.
34908 (FE_UPWARD): Likewise.
34909 (FE_TOWARDZERO): Likewise.
34910
34911 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34912
34913 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34914
34915 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34916
34917 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34918 commands. Quote $PWD.
34919 (blacklist_exports): Don't use remove_newlines. Replace "declare
34920 -x" by "export".
34921 (remove_newlines): Remove.
34922
34923 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34924
34925 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34926 * stdlib/stdlib.h (atof): Moved to ...
34927 * include/bits/stdlib-float.h: Here. New file.
34928 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34929 * stdlib/bits/stdlib-float.h: New file.
34930 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34931 -mno-sse -mno-mmx.
34932 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34933 <xmmintrin.h>.
34934
34935 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34936
34937 * conform/conformtest.pl (@headers): Add fenv.h.
34938 * conform/data/fenv.h-data: New file.
34939 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34940 include of <math/fenv.h>.
34941
34942 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34943 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34944 && !UNIX98]. Enables tests for XOPEN2K8.
34945 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34946 POSIX2008]: Likewise.
34947
34948 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34949 (struct rusage): Do not expect type or its members.
34950
34951 [BZ #3439]
34952 * math/math.h (FP_NAN): Define macro to integer constant usable in
34953 #if and use that to give value to enum constant.
34954 (FP_INFINITE): Likewise.
34955 (FP_ZERO): Likewise.
34956 (FP_SUBNORMAL): Likewise.
34957 (FP_NORMAL): Likewise.
34958
34959 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34960
34961 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34962 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34963 arguments.
34964
34965 2012-11-02 Roland McGrath <roland@hack.frob.com>
34966
34967 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34968 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34969 autoconf-time if not.
34970 * configure.in: Remove AC_PREREQ.
34971
34972 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34973
34974 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34975 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34976 of the internal implementation.
34977
34978 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34979
34980 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34981 except include of <misc/sys/syslog.h>.
34982
34983 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34984
34985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34986 function returns with a NULL context exit with zero.
34987
34988 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34989
34990 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34991
34992 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34993
34994 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34995 (run_program_cmd): This.
34996 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34997 (tst_langinfo): New variable. Use it.
34998
34999 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35000
35001 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35002 floating point opcodes.
35003
35004 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35005
35006 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35007 variable.
35008
35009 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35010
35011 * sysdeps/mach/hurd/powerpc: Remove directory.
35012 * sysdeps/mach/powerpc: Likewise.
35013
35014 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35015
35016 * scripts/check-local-headers.sh: Ignore c++ headers.
35017
35018 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35019
35020 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35021 __libc_cleanup_region_start argument.
35022
35023 2012-11-01 Joseph Myers <joseph@codesourcery.com>
35024
35025 [BZ #14784]
35026 [BZ #14785]
35027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35028 x * y using scaling, not as x * y + z.
35029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35031 * math/libm-test.inc (fma_test): Add more tests.
35032 (fma_test_towardzero): Likewise.
35033 (fma_test_downward): Likewise.
35034 (fma_test_upward): Likewise.
35035
35036 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35037
35038 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35039
35040 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35041
35042 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35043 New variable.
35044
35045 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35046
35047 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35048
35049 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35050
35051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35052 Fix sort order.
35053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35054 Likewise.
35055
35056 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35057
35058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35059 Fix the order of the list for glibc 2.17.
35060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35061 Likewise.
35062
35063 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35064
35065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35066
35067 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35068
35069 [BZ #14610]
35070 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35071 for low part of x being zero before using __atanl (y).
35072 * math/libm-test.inc (atan2_test): Add another test.
35073
35074 * manual/install.texi (Configuring and compiling): Document
35075 general use of test-wrapper and test-wrapper-env.
35076 * INSTALL: Regenerated.
35077
35078 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35079 (__fma): Do not extract and scale down low bits on after-rounding
35080 systems when result rounded to normal precision would have normal
35081 exponent.
35082 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35083 (__fmal): Do not extract and scale down low bits on after-rounding
35084 systems when result rounded to normal precision would have normal
35085 exponent.
35086 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35087 (__fmal): Do not extract and scale down low bits on after-rounding
35088 systems when result rounded to normal precision would have normal
35089 exponent.
35090 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35091 macro.
35092 (fma_test): Add more tests.
35093 (fma_test_towardzero): Likewise.
35094 (fma_test_downward): Likewise.
35095 (fma_test_upward): Likewise.
35096
35097 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35098
35099 * sysdeps/i386/tininess.h: Renamed to ...
35100 * sysdeps/x86/tininess.h: This.
35101 * sysdeps/x86_64/tininess.h: Removed.
35102
35103 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35104
35105 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35106 input. Use $(build-program-cmd).
35107 ($(objpfx)tst-array1-static.out): Likewise.
35108 ($(objpfx)tst-array2.out): Likewise.
35109 ($(objpfx)tst-array3.out): Likewise.
35110 ($(objpfx)tst-array4.out): Likewise.
35111 ($(objpfx)tst-array5.out): Likewise.
35112 ($(objpfx)tst-array5-static.out): Likewise.
35113
35114 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35115
35116 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35117 if defined.
35118
35119 * nss/nsswitch.h (nss_interface_function): Provide new
35120 macro for use with NSS functions.
35121 * grp/initgroups.c: Use new macro.
35122 * nss/getXXbyYY.c: Likewise.
35123 * nss/getXXbyYY_r.c: Likewise.
35124 * nss/getXXent.c: Likewise.
35125 * nss/getXXent_r.c: Likewise.
35126 * sysdeps/posix/getaddrinfo.c: Likewise.
35127
35128 2012-10-30 Andreas Jaeger <aj@suse.de>
35129
35130 * po/ru.po: Update Russion translation from translation project.
35131
35132 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35133
35134 [BZ #14152]
35135 [BZ #14783]
35136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35137 result and shift together with sticky bit instead of replicating
35138 round-to-nearest rounding.
35139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35140 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35141 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35142 missing underflow exceptions.
35143 (fma_test_towardzero): Add more tests.
35144 (fma_test_downward): Likewise.
35145 (fma_test_upward): Likewise.
35146
35147 [BZ #14047]
35148 * sysdeps/generic/tininess.h: New file.
35149 * sysdeps/i386/tininess.h: Likewise.
35150 * sysdeps/sh/tininess.h: Likewise.
35151 * sysdeps/x86_64/tininess.h: Likewise.
35152 * stdlib/tst-strtod-underflow.c: Likewise.
35153 * stdlib/tst-tininess.c: Likewise.
35154 * stdlib/strtod_l.c: Include <tininess.h>.
35155 (round_and_return): Do not set errno for exact underflow cases.
35156 Force an underflow exception when setting errno for underflow.
35157 Determine underflow based on rounding to normal precision if
35158 TININESS_AFTER_ROUNDING.
35159 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35160 ERANGE for exact underflow cases.
35161 * stdlib/Makefile (tests): Add tst-tininess and
35162 tst-strtod-underflow.
35163 ($(objpfx)tst-tininess): Use $(link-libm).
35164 ($(objpfx)tst-strtod-underflow): Likewise.
35165
35166 2012-10-30 Andreas Jaeger <aj@suse.de>
35167
35168 [BZ#14767]
35169 * elf/Makefile (tests): Remove conditional for have-initfini-array
35170 since this is now always required and the variable does not exist
35171 anymore.
35172 (tests-static): Likewise.
35173 (modules-names): Likewise.
35174
35175 * po/eo.po: Add Esperanto translation from translation project.
35176
35177 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35178 merged with constructor/destructor.
35179 (init_array): Likewise.
35180 * elf/tst-array2dep.c (fini_array): Likewise.
35181 (init_array): Likewise.
35182
35183 2012-10-29 Mike Frysinger <vapier@gentoo.org>
35184
35185 * manual/message.texi: Delete @cartouche tags.
35186
35187 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35188
35189 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35190 EOPNOTSUPP.
35191 * sysdeps/mach/hurd/fsync.c: Likewise.
35192
35193 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35194 [_POSIX_REALTIME_SIGNALS]: Change condition to
35195 [_POSIX_REALTIME_SIGNALS > 0].
35196
35197 2012-10-27 Andreas Jaeger <aj@suse.de>
35198
35199 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35200 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35202 [__WORDSIZE != 64]: Likewise.
35203
35204 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35205
35206 * iconvdata/tst-table.sh: Remove ${SHELL}.
35207 * iconvdata/tst-tables.sh: Likewise.
35208
35209 2012-10-25 David S. Miller <davem@davemloft.net>
35210
35211 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35212 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35213 of strtoull.
35214
35215 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35216 ifunc-impl-list.c
35217 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35218 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35219 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35220 file.
35221
35222 2012-10-25 Roland McGrath <roland@hack.frob.com>
35223
35224 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35225 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35226 __getdirentries.
35227
35228 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35229 Jim Blandy <jimb@codesourcery.com>
35230
35231 * scripts/cross-test-ssh.sh: New file.
35232 * manual/install.texi (Configuring and compiling): Document use of
35233 cross-test-ssh.sh.
35234 * INSTALL: Regenerated.
35235
35236 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35237
35238 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35239 EOPNOTSUPP.
35240
35241 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35242
35243 * Makeconfig (run-program-prefix): Fix comment.
35244
35245 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35246 Jim Blandy <jimb@codesourcery.com>
35247
35248 * Makeconfig (test-wrapper): New variable,
35249 (test-wrapper-env): Likewise.
35250 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35251 (run-built-tests): Define to yes.
35252 (run-program-prefix): Use $(test-wrapper).
35253 (built-program-cmd): Likewise.
35254 * Rules (make-test-out): Use $(test-wrapper-env) and
35255 $(host-built-program-cmd).
35256 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35257 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35258 tst-pathopt.sh.
35259 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35260 $(test-wrapper-env) to tst-rtld-load-self.sh.
35261 ($(objpfx)order2.out): Use $(test-wrapper).
35262 ($(objpfx)tst-initorder.out): Likewise.
35263 ($(objpfx)tst-initorder2.out): Likewise.
35264 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35265 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35266 (test_wrapper_env): New variable. Use it to run ld.so.
35267 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35268 Use it to run ld.so.
35269 (test_wrapper_env): Likewise.
35270 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35271 $(test-wrapper) to run-iconv-test.sh.
35272 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35273 (ICONV): Use $test_wrapper.
35274 * posix/Makefile ($(objpfx)globtest.out): Pass
35275 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35276 globtest.sh, not $(run-program-prefix).
35277 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35278 (test_wrapper): Likewise.
35279 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35280 set together with run_via_rtld_prefix.
35281 (run_program_prefix): Define in terms of test_wrapper and
35282 run_via_rtld_prefix.
35283
35284 2012-10-24 Roland McGrath <roland@hack.frob.com>
35285
35286 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35287 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35288 Targets removed.
35289
35290 [BZ #14743]
35291 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35292 Declare __clock_getres, __clock_gettime, __clock_settime,
35293 __clock_nanosleep, and __clock_getcpuclockid.
35294 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35295 Remove librt_hidden_def (clock_gettime).
35296 * sysdeps/unix/clock_gettime.c: Likewise.
35297 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35298 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35299 * rt/clock_getres.c: Define __clock_getres as an alias.
35300 * sysdeps/posix/clock_getres.c: Likewise.
35301 * rt/clock_settime.c: Define __clock_settime as an alias.
35302 * sysdeps/unix/clock_settime.c: Likewise.
35303 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35304 * sysdeps/unix/clock_nanosleep.c: Likewise.
35305 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35306 * rt/clock-compat.c: New file.
35307 * rt/Makefile (librt-routines): Add clock-compat and move
35308 $(clock-routines) to ...
35309 (routines): ... here, new variable.
35310 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35311 Don't add get_clockfreq here.
35312 * rt/Versions (libc: GLIBC_2.17): New version set.
35313 Add clock_* symbols here.
35314 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35315 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35316 (GLIBC_2.17): Add clock_* symbols.
35317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35319 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35321 Likewise.
35322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35323 Likewise.
35324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35328 * NEWS: Mention the move.
35329
35330 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35331 Use __open, __read, __close rather than their public counterparts.
35332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35333 (__get_clockfreq_via_cpuinfo): Likewise.
35334 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35335 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35336
35337 * config.h.in (HAVE_IFUNC): New #undef.
35338 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35339 was successful.
35340 * configure: Regenerated.
35341
35342 2012-10-24 Mike Frysinger <vapier@gentoo.org>
35343
35344 * configure.in: Move READELF check to start of file.
35345 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35346 libc_cv_asm_gnu_indirect_function in the process.
35347 * configure: Regenerated.
35348
35349 2012-10-24 Mike Frysinger <vapier@gentoo.org>
35350
35351 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35352 send the output to /dev/null.
35353 (libc_cv_cc_with_libunwind): Likewise.
35354 (libc_cv_as_noexecstack): Likewise.
35355 * configure: Regenerate.
35356
35357 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35358
35359 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35360
35361 * posix/globtest.sh (TMPDIR): Do not set.
35362 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35363 (testout): Likewise.
35364
35365 2012-10-24 Andreas Jaeger <aj@suse.de>
35366
35367 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35368 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35369 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35370 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35371 posix_fadvise64, posix_fallocate64.
35372
35373 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35374 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35375 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35376 Likewise.
35377 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35378 Likewise.
35379 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35380
35381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35382 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35383 <bits/fcntl-linux.h>.
35384 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35385
35386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35387 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35388 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35389 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35390 [__WORDSIZE != 64]: Likewise.
35391
35392 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35393
35394 * Makeconfig (run-built-tests): New variable.
35395 * Rules [$(cross-compiling) = yes]: Change condition to
35396 [$(run-built-tests) = no].
35397 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35398 to [$(run-built-tests) = yes].
35399 * elf/Makefile [$(cross-compiling) = no]: Likewise
35400 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35401 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35402 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35403 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35404 * io/Makefile [$(cross-compiling) = no]: Likewise.
35405 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35406 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35407 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35408 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35409 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35410 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35411 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35412 * string/Makefile [$(cross-compiling) = no]: Likewise.
35413
35414 * posix/Makefile ($(objpfx)globtest.out): Pass
35415 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35416 $(rtld-installed-name).
35417 * posix/globtest.sh (elf_objpfx): Remove variable.
35418 (rtld_installed_name): Likewise.
35419 (library_path): Likewise.
35420 (run_program_prefix): New variable. Use for running globtest
35421 binary.
35422
35423 2012-10-23 Jim Blandy <jimb@codesourcery.com>
35424 Joseph Myers <joseph@codesourcery.com>
35425
35426 * Makeconfig (host-built-program-cmd): New variable.
35427 * elf/Makefile (tst-stackguard1-ARGS): Use
35428 $(host-built-program-cmd).
35429 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35430 (tst-spawn-ARGS): Likewise.
35431 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35432
35433 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35434 Jim Blandy <jimb@codesourcery.com>
35435
35436 * Makeconfig (run-via-rtld-prefix): New variable.
35437 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35438 (built-program-cmd): Likewise.
35439
35440 2012-10-22 Andreas Jaeger <aj@suse.de>
35441
35442 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35443 __O_RSYNC if it exists, otherwise to O_SYNC.
35444
35445 2012-10-22 Jim Blandy <jimb@codesourcery.com>
35446 Joseph Myers <joseph@codesourcery.com>
35447
35448 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35449 /dev/null.
35450 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35451 from /dev/null
35452 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35453 /dev/null.
35454
35455 2012-10-22 Andreas Jaeger <aj@suse.de>
35456
35457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35458 Define always.
35459 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35460
35461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35462 bits/fcntl-linux.h.
35463
35464 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35465 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35466
35467 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35468 to __O_LARGEFILE.
35469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35470 to __O_LARGEFILE.
35471
35472 2012-10-21 Jim Blandy <jimb@codesourcery.com>
35473 Joseph Myers <joseph@codesourcery.com>
35474
35475 * config.make.in (NM): New variable.
35476
35477 2012-10-21 Andreas Jaeger <aj@suse.de>
35478
35479 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35480 definitions and declarations that are provided by
35481 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35482
35483 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35484
35485 [BZ #14683]
35486 * elf/Makefile (tests-static): Add tst-leaks1-static.
35487 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35488 ($(objpfx)tst-leaks1-static): New rule.
35489 ($(objpfx)tst-leaks1-static-mem): Likewise.
35490 (tst-leaks1-static-ENV): New macro.
35491 * elf/dl-open.c (dl_open_worker): Check the main application
35492 only if SHARED is defined.
35493 * elf/tst-leaks1-static.c: New file.
35494
35495 2012-10-20 Andreas Jaeger <aj@suse.de>
35496
35497 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35498 generic values for Linux.
35499 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35500 and declarations that are provided by <bits/fcntl-linux.h> and
35501 include <bits/fcntl-linux.h>.
35502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35503 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35504
35505 2012-10-20 Roland McGrath <roland@hack.frob.com>
35506
35507 * io/fcntl.h: Move include of <bits/types.h> to the top and
35508 include it unconditionally.
35509
35510 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35511
35512 * wcsmbs/Makefile (tests-ifunc): New variable.
35513 (tests): Add $(tests-ifunc).
35514 * wcsmbs/test-wcschr-ifunc.c: New file.
35515 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35516 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35517 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35518 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35519 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35520
35521 * string/Makefile (tests-ifunc): New variable.
35522 (tests): Add $(tests-ifunc).
35523 * string/test-memccpy.c (TEST_NAME): New macro.
35524 * string/test-memchr.c (TEST_NAME): Likewise.
35525 * string/test-memcmp.c (TEST_NAME): Likewise.
35526 * string/test-memcpy.c (TEST_NAME): Likewise.
35527 * string/test-memmem.c (TEST_NAME): Likewise.
35528 * string/test-memmove.c (TEST_NAME): Likewise.
35529 * string/test-memset.c (TEST_NAME): Likewise.
35530 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35531 * string/test-stpcpy.c (TEST_NAME): Likewise.
35532 * string/test-stpncpy.c (TEST_NAME): Likewise.
35533 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35534 * string/test-strcasestr.c (TEST_NAME): Likewise.
35535 * string/test-strcat.c (TEST_NAME): Likewise.
35536 * string/test-strchr.c (TEST_NAME): Likewise.
35537 * string/test-strcmp.c(TEST_NAME): Likewise.
35538 * string/test-strcpy.c (TEST_NAME): Likewise.
35539 * string/test-strcspn.c (TEST_NAME): Likewise.
35540 * string/test-strlen.c (TEST_NAME): Likewise.
35541 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35542 * string/test-strncmp.c (TEST_NAME): Likewise.
35543 * string/test-strncpy.c (TEST_NAME): Likewise.
35544 * string/test-strnlen.c (TEST_NAME): Likewise.
35545 * string/test-strpbrk.c (TEST_NAME): Likewise.
35546 * string/test-strrchr.c (TEST_NAME): Likewise.
35547 * string/test-strspn.c (TEST_NAME): Likewise.
35548 * string/test-strstr.c (TEST_NAME): Likewise.
35549 * string/test-bcopy-ifunc.c: New file.
35550 * string/test-bzero-ifunc.c: Likewise.
35551 * string/test-memccpy-ifunc.c: Likewise.
35552 * string/test-memchr-ifunc.c: Likewise.
35553 * string/test-memcmp-ifunc.c: Likewise.
35554 * string/test-memcpy-ifunc.c: Likewise.
35555 * string/test-memmem-ifunc.c: Likewise.
35556 * string/test-memmove-ifunc.c: Likewise.
35557 * string/test-mempcpy-ifunc.c: Likewise.
35558 * string/test-memset-ifunc.c: Likewise.
35559 * string/test-rawmemchr-ifunc.c: Likewise.
35560 * string/test-stpcpy-ifunc.c: Likewise.
35561 * string/test-stpncpy-ifunc.c: Likewise.
35562 * string/test-strcasecmp-ifunc.c: Likewise.
35563 * string/test-strcasestr-ifunc.c: Likewise.
35564 * string/test-strcat-ifunc.c: Likewise.
35565 * string/test-strchr-ifunc.c: Likewise.
35566 * string/test-strchrnul-ifunc.c: Likewise.
35567 * string/test-strcmp-ifunc.c: Likewise.
35568 * string/test-strcpy-ifunc.c: Likewise.
35569 * string/test-strcspn-ifunc.c: Likewise.
35570 * string/test-strlen-ifunc.c: Likewise.
35571 * string/test-strncasecmp-ifunc.c: Likewise.
35572 * string/test-strncat-ifunc.c: Likewise.
35573 * string/test-strncmp-ifunc.c: Likewise.
35574 * string/test-strncpy-ifunc.c: Likewise.
35575 * string/test-strnlen-ifunc.c: Likewise.
35576 * string/test-strpbrk-ifunc.c: Likewise.
35577 * string/test-strrchr-ifunc.c: Likewise.
35578 * string/test-strspn-ifunc.c: Likewise.
35579 * string/test-strstr-ifunc.c: Likewise.
35580
35581 * debug/Makefile (tests-ifunc): New variable.
35582 (tests): Add $(tests-ifunc).
35583 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35584 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35585 * debug/test-stpcpy_chk-ifunc.c: New file.
35586 * debug/test-strcpy_chk-ifunc.c: Likewise.
35587
35588 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35589
35590 [BZ #13601]
35591 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35592 header is not read in.
35593
35594 2012-10-19 Joseph Myers <joseph@codesourcery.com>
35595
35596 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35597 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35598 directly. Pass built executable to script as
35599 $(built-program-cmd).
35600 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35601 $testprogram without using LD_LIBRARY_PATH and $ldso.
35602
35603 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35604 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35605 $(rtld-installed-name).
35606 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35607 (rtld_installed_name): Likewise.
35608 (library_path): Likewise.
35609 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35610 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35611 $(run-program-prefix) to tst-tables.sh.
35612 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35613 it to run tst-table-from and tst-table-to.
35614 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35615 Pass it to tst-table.sh.
35616 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35617 $(run-program-prefix) to tst-gettext.sh.
35618 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35619 tst-translit.sh.
35620 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35621 tst-gettext2.sh.
35622 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35623 to run tst-gettext.
35624 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35625 to run tst-gettext2.
35626 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35627 to run tst-translit.
35628 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35629 $(run-program-prefix) to tst-mtrace.sh.
35630 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35631 to run tst-mtrace.
35632 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35633 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35634 $(rtld-installed-name).
35635 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35636 (rtld_installed_name): Likewise.
35637 (run_program_prefix): New variable. Use it to run wordexp-test.
35638
35639 * Makeconfig (ARCH): Remove all definitions.
35640 (machine): Likewise.
35641 [ARCH]: Remove conditional code.
35642 [!objdir]: Give error.
35643 [!objdir] (objpfx): Remove.
35644 [!objdir] (common-objpfx): Likewise.
35645 [!objdir] (common-objdir): Likewise.
35646 * configure.in (config_makefile): Remove. Hardcode Makefile in
35647 AC_CONFIG_FILES call.
35648 * configure: Regenerated.
35649
35650 [BZ #13888]
35651 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35652 or TMPDIR.
35653 (testout): Likewise.
35654
35655 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35656 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35657 $(rtld-installed-name).
35658 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35659 (rtld_installed_name): Likwise.
35660 (runit): Remove function.
35661 (run_getconf): New variable, Use it for running getconf binary.
35662
35663 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35664
35665 [BZ #14716]
35666 * string/test-memmem.c (check_result): New function.
35667 (do_one_test): Use it.
35668 (check1): New function.
35669 (test_main): Use it.
35670
35671 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35672
35673 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35674
35675 2012-10-18 Joseph Myers <joseph@codesourcery.com>
35676
35677 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35678 (_G_LSEEK64): Likewise.
35679 (_G_MMAP64): Likewise.
35680 (_G_FSTAT64): Likewise.
35681 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35682 (_G_LSEEK64): Likewise.
35683 (_G_MMAP64): Likewise.
35684 (_G_FSTAT64): Likewise.
35685 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35686 unconditional. Call __mmap64 directly.
35687 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35688 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35689 __lseek64 directly.
35690 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35691 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35692 __mmap64 directly.
35693 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35694 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35695 __lseek64 directly.
35696 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35697 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35698 __lseek64 directly.
35699 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35700 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35701 __lseek64 directly.
35702 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35703 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35704 __fxstat64 directly.
35705 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35706 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35707 unconditional.
35708 (freopen64) [!_G_OPEN64]: Remove conditional code.
35709 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35710 unconditional.
35711 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35712 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35713 unconditional.
35714 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35715 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35716 unconditional.
35717 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35718 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35719 unconditional.
35720 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35721 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35722 unconditional.
35723 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35724 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35725 unconditional.
35726 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35727 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35728 unconditional.
35729 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35730
35731 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35732
35733 [BZ #12140]
35734 * manual/memory.texi (Malloc Tunable Parameters): Add note
35735 about free list pointers overwriting some perturb bytes.
35736 Wording suggested by Roland McGrath.
35737
35738 2012-10-17 Joseph Myers <joseph@codesourcery.com>
35739
35740 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35741 (lgamma_test): Likewise.
35742 (tgamma_test): Likewise.
35743
35744 2012-10-16 Florian Weimer <fweimer@redhat.com>
35745
35746 [BZ #14700]
35747 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35748 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35749
35750 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35751
35752 * NEWS: Mention BZ #14716.
35753 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35754 when removing AVAILABLE1_USES_J macro.
35755
35756 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35757
35758 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35759 (__bswap_64): __uint64_t for unsigned 64-bit int.
35760
35761 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35762
35763 * include/string.h (memmem): Declare libc hidden alias.
35764 * string/memmem.c (memmem): Define libc hidden alias.
35765 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35766 __read, __close instead of open, read, close.
35767
35768 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35769
35770 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35771 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35772 global and hidden.
35773 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35774 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35775 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35776 Likewise.
35777 (__rawmemchr_sse2): Likewise.
35778 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35779 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35780 (__strchr_sse2): Likewise.
35781 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35782 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35783 (__strcasecmp_sse2): Likewise.
35784 (__strncasecmp_sse2): Likewise.
35785 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35786 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35787 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35788 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35789 (__strrchr_sse2): Likewise.
35790 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35791 ifunc-impl-list.c.
35792 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35793 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35794 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35795 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35796 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35797 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35798 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35799 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35800 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35801 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35802 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35803 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35804 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35805 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35806 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35807 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35808 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35809 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35810 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35811 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35812 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35813 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35814 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35815 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35816 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35817 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35818 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35819 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35820 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35821 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35822
35823 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35824 global and hidden.
35825 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35826 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35827 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35828 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35829 Likewise.
35830 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35831 Likewise.
35832 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35833 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35834 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35835 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35836 ifunc-impl-list.c.
35837 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35838 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35839 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35840 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35841 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35842 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35843 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35844 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35845 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35846 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35847 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35848 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35849 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35850 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35851 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35852 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35853 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35854 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35855 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35856 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35857 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35858 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35859 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35860 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35861 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35862 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35863 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35864 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35865 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35866 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35867 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35868 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35869 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35870 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35871 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35872 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35873 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35874 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35875 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35876 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35877 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35878
35879 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35880 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35881 * include/ifunc-impl-list.h: New file.
35882 * misc/ifunc-impl-list.c: Likewise.
35883 * misc/Makefile (routines): Add ifunc-impl-list.
35884 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35885 * string/test-string.h: Include <ifunc-impl-list.h>.
35886 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35887 TEST_NAME]: New variables.
35888 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35889 are defined.
35890 (test_init): Call __libc_ifunc_impl_list to initialize
35891 func_list if TEST_IFUNC and TEST_NAME are defined.
35892
35893 * string/Makefile (strop-tests): Add bcopy and bzero.
35894 * string/test-bcopy.c: New file.
35895 * string/test-bzero.c: Likewise.
35896 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35897 defined.
35898 * string/test-memset.c: Support bzero test if TEST_BZERO is
35899 defined.
35900 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35901 __libc_memmove.
35902 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35903 __libc_memset.
35904 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35905 of memset.
35906
35907 2012-10-10 Joseph Myers <joseph@codesourcery.com>
35908
35909 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35910 * configure: Regenerated.
35911
35912 * Makeconfig (+link-static-before-libc): Don't include
35913 $(link-static-libc).
35914
35915 * libio/libio.h (_IO_pos_t): Remove.
35916
35917 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35918
35919 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35920 McGrath.
35921
35922 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35923
35924 * crypt/crypt-entry.c: Include fips-private.h.
35925 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35926 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35927 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35928 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35929
35930 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35931
35932 * crypt/crypt-private.h: Include stdbool.h.
35933 (_ufc_setup_salt_r): Return bool.
35934 * crypt/crypt-entry.c: Include errno.h.
35935 (__crypt_r): Return NULL with EINVAL for bad salt.
35936 * crypt/crypt_util.c (bad_for_salt): New.
35937 (_ufc_setup_salt_r): Check that salt is long enough and within
35938 the specified alphabet.
35939 * crypt/badsalttest.c: New file.
35940 * crypt/Makefile (tests): Add it.
35941 ($(objpfx)badsalttest): New.
35942
35943 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35944
35945 * NEWS: Add entry for BZ #14602.
35946
35947 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35948
35949 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35950 type-generic.
35951 * math/libm-test.inc: Update comment listing what functions and
35952 macros are tested.
35953 (isgreater_test): New function.
35954 (isgreaterequal_test): Likewise.
35955 (isless_test): Likewise.
35956 (islessequal_test): Likewise.
35957 (islessgreater_test): Likewise.
35958 (isunordered_test): Likewise.
35959 (main): Call the new functions.
35960
35961 2012-10-09 Roland McGrath <roland@hack.frob.com>
35962
35963 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35964 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35965 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35966 * sysdeps/i386/configure: Regenerated.
35967 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35968 * sysdeps/mach/configure: Regenerated.
35969 * sysdeps/mach/hurd/configure: Regenerated.
35970 * sysdeps/powerpc/configure: Regenerated.
35971 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35972 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35973 * sysdeps/s390/s390-32/configure: Regenerated.
35974 * sysdeps/s390/s390-64/configure: Regenerated.
35975 * sysdeps/sh/configure: Regenerated.
35976 * sysdeps/sparc/configure: Regenerated.
35977 * sysdeps/unix/sysv/linux/configure: Regenerated.
35978 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35979 * sysdeps/x86_64/configure: Regenerated.
35980
35981 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35982 defined. Don't check if MAP is NULL.
35983
35984 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35985
35986 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35987 (_G_stat64): Likewise.
35988 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35989 (_G_stat64): Likewise.
35990 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35991 instead of struct _G_stat64.
35992 * libio/fileops.c (mmap_remap_check): Likewise.
35993 (decide_maybe_mmap): Likewise.
35994 (_IO_new_file_seekoff): Likewise.
35995 (_IO_file_stat): Likewise.
35996 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35997 _G_off64_t.
35998 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35999 instead of struct _G_stat64.
36000 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36001
36002 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36003
36004 [BZ #14602]
36005 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36006 Replace with ...
36007 (CHECK_EOL): New macro.
36008 (two_way_short_needle): Check beginning of haystack for EOL. Use
36009 CHECK_EOL.
36010 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36011 Replace with CHECK_EOL.
36012 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36013 Replace with CHECK_EOL.
36014
36015 2012-10-08 Joseph Myers <joseph@codesourcery.com>
36016
36017 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36018 type-generic.
36019 * math/libm-test.inc: Update comment listing what functions and
36020 macros are tested.
36021 (finite_test): New function.
36022 (isinf_test): Likewise.
36023 (isnan_test): Likewise.
36024 (fpclassify_test): Test subnormal input.
36025 (isfinite_test): Likewise.
36026 (isnormal_test): Likewise.
36027 (main): Call the new functions.
36028
36029 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36030
36031 [BZ #14660]
36032 * Makerules (%.dynsym): Force C locale when running
36033 $(OBJDUMP) --dynamic-syms.
36034
36035 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36036
36037 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36038 <stdint.h>.
36039
36040 2012-10-06 David S. Miller <davem@davemloft.net>
36041
36042 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36043 upper 32-bits of the length value in %o2 since we use branch-on-register
36044 tests which consider the entire 64-bit register.
36045
36046 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36047
36048 * string/test-strstr.c (check2): Add a test for page boundary.
36049
36050 2012-10-05 David S. Miller <davem@davemloft.net>
36051
36052 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36053 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36054 file.
36055 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36056 sysdep_routines.
36057 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36058 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36059 and bzero when HWCAP_SPARC_CRYPTO is present.
36060
36061 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36062
36063 [BZ #14602]
36064 * string/test-strstr.c (check2): New function.
36065 (test_main): Call check2.
36066
36067 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36068 and bug-strchr1.
36069 * string/bug-strcasestr1.c (do_test): Moved to ...
36070 * string/test-strcasestr.c (check1): Here. New function.
36071 (do_one_test): Break out result checking code into ...
36072 (check_result): This. New function.
36073 (do_one_test): Call check_result.
36074 (test_main): Call check1.
36075 * string/bug-strchr1.c (do_test): Moved to ...
36076 * string/test-strchr.c (check1): Here. New function.
36077 (do_one_test): Break out result checking code into ...
36078 (check_result): This. New function.
36079 (do_one_test): Call check_result.
36080 (test_main): Call check1.
36081 * string/bug-strstr1.c (main): Moved to ...
36082 * string/test-strstr.c (check1): Here. New function.
36083 (do_one_test): Break out result checking code into ...
36084 (check_result): This. New function.
36085 (do_one_test): Call check_result.
36086 (test_main): Call check1.
36087 * string/bug-strcasestr1.c: Removed.
36088 * string/bug-strchr1.c: Likewise.
36089 * string/bug-strstr1.c: Likewise.
36090
36091 * elf/Makefile (dl-routines): Add hwcaps.
36092 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36093 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36094 (_dl_important_hwcaps): Moved to ...
36095 * elf/dl-hwcaps.c: Here. New file.
36096 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36097
36098 [BZ #14557]
36099 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36100 if IS_IN_rtld isn't defined.
36101
36102 * elf/dl-support.c (_dl_sysinfo_map): New.
36103 Include "get-dynamic-info.h" and "setup-vdso.h".
36104 (_dl_non_dynamic_init): Call setup_vdso.
36105 * elf/dynamic-link.h: Don't include <assert.h>.
36106 (elf_get_dynamic_info): Moved to ...
36107 * elf/get-dynamic-info.h: Here. New file.
36108 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36109 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36110 * elf/setup-vdso.h: Here. New file.
36111 * elf/rtld.c: Include "setup-vdso.h".
36112 (dl_main): Call setup_vdso.
36113
36114 2012-10-05 Joseph Myers <joseph@codesourcery.com>
36115
36116 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36117 creal in comment listing functions tested. List finite, isinf,
36118 isnan, isless, islessequal, isgreater, isgreaterequal,
36119 islessgreater, isunordered, lgamma_r and pow10 as functions and
36120 macros not tested. Mention which functions not tested are aliases
36121 for other functions. Fix typo. Note that signs of NaNs are not
36122 tested.
36123
36124 * scripts/config.guess: Update from config.git.
36125 * scripts/config.sub: Likewise.
36126
36127 2012-10-04 Roland McGrath <roland@hack.frob.com>
36128
36129 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36130 * misc/madvise.c (madvise): Renamed to __madvise.
36131 Make madvise a weak alias.
36132 * include/sys/mman.h: Declare __madvise.
36133 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36134 * sysdeps/unix/syscalls.list
36135 (madvise): Make __madvise the strong name, and madvise a weak alias.
36136 * sysdeps/unix/sysv/linux/syscalls.list
36137 (madvise, mmap): Remove redundant entries.
36138 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36139 * malloc/malloc.c (mtrim): Likewise.
36140 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36141
36142 2012-10-03 Roland McGrath <roland@hack.frob.com>
36143
36144 * sysdeps/mach/hurd/dl-cache.c: File removed.
36145 * config.h.in (USE_LDCONFIG): New #undef.
36146 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36147 * configure: Regenerated.
36148 * elf/Makefile (dl-routines): Add dl-cache only under
36149 [$(use-ldconfig) = yes].
36150 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36151 cache on [USE_LDCONFIG].
36152 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36153 [USE_LDCONFIG].
36154 * elf/rtld.c (dl_main): Likewise.
36155
36156 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36157
36158 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36159 _SC_LEVEL4_CACHE_LINESIZE.
36160
36161 2012-10-03 Roland McGrath <roland@hack.frob.com>
36162
36163 * sysdeps/unix/bsd/confstr.h: File removed.
36164
36165 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
36166
36167 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36168 sys/sdt-config.h.
36169
36170 2012-10-02 Roland McGrath <roland@hack.frob.com>
36171
36172 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36173 Make 'mapoff' field ElfW(Off) rather than off_t.
36174
36175 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36176
36177 * nscd/Makefile: Remove nscd-cflags and all its users.
36178 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36179 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36180
36181 [BZ #10631]
36182 * malloc.c (malloc_printerr): Clarify error message.
36183
36184 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36185
36186 [BZ #14648]
36187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36188 Set bit_FMA_Usable if FMA is supported.
36189 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36190 macro.
36191 (bit_FMA4_Usable): Updated.
36192 (index_FMA_Usable): New macro.
36193 (CPUID_FMA): Likewise
36194 (HAS_FMA): Defined with bit_FMA_Usable.
36195
36196 2012-10-01 Roland McGrath <roland@hack.frob.com>
36197
36198 * bits/types.h (__swblk_t): Type removed.
36199 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36200 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36201 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36202 (__SWBLK_T_TYPE): Likewise.
36203 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36204 (__SWBLK_T_TYPE): Likewise.
36205 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36206 (__SWBLK_T_TYPE): Likewise.
36207 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36208 (__SWBLK_T_TYPE): Likewise.
36209
36210 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
36211 Honza Horak <hhorak@redhat.com>
36212
36213 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36214 (xdr_mapname): Use YPMAXMAP as maxsize.
36215 (xdr_peername): Use YPMAXPEER as maxsize.
36216 (xdr_keydat): Use YPAXRECORD as maxsize.
36217 (xdr_valdat): Use YPMAXRECORD as maxsize.
36218
36219 2012-10-01 Roland McGrath <roland@hack.frob.com>
36220
36221 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36222
36223 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36224 * csu/init-first.c: ... here.
36225 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36226 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36227 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36228 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36229 * sysdeps/i386/init-first.c: File removed.
36230 * sysdeps/sh/init-first.c: File removed.
36231
36232 2012-10-01 Joseph Myers <joseph@codesourcery.com>
36233
36234 [BZ #14645]
36235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36236 if x * y might underflow to zero and z is zero.
36237 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36238 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36239 * math/libm-test.inc (min_subnorm_value): New variable.
36240 (fma_test): Add more tests.
36241 (fma_test_towardzero): Likewise.
36242 (fma_test_downward): Likewise
36243 (fma_test_upward): Likewise.
36244 (initialize): Set min_subnorm_value.
36245
36246 2012-09-29 Joseph Myers <joseph@codesourcery.com>
36247
36248 [BZ #14638]
36249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36250 0 + 0.
36251 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36252 mode for addition resulting in exact zero.
36253 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36255 exact 0 + 0.
36256 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36257 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36258 * math/libm-test.inc (fma_test): Add more tests.
36259 (fma_test_towardzero): New function.
36260 (fma_test_downward): Likewise.
36261 (fma_test_upward): Likewise.
36262 (main): Call the new functions.
36263
36264 2012-09-28 David S. Miller <davem@davemloft.net>
36265
36266 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36267
36268 2012-09-28 Roland McGrath <roland@hack.frob.com>
36269
36270 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36271 instead of SIGALRM.
36272
36273 * sysdeps/gnu/_G_config.h: Moved to ...
36274 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36275 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36276 * sysdeps/generic/_G_config.h: ... here.
36277
36278 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36279
36280 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36281
36282 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36283 Conditionalize target on [libnss_test1.so-version].
36284
36285 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36286
36287 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36288 (elfobjdir): Move out of conditionals.
36289
36290 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36291 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36292 (__nss_lookup_function): Conditionalize label remove_from_tree on
36293 [!DO_STATIC_NSS || SHARED], matching its only use.
36294
36295 2012-09-28 David S. Miller <davem@davemloft.net>
36296
36297 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36298 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36299 file.
36300 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36301 sysdep_routines.
36302 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36303 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36304 when HWCAP_SPARC_CRYPTO is present.
36305
36306 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36307
36308 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36309
36310 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36311
36312 [BZ #6530]
36313 * stdio-common/vfprintf.c (process_string_arg): Revert
36314 2000-07-22 change.
36315
36316 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36317
36318 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36319 for testcase.
36320 * stdio-common/tst-sprintf.c: Include <locale.h>
36321 (main): Test sprintf's handling of incomplete multibyte
36322 characters.
36323
36324 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36325
36326 * elf/dl-runtime.c (VERSYMIDX): Removed.
36327 * elf/dl-version.c (VERSYMIDX): Likewise.
36328 * elf/do-rel.h (VERSYMIDX): Likewise.
36329 (VALIDX): Likewise.
36330 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36331 * elf/rtld.c (VALIDX): Likewise.
36332 (ADDRIDX): Likewise.
36333 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36334 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36335 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36336 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36337 (VALIDX): Likewise.
36338 (ADDRIDX): Likewise.
36339
36340 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36341
36342 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36343
36344 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36345
36346 [BZ #11438]
36347 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36348 to global scope.
36349 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36350 addresses are in the same scope as 192.0.2/24.
36351 * posix/gai.conf: Document new scope table defaults.
36352
36353 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36354
36355 [BZ #5298]
36356 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36357 for ftell. Compute offsets from write pointers instead.
36358 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36359
36360 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36361
36362 [BZ #14543]
36363 * libio/Makefile (tests): New test case tst-fseek.
36364 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36365 combination works in wide mode.
36366 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36367 state when the external buffer state changes.
36368
36369 2012-09-27 David S. Miller <davem@davemloft.net>
36370
36371 [BZ #14376]
36372 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36373 pass reloc->r_addend in as the 'high' argument to
36374 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36375
36376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36377
36378 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36379
36380 * rt/tst-aio2.c: Include <pthread.h>.
36381 * rt/tst-aio3.c: Likewise.
36382
36383 2012-09-27 Steve Ellcey <sellcey@mips.com>
36384
36385 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36386
36387 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36388
36389 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36390 contents on [SHARED].
36391
36392 2012-09-26 Marek Polacek <polacek@redhat.com>
36393
36394 [BZ #14530]
36395 [BZ #13741]
36396 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36397 for C++ and GCC <4.3 as well as for non GCC compilers.
36398
36399 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36400
36401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36402
36403 2012-09-25 Roland McGrath <roland@hack.frob.com>
36404
36405 * Makefile.in (all, install): Declare with .PHONY.
36406 Reported by Michael Hope <michael.hope@linaro.org>.
36407
36408 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36409
36410 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36411 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36412 system header.
36413 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36414 Likewise.
36415 (sydep_routines): Add the new and the internal functions.
36416 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36417 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36419 (GLIBC_2.17): Add the new function.
36420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36421 (GLIBC_2.17): Likewise.
36422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36423 (GLIBC_2.17): Likewise.
36424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36425 (GLIBC_2.17): Likewise.
36426 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36427
36428 2012-09-25 Alan Modra <amodra@gmail.com>
36429
36430 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36431 Add release barrier before setting once_control to say
36432 initialisation is done. Add hints on lwarx. Use macro in
36433 place of isync.
36434 (clear_once_control): Add release barrier.
36435
36436 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36437
36438 [BZ #13629]
36439 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36440 specially.
36441 * math/s_clog10.c (__clog10): Likewise.
36442 * math/s_clog10f.c (__clog10f): Likewise.
36443 * math/s_clog10l.c (__clog10l): Likewise.
36444 * math/s_clogf.c (__clogf): Likewise.
36445 * math/s_clogl.c (__clogl): Likewise.
36446 * math/Makefile (libm-calls): Add x2y2m1.
36447 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36448 (__x2y2m1): Likewise.
36449 (__x2y2m1l): Likewise.
36450 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36451 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36452 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36453 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36454 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36455 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36456 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36457 * sysdeps/i386/fpu/libm-test-ulps: Update.
36458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36459
36460 [BZ #14621]
36461 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36462 int as type of variable DEPTH.
36463 (glob): Use size_t instead of int as type of variables NEWCOUNT
36464 and OLD_PATHC.
36465
36466 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36467
36468 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36469 Add s_sincosf-sse2.
36470 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36471 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36472 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36473 macros for using routine as __sincosf_ia32.
36474 Use macro for function declaration and weak_alias.
36475 * sysdeps/i386/fpu/libm-test-ulps: Update.
36476
36477 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36479
36480 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36481 subnormal argument.
36482 * math/s_cexpf.c (__cexpf): Likewise.
36483 * math/s_csinf.c (__csinf): Likewise.
36484 * math/s_csinhf.c (__csinhf): Likewise.
36485 * math/s_ctanf.c (__ctanf): Likewise.
36486 * math/s_ctanhf.c (__ctanhf): Likewise.
36487 * math/s_ccosh.c (__ccoshf): Likewise.
36488 * math/s_cexp.c (__cexpl): Likewise.
36489 * math/s_csin.c (__csin): Likewise.
36490 * math/s_csinh.c (__csinh): Likewise.
36491 * math/s_ctan.c (__ctan): Likewise.
36492 * math/s_ctanh.c (ctanh): Likewise.
36493 * math/s_ccoshl.c (__ccoshl): Likewise.
36494 * math/s_cexpl.c (__cexpl): Likewise.
36495 * math/s_csinl.c (__csinl): Likewise.
36496 * math/s_csinhl.c (__csinhl): Likewise.
36497 * math/s_ctanl.c (__ctanl): Likewise.
36498 * math/s_ctanhl.c (__ctanhl): Likewise.
36499
36500 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36501
36502 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36503 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36504 (_IO_off_t): Define to __off_t, not _G_off_t.
36505 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36506 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36507 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36508 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36509 type of __dummy and __dummy2 fields.
36510 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36511 (_G_ssize_t): Likewise.
36512 (_G_off_t): Likewise.
36513 (_G_pid_t): Likewise.
36514 (_G_uid_t): Likewise.
36515 (_G_wchar_t): Likewise.
36516 (_G_wint_t): Likewise.
36517 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36518 (_G_ssize_t): Likewise.
36519 (_G_off_t): Likewise.
36520 (_G_pid_t): Likewise.
36521 (_G_uid_t): Likewise.
36522 (_G_wchar_t): Likewise.
36523 (_G_wint_t): Likewise.
36524 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36525 (_G_ssize_t): Likewise.
36526 (_G_off_t): Likewise.
36527 (_G_pid_t): Likewise.
36528 (_G_uid_t): Likewise.
36529 (_G_wchar_t): Likewise.
36530 (_G_wint_t): Likewise.
36531
36532 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36533
36534 * malloc/arena.c: Include malloc-sysdep.h.
36535 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36536 is sufficient to shrink the heap or an unmap is needed.
36537 * sysdeps/generic/malloc-sysdep.h: New file. Define
36538 new function check_may_shrink_heap.
36539 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36540 new function check_may_shrink_heap.
36541
36542 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36543
36544 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36545 comments.
36546
36547 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36548
36549 * catgets/test-gencat.sh: Add "set -e".
36550 * elf/tst-pathopt.sh: Likewise.
36551 * grp/tst_fgetgrent.sh: Likewise.
36552 * iconvdata/run-iconv-test.sh: Likewise.
36553 * intl/tst-gettext.sh: Likewise.
36554 * intl/tst-gettext2.sh: Likewise.
36555 * intl/tst-gettext4.sh: Likewise.
36556 * intl/tst-gettext6.sh: Likewise.
36557 * intl/tst-translit.sh: Likewise.
36558 * io/ftwtest-sh: Likewise.
36559 * libio/test-freopen.sh: Likewise.
36560 * malloc/tst-mtrace.sh: Likewise.
36561 * posix/globtest.sh: Likewise.
36562 * posix/tst-getconf.sh: Likewise.
36563 * posix/wordexp-tst.sh: Likewise.
36564 * stdio-common/tst-printf.sh: Likewise.
36565 * stdio-common/tst-unbputc.sh: Likewise.
36566 * stdlib/tst-fmtmsg.sh: Likewise.
36567 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36568 * catgets/Makefile: Do not specify -e option when running
36569 testsuite shell scripts.
36570 * elf/Makefile: Likewise.
36571 * grp/Makefile: Likewise.
36572 * iconvdata/Makefile: Likewise.
36573 * intl/Makefile: Likewise.
36574 * io/Makefile: Likewise.
36575 * libio/Makefile: Likewise.
36576 * malloc/Makefile: Likewise.
36577 * posix/Makefile: Likewise.
36578 * stdio-common/Makefile: Likewise.
36579 * stdlib/Makefile: Likewise.
36580 * sysdeps/x86_64/Makefile: Likewise.
36581
36582 * io/ftwtest-sh: Add copyright header.
36583 * posix/globtest.sh: Likewise.
36584 * posix/tst-getconf.sh: Likewise.
36585 * posix/wordexp-tst.sh: Likewise.
36586 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36587
36588 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36589
36590 [BZ #13679]
36591 * Makeconfig (+link): Defined as $(+link-static) if
36592 $(build-shared) isn't yes.
36593 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36594 isn't yes.
36595 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36596
36597 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36598
36599 [BZ #14562]
36600 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36601 new chunk size with MALLOC_ALIGN_MASK.
36602
36603 2012-09-24 Joseph Myers <joseph@codesourcery.com>
36604
36605 [BZ #5044]
36606 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36607 <rounding-mode.h>.
36608 (__printf_fphex): Determine rounding using get_rounding_mode and
36609 round_away.
36610 * stdio-common/tst-printf-round.c (struct hex_test): New
36611 structure.
36612 (hex_tests): New variable.
36613 (test_hex_in_one_mode): New function.
36614 (do_test): Also run tests for hex float output.
36615
36616 2012-09-21 Joseph Myers <joseph@codesourcery.com>
36617
36618 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36619 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36620 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36621 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36622 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36623 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36624 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36625 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36626
36627 2012-09-20 Joseph Myers <joseph@codesourcery.com>
36628
36629 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36630 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36631 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36632 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36633
36634 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36635
36636 [BZ #14579]
36637 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36638 mode only.
36639 * elf/tst-rtld-load-self.sh: New test.
36640 * elf/Makefile: Run it.
36641
36642 2012-09-18 Joseph Myers <joseph@codesourcery.com>
36643
36644 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36645 (tst-writev-ENV): Remove.
36646 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36647
36648 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36649
36650 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36651
36652 2012-09-17 Joseph Myers <joseph@codesourcery.com>
36653
36654 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36655 unconditional.
36656 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36657 Likewise.
36658 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36659 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36660 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36661 Likewise.
36662
36663 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36664
36665 [BZ #14587]
36666 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36667 * config.make.in (have-cpp-asm-debuginfo): Removed.
36668 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36669 * configure: Regenerated.
36670
36671 2012-09-14 Joseph Myers <joseph@codesourcery.com>
36672
36673 [BZ #5044]
36674 * stdio-common/printf_fp.c: Include <stdbool.h> and
36675 <rounding-mode.h>.
36676 (___printf_fp): Determine rounding using get_rounding_mode and
36677 round_away.
36678 * stdio-common/tst-printf-round.c: New file.
36679 * stdio-common/Makefile (tests): Add tst-printf-round.
36680 (link-libm): New variable.
36681 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36682
36683 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36684
36685 [BZ #14576]
36686 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36687 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36688 Likewise.
36689 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36690 Likewise.
36691
36692 2012-09-13 Joseph Myers <joseph@codesourcery.com>
36693
36694 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36695 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36696 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36697 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36698
36699 2012-09-12 Joseph Myers <joseph@codesourcery.com>
36700
36701 [BZ #14518]
36702 * include/rounding-mode.h: New file.
36703 * sysdeps/generic/get-rounding-mode.h: Likewise.
36704 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36705 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36706 (MAX_VALUE): New macro.
36707 (MIN_VALUE): Likewise.
36708 (overflow_value): New function.
36709 (underflow_value): Likewise.
36710 (round_and_return): Use overflow_value and underflow_value to
36711 determine return values in overflow and underflow cases. Use
36712 round_away to determine rounding depending on rounding mode.
36713 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36714 determine return values in overflow and underflow cases.
36715 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36716 (struct test_results): New structure.
36717 (struct test): Use struct test_results to store expected results
36718 for all rounding modes.
36719 (TEST): Include expected results for all rounding modes.
36720 (test_in_one_mode): New function.
36721 (do_test): Use test_in_one_mode to compute and check results.
36722 Check results for all rounding modes.
36723 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36724 $(link-libm).
36725
36726 2012-12-09 Allan McRae <allan@archlinux.org>
36727
36728 * sysdeps/i386/fpu/libm-test-ulps: Update
36729
36730 2012-09-11 Joseph Myers <joseph@codesourcery.com>
36731
36732 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36733 (_G_int32_t): Likewise.
36734 (_G_uint16_t): Likewise.
36735 (_G_uint32_t): Likewise.
36736 (_G_HAVE_BOOL): Likewise.
36737 (_G_HAVE_ATEXIT): Likewise.
36738 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36739 (_G_HAVE_IO_FILE_OPEN): Likewise.
36740 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36741 (_G_int32_t): Likewise.
36742 (_G_uint16_t): Likewise.
36743 (_G_uint32_t): Likewise.
36744 (_G_HAVE_BOOL): Likewise.
36745 (_G_HAVE_ATEXIT): Likewise.
36746 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36747 (_G_HAVE_IO_FILE_OPEN): Likewise.
36748 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36749 (_G_int32_t): Likewise.
36750 (_G_uint16_t): Likewise.
36751 (_G_uint32_t): Likewise.
36752 (_G_HAVE_BOOL): Likewise.
36753 (_G_HAVE_ATEXIT): Likewise.
36754 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36755 (_G_HAVE_IO_FILE_OPEN): Likewise.
36756
36757 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36758
36759 * csu/libc-tls.c: Update copyright years.
36760
36761 2012-09-10 Joseph Myers <joseph@codesourcery.com>
36762
36763 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36764 [!_G_USING_THUNKS]: Remove conditional code.
36765 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36766 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36767
36768 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36769 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36770 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36771 (_G_VTABLE_LABEL_PREFIX): Likewise.
36772 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36773 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36774 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36775 (_G_VTABLE_LABEL_PREFIX): Likewise.
36776 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36777 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36778 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36779 (_G_VTABLE_LABEL_PREFIX): Likewise.
36780 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36781
36782 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36783
36784 * libio/Makefile: Include ../Makeconfig before tests.
36785 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36786 only if $(build-shared) is yes.
36787
36788 * iconv/gconv_db.c: Update copyright years.
36789
36790 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36791
36792 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36793 unwind info if defined PIC. Fix special cases description.
36794 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36795
36796 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36797 DP_HI_MASK entry.
36798 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36799
36800 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36801
36802 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36803
36804 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36805 is NULL.
36806
36807 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36808 (LDLIBS-tst-chk4): This.
36809 (LDFLAGS-tst-chk5): Renamed to ...
36810 (LDLIBS-tst-chk5): This.
36811 (LDFLAGS-tst-chk6): Renamed to ...
36812 (LDLIBS-tst-chk6): This.
36813 (LDFLAGS-tst-lfschk4): Renamed to ...
36814 (LDLIBS-tst-lfschk4): This.
36815 (LDFLAGS-tst-lfschk5): Renamed to ...
36816 (LDLIBS-tst-lfschk5): This.
36817 (LDFLAGS-tst-lfschk6): Renamed to ...
36818 (LDLIBS-tst-lfschk6): This.
36819
36820 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36821 on $(common-objpfx)soversions.mk.
36822
36823 2012-09-07 Joseph Myers <joseph@codesourcery.com>
36824
36825 [BZ #10014]
36826 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36827 example host name.
36828
36829 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36830
36831 * malloc/arena.c (arena_get_retry): New function that gets
36832 another arena for the caller to try its request on.
36833 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36834 current arena cannot fulfill the request.
36835 (__libc_memalign): Likewise.
36836 (__libc_memalign): Likewise.
36837 (__libc_pvalloc): Likewise.
36838 (__libc_calloc): Likewise.
36839
36840 2012-09-05 John Tobey <john.tobey@gmail.com>
36841
36842 [BZ #13542]
36843 * manual/arith.texi (Operations on Complex): Fix description
36844 of carg branch cut.
36845
36846 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36847
36848 [BZ #10014]
36849 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36850 host name.
36851
36852 [BZ #10038]
36853 * manual/memory.texi (Memory): Make order of menu items match
36854 order of sections.
36855
36856 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36857
36858 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36859 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36860 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36861
36862 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36863
36864 * csu/libc-tls.c (static_dtv): Renamed to ...
36865 (_dl_static_dtv): This. Make it global.
36866 (_dl_initial_dtv): Removed.
36867 (__libc_setup_tls): Updated.
36868 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36869 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36870 DL_INITIAL_DTV.
36871
36872 2012-09-06 Petr Machata <pmachata@redhat.com>
36873
36874 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36875 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36876 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36877 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36878
36879 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36880
36881 [BZ #14545]
36882 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36883 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36884 freeing dtv[-1].
36885
36886 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36887
36888 [BZ #14544]
36889 * Makeconfig (link-static-before-libc): Replace $(+prector)
36890 with $(+prectorT).
36891 (link-static-after-libc): Replace $(+postctor) with
36892 $(+postctorT).
36893 (link-bounded): Replace $(+prector)/$(+postctor) with
36894 $(+prectorT)/$(+postctorT).
36895 (+prectorT): New macro.
36896 (+postctorT): Likewise.
36897
36898 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36899
36900 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36901 (round_str): Handle values above the maximum for IBM long double
36902 as inexact.
36903 * stdlib/tst-strtod-round.c (tests): Regenerated.
36904
36905 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36906
36907 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36908 assembler flag.
36909 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36910 zarch_nohighgprs around the zarch optimized routines.
36911 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36912 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36913 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36914 for zarch.
36915
36916 2012-09-05 David S. Miller <davem@davemloft.net>
36917
36918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36919
36920 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36921 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36922 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36923 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36924 entries.
36925
36926 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36927
36928 * malloc/arena.c: Fold copyright years.
36929 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36930
36931 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36932
36933 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36934
36935 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36936
36937 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36938
36939 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36940
36941 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36942 change internal state upon failure.
36943
36944 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36945
36946 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36947 * malloc/memusage.c (mmap): Likewise.
36948 (mmap64, mremap): Likewise. Adjust name in comment.
36949
36950 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36951
36952 * libio/fileops.c: Fix typos in comments.
36953 * libio/oldfileops.c: Likewise.
36954 * libio/wfileops.c: Likewise.
36955
36956 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36957
36958 [BZ #1349]
36959 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36960 (tst-malloc-usable-ENV): Set environment for test case.
36961 * malloc/hooks.c (malloc_check_get_size): New function to get
36962 requested size.
36963 * malloc/malloc.c (musable): Use malloc_check_get_size.
36964 * malloc/tst-malloc-usable.c: New test case.
36965
36966 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36967
36968 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36969
36970 2012-09-05 Allan McRae <allan@archlinux.org>
36971
36972 [BZ #13966]
36973 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36974 determine header location.
36975 * configure: Regenerated.
36976
36977 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36978
36979 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36980 float format.
36981 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36982 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36983 format.
36984 (test): Regenerate.
36985
36986 2012-09-04 David S. Miller <davem@davemloft.net>
36987
36988 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36989 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36990 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36991
36992 2012-09-04 Florian Weimer <fweimer@redhat.com>
36993
36994 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36995 failures.
36996
36997 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36998
36999 2012-09-04 Joseph Myers <joseph@codesourcery.com>
37000
37001 [BZ #9914]
37002 * libio/iogetdelim.c: Include <limits.h>.
37003 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37004 + len + 1 would overflow.
37005
37006 2012-09-03 Andreas Jaeger <aj@suse.de>
37007
37008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37009 * sysdeps/i386/fpu/libm-test-ulps: Update.
37010
37011 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37012
37013 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37014 Add s_sinf-sse2, s_conf-sse2.
37015
37016 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37017 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37018 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37019 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37020
37021 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37022 for using routine as __sinf_ia32.
37023 Use macro for function declaration and weak_alias.
37024 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37025 for using routine as __cosf_ia32.
37026 Use macro for function declaration and weak_alias.
37027
37028 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37029 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37030
37031 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37032 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37034
37035 * math/libm-test.inc (cos_test): Add more test cases.
37036 (sin_test): Likewise.
37037 (sincos_test): Likewise.
37038
37039 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37040
37041 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37042 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37043 hidden.
37044 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37045
37046 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37047
37048 [BZ #14538]
37049 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37050 first element of the GOT.
37051 (elf_machine_load_address): Return the difference between
37052 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37053
37054 2012-09-01 Allan McRae <allan@archlinux.org>
37055
37056 [BZ #13412]
37057 * configure.in (AWK): Require gawk version 3.0 or later.
37058 * configure: Regenerated.
37059
37060 2012-09-01 Joseph Myers <joseph@codesourcery.com>
37061
37062 * sysdeps/unix/sysv/linux/kernel-features.h
37063 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37064 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37065 [__NR_clock_getres]: Make code unconditional.
37066 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37067 (clock_getcpuclockid): Remove code left unreachable by removal of
37068 conditionals.
37069 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37070 code unconditional.
37071 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37072 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37073 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37074 Make code unconditional.
37075 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37076 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37077 * sysdeps/unix/sysv/linux/clock_settime.c
37078 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37079 conditional code.
37080 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37081 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37082
37083 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37084
37085 [BZ #14476]
37086 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37087 scripts/test-installation.pl.
37088
37089 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37090 and $ld_so_version if it is set.
37091
37092 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37093
37094 [BZ #14516]
37095 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37096 failure if reading from procfs failed.
37097 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37098
37099 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37100
37101 * sysdeps/unix/sysv/linux/kernel-features.h
37102 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37103 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37104 Remove conditional code.
37105 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37106 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37107 Remove conditional code.
37108 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37109 * sysdeps/unix/sysv/linux/i386/fxstat.c
37110 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37111 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37112 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37113 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37114 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37115 * sysdeps/unix/sysv/linux/i386/lxstat.c
37116 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37117 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37118 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37119 Remove conditional code.
37120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37121 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37122 Remove conditional code.
37123 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37124 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37125 <kernel-features.h>.
37126 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37127 Remove.
37128 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37129 Remove conditional code.
37130 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37131 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37132 Remove conditional.
37133
37134 2012-08-27 Mike Frysinger <vapier@gentoo.org>
37135
37136 [BZ #5400]
37137 * NEWS: Add fixed bug number.
37138
37139 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37140
37141 [BZ #14519]
37142 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37143 underflowing exponent in case of negative sign.
37144 * stdlib/tst-strtod-round-data: Add more tests.
37145 * stdlib/tst-strtod-round.c (tests): Regenerated.
37146
37147 [BZ #3479]
37148 * stdlib/strtod_l.c (NDIG): Remove.
37149 (HEXNDIG): Likewise.
37150 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37151 smallest representable value.
37152 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37153 lie within an exact representation of 1/2 ulp of the result.
37154 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37155 unconditionally.
37156 (TENS_P9_IDX): Define unconditionally.
37157 (TENS_P9_SIZE): Likewise.
37158 (TENS_P10_IDX): Likewise.
37159 (TENS_P10_SIZE): Likewise.
37160 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37161 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37162 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37163 entries for 10^2^13 and 10^2^14.
37164 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37165 (TENS_P13_IDX): Define.
37166 (TENS_P13_SIZE): Likewise.
37167 (TENS_P14_IDX): Likewise.
37168 (TENS_P14_SIZE): Likewise.
37169 (_fpioconst_pow10): Change array size to
37170 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37171 unconditional.
37172 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37173 1024]: Add entries for 10^2^13 and 10^2^14.
37174 [LAST_POW10 > _LAST_POW10]: Remove #error.
37175 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37176 (_fpioconst_pow10): Change array size to
37177 FPIOCONST_POW10_ARRAY_SIZE.
37178 * stdlib/gen-fpioconst.c: New file.
37179 * stdlib/gen-tst-strtod-round.c: Likewise.
37180 * stdlib/tst-strtod-round-data: Likewise.
37181 * stdlib/tst-strtod-round.c: Likewise.
37182 * stdlib/Makefile (tests): Add tst-strtod-round.
37183
37184 [BZ #14459]
37185 * stdlib/strtod_l.c: Include <stdint.h>.
37186 (NDEBUG): Do not define.
37187 (round_and_return): Change EXPONENT parameter to type intmax_t.
37188 Rearrange calculations to avoid internal overflow possibilities.
37189 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37190 Rearrange calculations to avoid internal overflow possibilities.
37191 Assert that number fits inside MPNSIZE limbs.
37192 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37193 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37194 calculations and add assertions to avoid internal overflow
37195 possibilities. Add casts to avoid signed/unsigned operations.
37196 * stdlib/tst-strtod-overflow.c: New file.
37197 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37198
37199 2012-08-25 Marek Polacek <polacek@redhat.com>
37200
37201 * time/time.h: Fix some typos in comments.
37202
37203 2012-08-23 Roland McGrath <roland@hack.frob.com>
37204
37205 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37206 * posix/tst-rfc3484-2.c: Likewise.
37207 * posix/tst-rfc3484-3.c: Likewise.
37208
37209 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37210
37211 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37212 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37213
37214 2012-08-23 Joseph Myers <joseph@codesourcery.com>
37215
37216 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37217 #include of fxstatat64.c.
37218
37219 2012-08-22 Roland McGrath <roland@hack.frob.com>
37220
37221 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37222 * shadow/getspent_r.c: Likewise.
37223 * shadow/getspnam.c: Likewise.
37224 * shadow/getspnam_r.c: Likewise.
37225 * gshadow/getsgent.c: Likewise.
37226 * gshadow/getsgent_r.c: Likewise.
37227 * gshadow/getsgnam.c: Likewise.
37228 * gshadow/getsgnam_r.c: Likewise.
37229 * inet/getnetbyad.c: Likewise.
37230 * inet/getnetbyad_r.c: Likewise.
37231 * inet/getnetbynm.c: Likewise.
37232 * inet/getnetbynm_r.c: Likewise.
37233 * inet/getnetent.c: Likewise.
37234 * inet/getnetent_r.c: Likewise.
37235 * inet/getproto.c: Likewise.
37236 * inet/getproto_r.c: Likewise.
37237 * inet/getprtent.c: Likewise.
37238 * inet/getprtent_r.c: Likewise.
37239 * inet/getprtname.c: Likewise.
37240 * inet/getprtname_r.c: Likewise.
37241 * inet/getrpcbyname.c: Likewise.
37242 * inet/getrpcbyname_r.c: Likewise.
37243 * inet/getrpcbynumber.c: Likewise.
37244 * inet/getrpcbynumber_r.c: Likewise.
37245 * inet/getrpcent.c: Likewise.
37246 * inet/getrpcent_r.c: Likewise.
37247 * inet/getaliasent.c: Likewise.
37248 * inet/getaliasent_r.c: Likewise.
37249 * inet/getaliasname.c: Likewise.
37250 * inet/getaliasname_r.c: Likewise.
37251 * nscd/getgrgid_r.c: Likewise.
37252 * nscd/getgrnam_r.c: Likewise.
37253 * nscd/gethstbyad_r.c: Likewise.
37254 * nscd/gethstbynm3_r.c: Likewise.
37255 * nscd/getpwnam_r.c: Likewise.
37256 * nscd/getpwuid_r.c: Likewise.
37257 * nscd/getsrvbynm_r.c: Likewise.
37258 * nscd/getsrvbypt_r.c: Likewise.
37259 * nscd/gai.c: Likewise.
37260
37261 * configure.in (build_nscd): New substituted variable, set
37262 by --disable-build-nscd and defaults to $use_nscd.
37263 * configure: Regenerated.
37264 * config.make.in (build-nscd): New substituted variable.
37265 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37266 Change conditional to require [$(build-nscd) = yes] as well.
37267 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37268
37269 [BZ# 13696]
37270 * configure.in (use_nscd): New substituted variable, set by
37271 --disable-nscd. If enabled, define USE_NSCD.
37272 * configure: Regenerated.
37273 * config.h.in: Add USE_NSCD.
37274 * config.make.in (use-nscd): New substituted variable.
37275 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37276 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37277 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37278 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37279 (CFLAGS-getgrnam_r.c): Likewise.
37280 (CFLAGS-initgroups.c): Likewise.
37281 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37282 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37283 Variables removed.
37284 * inet/getnetgrent_r.c
37285 (nscd_setnetgrent): New function, broken out of ...
37286 (setnetgrent): ... here. Call it.
37287 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37288 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37289 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37290 * nscd/Makefile (routines, aux): Move definitions after include of
37291 Makeconfig. Conditionalize on [$(use-nscd) != no].
37292 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37293 Conditionalize on [USE_NSCD].
37294 (is_nscd, nscd_init_cb): Likewise.
37295 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37296 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37297 * nss/nss_db/db-init.c: Likewise.
37298 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37299 [USE_NSCD].
37300 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37301 (make_request): Use it.
37302 (cache_valid_p): New function.
37303 (__check_pf): Use it.
37304 * NEWS: Add item for --disable-nscd.
37305
37306 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37307
37308 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37309 to support sed >= 4.2.1-20-ga9bf076.
37310 * configure: Regenerated.
37311
37312 2012-08-22 Roland McGrath <roland@hack.frob.com>
37313
37314 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37315 Conditionalize whole body on [IREL].
37316
37317 2012-08-22 Jeff Law <law@redhat.com>
37318
37319 [BZ #14505]
37320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37321 if the family is PF_UNSPEC.
37322
37323 2012-08-22 Mike Frysinger <vapier@gentoo.org>
37324
37325 * Makerules (lib-version): Rename from V.
37326 (install-lib-nosubdir): Change V to lib-version.
37327
37328 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37329
37330 [BZ #14252]
37331 * powerpc32/power6/wcschr.c: New file.
37332 * powerpc32/power6/wcscpy.c: New file.
37333 * powerpc32/power6/wcsrchr.c: New file.
37334 * powerpc64/power6/wcschr.c: New file.
37335 * powerpc64/power6/wcscpy.c: New file.
37336 * powerpc64/power6/wcsrchr.c: New file.
37337
37338 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37339
37340 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37341 (two_way_short_needle): Use it.
37342 * string/strstr.c (AVAILABLE1_USES_J): Define.
37343 * string/strcasestr.c: Likewise.
37344
37345 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37346 array references.
37347 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37348
37349 [BZ #11607]
37350 * NEWS: Add an entry.
37351 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37352 define their defaults.
37353 (two_way_short_needle): Detect end-of-string on-the-fly.
37354 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37355 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37356 * string/bug-strcasestr1.c: New test.
37357 * string/Makefile: Run it.
37358
37359 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37360
37361 [BZ #11607]
37362 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37363 the first character.
37364
37365 2012-08-21 Roland McGrath <roland@hack.frob.com>
37366
37367 * csu/elf-init.c (__libc_csu_irel): Function removed.
37368 * csu/libc-start.c (apply_irel): New function.
37369 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37370
37371 2012-08-21 Joseph Myers <joseph@codesourcery.com>
37372
37373 * sysdeps/unix/sysv/linux/kernel-features.h
37374 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37375 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37376 <kernel-features.h>.
37377 [__NR_fadvise64_64]: Make code unconditional.
37378 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37379 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37380 !__NR_fadvise64_64)]: Likewise.
37381 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37382 !__NR_fadvise64_64))]: Likewise.
37383 [__NR_fadvise64]: Make code unconditional.
37384 [!__NR_fadvise64]: Remove conditional code.
37385 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37386 <kernel-features.h>.
37387 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37388 unconditional.
37389 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37390 conditional code.
37391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37392 not include <kernel-features.h>.
37393 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37394 unconditional.
37395 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37396 conditional code.
37397 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37398 include <kernel-features.h>.
37399 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37400 unconditional.
37401 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37402 conditional code.
37403
37404 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37405
37406 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37407 slight instruction rearrangements per scrollpipe analysis.
37408 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37409
37410 2012-08-20 Roland McGrath <roland@hack.frob.com>
37411
37412 * manual/syslog.texi (syslog; vsyslog, closelog):
37413 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37414 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37415
37416 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37417 DSOCAPS to match condition on defining it.
37418
37419 2012-08-20 Joseph Myers <joseph@codesourcery.com>
37420
37421 * sysdeps/unix/sysv/linux/kernel-features.h
37422 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37424 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37425 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37427 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37428 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37430 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37431 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37432
37433 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37434 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37435
37436 * sysdeps/unix/sysv/linux/kernel-features.h
37437 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37438 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37439 unconditional.
37440 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37441 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37442 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37443 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37444 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37445 Make code unconditional.
37446 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37447 (__mmap64) [!__NR_mmap2]: Likewise.
37448 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37449 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37450 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37451 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37452 [__NR_mmap2]: Make code unconditional.
37453 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37454 (__mmap64) [!__NR_mmap2]: Likewise.
37455
37456 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37457
37458 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37459
37460 2012-08-18 Andreas Jaeger <aj@suse.de>
37461
37462 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37463
37464 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37465
37466 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37467 * include/unistd.h (__have_sock_cloexec): Likewise.
37468 (__have_pipe2): Likewise.
37469 (__have_dup3): Likewise.
37470
37471 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37472
37473 [BZ #9685]
37474 * include/unistd.h (__have_pipe2): Change define into an extern int.
37475 (__have_dup3): Likewise.
37476 * socket/have_sock_cloexec.c: Include fcntl.h.
37477 (__have_pipe2): New variable.
37478 (__have_dup3): Likewise.
37479
37480 2012-08-17 Mike Frysinger <vapier@gentoo.org>
37481
37482 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37483
37484 2012-08-17 Marek Polacek <polacek@redhat.com>
37485
37486 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37487 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37488
37489 2012-08-17 Roland McGrath <roland@hack.frob.com>
37490
37491 * configure.in: Add AC_SUBST for sysheaders.
37492 * configure: Regenerated.
37493 * config.make.in (sysheaders): New substituted variable.
37494
37495 * sysdeps/unix/mkfifo.c: Moved ...
37496 * sysdeps/posix/mkfifo.c: ... here.
37497 * sysdeps/unix/mkfifoat.c: Moved ...
37498 * sysdeps/posix/mkfifoat.c: ... here.
37499
37500 * sysdeps/unix/utime.c: Moved ...
37501 * sysdeps/posix/utime.c: ... here.
37502
37503 * sysdeps/unix/time.c: Moved ...
37504 * sysdeps/posix/time.c: ... here.
37505 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37506 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37507
37508 * sysdeps/unix/nice.c: Moved ...
37509 * sysdeps/posix/nice.c: ... here.
37510
37511 * sysdeps/unix/alarm.c: Moved ...
37512 * sysdeps/posix/alarm.c: ... here.
37513
37514 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37515
37516 2012-08-17 Jeff Law <law@redhat.com>
37517
37518 * intl/Makefile (codeset_mo): New variable.
37519 ($(codeset_mo)): New target.
37520 (tst-codeset.out): Depend on that. Remove explicit rule.
37521 (tst-gettext3.out, tst-gettext5.out): Likewise.
37522 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37523 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37524 * intl/tst-codeset.sh: Remove.
37525 * intl/tst-gettext3.sh: Likewise.
37526 * intl/tst-gettext5.sh: Likewise.
37527
37528 2012-08-17 Roland McGrath <roland@hack.frob.com>
37529
37530 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37531 * sysdeps/unix/syscalls.list: ... here.
37532
37533 * sysdeps/posix/getaddrinfo.c
37534 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37535 (gaiconf_init, gaiconf_reload): Use them.
37536 [!_STATBUF_ST_NSEC]
37537 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37538 Define using time_t rather than struct timespec.
37539
37540 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37541 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37542 Macros removed.
37543 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37544 [!NO_THREADS].
37545 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37546 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37547 Likewise.
37548
37549 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37550 __libc_cleanup_push argument.
37551
37552 * bits/param.h: New file.
37553 * misc/sys/param.h: New file.
37554 * include/sys/param.h: New file.
37555 * misc/Makefile (headers): Add bits/param.h.
37556 * sysdeps/generic/sys/param.h: File removed.
37557 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37558 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37559 * sysdeps/mach/hurd/bits/param.h: New file.
37560 * sysdeps/mach/hurd/sys/param.h: File removed.
37561
37562 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37563 last change.
37564
37565 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37566 [_IO_MTSAFE_IO].
37567 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37568 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37569 New macros.
37570
37571 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37572 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37573 rather than -D_IO_MTSAFE_IO conditionally.
37574 * stdio-common/Makefile (CPPFLAGS): Likewise.
37575 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37576 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37577 Use $(libio-mtsafe).
37578 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37579 of -D_IO_MTSAFE_IO.
37580 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37581 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37582 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37583 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37584 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37585 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37586 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37587 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37588 (CFLAGS-fread_u_chk.c): Likewise.
37589 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37590 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37591 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37592 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37593 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37594 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37595 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37596 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37597 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37598
37599 * libio/Makefile: Test [$(libc-reentrant) = yes]
37600 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37601
37602 * Makeconfig
37603 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37604 * sysdeps/pthread/configure: File removed.
37605 * sysdeps/pthread/Makeconfig: New file.
37606 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37607 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37608
37609 2012-08-16 Gary Benson <gbenson@redhat.com>
37610
37611 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37612 unmapping the first object in a namespace.
37613
37614 2012-08-16 Roland McGrath <roland@hack.frob.com>
37615
37616 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37617 (__internal_setnetgrent): ... this. Add internal_function to
37618 definition. Add libc_hidden_def.
37619 (setnetgrent): Update caller.
37620 (internal_endnetgrent): Renamed to ...
37621 (__internal_endnetgrent): ... this. Add internal_function to
37622 definition. Add libc_hidden_def.
37623 (endnetgrent): Update caller.
37624 (internal_getnetgrent_r): Renamed to ...
37625 (__internal_getnetgrent_r): ... this. Add internal_function to
37626 definition. Add libc_hidden_def.
37627 (__getnetgrent_r): Update caller.
37628 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37629
37630 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37631
37632 * stdlib/longlong.h: Update from GCC.
37633
37634 2012-08-16 Roland McGrath <roland@hack.frob.com>
37635
37636 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37637 on _QL, which is set by umul_ppmm but never used.
37638 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37639 variables, which are set by GMP macros but never used.
37640 * stdio-common/_itowa.c (_itowa): Likewise.
37641 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37642 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37643
37644 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37645
37646 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37647 struct La_sh_regs is not constant.
37648 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37649 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37650 and struct La_sparc64_regs are not constant.
37651
37652 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37653
37654 * sysdeps/unix/sysv/linux/kernel-features.h
37655 (__ASSUME_POSIX_TIMERS): Remove.
37656 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37657 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37658 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37659 Make code unconditional.
37660 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37661 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37662 Make code unconditional.
37663 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37664 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37665 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37666 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37667 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37668 Make code unconditional.
37669 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37670 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37671 (__libc_missing_posix_timers): Remove.
37672
37673 2012-08-15 Roland McGrath <roland@hack.frob.com>
37674
37675 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37676 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37677
37678 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37679
37680 * elf/dl-sym.c: Include <stdlib.h>.
37681
37682 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37683 constants, which avoids warnings in 32-bit builds.
37684
37685 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37686 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37687
37688 * misc/lseek.c: File moved to ...
37689 * io/lseek.c: ... here.
37690
37691 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37692
37693 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37694 shifting LEN more than 31 bits at once.
37695
37696 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37697
37698 [BZ #14195]
37699 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37700 segmentation fault for a case of two empty input strings.
37701 * string/test-strncasecmp.c (check1): Renamed to...
37702 (bz12205): ...this.
37703 (bz14195): Add new testcase for two empty input strings and N > 0.
37704 (test_main): Call new testcase, adapt for renamed function.
37705
37706 2012-08-15 Andreas Jaeger <aj@suse.de>
37707
37708 [BZ #14090]
37709 * crypt/md5test2.c: New test, based on test supplied by Serge
37710 Belyshev <belyshev@depni.sinp.msu.ru>.
37711 * crypt/Makefile (xtests): Add md5test-giant..
37712 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37713
37714 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37715
37716 [BZ #14090]
37717 * crypt/md5.c (md5_process_block): Don't assume the buffer
37718 length is less than 2**32.
37719 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37720 length is less than 2**64.
37721
37722 2012-08-15 Roland McGrath <roland@hack.frob.com>
37723
37724 * string/str-two-way.h: Include <sys/param.h>.
37725 (MAX): Macro removed.
37726
37727 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37728 Move #define and #undef of memmove to just before and after
37729 including <string.h>.
37730
37731 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37732 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37733 and after including <string.h>. Move declarations of
37734 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37735 to before #include "string/memmove.c".
37736
37737 * include/dirent.h: Declare __getdirentries.
37738
37739 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37740 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37741
37742 2012-08-14 Mike Frysinger <vapier@gentoo.org>
37743
37744 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37745 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37746 * sysdeps/i386/configure: Regenerated.
37747 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37748 STABS_CURRENT_FILE, and STABS_FUN.
37749 (END): Remove call to STABS_FUN_END.
37750 (STABS_CURRENT_FILE1): Delete.
37751 (STABS_CURRENT_FILE): Likewise.
37752 (STABS_FUN): Likewise.
37753 (STABS_FUN_END): Likewise.
37754 (STABS_FUN2): Likewise.
37755 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37756 * sysdeps/x86_64/configure: Regenerated.
37757
37758 2012-08-14 Roland McGrath <roland@hack.frob.com>
37759
37760 * elf/dl-open.c: Include <atomic.h>.
37761 * elf/dl-lookup.c: Likewise.
37762
37763 2012-08-14 Joseph Myers <joseph@codesourcery.com>
37764
37765 * sysdeps/unix/sysv/linux/kernel-features.h
37766 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37767 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37768 unconditionally.
37769 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37770 unconditionally.
37771 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37772 condition on __ASSUME_CLONE_THREAD_FLAGS.
37773
37774 2012-08-14 Andreas Jaeger <aj@suse.de>
37775
37776 * sysdeps/i386/fpu/libm-test-ulps: Update.
37777
37778 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37779
37780 * include/atomic.h (atomic_exchange_and_add): Split into ...
37781 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37782 New atomic macros.
37783
37784 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37785
37786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37787
37788 2012-08-13 Jeff Law <law@redhat.com>
37789
37790 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37791 null byte in the output string.
37792
37793 2012-08-10 Joseph Myers <joseph@codesourcery.com>
37794
37795 * sysdeps/unix/sysv/linux/kernel-features.h
37796 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37797 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37798 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37799 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37800 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37801 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37802 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37803
37804 2012-08-09 Jeff Law <law@redhat.com>
37805
37806 [BZ #13939]
37807 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37808 When avoid_arena is set, don't retry in the that arena. Pick the
37809 next one, whatever it might be.
37810 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37811 (arena_lock): Pass in new parameter to arena_get2.
37812 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37813 arena_get2.
37814 (__libc_malloc): Unify retrying after main arena failure with
37815 __libc_memalign version.
37816 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37817
37818 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37819
37820 [BZ #14166]
37821 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37822 to __redirect_strstr.
37823 (__strstr_sse42): Use typeof __redirect_strstr.
37824 (__strstr_ia32): Likewise.
37825 (__libc_strstr): New prototype.
37826 (strstr): Renamed to ...
37827 (__libc_strstr): This.
37828 (strstr): New strong alias of __libc_strstr.
37829 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37830 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37831 __redirect_time.
37832 Include <time.h>.
37833 (__libc_time): New prototype.
37834 (time_ifunc): Replace time with __libc_time.
37835 (time): New strong alias and hidden definition of __libc_time.
37836 (__GI_time): Remove strong alias.
37837 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37838 Include <stddef.h>.
37839 (memmove): Redefined to __redirect_memmove.
37840 (__memmove_sse2): Use typeof __redirect_memmove.
37841 (__memmove_ssse3): Likewise.
37842 (__memmove_ssse3_back): Likewise.
37843 (__libc_memmove): New prototype.
37844 (memmove): Renamed to ...
37845 (__libc_memmove): This.
37846 (memmove): New strong alias of __libc_memmove.
37847
37848 2012-08-08 Mark Salter <msalter@redhat.com>
37849
37850 * elf/elf.h
37851 (R_MN10300_TLS_GD): Define.
37852 (R_MN10300_TLS_LD): Likewise.
37853 (R_MN10300_TLS_LDO): Likewise.
37854 (R_MN10300_TLS_GOTIE): Likewise.
37855 (R_MN10300_TLS_IE): Likewise.
37856 (R_MN10300_TLS_LE): Likewise.
37857 (R_MN10300_TLS_DTPMOD): Likewise.
37858 (R_MN10300_TLS_DTPOFF): Likewise.
37859 (R_MN10300_TLS_TPOFF): Likewise.
37860 (R_MN10300_SYM_DIFF): Likewise.
37861 (R_MN10300_ALIGN): Likewise.
37862 (R_MN10300_NUM): Update.
37863
37864 2012-08-08 Joseph Myers <joseph@codesourcery.com>
37865
37866 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37867 Remove.
37868
37869 2012-08-08 Roland McGrath <roland@hack.frob.com>
37870
37871 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37872
37873 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37874 sysdeps/unix -> sysdeps/posix move.
37875 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37876
37877 2012-08-07 Allan McRae <allan@archlinux.org>
37878
37879 [BZ #14303]
37880 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37881 (SUNOS_CPP): Likewise.
37882 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37883 not found.
37884 (open_input): Call CPP using execvp.
37885
37886 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37887
37888 * sysdeps/unix/sysv/linux/kernel-features.h
37889 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37890 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37891 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37892 (__ASSUME_WAITID_SYSCALL): Likewise.
37893 * sysdeps/unix/sysv/linux/dl-execstack.c
37894 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37895 code unconditional.
37896 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37897 conditional code.
37898 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37899 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37900 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37901 code.
37902 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37903 unconditional.
37904 [__ASSUME_WAITID_SYSCALL]: Likewise.
37905 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37906
37907 2012-08-07 Roland McGrath <roland@hack.frob.com>
37908
37909 * sysdeps/unix/closedir.c: Renamed to ...
37910 * sysdeps/posix/closedir.c: ... here.
37911 * sysdeps/unix/dirfd.c: Renamed to ...
37912 * sysdeps/posix/dirfd.c: ... here.
37913 * sysdeps/unix/dirstream.h: Renamed to ...
37914 * sysdeps/posix/dirstream.h: ... here.
37915 * sysdeps/unix/fdopendir.c: Renamed to ...
37916 * sysdeps/posix/fdopendir.c: ... here.
37917 * sysdeps/unix/opendir.c: Renamed to ...
37918 * sysdeps/posix/opendir.c: ... here.
37919 * sysdeps/unix/readdir.c: Renamed to ...
37920 * sysdeps/posix/readdir.c: ... here.
37921 * sysdeps/unix/readdir_r.c: Renamed to ...
37922 * sysdeps/posix/readdir_r.c: ... here.
37923 * sysdeps/unix/rewinddir.c: Renamed to ...
37924 * sysdeps/posix/rewinddir.c: ... here.
37925 * sysdeps/unix/seekdir.c: Renamed to ...
37926 * sysdeps/posix/seekdir.c: ... here.
37927 * sysdeps/unix/telldir.c: Renamed to ...
37928 * sysdeps/posix/telldir.c: ... here.
37929 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37930 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37931 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37932 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37933
37934 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37935 * bits/fcntl.h: ... here.
37936
37937 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37938 not 0.
37939 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37940 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37941 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37942 (struct flock): Move l_start, l_len to the beginning.
37943 Use __pid_t for l_pid.
37944 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37945 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37946 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37947 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37948 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37949 [__USE_LARGEFILE64] (struct flock64): New type.
37950 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37951
37952 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37953 * bits/dirent.h: ... here.
37954
37955 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37956 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37957
37958 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37959
37960 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37961 Change from 2.6.0 to 2.6.16.
37962 * sysdeps/unix/sysv/linux/configure: Regenerated.
37963 * sysdeps/unix/sysv/linux/kernel-features.h
37964 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37965 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37966 version.
37967 (__ASSUME_UTIMES): Likewise.
37968 (__ASSUME_CLONE_STOPPED): Remove.
37969 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37970 architectures, not kernel version.
37971 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37972 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37973 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37974 (__ASSUME_WAITID_SYSCALL): Likewise.
37975 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37976 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37977 * README: State 2.6.16 as minimum Linux kernel version. Do not
37978 refer to older versions.
37979
37980 2012-08-06 Roland McGrath <roland@hack.frob.com>
37981
37982 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37983 Define alphasort64 as an alias.
37984 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37985 Define versionsort64 as an alias.
37986 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37987 Define scandir64 as an alias.
37988 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37989 Define scandirat64 as an alias.
37990 * dirent/alphasort64.c (alphasort64):
37991 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37992 * dirent/versionsort64.c: Likewise.
37993 * dirent/scandir64.c: Likewise.
37994 * dirent/scandirat64.c: Likewise.
37995 * sysdeps/wordsize-64/alphasort.c: File removed.
37996 * sysdeps/wordsize-64/alphasort64.c: File removed.
37997 * sysdeps/wordsize-64/scandir.c: File removed.
37998 * sysdeps/wordsize-64/scandir64.c: File removed.
37999 * sysdeps/wordsize-64/scandirat.c: File removed.
38000 * sysdeps/wordsize-64/scandirat64.c: File removed.
38001 * sysdeps/wordsize-64/versionsort.c: File removed.
38002 * sysdeps/wordsize-64/versionsort64.c: File removed.
38003 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38004 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38005 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38006 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38007 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38008 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38009 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38010 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38011
38012 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38013 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38014 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38015 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38016 [defined __arch64__ || defined __sparcv9]
38017 (__INO_T_MATCHES_INO64_T): New macro.
38018 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38019 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38020 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38021 * sysdeps/unix/sysv/linux/bits/dirent.h
38022 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38023 (_DIRENT_MATCHES_DIRENT64): New macro.
38024
38025 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38026 Define lockf64 as an alias.
38027 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38028 Define fseeko64 as an alias.
38029 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38030 Define ftello64 as an alias.
38031 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38032 Define _IO_fgetpos64 and fgetpos64 as aliases.
38033 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38034 Define _IO_fsetpos64 and fsetpos64 as aliases.
38035 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38036 Conditionalize body on this.
38037 * libio/fseeko64.c: Likewise.
38038 * libio/ftello64.c: Likewise.
38039 * libio/iofgetpos64.c: Likewise.
38040 * libio/iofsetpos64.c: Likewise.
38041 * sysdeps/wordsize-64/lockf.c: File removed.
38042 * sysdeps/wordsize-64/lockf64.c: File removed.
38043 * sysdeps/wordsize-64/fseeko.c: File removed.
38044 * sysdeps/wordsize-64/fseeko64.c: File removed.
38045 * sysdeps/wordsize-64/ftello.c: File removed.
38046 * sysdeps/wordsize-64/ftello64.c: File removed.
38047 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38048 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38049 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38050 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38051 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38052 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38053 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38054 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38055 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38056 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38057 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38058 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38059 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38060 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38061
38062 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38064 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38066 [defined __arch64__ || defined __sparcv9]
38067 (__OFF_T_MATCHES_OFF64_T): New macro.
38068 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38069 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38070 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38071 (__OFF_T_MATCHES_OFF64_T): New macro.
38072
38073 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38074
38075 * stdlib/secure-getenv.c (__secure_getenv): Replace
38076 GLIBC_2_16 with GLIBC_2_17.
38077
38078 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38079
38080 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38081 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38082
38083 2012-08-03 David S. Miller <davem@davemloft.net>
38084
38085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38086
38087 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38088
38089 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38090 Remove.
38091 (__ASSUME_CORRECT_SI_PID): Likewise.
38092 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38093 (__ASSUME_TMPFS_NAME): Likewise.
38094 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38095 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38096 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38097 (HAVE_AUX_SECURE): Make definition unconditional.
38098 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38099 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38100
38101 2012-08-03 Roland McGrath <roland@hack.frob.com>
38102
38103 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38104 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38105 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38106 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38107 __eloop_threshold instead of SYMLOOP_MAX.
38108
38109 * sysdeps/generic/eloop-threshold.h: New file.
38110 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38111 of MAXSYMLINKS.
38112 * elf/chroot_canon.c (chroot_canon): Likewise.
38113
38114 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38115
38116 [BZ #13717]
38117 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38118 Change to 2.6.0 everywhere.
38119 * sysdeps/unix/sysv/linux/configure: Regenerated.
38120 * sysdeps/unix/sysv/linux/kernel-features.h
38121 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38122 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38123 kernel versions.
38124 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38125 (__ASSUME_FUTEX_REQUEUE): Remove.
38126 (__ASSUME_STATFS64): Define unconditionally.
38127 (__ASSUME_AT_SECURE): Likewise.
38128 (__ASSUME_CORRECT_SI_PID): Likewise.
38129 (__ASSUME_TGKILL): Define without depending on kernel version for
38130 i386.
38131 (__ASSUME_UTIMES): Likewise.
38132 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38133 kernel version.
38134 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38135 (__ASSUME_TMPFS_NAME): Likewise.
38136 * README: Update reference to Linux kernel versions.
38137
38138 2012-08-02 Marek Polacek <polacek@redhat.com>
38139
38140 [BZ# 14150]
38141 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38142 libc_cv_asm_type_prefix with %.
38143 * configure: Regenerated.
38144 * include/libc-symbols.h: Remove comment about
38145 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38146 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38147 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38148 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38149 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38150 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38151 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38152 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38153 * elf/tst-unique2mod1.c: Likewise.
38154 * elf/tst-unique1mod2.c: Likewise.
38155 * elf/tst-unique1mod1.c: Likewise.
38156 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38157 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38158 Replace ASM_TYPE_DIRECTIVE with .type.
38159 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38160 * sysdeps/i386/sysdep.h: Likewise.
38161 * sysdeps/x86_64/sysdep.h: Likewise.
38162 * sysdeps/sh/sysdep.h: Likewise.
38163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38164 Do not define ASM_TYPE_DIRECTIVE.
38165 * sysdeps/powerpc/sysdep.h: Likewise.
38166 * sysdeps/powerpc/powerpc32/sysdep.h:
38167 Replace ASM_TYPE_DIRECTIVE with .type.
38168 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38169 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38170 * sysdeps/i386/fpu/e_powf.S: Likewise.
38171 * sysdeps/i386/fpu/e_expl.S: Likewise.
38172 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38173 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38174 * sysdeps/i386/fpu/e_pow.S: Likewise.
38175 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38176 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38177 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38178 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38179 * sysdeps/i386/fpu/e_log2.S: Likewise.
38180 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38181 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38182 * sysdeps/i386/fpu/e_powl.S: Likewise.
38183 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38184 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38185 * sysdeps/i386/fpu/e_logl.S: Likewise.
38186 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38187 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38188 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38189 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38190 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38191 * sysdeps/i386/fpu/e_log.S: Likewise.
38192 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38193 * sysdeps/i386/fpu/e_logf.S: Likewise.
38194 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38195 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38196 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38197 * sysdeps/i386/fpu/e_log10.S: Likewise.
38198 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38199 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38200 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38201 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38202 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38203 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38204 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38205 * sysdeps/i386/i686/strtok.S: Likewise.
38206 * sysdeps/i386/i386-mcount.S: Likewise.
38207 * sysdeps/i386/strtok.S: Likewise.
38208 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38209 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38210 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38211 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38212 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38213 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38214 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38215 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38216 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38217 * sysdeps/x86_64/_mcount.S: Likewise.
38218 * sysdeps/x86_64/strtok.S: Likewise.
38219 * sysdeps/sh/_mcount.S: Likewise.
38220
38221 2012-08-01 Roland McGrath <roland@hack.frob.com>
38222
38223 * libio/iofopen.c: Include <fcntl.h>.
38224 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38225 (_IO_fopen64, fopen64): Define as aliases.
38226 * libio/iofopen64.c: Include <fcntl.h>.
38227 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38228 Conditionalize body on this.
38229 * sysdeps/wordsize-64/iofopen.c: File removed.
38230 * sysdeps/wordsize-64/iofopen64.c: File removed.
38231
38232 2012-08-01 Marek Polacek <polacek@redhat.com>
38233
38234 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38235 Use dlfcn directly instead of a variable.
38236 (binfmt-subdir): Do not define.
38237 (dlfcn): Likewise.
38238
38239 2012-08-01 Joseph Myers <joseph@codesourcery.com>
38240
38241 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38242 Remove all definitions.
38243 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38244 <kernel-features.h>.
38245 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38246 (miss_F_GETOWN_EX): Remove all definitions.
38247 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38248 macro definition.
38249 [!__ASSUME_FCNTL64]: Remove conditional code.
38250 [__ASSUME_FCNTL64]: Make code unconditional.
38251 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38252 <kernel-features.h>.
38253 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38254 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38255 (lockf64) [__NR_fcntl64]: Make code unconditional.
38256 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38257
38258 * sysdeps/unix/sysv/linux/kernel-features.h
38259 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38260 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38261 Make code unconditional.
38262 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38263 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38265 [__NR_vfork]: Make code unconditional.
38266 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38267 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38269 [__NR_vfork]: Make code unconditional.
38270 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38271 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38272
38273 2012-08-01 Roland McGrath <roland@hack.frob.com>
38274
38275 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38276 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38277
38278 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38279 Define mkstemp64 as an alias.
38280 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38281 Define mkstemps64 as an alias.
38282 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38283 Define mkostemp64 as an alias.
38284 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38285 Define mkostemps64 as an alias.
38286 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38287 Conditionalize body on this.
38288 * misc/mkostemp64.c: Likewise.
38289 * misc/mkostemps64.c: Likewise.
38290 * misc/mkstemps64.c: Likewise.
38291 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38292 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38293 * sysdeps/wordsize-64/mkostemp.c: File removed.
38294 * sysdeps/wordsize-64/mkstemp.c: File removed.
38295 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38296 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38297 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38298 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38299
38300 [BZ #14138]
38301 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38302 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38303 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38304 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38305
38306 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38307 compat_symbol macros from <shlib-compat.h> rather than the underlying
38308 default_symbol_version and symbol_version macros, so that DEFAULT
38309 lines in shlib-versions are respected.
38310 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38311
38312 2012-08-01 Florian Weimer <fweimer@redhat.com>
38313
38314 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38315 Declare with warn_unused_result.
38316 (setgid, setregid, setegid, setresgid): Likewise.
38317 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38318 Likewise.
38319 * WUR-REPORT: Remove set*id functions.
38320
38321 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38322
38323 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38324
38325 2012-07-31 Roland McGrath <roland@hack.frob.com>
38326
38327 [BZ #10191]
38328 * include/sys/socket.h (__libc_accept, __libc_accept4):
38329 Add attribute_hidden.
38330 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38331
38332 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38333 use of PTR_MANGLE.
38334 * inet/getnetgrent_r.c (setup): Likewise.
38335
38336 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38337
38338 2012-07-31 David S. Miller <davem@davemloft.net>
38339
38340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38341
38342 2012-07-31 Joseph Myers <joseph@codesourcery.com>
38343
38344 [BZ #13629]
38345 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38346 value between 1.0 and 2.0 and smaller part has absolute value less
38347 than 1.0.
38348 * math/s_clog10.c (__clog10): Likewise.
38349 * math/s_clog10f.c (__clog10f): Likewise.
38350 * math/s_clog10l.c (__clog10l): Likewise.
38351 * math/s_clogf.c (__clogf): Likewise.
38352 * math/s_clogl.c (__clogl): Likewise.
38353 * math/libm-test.inc (clog_test): Add more tests.
38354 (clog10_test): Likewise.
38355 * sysdeps/i386/fpu/libm-test-ulps: Update.
38356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38357
38358 2012-07-31 Florian Weimer <fweimer@redhat.com>
38359
38360 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38361 Exit with zero in case no suitable GID is found, and write a
38362 message to standard error.
38363
38364 2012-07-30 Roland McGrath <roland@hack.frob.com>
38365
38366 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38367 rather than to 1.
38368 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38369 (MAXPATHLEN): Removed.
38370 (NOGROUP, NODEV): New macros.
38371 (setbit, clrbit, isset, isclr): New macros.
38372 (howmany, roundup, powerof2): New macros.
38373 (DEV_BSIZE): New macro.
38374
38375 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38376 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38377
38378 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38379 definition on [!__NO_LONG_DOUBLE_MATH].
38380
38381 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38382 PTR_MANGLE and PTR_DEMANGLE.
38383
38384 * socket/accept4.c (accept4): Rename to __libc_accept4.
38385 Define accept4 as a weak alias.
38386
38387 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38388 on [_DIRENT_HAVE_D_TYPE].
38389 * io/ftw.c (ftw_dir): Likewise.
38390
38391 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38392
38393 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38394
38395 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38396 Use the BSD numbers rather than the arbitrary ones we had.
38397 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38398 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38399 (SIGXCPU, SIGXFSZ): New macros.
38400 (_NSIG): Now 32.
38401
38402 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38403 initializer on [_LIBC_REENTRANT].
38404
38405 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38406 definitions inside [_POSIX_MAPPED_FILES].
38407
38408 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38409
38410 * dirent/opendir.c: Include <fcntl.h>.
38411
38412 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38413 (__libc_getspecific): Likewise.
38414 (__libc_key_create): Likewise.
38415
38416 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38417 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38418 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38419 (tmpfile64): Define as alias.
38420 * sysdeps/wordsize-64/tmpfile.c: File removed.
38421 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38422 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38423 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38424
38425 * stdio-common/vfscanf.c: Include <stdbool.h>.
38426 * nss/makedb.c: Likewise.
38427 * stdio-common/_i18n_number.h: Likewise.
38428 * argp/argp-help.c: Likewise.
38429 * posix/wordexp.c: Likewise.
38430 * sysdeps/posix/spawni.c: Likewise.
38431 * nss/nss_files/files-initgroups.c: Likewise.
38432 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38433 * nss/nss_files/files-initgroups.c: Likewise.
38434 * nss/nss_db/db-netgrp.c: Likewise.
38435 * nss/nss_db/db-initgroups.c: Likewise.
38436 * io/fchmodat.c: Include <sys/stat.h>.
38437
38438 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38439 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38440
38441 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38442 [HAVE_MMAP].
38443
38444 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38445 Add multiple inclusion protection.
38446
38447 2012-07-27 David S. Miller <davem@davemloft.net>
38448
38449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38450
38451 2012-07-27 Gary Benson <gbenson@redhat.com>
38452
38453 [BZ #14298]
38454 * elf/rtld.c: Include <stap-probe.h>.
38455 (dl_main): Added static probes "init_start" and "init_complete".
38456 * elf/dl-load.c: Include <stap-probe.h>.
38457 (lose): Take new parameter "nsid".
38458 Added static probe "map_failed".
38459 (_dl_map_object_from_fd): Pass namespace id to lose.
38460 Added static probe "map_start".
38461 (open_verify): Pass namespace id to lose.
38462 * elf/dl-open.c: Include <stap-probe.h>.
38463 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38464 and "reloc_complete".
38465 * elf/dl-close.c: Include <stap-probe.h>.
38466 (_dl_close_worker): Added static probes "unmap_start" and
38467 "unmap_complete".
38468 * elf/rtld-debugger-interface.txt: New file documenting the above.
38469
38470 2012-07-26 Roland McGrath <roland@hack.frob.com>
38471
38472 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38473 rather than a string variable.
38474 * sunrpc/rpc_main.c (h_output): Likewise.
38475 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38476
38477 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38478
38479 * inet/check_native.c: New file.
38480
38481 2012-07-26 Joseph Myers <joseph@codesourcery.com>
38482
38483 [BZ #13629]
38484 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38485 if larger part has absolute value 1.0.
38486 * math/s_clog10.c (__clog10): Likewise.
38487 * math/s_clog10f.c (__clog10f): Likewise.
38488 * math/s_clog10l.c (__clog10l): Likewise.
38489 * math/s_clogf.c (__clogf): Likewise.
38490 * math/s_clogl.c (__clogl): Likewise.
38491 * math/libm-test.inc (clog_test): Add more tests.
38492 (clog10_test): Likewise.
38493 * sysdeps/i386/fpu/libm-test-ulps: Update.
38494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38495
38496 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38497 (pltexit): Likewise.
38498 (La_regs): Likewise.
38499 (La_retval): Likewise.
38500 (int_retval): Likewise.
38501 Update #error for removed macros to refer only to definitions in
38502 tst-audit.h.
38503 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38504 macro.
38505 (pltexit): Likewise.
38506 (La_regs): Likewise.
38507 (La_retval): Likewise.
38508 (int_retval): Likewise.
38509 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38510 macro.
38511 (pltexit): Likewise.
38512 (La_regs): Likewise.
38513 (La_retval): Likewise.
38514 (int_retval): Likewise.
38515 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38516 macro.
38517 (pltexit): Likewise.
38518 (La_regs): Likewise.
38519 (La_retval): Likewise.
38520 (int_retval): Likewise.
38521 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38522 macro.
38523 (pltexit): Likewise.
38524 (La_regs): Likewise.
38525 (La_retval): Likewise.
38526 (int_retval): Likewise.
38527 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38528 macro.
38529 (pltexit): Likewise.
38530 (La_regs): Likewise.
38531 (La_retval): Likewise.
38532 (int_retval): Likewise.
38533 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38534 macro.
38535 (pltexit): Likewise.
38536 (La_regs): Likewise.
38537 (La_retval): Likewise.
38538 (int_retval): Likewise.
38539 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38540 macro definitions in tst-audit.h.
38541 * sysdeps/i386/tst-audit.h: New file.
38542 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38543 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38544 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38545 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38546 * sysdeps/sh/tst-audit.h: Likewise.
38547 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38548 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38549 * sysdeps/x86_64/tst-audit.h: Likewise.
38550
38551 2012-07-26 Andreas Jaeger <aj@suse.de>
38552
38553 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38554 ptrace.
38555
38556 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38557 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38558 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38559 PTRACE_O_MASK.
38560 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38561 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38562 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38563
38564 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38565 value.
38566
38567 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38568 _sigsys.
38569 (si_call_addr, si_syscall, si_arch): Define new macro.
38570 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38571 _sigsys.
38572 (si_call_addr, si_syscall, si_arch): Define new marcro.
38573 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38574 _sigsys.
38575 (si_call_addr, si_syscall, si_arch): Define new macro.
38576 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38577 _sigsys.
38578 (si_call_addr, si_syscall, si_arch): Define new macro.
38579
38580 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38581
38582 [BZ #13717]
38583 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38584 Change to 2.4.21 where previously 2.4.1.
38585 * sysdeps/unix/sysv/linux/configure: Regenerated.
38586 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38587 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38588 Linux kernel version.
38589 (__ASSUME_STD_AUXV): Remove.
38590 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38591 kernel version.
38592 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38593 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38594 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38595 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38596 (__ASSUME_NETLINK_SUPPORT): Likewise.
38597 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38598 (__no_netlink_support): Remove conditional definition.
38599 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38600 Remove.
38601 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38602 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38603 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38604 (if_nameindex_ioctl): Remove.
38605 (if_nameindex_netlink): Do not handle __no_netlink_support.
38606 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38607 code.
38608 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38609 Remove conditional code.
38610 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38611 code.
38612 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38613 unconditional.
38614 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38615 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38616 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38617 Remove.
38618 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38619 [!__ASSUME_STD_AUXV]: Remove conditional code.
38620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38621 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38622 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38624 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38625 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38626 code.
38627 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38629 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38630 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38631 conditional code.
38632 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38634 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38635 code.
38636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38637 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38638 conditional code.
38639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38640 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38641 code unconditional.
38642 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38643 conditional code.
38644 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38645 unconditional.
38646 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38647 conditional code.
38648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38649 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38650 unconditional.
38651 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38652 conditional code.
38653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38654 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38655 code unconditional.
38656 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38657 conditional code.
38658 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38659 unconditional.
38660 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38661 conditional code.
38662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38663 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38664 code unconditional.
38665 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38666 conditional code.
38667 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38668 unconditional.
38669 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38670 conditional code.
38671
38672 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38673
38674 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38675 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38676 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38677 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38678 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38679 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38680 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38681 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38682 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38683 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38684 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38685 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38686 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38687 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38688 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38689 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38690 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38691 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38692 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38694 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38695 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38696 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38697
38698 2012-07-25 Florian Weimer <fweimer@redhat.com>
38699
38700 * Versions.def: Add GLIBC_2.17.
38701 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38702 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38703 Introduce __libc_secure_getenv.
38704 * stdlib/Versions (2.17): Add secure_getenv
38705 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38706 * stdlib/secure-getenv.c: Rename __secure_getenv to
38707 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38708 symbol __secure_getenv for GLIBC_2.0.
38709 * stdlib/tst-secure-getenv.c: New.
38710 * stdlib/Makefile (tests): Add testcase.
38711 * manual/startup.texi (Environment Access): Document
38712 secure_getenv.
38713 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38714 __libc_secure_getenv.
38715 * inet/ruserpass.c (ruserpass): Likewise.
38716 * malloc/mtrace.c (mtrace): Likewise.
38717 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38718 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38719 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38720 * sysdeps/posix/tempname.c: Likewise. Evaluate
38721 HAVE_SECURE_GETENV.
38722 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38723 __secure_getenv to __libc_secure_getenv.
38724 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38726 Likewise.
38727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38728 Likewise.
38729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38731 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38736
38737 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38738
38739 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38740 (struct La_i86_retval): Likewise.
38741 (struct La_x86_64_regs): Likewise.
38742 (struct La_x86_64_retval): Likewise.
38743 (struct La_x32_regs): Likewise.
38744 (struct La_x32_retval): Likewise.
38745 (struct La_ppc32_regs): Likewise.
38746 (struct La_ppc32_retval): Likewise.
38747 (struct La_ppc64_regs): Likewise.
38748 (struct La_ppc64_retval): Likewise.
38749 (struct La_sh_regs): Likewise.
38750 (struct La_sh_retval): Likewise.
38751 (struct La_s390_32_regs): Likewise.
38752 (struct La_s390_32_retval): Likewise.
38753 (struct La_s390_64_regs): Likewise.
38754 (struct La_s390_64_retval): Likewise.
38755 (struct La_sparc32_regs): Likewise.
38756 (struct La_sparc32_retval): Likewise.
38757 (struct La_sparc64_regs): Likewise.
38758 (struct La_sparc64_retval): Likewise.
38759 (struct audit_ifaces): Remove architecture-specific pltenter and
38760 pltexit members.
38761 * sysdeps/i386/ldsodefs.h: New file.
38762 * sysdeps/powerpc/ldsodefs.h: Likewise.
38763 * sysdeps/s390/ldsodefs.h: Likewise.
38764 * sysdeps/sh/ldsodefs.h: Likewise.
38765 * sysdeps/sparc/ldsodefs.h: Likewise.
38766 * sysdeps/x86_64/ldsodefs.h: Likewise.
38767
38768 2012-07-25 Marek Polacek <polacek@redhat.com>
38769
38770 [BZ #6808]
38771 * math/libm-test.inc (yn_test): Add another test.
38772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38773 to ERANGE when the result is +-Inf.
38774 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38775 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38776 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38777 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38778
38779 2012-07-24 Joseph Myers <joseph@codesourcery.com>
38780
38781 * conform/data/time.h-data (NULL): Use macro-constant. Require
38782 equal to 0.
38783 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38784 clock_t.
38785 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38786
38787 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38788
38789 * configure.in <sysdeps resolving>: Correct printing
38790 Implies_before.
38791 * configure: Regenerate.
38792
38793 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38794
38795 * math/w_ilogb.c: Include <limits.h>.
38796 * math/w_ilogbl.c: Likewise.
38797
38798 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38799
38800 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38801 va_copy. Document allowing for unavailable va_copy only as
38802 pre-C99 compatibility.
38803 * manual/string.texi (Copying and Concatenation): Use va_copy
38804 instead of __va_copy in concat example.
38805
38806 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38807
38808 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38809 (__sendto): Use create_address_port. Initialize APORT and deallocate
38810 it if not null.
38811
38812 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38813 with O_NOLINK passed to __file_name_lookup.
38814
38815 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38816 with O_NOLINK passed to __file_name_lookup.
38817
38818 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38819 negative N or less than NGIDS.
38820
38821 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38822 type to string_t. Set ERANGE as errno and return it if NAME is not big
38823 enough. Use memcpy instead of strncpy.
38824
38825 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38826
38827 * elf/Makefile (check-data): Remove.
38828 (localplt.data): New vpath directive.
38829 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38830 instead of $(check-data).
38831 * scripts/data/localplt-generic.data: Move to ...
38832 * sysdeps/generic/localplt.data: ... here.
38833 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38834 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38835 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38837 ... here.
38838 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38840 ... here.
38841 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38843 ... here.
38844 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38846 ... here.
38847 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38849 ... here.
38850 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38852 ... here.
38853
38854 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38855
38856 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38857 PPC32 and PPC64 files.
38858 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38859 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38860
38861 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38862
38863 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38864 __makecontext_ret to ...
38865 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38866 ... here and call exit if uc_link is NULL. New file.
38867 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38868 __makecontext_ret.S.
38869 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38870 __makecontext_ret to ...
38871 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38872 ... here and call exit if uc_link is NULL. New file.
38873 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38874 __makecontext_ret.S.
38875
38876 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38877
38878 * elf/elf.h (R_390_IRELATIVE): New definition.
38879 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38880 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38881 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38882 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38883 (elf_machine_lazy_rel): Likewise.
38884 * sysdeps/s390/dl-irel.h: New file.
38885 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38886 * sysdeps/s390/s390-64/memset.S: New asm code.
38887 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38888 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38889 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38890 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38891 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38892 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38893 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38894 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38895 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38896 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38897 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38898 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38899 * sysdeps/s390/s390-32/memset.S: New asm code.
38900 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38901
38902 2012-07-17 Marek Polacek <polacek@redhat.com>
38903
38904 [BZ #14349]
38905 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38906 * sysdeps/s390/s390-64/configure.in: Likewise.
38907 * sysdeps/sparc/configure.in: Likewise.
38908 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38909 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38910 * sysdeps/i386/configure.in: Likewise.
38911 * sysdeps/x86_64/configure.in: Likewise.
38912 * sysdeps/sh/configure.in: Likewise.
38913 * sysdeps/s390/s390-32/configure: Regenerated.
38914 * sysdeps/s390/s390-64/configure: Likewise.
38915 * sysdeps/x86_64/configure: Likewise.
38916 * sysdeps/sh/configure: Likewise.
38917 * sysdeps/powerpc/powerpc64/configure: Likewise.
38918 * sysdeps/powerpc/powerpc32/configure: Likewise.
38919 * sysdeps/sparc/configure: Likwise.
38920 * sysdeps/i386/configure: Likewise.
38921
38922 * elf/dl-open.c: Comment fixes.
38923
38924 2012-07-17 Joseph Myers <joseph@codesourcery.com>
38925
38926 * Makefile [CXX] (check-data): Remove.
38927 [CXX] (c++-types.data): New vpath directive.
38928 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38929 vpath. Do not allow for C++ type data being missing.
38930 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38931 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38932 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38933 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38934 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38935 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38936 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38938 ... here.
38939 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38941 ... here.
38942 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38944 ... here.
38945 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38947 ... here.
38948 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38950 ... here.
38951 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38953 ... here.
38954 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38956 ... here.
38957 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38959
38960 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38961 definitions to architecture-specific files.
38962 (TLS_IE): Likewise.
38963 (TLS_LD): Likewise.
38964 (TLS_GD): Likewise.
38965 * sysdeps/i386/tls-macros.h: New file.
38966 * sysdeps/powerpc/tls-macros.h: Likewise.
38967 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38968 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38969 * sysdeps/sh/tls-macros.h: Likewise.
38970 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38971 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38972 * sysdeps/x86_64/tls-macros.h: Likewise.
38973
38974 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38975
38976 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38977 zero value for regular exit case.
38978
38979 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38980 (__start_context): Preserve zero value for regular exit case.
38981
38982 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38983 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38984
38985 * manual/setjmp.texi (setcontext): Clarify normal process
38986 termination when uc_link is the null pointer.
38987 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38988 exit call.
38989
38990 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38991
38992 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38993 preprocessor. Test for each exception mask separately.
38994
38995 2012-07-16 Andreas Jaeger <aj@suse.de>
38996
38997 * po/ru.po: Update from translation team.
38998
38999 2012-07-15 Joseph Myers <joseph@codesourcery.com>
39000
39001 * conform/data/string.h-data (NULL): Use macro-constant. Require
39002 equal to 0.
39003 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39004 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39005 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39006 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39008
39009 2012-07-13 Andreas Jaeger <aj@suse.de>
39010
39011 * po/fr.po: Update from translation team.
39012
39013 2012-07-12 Marek Polacek <polacek@redhat.com>
39014
39015 [BZ #14173]
39016 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39017 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39018 loop condition.
39019
39020 2012-07-12 Joseph Myers <joseph@codesourcery.com>
39021
39022 [BZ #13717]
39023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39024 Change to 2.4.1 where previously 2.4.0.
39025 * sysdeps/unix/sysv/linux/configure: Regenerated.
39026 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39027 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39028 version.
39029 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39030 (__ASSUME_AT_CLKTCK): Remove.
39031 (__ASSUME_AT_PAGESIZE): Likewise.
39032 (__ASSUME_AT_XID): Likewise.
39033 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39034 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39035 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39036 unconditionally.
39037 (HAVE_AUX_PAGESIZE): Likewise.
39038 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39039 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39040 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39041
39042 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39043
39044 [BZ #14307]
39045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39046 the temporary buffer used to invoke __gethostbyname2_r,
39047 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39048 host_data / struct gaih_addrtuple.
39049 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39050 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39051 header file nss/nsswitch.h.
39052 * nss/nsswitch.h (global scope): Add definition of implementation
39053 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39054 resolv/nss_dns/dns-host.c).
39055
39056 2012-07-11 Andreas Jaeger <aj@suse.de>
39057
39058 * po/fr.po: Update from translation team.
39059
39060 * po/sv.po: Update from translation team
39061 * po/fr.po: Another update from translation team.
39062
39063 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39064
39065 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39066 for subnormals or multiply small sinh result by itself.
39067 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39069
39070 2012-07-11 David S. Miller <davem@davemloft.net>
39071
39072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39073
39074 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39075
39076 [BZ #14347]
39077 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39078 (INTERNAL_MARK): Shift it here.
39079
39080 2012-07-10 Marek Polacek <polacek@redhat.com>
39081
39082 [BZ #14151]
39083 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39084 libc_cv_asm_global_directive with .globl.
39085 * configure: Regenerated.
39086 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39087 with .globl.
39088 * sysdeps/i386/configure: Regenerated.
39089 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39090 with .globl.
39091 * sysdeps/x86_64/configure: Regenerated.
39092 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39093 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39094 * elf/tst-unique2mod2.c: Likewise.
39095 * elf/tst-unique2mod1.c: Likewise.
39096 * elf/tst-unique1mod2.c: Likewise.
39097 * elf/tst-unique1mod1.c: Likewise.
39098 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39099 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39100 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39101 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39102 * sysdeps/mach/sysdep.h: Likewise.
39103 * sysdeps/i386/sysdep.h: Likewise.
39104 * sysdeps/i386/i386-mcount.S: Likewise.
39105 * sysdeps/x86_64/_mcount.S: Likewise.
39106 * sysdeps/x86_64/sysdep.h: Likewise.
39107 * sysdeps/sh/_mcount.S: Likewise.
39108 * sysdeps/sh/sysdep.h: Likewise.
39109 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39110 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39111 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39112 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39113 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39114 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39115 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39116 * locale/localeinfo.h: Likewise.
39117 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39118 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39119
39120 2012-07-09 Roland McGrath <roland@hack.frob.com>
39121
39122 [BZ #14336]
39123 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39124 system".
39125 * manual/message.texi (The Uniforum approach): Likewise.
39126 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39127 (glibc iconv Implementation): Likewise.
39128
39129 2012-07-09 Joseph Myers <joseph@codesourcery.com>
39130
39131 [BZ #14337]
39132 * math/s_clog.c (__clog): Avoid scaling a value down where that
39133 could result in underflow.
39134 * math/s_clog10.c (__clog10): Likewise.
39135 * math/s_clog10f.c (__clog10f): Likewise.
39136 * math/s_clog10l.c (__clog10l): Likewise.
39137 * math/s_clogf.c (__clogf): Likewise.
39138 * math/s_clogl.c (__clogl): Likewise.
39139 * math/libm-test.inc (clog_test): Add more tests.
39140 (clog10_test): Likewise.
39141 * sysdeps/i386/fpu/libm-test-ulps: Update.
39142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39143
39144 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39145
39146 [BZ #14283]
39147 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39148 by 7 not 8 to examine high bit of fractional part.
39149
39150 [BZ #14042]
39151 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39152 for call to __mcount_internal.
39153 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39154 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39155 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39156
39157 2012-07-06 Joseph Myers <joseph@codesourcery.com>
39158
39159 [BZ #14154]
39160 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39161 approximation for values within 0x1p-13f of an odd multiple of
39162 pi/4.
39163 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39164 exception. Add more tests.
39165 * sysdeps/i386/fpu/libm-test-ulps: Update.
39166
39167 [BZ #6778]
39168 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39169 inputs and return -1 for them. Do not check for +Inf in case not
39170 reachable for +Inf.
39171 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39172 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39173 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39174 and return -1 for them. Do not check for +Inf in case not
39175 reachable for +Inf.
39176 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39177 define.
39178 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39179 and return -1 for them. Do not check for +Inf in case not
39180 reachable for +Inf.
39181 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39182 spurious underflow.
39183 * sysdeps/i386/fpu/libm-test-ulps: Update.
39184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39185
39186 2012-07-06 Mike Frysinger <vapier@gentoo.org>
39187
39188 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39189
39190 2012-07-05 Joseph Myers <joseph@codesourcery.com>
39191
39192 [BZ #14157]
39193 [BZ #14331]
39194 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39195 could result in spurious underflow. Scale down values above
39196 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39197 * math/s_csqrtf.c (__csqrtf): Likewise.
39198 * math/s_csqrtl.c (__csqrtl): Likewise.
39199 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39200 spurious underflow.
39201 * sysdeps/i386/fpu/libm-test-ulps: Update.
39202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39203
39204 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39205
39206 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39207 xopen-msg.sed.
39208 * catgets/xopen-msg.awk: New file.
39209 * catgets/xopen-msg.sed: Removed.
39210
39211 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39212 po2text.sed.
39213 * intl/po2test.awk: New file.
39214 * intl/po2test.sed: Removed.
39215
39216 2012-07-04 Joseph Myers <joseph@codesourcery.com>
39217
39218 [BZ #14328]
39219 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39220 or multiply small sinh result by itself.
39221 * math/s_ctanf.c (__ctanf): Likewise.
39222 * math/s_ctanh.c (__ctanh): Likewise.
39223 * math/s_ctanhf.c (__ctanhf): Likewise.
39224 * math/s_ctanhl.c (__ctanhl): Likewise.
39225 * math/s_ctanl.c (__ctanl): Likewise.
39226 * math/libm-test.inc (ctan_test_tonearest): New function.
39227 (ctan_test_towardzero): Likewise.
39228 (ctan_test_downward): Likewise.
39229 (ctan_test_upward): Likewise.
39230 (ctanh_test_tonearest): Likewise.
39231 (ctanh_test_towardzero): Likewise.
39232 (ctanh_test_downward): Likewise.
39233 (ctanh_test_upward): Likewise.
39234 (main): Call these new functions.
39235 * sysdeps/i386/fpu/libm-test-ulps: Update.
39236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39237
39238 2012-07-03 Mike Frysinger <vapier@gentoo.org>
39239
39240 * .gitignore: Delete /ports entry.
39241
39242 2012-07-03 Andreas Jaeger <aj@suse.de>
39243
39244 * po/bg.po: Update from translation team.
39245 * po/cs.po: Likewise.
39246 * po/de.po: Likewise.
39247 * po/hr.po: Likewise.
39248 * po/nl.pl: Likewise.
39249 * po/pl.po: Likewise.
39250 * po/vi.po: Likewise.
39251
39252 2012-07-03 Joseph Myers <joseph@codesourcery.com>
39253
39254 * Makeconfig [!+link] (+link-before-libc): New variable.
39255 [!+link] (+link-after-libc): Likewise.
39256 [!+link] (+link-tests): Likewise.
39257 [!+link] (+link): Define in terms of $(+link-before-libc) and
39258 $(+link-after-libc).
39259 [!+link-static] (+link-static-before-libc): New variable.
39260 [!+link-static] (+link-static-after-libc): Likewise.
39261 [!+link-static] (+link-static-tests): Likewise.
39262 [!+link-static] (+link-static): Define in terms of
39263 $(+link-static-before-libc) and $(+link-static-after-libc).
39264 [build-shared] (link-libc-before-gnulib): New variable.
39265 [build-shared] (link-libc-tests): Likewise.
39266 [build-shared] (link-libc): Define in terms of
39267 $(link-libc-before-gnulib).
39268 [!build-shared] (link-libc-tests): New variable.
39269 (link-libc-static-tests): New variable.
39270 [!gnulib] (gnulib-arch): New variable.
39271 [!gnulib] (gnulib-tests): Likewise.
39272 [!gnulib] (static-gnulib-arch): Likewise.
39273 [!gnulib] (static-gnulib-tests): Likewise.
39274 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39275 Define with "=" instead of ":=".
39276 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39277 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39278 * Rules (binaries-all-notests): New variable.
39279 (binaries-all-tests): Likewise.
39280 (binaries-static-notests): Likewise.
39281 (binaries-static-tests): Likewise.
39282 (binaries-all): Define using $(binaries-all-notests) and
39283 $(binaries-all-tests).
39284 (binaries-static): Define using $(binaries-static-notests) and
39285 $(binaries-static-tests).
39286 (binaries-shared-tests): New variable.
39287 (binaries-shared-notests): Likewise.
39288 (binaries-shared): Remove variable.
39289 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39290 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39291 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39292 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39293 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39294 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39295 * elf/Makefile (sln-modules): New variable.
39296 (extra-objs): Add $(sln-modules:=.o).
39297 (ldconfig-modules): Add static-stubs.
39298 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39299 * elf/static-stubs.c: New file.
39300
39301 [BZ #14283]
39302 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39303 by 7 not 8 to examine high bit of fractional part. Use volatile
39304 variables when splitting into final array of floats if
39305 __FLT_EVAL_METHOD__ != 0.
39306 * math/libm-test.inc (cos_test): Add another test.
39307 (sin_test): Likewise.
39308 * sysdeps/i386/fpu/libm-test-ulps: Update.
39309
39310 [BZ #14273]
39311 * math/libm-test.inc (cosh_test): Add more tests.
39312
39313 * version.h (RELEASE): Set to "development".
39314 (VERSION): Set to "2.16.90".
39315
39316 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39317
39318 * NEWS: Update copyright. Remove last-updated date.
39319 Mention math library bug fixes and timezone data changes.
39320 * README: Mention GNU/Hurd, x32, and HPPA support status.
39321
39322 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39323
39324 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39325
39326 2012-06-27 Andreas Jaeger <aj@suse.de>
39327
39328 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39329
39330 2012-06-25 Andreas Jaeger <aj@suse.de>
39331
39332 * sysdeps/s390/fpu/libm-test-ulps: Update.
39333
39334 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39335 Thomas Schwinge <thomas@codesourcery.com>
39336
39337 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39338 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39339 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39340 fanotify_mark.
39341
39342 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39343
39344 * sysdeps/mach/start.c: Remove file.
39345 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39346 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39347 * sysdeps/sh/init-first.c: Likewise.
39348
39349 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39350 registers for frame unwinding purposes, add CFI directives.
39351 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39352 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39353 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39354 Likewise.
39355
39356 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39357 __fortify_fail returning.
39358 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39359
39360 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39361 sysdeps/sh/____longjmp_chk.S.
39362 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39363 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39364 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39365 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39366
39367 * sysdeps/sh/abort-instr.h: New file.
39368 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39369 process in case exit returns.
39370
39371 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39372 initialize the GOT register before use.
39373
39374 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39375 calculation of ARGC > 4.
39376
39377 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39378 meaningful names to some local labels.
39379
39380 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39381 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39382
39383 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39384 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39385 (__arch_compare_and_exchange_val_16_acq): Likewise.
39386 (__arch_compare_and_exchange_val_32_acq): Likewise.
39387 (atomic_exchange_and_add): Fix gUSA sequence.
39388 (atomic_add): Likewise.
39389 (atomic_add_negative): Likewise.
39390 (atomic_add_zero): Likewise.
39391 (atomic_bit_test_set): Likewise.
39392
39393 2012-06-22 Andreas Schwab <schwab@redhat.com>
39394
39395 [BZ #13579]
39396 * include/link.h (struct link_map): Add l_free_initfini.
39397 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39398 l_initfini.
39399 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39400 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39401 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39402 set.
39403
39404 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39405
39406 * configure.in: Use AC_LANG_SOURCE.
39407 * configure: Regenerate.
39408
39409 2012-06-22 Roland McGrath <roland@hack.frob.com>
39410
39411 * configure.in (libc_cv_localstatedir): New substituted variable.
39412 * configure: Regenerated.
39413 * config.make.in (localstatedir): New variable, substituted from
39414 libc_cv_localstatedir.
39415 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39416 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39417 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39418 * sysdeps/gnu/configure: Regenerated.
39419
39420 2012-06-21 Jeff Law <law@redhat.com>
39421
39422 [BZ #14277]
39423 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39424 free. Simplify list management for _LIBC case.
39425
39426 2012-06-21 Joseph Myers <joseph@codesourcery.com>
39427
39428 [BZ #14273]
39429 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39430 Clear sign bit of 64-bit integer value before comparing against
39431 overflow value.
39432
39433 * sysdeps/mach/configure: Regenerated.
39434
39435 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39436
39437 [BZ #14278]
39438 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39439
39440 2012-06-21 Jeff Law <law@redhat.com>
39441
39442 [BZ #13882]
39443 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39444 uint16_t for elements in the "seen" array to avoid char overflows.
39445 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39446 * elf/dl-open.c (dl_open_worker): Likewise.
39447
39448 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39449
39450 * scripts/list-sources.sh: Scan PORTS for translations.
39451 * po/libc.pot: Regenerated.
39452
39453 2012-06-21 Andreas Jaeger <aj@suse.de>
39454
39455 [BZ #12194]
39456 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39457 warning.
39458 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39459 * bits/byteswap-16.h (__bswap_16): Likewise.
39460 * bits/byteswap.h (__bswap_constant_16): Likewise.
39461
39462 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39463
39464 [BZ #14117]
39465 * sysdeps/i386/fpu_control.h: Removed.
39466 * sysdeps/x86_64/fpu_control.h: Moved to ...
39467 * sysdeps/x86/fpu_control.h: Here.
39468
39469 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39470 (_FPU_SETCW): Likewise.
39471
39472 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39473
39474 [BZ #14117]
39475 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39476 * sysdeps/x86/fpu/bits/mathinline.h: This.
39477 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39478
39479 [BZ #14050]
39480 [BZ #14117]
39481 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39482 functions if __x86_64__ is defined.
39483
39484 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39485
39486 * string/endian.h: Add !__ASSEMBLER__ condition for including
39487 conversion interfaces.
39488
39489 2012-06-15 Joseph Myers <joseph@codesourcery.com>
39490
39491 [BZ #14241]
39492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39493 of ABS(x) in calculating zero to negative powers other than odd
39494 integers.
39495 * math/libm-test.inc (pow_test): Add more tests.
39496
39497 2012-06-15 Andreas Jaeger <aj@suse.de>
39498
39499 * manual/contrib.texi (Contributors): Update entry of Liubov
39500 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39501 Machado Filho.
39502
39503 2012-06-15 Cyril Hrubis <metan@ucw.cz>
39504
39505 * string/string.h: Add __wur to GNU version of strerror_r.
39506
39507 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39508
39509 [BZ #14229]
39510 * string/Makefile (tests): Add tst-strtok_r.
39511 * string/tst-strtok_r.c: New file.
39512 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39513 RAX_LP/RDX_LP on SAVE_PTR.
39514
39515 2012-06-14 Roland McGrath <roland@hack.frob.com>
39516
39517 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39518
39519 2012-06-14 Joseph Myers <joseph@codesourcery.com>
39520
39521 * libm_test.inc (csqrt_test): Allow more spurious underflow
39522 exceptions.
39523 (j0_test): Likewise.
39524 (j1_test): Likewise.
39525 (y0_test): Likewise.
39526 (y1_test): Likewise.
39527
39528 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39529
39530 * po/Makefile (libc.pot): Use UTF-8 charset.
39531
39532 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39533
39534 [BZ #14210]
39535 Suppress sign-conversion warning from FD_SET.
39536 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39537 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39538 not unsigned long int.
39539 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39540
39541 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39542
39543 [BZ #14050]
39544 [BZ #14117]
39545 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39546 __extern_always_inline instead of __extern_inline.
39547 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39548 (__signbit): Likewise.
39549 (__signbitl): Support C++ namespace.
39550 (lrintf): New inline function.
39551 (lrint): Likewise.
39552 (llrintf): Likewise.
39553 (llrint): Likewise.
39554 (fmaxf): Likewise.
39555 (fmax): Likewise.
39556 (fminf): Likewise.
39557 (fmin): Likewise.
39558 (rint): Likewise.
39559 (rintf): Likewise.
39560 (ceil): Likewise.
39561 (ceilf): Likewise.
39562 (floor): Likewise.
39563 (floorf): Likewise.
39564 (nearbyint): Likewise.
39565 (nearbyintf): Likewise.
39566
39567 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39568
39569 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39570 non-default versions.
39571
39572 2012-06-11 Roland McGrath <roland@hack.frob.com>
39573
39574 [BZ #14218]
39575 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39576
39577 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39578
39579 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39580 (FE_UPWARD, FE_DOWNWARD): Don't define.
39581 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39582 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39583
39584 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39585 reading it.
39586 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39587 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39588
39589 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39590
39591 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39592 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39593 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39594 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39595
39596 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39597
39598 [BZ #14117]
39599 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39600 * sysdeps/i386/fpu/Implies: New file.
39601 * sysdeps/x86_64/fpu/Implies: Likewise.
39602 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39603 * sysdeps/x86/fpu/bits/fenv.h: This.
39604
39605 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39606 __SSE_MATH__.
39607
39608 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39609
39610 [BZ #14134]
39611 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39612 character 0xffff that matches the last element of the
39613 conversion table.
39614
39615 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39616
39617 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39618 fmodl commit.
39619
39620 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39621
39622 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39623 values higher than 25.6283.
39624
39625 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39626
39627 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39628 subnormal exponent extraction and add some __builtin_expect.
39629 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39630 Fix for subnormal mantissa calculation.
39631
39632 2012-06-04 Mike Frysinger <vapier@gentoo.org>
39633
39634 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39635 cpu2 is -1 and errno is not ENOSYS.
39636
39637 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39638
39639 [BZ #14117]
39640 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39641 * sysdeps/x86/bits/string.h: This.
39642 * sysdeps/x86_64/bits/string.h: Removed.
39643
39644 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39645 if not compiling for x86-64, but compiling for >= i486.
39646
39647 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39648 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39649
39650 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39651 New macro from Linux kernel 3.4.0.
39652 (FP_XSTATE_MAGIC2): Likewise.
39653 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39654 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39655 (struct _fpx_sw_bytes): New struct.
39656 (struct _xsave_hdr): Likewise.
39657 (struct _ymmh_state): Likewise.
39658 (struct _xstate): Likewise.
39659
39660 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39661 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39662 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39663 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39664 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39665 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39666
39667 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39668 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39669 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39670 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39671 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39672 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39673
39674 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39675
39676 [BZ #13743]
39677 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39678 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39679 (sysdep_headers): Include sys/platform/ppc.h.
39680 * sysdeps/powerpc/test-gettimebase.c: Test for
39681 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39682 * manual/Makefile (appendices): Include platform.texi.
39683 * manual/contrib.texi (Contributors): Update @node pointers.
39684 * manual/maint.texi (Maintenance): Likewise.
39685 (Platform): New node.
39686 * manual/platform.texi: New file. Document the new features.
39687
39688 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39689 Jakub Jelinek <jakub@redhat.com>
39690
39691 [BZ #14188]
39692 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39693 where __builtin_expect is unavailable.
39694
39695 2012-06-03 David S. Miller <davem@davemloft.net>
39696
39697 * stdlib/longlong.h: Updated from GCC.
39698
39699 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39700
39701 [BZ #14042]
39702 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39703 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39704 __mcount_internal.
39705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39706 (GLIBC_2.16): Likewise.
39707
39708 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39709
39710 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39711
39712 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39713
39714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39715 (default-abi): New variable.
39716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39717 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39718 variable.
39719 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39720 Likewise.
39721 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39722 Likewise.
39723 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39724 Likewise.
39725
39726 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39727 definition. Document in comment.
39728
39729 2012-06-01 David S. Miller <davem@davemloft.net>
39730
39731 * stdlib/longlong.h: Updated from GCC.
39732
39733 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39734
39735 [BZ #14117]
39736 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39737 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39738 sys/debugreg.h sys/io.h here.
39739 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39740 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39741 sys/io.h.
39742 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39743 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39744 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39745 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39746 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39747 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39748
39749 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39750 Define only if __x86_64__ is defined.
39751
39752 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39753
39754 [BZ #14048]
39755 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39756 Use int64_t for variable i.
39757 * math/libm-test.inc (fmod_test): Add more tests.
39758
39759 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39760 z computation is not scheduled after fetestexcept.
39761 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39762 Use math_force_eval instead of asm to ensure calculation scheduled
39763 before exception test.
39764 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39765 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39766
39767 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39768
39769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39770 computation is not scheduled after fetestexcept.
39771
39772 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39773
39774 [BZ #14117]
39775 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39776 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39777
39778 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39779
39780 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39781 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39782
39783 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39784
39785 [BZ #14117]
39786 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39787 <bits/wordsize.h>.
39788 (__WCHAR_MIN): Support __WORDSIZE == 64.
39789 (__WCHAR_MAX): Likewise.
39790
39791 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39792 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39793
39794 [BZ #14183]
39795 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39796 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39797
39798 [BZ #14117]
39799 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39800 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39801
39802 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39803 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39804
39805 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39806 Defined to 1 if __x86_64__ isn't defined.
39807 (_STAT_VER_LINUX_OLD): New.
39808 (st_atime): Remove duplicate.
39809 (st_mtime): Likewise.
39810 (st_ctime): Likewise.
39811
39812 2012-05-31 David S. Miller <davem@davemloft.net>
39813
39814 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39815 entries.
39816
39817 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39818
39819 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39820 gen-libm-test.pl.
39821
39822 [BZ #14132]
39823 * elf/dl-reloc.c: Include <_itoa.h>.
39824 (_dl_reloc_bad_type): Remove use of INTUSE.
39825 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39826 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39827 * stdio-common/psiginfo.c (psiginfo): Likewise.
39828 * stdio-common/psignal.c (psignal): Likewise.
39829 * string/strsignal.c (strsignal): Likewise.
39830 * include/signal.h (_sys_siglist): Declare hidden proto.
39831 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39832 INTVARDEF with libc_hidden_data_def.
39833 * stdio-common/itoa-udigits.c: Likewise.
39834 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39835 (_itoa_lower_digits_internal): Remove declaration.
39836 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39837 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39838 (_sys_sigabbrev_internal): Remove aliases.
39839 (_sys_siglist): Define hidden alias.
39840
39841 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39842
39843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39844 bits/sysctl.h.
39845
39846 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39847
39848 [BZ #14117]
39849 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39850 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39851
39852 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39853 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39854 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39855 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39856 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39857 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39858
39859 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39860 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39861 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39862
39863 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39864 with __addr.
39865 (insw): Likewise.
39866 (insl): Likewise.
39867 (outsb): Likewise.
39868 (outsw): Likewise.
39869 (outsl): Likewise.
39870
39871 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39872 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39873 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39874
39875 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39876 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39877 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39878 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39879 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39880 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39881
39882 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39883 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39884
39885 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39886 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39887
39888 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39889 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39890 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39891
39892 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39893 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39894 to ...
39895 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39896
39897 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39898 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39899 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39900
39901 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39902 for x86-64.
39903 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39904
39905 2012-05-31 Joseph Myers <joseph@codesourcery.com>
39906
39907 * math/math.h (M_El): Use two more decimal places.
39908 (M_LOG2El): Likewise.
39909 (M_LOG10El): Likewise.
39910 (M_LN2l): Likewise.
39911 (M_LN10l): Likewise.
39912 (M_PIl): Likewise.
39913 (M_PI_2l): Likewise.
39914 (M_PI_4l): Likewise.
39915 (M_1_PIl): Likewise.
39916 (M_2_PIl): Likewise.
39917 (M_2_SQRTPIl): Likewise.
39918 (M_SQRT2l): Likewise.
39919 (M_SQRT1_2l): Likewise.
39920
39921 2012-05-31 David S. Miller <davem@davemloft.net>
39922
39923 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39924 values between float registers.
39925 * sysdeps/sparc/sparc64/memset.S: Likewise.
39926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39927
39928 2012-05-31 Mike Frysinger <vapier@gentoo.org>
39929
39930 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39931 -D_FORTIFY_SOURCE=1.
39932 (CPPFLAGS-tst-longjmp_chk.c): Define.
39933 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39934 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39935 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39936 CFLAGS-tst-wchar-h.c.
39937
39938 2012-05-31 Marek Polacek <polacek@redhat.com>
39939
39940 [BZ #14132]
39941 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39942 __endmntent_internal): Remove declaration.
39943 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39944 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39945 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39946
39947 2012-05-30 David S. Miller <davem@davemloft.net>
39948
39949 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39950 (___Q_simulate_exceptions): Use real FP ops rather than writing
39951 into the %fsr.
39952 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39953 Likewise.
39954
39955 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39956
39957 [BZ #14117]
39958 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39959 * sysdeps/x86/bits/xtitypes.h: This.
39960
39961 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39962 * sysdeps/x86/bits/wordsize.h: This.
39963
39964 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39965 * sysdeps/x86/bits/huge_vall.h: This.
39966
39967 * sysdeps/i386/bits/select.h: Removed.
39968 * sysdeps/x86_64/bits/select.h: Renamed to ...
39969 * sysdeps/x86/bits/select.h: This.
39970
39971 * sysdeps/i386/bits/setjmp.h: Removed.
39972 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39973 * sysdeps/x86/bits/setjmp.h: This.
39974
39975 * sysdeps/i386/bits/mathdef.h: Removed.
39976 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39977 * sysdeps/x86/bits/mathdef.h: This.
39978
39979 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39980
39981 [BZ #14132]
39982 * include/sys/socket.h (__connect_internal)
39983 (__libc_sa_len_internal): Remove declaration.
39984 (__connect, __libc_sa_len): Declare hidden_proto.
39985 (SA_LEN): Remove use of INTUSE.
39986 * socket/connect.c: Add libc_hidden_def.
39987 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39988 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39989 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39990 alias.
39991 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39992 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39993 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39994 of adding _internal alias.
39995
39996 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39997
39998 [BZ #14117]
39999 * sysdeps/i386/bits/link.h: Removed.
40000 * sysdeps/i386/bits/linkmap.h: Likewise.
40001 * sysdeps/x86_64/bits/link.h: Renamed to ...
40002 * sysdeps/x86/bits/link.h: This.
40003 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40004 * sysdeps/x86/bits/linkmap.h: This.
40005
40006 * sysdeps/i386/bits/endian.h: Removed.
40007 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40008 * sysdeps/x86/bits/endian.h: This.
40009
40010 * sysdeps/i386/bits/byteswap.h: Removed.
40011 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40012 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40013 * sysdeps/x86/bits/byteswap.h: This.
40014 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40015 * sysdeps/x86/bits/byteswap-16.h: This.
40016 * sysdeps/i386/Implies: Add x86.
40017 * sysdeps/x86_64/Implies: Likewise.
40018
40019 2012-05-30 David S. Miller <davem@davemloft.net>
40020
40021 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40022 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40023 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40024 (FP_TRAPPING_EXCEPTIONS): Define.
40025 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40026 (FP_TRAPPING_EXCEPTIONS): Define.
40027 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40028 subnormals only when inexact has been signalled or underflow
40029 exceptions are enabled.
40030 (_FP_PACK_CANONICAL): Likewise.
40031
40032 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40033
40034 [BZ #14183]
40035 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40036 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40037
40038 2012-05-30 Richard Henderson <rth@twiddle.net>
40039
40040 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40041 with #ifndef NOT_IN_libc.
40042
40043 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40044 marked to avoid plt entry.
40045
40046 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40047
40048 [BZ #14112]
40049 * Makeconfig (default-abi): New macro.
40050 (abi-includes): Likewise.
40051 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40052 $(abi-$(default-abi)-lib-soname) for soname if defined.
40053 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40054 abi-variants.
40055 * Makefile (installed-stubs): Likewise.
40056 * include/stubs-biarch.h: Removed.
40057 * scripts/lib-names.awk: Only handle one library at a time.
40058 * scripts/soversions.awk: Remove WORDSIZE support.
40059 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40060 entries.
40061 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40062 Removed.
40063 (syscall-list-default-condition): Likewise.
40064 (syscall-list-default-condition): Likewise.
40065 (syscall-list-includes): Likewise.
40066 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40067 syscall-list-* with abi-*. Handle undefined abi-variants.
40068 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40069 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40070 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40071 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40072 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40073 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40074 Removed.
40075 (syscall-list-32-options): Likewise.
40076 (syscall-list-32-condition): Likewise.
40077 (syscall-list-64-options): Likewise.
40078 (syscall-list-64-condition): Likewise.
40079 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40080 macro.
40081 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40082 Renamed to ...
40083 (abi-*): This.
40084 (abi-64-ld-soname): New macro.
40085 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40086 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40087 Renamed to ...
40088 (abi-*): This.
40089 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40090 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40091
40092 2012-05-30 Joseph Myers <joseph@codesourcery.com>
40093
40094 * sysdeps/unix/sysv/linux/kernel-features.h
40095 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40096 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40097 include <kernel-features.h>.
40098 [!__NR_ftruncate64]: Remove conditional code.
40099 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40100 [__NR_ftruncate64]: Make code unconditional.
40101 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40102 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40103 include <kernel-features.h>.
40104 [!__NR_ftruncate64]: Remove conditional code.
40105 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40106 [__NR_ftruncate64]: Make code unconditional.
40107 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40109 include <kernel-features.h>.
40110 [!__NR_ftruncate64]: Remove conditional code.
40111 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40112 [__NR_ftruncate64]: Make code unconditional.
40113 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40115 include <kernel-features.h>.
40116 [!__NR_ftruncate64]: Remove conditional code.
40117 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40118 [__NR_ftruncate64]: Make code unconditional.
40119 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40120
40121 * configure.in (libc_cv_fpie): Weaken to a compile test using
40122 LIBC_TRY_CC_OPTION.
40123 * configure: Regenerated.
40124
40125 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40126
40127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40131 Refreshed.
40132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40138 Refreshed.
40139
40140 2012-05-27 David S. Miller <davem@davemloft.net>
40141
40142 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40143 (___Q_zero): New.
40144 (__Q_simulate_exceptions): Return void. Change to simulate
40145 exceptions by writing into the %fsr.
40146 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40147 (__Qp_handle_exceptions): Likewise.
40148 (numbers): Delete.
40149 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40150 __Qp_handle_exceptions.
40151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40152 __Qp_handle_exceptions.
40153 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40154 as unused and give dummy FP_RND_NEAREST initializer.
40155 (FP_INHIBIT_RESULTS): Define.
40156 (___Q_simulate_exceptions): Update declaration.
40157 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40158 formatting.
40159 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40160 as unused and give dummy FP_RND_NEAREST initializer.
40161 (__Qp_handle_exceptions): Update declaration.
40162 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40163 formatting.
40164
40165 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40166
40167 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40168 the temporary FPU control word.
40169 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40170 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40171 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40172 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40173 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40174 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40175 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40176 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40177 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40178 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40179 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40180
40181 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40182
40183 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40184 fields.
40185
40186 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40187
40188 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40189 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40190 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40191 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40192 Likewise.
40193 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40194 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40195 Likewise.
40196
40197 2012-05-27 Ulrich Drepper <drepper@gmail.com>
40198
40199 * po/h.po: Update from translation team.
40200
40201 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40202
40203 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40204
40205 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40206 handling of denormals.
40207 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40208 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40209 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40210 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40211 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40212 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40213 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40214 Likewise.
40215
40216 2012-05-26 Marek Polacek <polacek@redhat.com>
40217
40218 [BZ #14152]
40219 * math/libm-test.inc (fma_test): Don't always expect underflow
40220 exception.
40221
40222 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40223
40224 [BZ #12416]
40225 * elf/tst-execstack.c: Include stackinfo.h.
40226 (do_test): Adjust test case to ensure that pthread_getattr_np
40227 behaviour remains the same after marking stack executable.
40228
40229 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40230
40231 * sysdeps/unix/sysv/linux/kernel-features.h
40232 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40233 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40234 kernel-features.h.
40235 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40236 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40237 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40238 kernel-features.h.
40239 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40240 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40241
40242 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40243
40244 * configure.in: Define the default includes to being none.
40245 * configure: Regenerated.
40246
40247 2012-05-25 Roland McGrath <roland@hack.frob.com>
40248
40249 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40250 * sysdeps/x86_64/setjmp.S: Likewise.
40251 * sysdeps/i386/bsd-setjmp.S: Likewise.
40252 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40253 * sysdeps/i386/setjmp.S: Likewise.
40254 * sysdeps/i386/__longjmp.S: Likewise.
40255 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40256 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40257
40258 * include/stap-probe.h: New file.
40259 * configure.in: Handle --enable-systemtap.
40260 * configure: Regenerated.
40261 * config.h.in (USE_STAP_PROBE): New #undef.
40262 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40263 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40264 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40265
40266 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40267
40268 [BZ #13717]
40269 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40270 to 2.4.0 where earlier.
40271 * sysdeps/unix/sysv/linux/configure: Regenerated.
40272 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40273 <kernel-features.h>.
40274 [__ASSUME_32BITUIDS]: Make code unconditional.
40275 [!__ASSUME_32BITUIDS]: Remove conditional code.
40276 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40277 <kernel-features.h>.
40278 [__ASSUME_32BITUIDS]: Make code unconditional.
40279 [!__ASSUME_32BITUIDS]: Remove conditional code.
40280 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40281 [__ASSUME_32BITUIDS]: Make code unconditional.
40282 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40283 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40284 <kernel-features.h>.
40285 [__ASSUME_32BITUIDS]: Make code unconditional.
40286 [!__ASSUME_32BITUIDS]: Remove conditional code.
40287 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40288 <kernel-features.h>.
40289 [__ASSUME_32BITUIDS]: Make code unconditional.
40290 [!__ASSUME_32BITUIDS]: Remove conditional code.
40291 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40292 <kernel-features.h>.
40293 [__ASSUME_32BITUIDS]: Make code unconditional.
40294 [!__ASSUME_32BITUIDS]: Remove conditional code.
40295 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40296 <kernel-features.h>.
40297 [__ASSUME_32BITUIDS]: Make code unconditional.
40298 [!__ASSUME_32BITUIDS]: Remove conditional code.
40299 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40300 <kernel-features.h>.
40301 [__ASSUME_32BITUIDS]: Make code unconditional.
40302 [!__ASSUME_32BITUIDS]: Remove conditional code.
40303 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40304 <kernel-features.h>.
40305 [__ASSUME_32BITUIDS]: Make code unconditional.
40306 [!__ASSUME_32BITUIDS]: Remove conditional code.
40307 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40308 <kernel-features.h>.
40309 [__ASSUME_32BITUIDS]: Make code unconditional.
40310 [!__ASSUME_32BITUIDS]: Remove conditional code.
40311 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40312 <kernel-features.h>.
40313 [__ASSUME_32BITUIDS]: Make code unconditional.
40314 [!__ASSUME_32BITUIDS]: Remove conditional code.
40315 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40316 <kernel-features.h>.
40317 [__ASSUME_32BITUIDS]: Make code unconditional.
40318 [!__ASSUME_32BITUIDS]: Remove conditional code.
40319 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40320 <kernel-features.h>.
40321 [__ASSUME_32BITUIDS]: Make code unconditional.
40322 [!__ASSUME_32BITUIDS]: Remove conditional code.
40323 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40324 <kernel-features.h>.
40325 [__NR_setresgid] (__setresgid): Do not declare.
40326 [__ASSUME_32BITUIDS]: Make code unconditional.
40327 [!__ASSUME_32BITUIDS]: Remove conditional code.
40328 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40329 <kernel-features.h>.
40330 [__NR_setresuid] (__setresuid): Do not declare.
40331 [__ASSUME_32BITUIDS]: Make code unconditional.
40332 [!__ASSUME_32BITUIDS]: Remove conditional code.
40333 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40334 <kernel-features.h>.
40335 [__ASSUME_32BITUIDS]: Make code unconditional.
40336 [!__ASSUME_32BITUIDS]: Remove conditional code.
40337 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40338 <kernel-features.h>.
40339 [__ASSUME_32BITUIDS]: Make code unconditional.
40340 [!__ASSUME_32BITUIDS]: Remove conditional code.
40341 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40342 <kernel-features.h>.
40343 [__ASSUME_32BITUIDS]: Make code unconditional.
40344 [!__ASSUME_32BITUIDS]: Remove conditional code.
40345 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40346 <kernel-features.h>.
40347 [__ASSUME_32BITUIDS]: Make code unconditional.
40348 [!__ASSUME_32BITUIDS]: Remove conditional code.
40349 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40350 <kernel-features.h>.
40351 [__ASSUME_32BITUIDS]: Make code unconditional.
40352 [!__ASSUME_32BITUIDS]: Remove conditional code.
40353 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40354 <kernel-features.h>.
40355 [__ASSUME_32BITUIDS]: Make code unconditional.
40356 [!__ASSUME_32BITUIDS]: Remove conditional code.
40357 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40358 <kernel-features.h>.
40359 [__ASSUME_32BITUIDS]: Make code unconditional.
40360 [!__ASSUME_32BITUIDS]: Remove conditional code.
40361 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40362 <kernel-features.h>.
40363 [__ASSUME_32BITUIDS]: Make code unconditional.
40364 [!__ASSUME_32BITUIDS]: Remove conditional code.
40365 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40366 <kernel-features.h>.
40367 [__ASSUME_32BITUIDS]: Make code unconditional.
40368 [!__ASSUME_32BITUIDS]: Remove conditional code.
40369 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40370 <kernel-features.h>.
40371 [__ASSUME_32BITUIDS]: Make code unconditional.
40372 [!__ASSUME_32BITUIDS]: Remove conditional code.
40373 * sysdeps/unix/sysv/linux/kernel-features.h
40374 (__ASSUME_SETRESUID_SYSCALL): Remove.
40375 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40376 (__ASSUME_32BITUIDS): Likewise.
40377 (__ASSUME_LDT_WORKS): Likewise.
40378 (__ASSUME_O_DIRECTORY): Likewise.
40379 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40380 architecture but not kernel version.
40381 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40382 (__ASSUME_MMAP2_SYSCALL): Likewise.
40383 (__ASSUME_STAT64_SYSCALL): Likewise.
40384 (__ASSUME_IPC64): Likewise.
40385 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40386 <kernel-features.h>.
40387 [__ASSUME_32BITUIDS]: Make code unconditional.
40388 [!__ASSUME_32BITUIDS]: Remove conditional code.
40389 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40390 <kernel-features.h>.
40391 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40392 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40393 132096]: Remove conditional code.
40394 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40395 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40396 <kernel-features.h>.
40397 [__ASSUME_32BITUIDS]: Make code unconditional.
40398 [!__ASSUME_32BITUIDS]: Remove conditional code.
40399 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40400 <kernel-features.h>.
40401 [__ASSUME_32BITUIDS]: Make code unconditional.
40402 [!__ASSUME_32BITUIDS]: Remove conditional code.
40403 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40404 <kernel-features.h>.
40405 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40406 unconditional.
40407 (__setresgid): Do not declare.
40408 [__ASSUME_32BITUIDS]: Make code unconditional.
40409 [!__ASSUME_32BITUIDS]: Remove conditional code.
40410 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40411 <kernel-features.h>.
40412 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40413 unconditional.
40414 (__setresuid): Do not declare.
40415 [__ASSUME_32BITUIDS]: Make code unconditional.
40416 [!__ASSUME_32BITUIDS]: Remove conditional code.
40417 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40418 <kernel-features.h>.
40419 [__ASSUME_32BITUIDS]: Make code unconditional.
40420 [!__ASSUME_32BITUIDS]: Remove conditional code.
40421 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40422 <kernel-features.h>.
40423 [__ASSUME_32BITUIDS]: Make code unconditional.
40424 [!__ASSUME_32BITUIDS]: Remove conditional code.
40425
40426 2012-05-25 Richard Henderson <rth@twiddle.net>
40427
40428 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40429 dl_hwcap to ifunc resolver.
40430 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40431 elf_ifunc_invoke.
40432 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40433 dl_hwcap to ifunc resolver.
40434 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40435
40436 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40437
40438 [BZ #14153]
40439 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40440 for |x| <= 2**-26, not 2**-57.
40441 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40442 exception.
40443
40444 2012-05-24 Jeff Law <law@redhat.com>
40445
40446 * stdio-common/Makefile (tests): Add bug25.
40447 * stdio-common/bug25.c: New test.
40448
40449 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40450
40451 [BZ #13576]
40452 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40453 multiple of MALLOC_ALIGNMENT in size.
40454 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40455
40456 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40457
40458 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40459 Require >= 256.
40460 (FILENAME_MAX): Use macro-int-constant.
40461 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40462 (_IOFBF): Use macro-int-constant.
40463 (_IOLBF): Likewise.
40464 (_IONBF): Likewise.
40465 (SEEK_CUR): Likewise.
40466 (SEEK_END): Likewise.
40467 (SEEK_SET): Likewise.
40468 (TMP_MAX): Likewise.
40469 (EOF): Use macro-int-constant. Require < 0.
40470 (NULL): Use macro-constant. Require == 0.
40471 (stdin): Require type to be FILE *.
40472 (stdout): Likewise.
40473 (stderr): Likewise.
40474 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40475 macro-int-constant.
40476 (EXIT_SUCCESS): Likewise.
40477 (NULL): Use macro-constant. Require == 0.
40478 (RAND_MAX): Use macro-int-constant.
40479 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40480 [C99-based standards] (strtof): Require function.
40481 [C99-based standards] (strtold): Likewise.
40482 [C99-based standards] (strtoll): Likewise.
40483 [C99-based standards] (strtoull): Likewise.
40484 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40485 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40486 [ISO || ISO99 || ISO11] (math.h): Likewise.
40487 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40488 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40489 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40490
40491 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40492
40493 [BZ #14132]
40494 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40495 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40496 * intl/dgettext.c (DCGETTEXT): Likewise.
40497 * intl/gettext.c (DCGETTEXT): Likewise.
40498 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40499 * posix/regex_internal.h (gettext): Likewise.
40500 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40501 Remove declaration.
40502 * include/argz.h (__argz_count_internal)
40503 (__argz_stringify_internal): Remove declaration.
40504 (__argz_count, __argz_stringify): Declare hidden proto.
40505 * intl/dcgettext.c: Remove use of INTDEF.
40506 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40507 * string/argz-stringify.c: Likewise.
40508 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40509 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40510 Declare hidden proto.
40511 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40512 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40513 Declare hidden proto.
40514 * include/stdio.h (__asprintf_internal): Don't declare.
40515 (__asprintf): Don't define as macro. Declare hidden proto.
40516 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40517 (__fsetlocking): Declare hidden proto.
40518 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40519 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40520 hidden proto.
40521 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40522 (_IO_setlinebuf): Remove use of INTUSE.
40523 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40524 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40525 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40526 Remove declaration.
40527 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40528 (_IO_do_flush): Remove use of INTUSE.
40529 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40530 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40531 (_IO_adjust_column, _IO_least_wmarker)
40532 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40533 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40534 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40535 (_IO_default_doallocate, _IO_wdefault_doallocate)
40536 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40537 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40538 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40539 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40540 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40541 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40542 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40543 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40544 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40545 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40546 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40547 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40548 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40549 proto.
40550 (_IO_flush_all_internal, _IO_adjust_column_internal)
40551 (_IO_default_uflow_internal, _IO_default_finish_internal)
40552 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40553 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40554 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40555 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40556 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40557 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40558 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40559 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40560 (_IO_file_close_internal, _IO_file_close_it_internal)
40561 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40562 (_IO_file_init_internal, _IO_file_attach_internal)
40563 (_IO_file_fopen_internal, _IO_file_read_internal)
40564 (_IO_file_sync_internal, _IO_file_seek_internal)
40565 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40566 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40567 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40568 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40569 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40570 (_IO_list_all_internal, _IO_link_in_internal)
40571 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40572 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40573 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40574 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40575 (_IO_do_write_internal, _IO_padn_internal)
40576 (_IO_getline_info_internal, _IO_getline_internal)
40577 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40578 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40579 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40580 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40581 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40582 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40583 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40584 with libc_hidden_ver, remove use of INTUSE.
40585 * libio/genops.c: Likewise.
40586 * libio/freopen.c: Likewise.
40587 * libio/freopen64.c: Likewise.
40588 * libio/iofclose.c: Likewise.
40589 * libio/iofdopen.c: Likewise.
40590 * libio/iofflush.c: Likewise.
40591 * libio/iofflush_u.c: Likewise.
40592 * libio/iofgets.c: Likewise.
40593 * libio/iofgets_u.c: Likewise.
40594 * libio/iofopen.c: Likewise.
40595 * libio/iofopncook.c: Likewise.
40596 * libio/iofread.c: Likewise.
40597 * libio/iofread_u.c: Likewise.
40598 * libio/ioftell.c: Likewise.
40599 * libio/iofwrite.c: Likewise.
40600 * libio/iogetline.c: Likewise.
40601 * libio/iogets.c: Likewise.
40602 * libio/iogetwline.c: Likewise.
40603 * libio/iopadn.c: Likewise.
40604 * libio/iopopen.c: Likewise.
40605 * libio/ioseekoff.c: Likewise.
40606 * libio/ioseekpos.c: Likewise.
40607 * libio/iosetbuffer.c: Likewise.
40608 * libio/iosetvbuf.c: Likewise.
40609 * libio/ioungetc.c: Likewise.
40610 * libio/ioungetwc.c: Likewise.
40611 * libio/iovdprintf.c: Likewise.
40612 * libio/iovsprintf.c: Likewise.
40613 * libio/iovsscanf.c: Likewise.
40614 * libio/memstream.c: Likewise.
40615 * libio/obprintf.c: Likewise.
40616 * libio/oldfileops.c: Likewise.
40617 * libio/oldiofclose.c: Likewise.
40618 * libio/oldiofdopen.c: Likewise.
40619 * libio/oldiofopen.c: Likewise.
40620 * libio/oldiopopen.c: Likewise.
40621 * libio/oldstdfiles.c: Likewise.
40622 * libio/putc.c: Likewise.
40623 * libio/setbuf.c: Likewise.
40624 * libio/setlinebuf.c: Likewise.
40625 * libio/stdfiles.c: Likewise.
40626 * libio/strops.c: Likewise.
40627 * libio/vasprintf.c: Likewise.
40628 * libio/vscanf.c: Likewise.
40629 * libio/vsnprintf.c: Likewise.
40630 * libio/vswprintf.c: Likewise.
40631 * libio/wfiledoalloc.c: Likewise.
40632 * libio/wfileops.c: Likewise.
40633 * libio/wgenops.c: Likewise.
40634 * libio/wmemstream.c: Likewise.
40635 * libio/wstrops.c: Likewise.
40636 * libio/__fpurge.c: Likewise.
40637 * libio/__fsetlocking.c: Likewise.
40638 * assert/assert.c: Likewise.
40639 * debug/fgets_chk.c: Likewise.
40640 * debug/fgets_u_chk.c: Likewise.
40641 * debug/fread_chk.c: Likewise.
40642 * debug/fread_u_chk.c: Likewise.
40643 * debug/gets_chk.c: Likewise.
40644 * debug/obprintf_chk.c: Likewise.
40645 * debug/vasprintf_chk.c: Likewise.
40646 * debug/vdprintf_chk.c: Likewise.
40647 * debug/vsnprintf_chk.c: Likewise.
40648 * debug/vsprintf_chk.c: Likewise.
40649 * malloc/mtrace.c: Likewise.
40650 * misc/error.c: Likewise.
40651 * misc/syslog.c: Likewise.
40652 * stdio-common/asprintf.c: Likewise.
40653 * stdio-common/fxprintf.c: Likewise.
40654 * stdio-common/getw.c: Likewise.
40655 * stdio-common/isoc99_fscanf.c: Likewise.
40656 * stdio-common/isoc99_scanf.c: Likewise.
40657 * stdio-common/isoc99_vfscanf.c: Likewise.
40658 * stdio-common/isoc99_vscanf.c: Likewise.
40659 * stdio-common/isoc99_vsscanf.c: Likewise.
40660 * stdio-common/printf-prs.c: Likewise.
40661 * stdio-common/printf_fp.c: Likewise.
40662 * stdio-common/printf_fphex.c: Likewise.
40663 * stdio-common/printf_size.c: Likewise.
40664 * stdio-common/putw.c: Likewise.
40665 * stdio-common/scanf.c: Likewise.
40666 * stdio-common/sprintf.c: Likewise.
40667 * stdio-common/tmpfile.c: Likewise.
40668 * stdio-common/vfprintf.c: Likewise.
40669 * stdio-common/vfscanf.c: Likewise.
40670 * stdlib/strfmon_l.c: Likewise.
40671 * sunrpc/openchild.c: Likewise.
40672 * sunrpc/xdr_stdio.c: Likewise.
40673 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40674 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40675
40676 2012-05-24 Roland McGrath <roland@hack.frob.com>
40677
40678 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40679
40680 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40681 in the third column, to generate for the shared library an IFUNC
40682 that uses _dl_vdso_vsym.
40683 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40684 * Makeconfig (object-suffixes-noshared): New variable.
40685
40686 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40687 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40688 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40689 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40690
40691 [BZ #14132]
40692 * include/sys/time.h (__gettimeofday): Remove macro.
40693 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40694 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40695 Remove INTDEF.
40696 (__gettimeofday): Add libc_hidden_def.
40697 (gettimeofday): Add libc_hidden_weak.
40698 * sysdeps/mach/gettimeofday.c: Likewise.
40699 * sysdeps/posix/gettimeofday.c: Likewise.
40700 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40701 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40702 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40703 (__gettimeofday_internal): Remove strong_alias.
40704 (__gettimeofday): Add libc_hidden_def.
40705 (gettimeofday): Add libc_hidden_weak.
40706 * sysdeps/unix/syscalls.list (gettimeofday):
40707 Remove __gettimeofday_internal alias.
40708
40709 2012-05-24 Daniel Jacobowitz <drow@false.org>
40710 H.J. Lu <hongjiu.lu@intel.com>
40711
40712 [BZ #12495]
40713 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40714 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40715 (largebin_index_32_big): New.
40716 (largebin_index): Use it for 16-byte alignment.
40717 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40718 correction with front_misalign.
40719
40720 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40721
40722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40724 Likewise.
40725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40726 Likewise.
40727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40728 Likewise.
40729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40730 Likewise.
40731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40732 Likewise.
40733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40734 Likewise.
40735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40736 Likewise.
40737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40738 Likewise.
40739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40740 Likewise.
40741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40742 Likewise.
40743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40744 Likewise.
40745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40746 Likewise.
40747
40748 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40749 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40750
40751 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40752
40753 [BZ #10846]
40754 [BZ #14036]
40755 * math/libm-test.inc (exp_test): Add test from bug 14036.
40756 (pow_test): Add test from bug 10846.
40757
40758 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40759 and other flags.
40760 (special_function): Do not include flags in test name.
40761 (parse_args): Likewise.
40762 * sysdeps/i386/fpu/libm-test-ulps: Update.
40763 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40764 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40765 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40767
40768 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40769 exceptions.
40770 * math/libm-test.inc ("Philosophy"): Update comment about
40771 exception testing.
40772 (UNDERFLOW_EXCEPTION): New macro.
40773 (UNDERFLOW_EXCEPTION_OK): Likewise.
40774 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40775 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40776 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40777 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40778 (INVALID_EXCEPTION_OK): Update value.
40779 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40780 (OVERFLOW_EXCEPTION_OK): Likewise.
40781 (IGNORE_ZERO_INF_SIGN): Likewise.
40782 (test_exceptions): Handle underflow exceptions.
40783 (acos_test): Update for underflow exception expectations.
40784 (cexp_test): Likewise.
40785 (clog_test): Likewise.
40786 (clog10_test): Likewise.
40787 (csqrt_test): Likewise.
40788 (ctan_test): Likewise.
40789 (ctanh_test): Likewise.
40790 (exp_test): Likewise.
40791 (exp10_test): Likewise.
40792 (exp2_test): Likewise.
40793 (expm1_test): Likewise.
40794 (fma_test): Likewise.
40795 (j0_test): Likewise.
40796 (jn_test): Likewise.
40797 (nexttoward_test): Likewise.
40798 (pow_test): Likewise.
40799 (scalbn_test): Likewise.
40800 (scalbln_test): Likewise.
40801 (tan_test): Likewise.
40802 (y1_test): Likewise.
40803 * sysdeps/i386/fpu/libm-test-ulps: Update.
40804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40805
40806 2012-05-23 David S. Miller <davem@davemloft.net>
40807
40808 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40809 (__libc_sigaction): Remove unused local variables.
40810
40811 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40812
40813 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40814
40815 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40816
40817 mktime: avoid signed integer overflow
40818 * time/mktime.c (__mktime_internal): Do not mishandle the case
40819 where diff == INT_MIN.
40820
40821 mktime: simplify computation of average
40822 * time/mktime.c (ranged_convert): Use new time_t_avg function
40823 instead of rolling our own (probably-slower) code.
40824
40825 mktime: do not assume signed right shift propagates sign bit
40826 * time/mktime.c (isdst_differ): New static function.
40827 (__mktime_internal): No need to normalize tm_isdst now.
40828 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40829 tm_isdst values.
40830
40831 mktime: merge another wrapv change from gnulib
40832 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40833 from some compilers.
40834
40835 mktime: remove incorrect attempt at unusual arithmetics
40836 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40837 The code didn't really work on such machines anyway.
40838 (TYPE_MINIMUM): Assume two's complement.
40839 (twos_complement_arithmetic): Verify that long_int and time_t
40840 are two's complement (or unsigned, in the latter case).
40841
40842 mktime: check signed shifts on long_int and time_t, too
40843 * time/mktime.c (SHR): Check that shifts work as desired
40844 on the types long_int and time_t too, as SHR is used on
40845 such types.
40846
40847 mktime: do not assume 'long' is wide enough
40848 * time/mktime.c (verify): Move decl up.
40849 (long_int): New type.
40850 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40851 to remove assumption in the code that 'long' is wide enough to
40852 store year values. This assumption is not true on x32 and on
40853 some non-glibc platforms.
40854
40855 mktime: merge wrapv change from gnulib
40856 * time/mktime.c (WRAPV): New macro.
40857 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40858 (guess_time_tm, __mktime_internal): Do not assume that signed
40859 integer overflow wraps around; modern compilers generate code
40860 where this assumption is no longer valid.
40861
40862 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40863
40864 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40865 Replace "jmp L(pseudo_end)" with "ret".
40866 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40867 Likewise.
40868
40869 2012-05-23 Andreas Jaeger <aj@suse.de>
40870
40871 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40872 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40873
40874 2012-05-23 Andreas Jaeger <aj@suse.de>
40875 Maximilian Attems <max@stro.at>
40876
40877 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40878 New macros.
40879
40880 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40881
40882 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40883 code so that pseudo_end is just ret and the stack pointer is
40884 correct also for static library in error case.
40885
40886 2012-05-23 Joseph Myers <joseph@codesourcery.com>
40887
40888 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40889 move to syscalls.list.
40890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40894
40895 * manual/install.texi (Running make install): Do not mention Linux
40896 kernel version for which pt_chown is not needed.
40897 (Linux): Do not mention problems with nscd with 2.0 kernels.
40898 * INSTALL: Regenerated.
40899
40900 2012-05-23 Andreas Jaeger <aj@suse.de>
40901
40902 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40903 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40904 macro.
40905 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40906 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40907 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40908 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40909 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40911 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40913 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40915 * sysdeps/unix/sysv/linux/bits/in.h
40916 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40917
40918 2012-05-22 Roland McGrath <roland@hack.frob.com>
40919
40920 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40921 (PREPARE_VERSION): Just use assert instead, it will be elided
40922 under [NDEBUG] anyway.
40923
40924 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40925
40926 * sysdeps/unix/sysv/linux/Makefile: Include
40927 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40928 (sysdep_routines): Remove sysctl.
40929 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40930 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40931 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40932 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40933 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40934
40935 2012-05-22 Andreas Jaeger <aj@suse.de>
40936
40937 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40938 that pseudo_end is just ret and the stack pointer is correct also
40939 for static library in error case.
40940
40941 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40942
40943 [BZ #14122]
40944 * nss/nsswitch.c (defconfig_entries): New variable.
40945 (__nss_database_lookup): Don't leak defconfig entries.
40946 (nss_parse_service_list): Don't leak on error paths.
40947 (free_database_entries): New function.
40948 (free_defconfig): New function.
40949 (free_mem): Move common code to free_database_entries.
40950
40951 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40952
40953 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40954 Add arch_prctl.
40955 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40956
40957 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40958 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40960 New macro.
40961 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40962 (INTERNAL_SYSCALL_TYPES): Likewise.
40963 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40964 (LOAD_REGS_TYPES_[1-6]): Likewise.
40965 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40966 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40967
40968 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40969
40970 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40971 copysignl for GLIBC_2_0.
40972 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40973 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40975 logbl for GLIBC_2_0.
40976 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40977 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40978
40979 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40980
40981 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40982 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40983
40984 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40985 Use "neg %eax".
40986
40987 * time/mktime.c: Update copyright years.
40988
40989 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40990
40991 mktime: merge comment-quoting-style change from gnulib
40992 * time/mktime.c: Quote 'like this' in comments.
40993 The GNU coding standards suggest that we no longer quote `like this',
40994 as "`" and "'" are typically rendered asymmetrically nowadays.
40995 The typical gnulib style is to quote 'like this' when quoting
40996 code, and "like this" when quoting English.
40997
40998 * time/mktime.c (compile-command): Add "-I.".
40999
41000 mktime: merge mktime-internal.h change from gnulib
41001 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41002
41003 mktime: merge time_r change from gnulib
41004 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41005
41006 mktime: merge DEBUG change from gnulib
41007 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41008 case system <time.h> has a #define.
41009
41010 mktime: merge <sys/types.h> change from gnulib
41011 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41012 since <time.t> is now guaranteed to define time_t.
41013
41014 mktime: merge HAVE_CONFIG_H change from gnulib
41015 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41016
41017 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41018
41019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41020 Use "neg %eax".
41021
41022 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41023 __rlim_t cast.
41024 (struct rusage): Use anonymous union to pad each field to
41025 __syscall_slong_t.
41026
41027 2012-05-21 David S. Miller <davem@davemloft.net>
41028
41029 * Makefules (o-iterator): Remove .s cases.
41030 (compile-command.s): Delete.
41031 (COMPILE.s): Delete.
41032 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41033
41034 2012-05-21 Joseph Myers <joseph@codesourcery.com>
41035
41036 * configure.in (libc_cv_predef_stack_protector): Only consider
41037 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41038 * configure: Regenerated.
41039
41040 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41041
41042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41043 New macro. Use R*LP on int and pointer.
41044 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41045 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41046 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41047 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41048
41049 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41050 [__WORDSIZE_TIME64_COMPAT32] instead of
41051 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41052 (struct utmp): Likewise.
41053 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41054 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41055 Renamed to ...
41056 (__WORDSIZE_TIME64_COMPAT32): This.
41057 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41058 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41059 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41060 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41061 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41062 (__WORDSIZE_TIME64_COMPAT32): New macro.
41063
41064 2012-05-21 Andreas Jaeger <aj@suse.de>
41065
41066 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41067 only if [SHARED]. Add prototype for __wcschr_ia32.
41068
41069 2012-05-21 Roland McGrath <roland@hack.frob.com>
41070
41071 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41072 of %rbp unmolested in the jmp_buf while mangling the low bits.
41073 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41074 unmolested high bits of %rbp while demangling the low bits.
41075 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41076
41077 2012-05-21 Andreas Jaeger <aj@suse.de>
41078
41079 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41080 * sunrpc/svc_simple.c: Use it for registerrpc.
41081 * sunrpc/xcrypt.c: Use it for passwd2des.
41082
41083 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41084
41085 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41086
41087 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41088 Don't define if [__SYSCALL_WORDSIZE != 32].
41089 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41090 New macro.
41091
41092 2012-05-21 Bruno Haible <bruno@clisp.org>
41093 Andreas Jaeger <aj@suse.de>
41094
41095 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41096 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41097 inptr and inend for must_buffer_ch.
41098 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41099 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41100 * stdio-common/Makefile (tests): Remove bug15.
41101 (bug15-ENV): Remove macro.
41102 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41103 anymore.
41104
41105 2012-05-19 Andreas Jaeger <aj@suse.de>
41106 Roland McGrath <roland@hack.frob.com>
41107
41108 * manual/contrib.texi: Completely rewritten. It contains now an
41109 alphabetical list of contributors and their contributions.
41110
41111 2012-05-21 Richard Henderson <rth@twiddle.net>
41112
41113 * misc/getauxval.c (__getauxval): Use unsigned long int.
41114 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41115 (getauxval): Use unsigned long int.
41116
41117 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41118
41119 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41120
41121 2012-05-21 Roland McGrath <roland@hack.frob.com>
41122
41123 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41124 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41125 __alignof__ (long double).
41126
41127 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41128
41129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41130
41131 2012-05-20 Richard Henderson <rth@twiddle.net>
41132
41133 * misc/getauxval.c: New file.
41134 * misc/sys/auxv.h: New file.
41135 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41136 (routines): Add getauxval.
41137 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41138 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41139 * elf/dl-sysdep.c (_dl_auxv): Remove.
41140 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41141 * elf/dl-support.c (_dl_auxv): New variable.
41142 (_dl_aux_init): Initialize it.
41143 * manual/startup.texi (Auxiliary Vector): New node.
41144 * sysdeps/generic/bits/hwcap.h: New file.
41145 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41146 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41147 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41148 * sysdeps/sparc/sysdep.h: ... here. Include it.
41149 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41150 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41152 Update.
41153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41156 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41161
41162 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41163
41164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41165
41166 2012-05-19 David S. Miller <davem@davemloft.net>
41167
41168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41169
41170 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41171
41172 [BZ #14123]
41173 * math/s_ccosh.c: Include <float.h>
41174 (__ccosh): Avoid internal overflow calculating sinh and cosh
41175 values before multiplying by sin and cos values.
41176 * math/s_ccoshf.c: Likewise.
41177 * math/s_ccoshl.c: Likewise.
41178 * math/s_csin.c: Likewise.
41179 * math/s_csinf.c: Likewise.
41180 * math/s_csinl.c: Likewise.
41181 * math/s_csinh.c: Likewise.
41182 * math/s_csinhf.c: Likewise.
41183 * math/s_csinhl.c: Likewise.
41184 * math/libm-test.inc (ccos_test): Add more tests.
41185 (ccosh_test): Likewise.
41186 (csin_test): Likewise.
41187 (csinh_test): Likewise.
41188 * sysdeps/i386/fpu/libm-test-ulps: Update.
41189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41190
41191 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41192
41193 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41194 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41195
41196 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41197
41198 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41199
41200 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41201 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41202 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41203 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41204 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41205 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41206 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41207 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41208 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41209 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41210 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41211 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41212 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41213 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41214 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41215 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41216 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41217 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41218 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41219 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41220 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41221 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41222 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41223 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41224 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41225 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41226 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41227 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41228 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41229 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41230 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41231
41232 2012-05-18 Andreas Jaeger <aj@suse.de>
41233
41234 * csu/.gitignore: Delete.
41235
41236 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41237
41238 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41239 (timex): Use __syscall_slong_t.
41240
41241 2012-05-18 Andreas Jaeger <aj@suse.de>
41242 Carlos O'Donell <carlos_odonell@mentor.com>
41243
41244 * manual/install.texi (Configuring and compiling): Update
41245 description about files modified in the source directory.
41246 * INSTALL: Regenerated.
41247
41248 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41249
41250 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41251 value. Use "or" to set return value to -1.
41252 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41253 negate return value.
41254
41255 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41256
41257 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41258 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41259 failure if the compiler has Graphite support disabled.
41260 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41261 Likewise.
41262 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41263 (CFLAGS-memmove.c): Likewise.
41264 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41265 Likewise.
41266
41267 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41268
41269 * sysdeps/x86_64/x32/_itoa.h: New file.
41270
41271 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41272 getdents system call only if kernel and user dirents have the
41273 same d_ino and d_off.
41274
41275 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41276 LLONG_MAX != LONG_MAX.
41277 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41278 (_fitoa_word): Likewise.
41279
41280 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41281 years.
41282 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41283 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41284 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41285
41286 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41287 include <bits/wordsize.h>. Check __x86_64__ instead of
41288 __WORDSIZE.
41289 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41290 if __x86_64__ is defined. Use anonymous union on fpstate.
41291
41292 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41293 anonymous union.
41294
41295 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41296
41297 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41298 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41299 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41300 Refer to _rtld_local_ro instead of _rtld_global_ro.
41301 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41302 Likewise.
41303 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41304 Likewise.
41305 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41306 Likewise.
41307 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41308 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41309 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41310
41311 * sysdeps/powerpc/powerpc32/dl-machine.c
41312 (__elf_machine_runtime_setup) [PROF]: Don't reference
41313 _dl_prof_resolve.
41314
41315 2012-05-18 Andreas Jaeger <aj@suse.de>
41316
41317 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41318 function only available for GCCs before 3.4 since GCC 3.4
41319 introduced a builtin.
41320 (lrint): Likewise.
41321 (llrintf): Likewise.
41322 (llrint): Likewise.
41323 (fmaxf): Likewise.
41324 (fmax): Likewise.
41325 (fminf): Likewise.
41326 (fmin): Likewise.
41327 (rint): Likewise.
41328 (rintf): Likewise.
41329 (nearbyint): Likewise.
41330 (nearbyintf): Likewise.
41331 (ceil): Likewise.
41332 (ceilf): Likewise.
41333 (floor): Likewise.
41334 (floorf): Likewise.
41335
41336 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41337
41338 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41339 on both fields and cast pointer to __syscall_ulong_t.
41340
41341 * bits/types.h (__fsword_t): New type.
41342 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41343 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41345 (__FSWORD_T_TYPE): Likewise.
41346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41347 (__FSWORD_T_TYPE): Likewise.
41348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41349 (__FSWORD_T_TYPE): Likewise.
41350 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41351 (__FSWORD_T_TYPE): Likewise.
41352 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41353 __SWORD_TYPE with __fsword_t.
41354 (statfs64): Likewise.
41355
41356 2012-05-17 David S. Miller <davem@davemloft.net>
41357
41358 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41359
41360 2012-05-17 Andreas Jaeger <aj@suse.de>
41361
41362 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41363 warning.
41364
41365 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41366
41367 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41368
41369 2012-05-17 Andreas Jaeger <aj@suse.de>
41370
41371 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41372 when it is used.
41373
41374 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41375
41376 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41377
41378 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41379
41380 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41381 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41382
41383 2012-05-17 Andreas Jaeger <aj@suse.de>
41384 Carlos O'Donell <carlos_odonell@mentor.com>
41385
41386 [BZ #14059]
41387 * sysdeps/x86_64/multiarch/init-arch.h
41388 (bit_YMM_Usable): Rename to...
41389 (bit_AVX_Usable): ... this.
41390 (bit_FMA4_Usable): New macro.
41391 (bit_XMM_state): New macro.
41392 (bit_YMM_state): New macro.
41393 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41394 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41395 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41396 (CPUID_OSXSAVE): New macro.
41397 (CPUID_AVX): New macro.
41398 (CPUID_FMA4): New macro.
41399 (index_YMM_Usable): Rename to...
41400 (index_AVX_Usable): ... this.
41401 (HAS_AVX): Use HAS_ARCH_FEATURE.
41402 (HAS_FMA4): Likewise.
41403 (HAS_YMM_USABLE): Remove.
41404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41405 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41406 are present.
41407 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41408 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41409 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41410 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41411 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41412
41413 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41414
41415 * math/libm-test.c: Support platforms without multiple rounding modes.
41416 * math/bug-nextafter.c: Support platforms without FP exceptions.
41417 * math/bug-nexttoward.c: Likewise.
41418 * math/test-fenv.c: Likewise.
41419 * math/test-misc.c: Likewise.
41420 * stdlib/bug-getcontext.c: Likewise.
41421
41422 2012-05-17 Andreas Jaeger <aj@suse.de>
41423
41424 * manual/examples/search.c (critter_cmp): Change signature to
41425 avoid warnings.
41426 * manual/string.texi (Collation Functions): Likewise.
41427
41428 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41429
41430 * bits/types.h: Fold copyright years.
41431 * bits/typesizes.h: Likewise.
41432 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41433 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41435 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41436 * time/time.h: Likewise.
41437
41438 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41439
41440 [BZ #208]
41441 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41442 in instead of returning them. Return void.
41443 (__libc_mallinfo): Accumulate over all arenas.
41444 (__malloc_stats): Adjust for change in int_mallinfo interface.
41445
41446 2012-05-16 Roland McGrath <roland@hack.frob.com>
41447
41448 [BZ #10375]
41449 * configure.in (NM): Add AC_CHECK_TOOL for it.
41450 (libc_extra_cflags): New substituted variable.
41451 Check for -fstack-protector being used implicitly.
41452 * configure: Regenerated.
41453 * config.make.in (config-extra-cflags): New variable,
41454 gets @libc_extra_cflags@.
41455 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41456
41457 [BZ #10375]
41458 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41459 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41460 * configure: Regenerated.
41461 * config.make.in (CPPUNDEFS): New substituted variable.
41462 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41463 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41464 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41465
41466 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41467
41468 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41469 (mq_attr): Use __syscall_slong_t.
41470
41471 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41472
41473 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41474 Check __x86_64__ instead of __WORDSIZE.
41475 (_STAT_VER_LINUX): Likewise.
41476 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41477 __syscall_ulong_t and __syscall_slong_t.
41478 (stat64): Likewise.
41479
41480 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41481
41482 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41483
41484 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41485
41486 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41487
41488 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41489
41490 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41491 __syscall_ulong_t.
41492
41493 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41494 include <bits/wordsize.h>. Check __x86_64__ instead of
41495 __WORDSIZE.
41496 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41497 defined.
41498 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41499
41500 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41501 include <bits/wordsize.h>. Check __x86_64__ instead of
41502 __WORDSIZE.
41503 (user_regs_struct): Use "__extension__ unsigned long long"
41504 instead of "unsigned long" if __x86_64__ is defined.
41505 (user): Likewise. Pad after pointer field if __ILP32__ is
41506 defined.
41507
41508 2012-05-16 Joseph Myers <joseph@codesourcery.com>
41509
41510 * configure.in (makeinfo): Require version 4.5 or later. Allow
41511 versions 5 to 9.
41512 * configure: Regenerated.
41513 * manual/install.texi (texinfo): Increase version requirement to
41514 4.5 or later.
41515 * INSTALL: Regenerated.
41516
41517 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41518
41519 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41520
41521 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41522
41523 * sysdeps/x86_64/x32/ffs.c: New file.
41524
41525 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41526 __syscall_ulong_t.
41527 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41528 defined. Use __syscall_ulong_t.
41529 (shminfo): Use __syscall_ulong_t.
41530 (shm_info): Likewise.
41531
41532 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41533 __syscall_ulong_t.
41534
41535 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41536 <bits/wordsize.h>.
41537 (msgqnum_t): Use __syscall_ulong_t.
41538 (msglen_t): Likewise.
41539 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41540 __syscall_ulong_t.
41541
41542 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41543 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41544
41545 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41546
41547 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41548 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41549
41550 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41551 __syscall_slong_t.
41552
41553 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41554 include <bits/wordsize.h>. Check __x86_64__ instead of
41555 __WORDSIZE.
41556
41557 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41558 "unsigned long long int" if __x86_64__ is defined.
41559 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41560
41561 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41562 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41563 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41564
41565 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41566 <stdint.h>.
41567 (GET_PC): Cast to uintptr_t first.
41568 (GET_FRAME): Likewise.
41569 (GET_STACK): Likewise.
41570
41571 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41572 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41573 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41574 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41575 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41576 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41577 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41578 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41579 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41580 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41581 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41582 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41583 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41584 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41585 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41586 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41587 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41588 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41589 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41590 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41591 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41592 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41593 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41594 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41595 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41596 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41597 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41598 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41599 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41600
41601 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41602
41603 * Makerules (+depfiles): Also collect depfiles from .oS in
41604 $(extra-objs).
41605 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41606 .oS, $(libnldbl-routines)).
41607
41608 * Makerules (native-compile-mkdep-flags): Define.
41609 * sunrpc/Makefile (extra-objs): Add $(addprefix
41610 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41611 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41612 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41613 calling $(make-target-directory).
41614
41615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41616
41617 * bits/types.h (__snseconds_t): Removed.
41618 * time/time.h (struct timespec): Replace __snseconds_t with
41619 __syscall_slong_t.
41620 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41621 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41622 Likewise.
41623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41624 (__SNSECONDS_T_TYPE): Likewise.
41625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41626 (__SNSECONDS_T_TYPE): Likewise.
41627 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41628 (__SNSECONDS_T_TYPE): Likewise.
41629
41630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41631
41632 * sysdeps/mach/hurd/bits/typesizes.h
41633 (__SYSCALL_SLONG_TYPE): New macro.
41634 (__SYSCALL_ULONG_TYPE): Likewise.
41635
41636 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41637
41638 * bits/types.h (__syscall_slong_t): New type.
41639 (__syscall_ulong_t): Likewise.
41640
41641 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41642 (__SYSCALL_ULONG_TYPE): Likewise.
41643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41644 (__SYSCALL_SLONG_TYPE): Likewise.
41645 (__SYSCALL_ULONG_TYPE): Likewise.
41646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41647 (__SYSCALL_SLONG_TYPE): Likewise.
41648 (__SYSCALL_ULONG_TYPE): Likewise.
41649 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41650 (__SYSCALL_SLONG_TYPE): Likewise.
41651 (__SYSCALL_ULONG_TYPE): Likewise.
41652
41653 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41654
41655 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41656 Add sigaltstack-offsets.sym.
41657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41658 <sigaltstack-offsets.h>.
41659 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41660 longjmp_msg pointer.
41661 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41662 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41663 signal stack.
41664 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41665
41666 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41667
41668 * elf/stackguard-macros.h: Remove file.
41669 * sysdeps/generic/stackguard-macros.h: New file.
41670 * sysdeps/i386/stackguard-macros.h: Likewise.
41671 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41672 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41673 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41674 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41675 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41676 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41677 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41678 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41679 <elf/stackguard-macros.h>.
41680
41681 [BZ #14109]
41682 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41683 __aligned__ in attribute.
41684 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41685 (gregset_t): Likewise.
41686
41687 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41688
41689 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41690 * sysdeps/x86_64/64/Implies-after: Here. New file.
41691 * sysdeps/x86_64/x32/Implies-after: New file.
41692
41693 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41694
41695 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41696 and access return value for _dl_profile_fixup. Use R10_LP to
41697 load frame size.
41698
41699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41700
41701 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41702
41703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41704
41705 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41706 * sysdeps/x86_64/x32/sysdep.h: New file.
41707
41708 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41709
41710 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41711 * sysdeps/x86_64/setjmp.S: Likewise.
41712
41713 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41714
41715 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41716 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41717 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41718 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41719 remove unused global constant.
41720
41721 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41722
41723 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41724 include of <not-cancel.h>.
41725
41726 2012-05-15 Roland McGrath <roland@hack.frob.com>
41727
41728 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41729
41730 2012-05-15 Jeff Law <law@redhat.com>
41731 Andreas Jaeger <aj@suse.de>
41732
41733 [BZ #13594]
41734 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41735 out from...
41736 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41737 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41738 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41739 code changing __hst_map_handle.map.
41740
41741 2012-05-15 Roland McGrath <roland@hack.frob.com>
41742
41743 * configure.in (sysnames): Look for Implies-before and Implies-after
41744 files.
41745 * configure: Regenerated.
41746
41747 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41748
41749 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41750 8-byte data alignment with LP_SIZE alignment.
41751
41752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41753
41754 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41755 into R10_LP.
41756
41757 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41758
41759 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41760
41761 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41762
41763 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41764 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41765 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41766 Likewise.
41767 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41768
41769 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41770
41771 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41772 (stackinfo_sub_sp): Likewise.
41773
41774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41775
41776 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41777 RAX_LP.
41778
41779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41780
41781 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41782 into R*_LP.
41783
41784 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41785
41786 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41787 sizes into R*_LP.
41788
41789 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41790
41791 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41792
41793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41794
41795 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41796 into R11_LP and load __x86_64_shared_cache_size_half into
41797 R8_LP.
41798
41799 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41800
41801 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41802 R8_LP.
41803
41804 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41805
41806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41807 logb for POWER7.
41808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41809 logbf for POWER7.
41810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41811 logbl for POWER7.
41812 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41813 powerpc32/power7/fpu/s_logb.c via #include.
41814 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41815 powerpc32/power7/fpu/s_logbf.c via #include.
41816 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41817 powerpc32/power7/fpu/s_logbl.c via #include.
41818
41819 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41820
41821 * README.libm: Remove file.
41822
41823 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41824
41825 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41826 count for x32. Use R*_LP and omit operand-size suffix.
41827
41828 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41829
41830 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41831 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41832 * sysdeps/x86_64/x32/shlib-versions: New file.
41833
41834 2012-05-14 Roland McGrath <roland@hack.frob.com>
41835
41836 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41837 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41838 Use _dl_fatal_printf instead.
41839
41840 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41841
41842 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41843 set if not set by the user. Do not allow for being unset.
41844 * sysdeps/unix/sysv/linux/configure: Regenerated.
41845
41846 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41847
41848 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41849 the `q' suffix from lea and replace .quad with ASM_ADDR.
41850
41851 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41852
41853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41854 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41855 instead of $17.
41856 (PTR_DEMANGLE): Likewise.
41857
41858 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41859
41860 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41861 (LP_OP): Likewise.
41862 (ASM_ADDR): Likewise.
41863 (RAX_LP): Likewise.
41864 (RBP_LP): Likewise.
41865 (RBX_LP): Likewise.
41866 (RCX_LP): Likewise.
41867 (RDI_LP): Likewise.
41868 (RSI_LP): Likewise.
41869 (RSP_LP): Likewise.
41870 (R8_LP): Likewise.
41871 (R9_LP): Likewise.
41872 (R10_LP): Likewise.
41873 (R10_LP): Likewise.
41874 (R11_LP): Likewise.
41875 (R12_LP): Likewise.
41876 (R13_LP): Likewise.
41877 (R14_LP): Likewise.
41878 (R15_LP): Likewise.
41879
41880 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41881
41882 * sysdeps/x86_64/x32/dl-machine.h: New file.
41883
41884 2012-05-14 Andreas Jaeger <aj@suse.de>
41885
41886 * manual/Makefile (subdir): Remove export of subdir.
41887 (all): Remove target.
41888 (.PHONY): Remove all from list.
41889 (mkinstalldirs): Remove.
41890 (.PHONY): Remove installdirs from list.
41891 ($(inst_infodir)/libc.info): Use make-target-directory.
41892 (installdirs): Remove.
41893 (subdir_%): Remove.
41894 (glibc-targets): Remove.
41895 (lib): Remove.
41896 (stubs): Remove.
41897 ($(objpfx)stubs ../po/manual.pot): Remove.
41898 ($(objpfx)stamp%): Remove.
41899 (make-target-directory): Remove.
41900 (subdir_install): Remove.
41901 (routines): Remove.
41902 (aux): Remove.
41903 (sources): Remove.
41904 (objects): Remove.
41905 (headers): Remove.
41906
41907 [BZ #13750]
41908 * manual/.gitignore: Remove, it's not needed anymore.
41909 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41910 all files in it.
41911 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41912 directory.
41913 (texis): Renamed to $(objpfx)texis.
41914 (texis-path): New, contains path to generated files.
41915 (chapters.%): Use texis-path for complete path, add extra argument
41916 libc-texinfo.sh.
41917 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41918 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41919 (summary,texi, stamp-summary): Use complete path of
41920 files. Generate files in build dir.
41921 (dir-add.texi): Build in build dir.
41922 (libm-err.texi,stamp-libm-err): Likewise.
41923 (version.texi, stamp-version): Likewise.
41924 (.%c.texi): Likewise.
41925 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41926 (mostlyclean): Remove target.
41927 (realclean): Remove target.
41928 (generated): Add new variable with contents from mostlyclean and
41929 realclean, remove entries duplicated in common-mostlyclean, add
41930 stamp-libm-err and stamp-version.
41931 (generated-dirs): Add libc directory.
41932 ($(inst_infodir)/libc.info): Install files from build dir.
41933
41934 * manual/install.texi (Configuring and compiling): Adjust since
41935 the info files are not part of the tar ball anymore.
41936
41937 2012-05-14 Andreas Jaeger <aj@suse.de>
41938
41939 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41940 variable.
41941
41942 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41943
41944 [BZ #13717]
41945 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41946 to 2.2.0 where earlier.
41947 * sysdeps/unix/sysv/linux/configure: Regenerated.
41948 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41949 Remove conditional code.
41950 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41951 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41952 Remove conditional code.
41953 [!__NR_lchown]: Likewise.
41954 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41955 [__NR_lchown]: Likewise.
41956 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41957 comment referencing __ASSUME_LCHOWN_SYSCALL.
41958 * sysdeps/unix/sysv/linux/i386/sigaction.c
41959 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41960 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41961 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41962 Remove conditional code.
41963 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41964 (__protocol_available): Remove #if 0 code.
41965 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41966 conditional code.
41967 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41968 * sysdeps/unix/sysv/linux/kernel-features.h
41969 (__ASSUME_GETCWD_SYSCALL): Don't define.
41970 (__ASSUME_REALTIME_SIGNALS): Likewise.
41971 (__ASSUME_PREAD_SYSCALL): Likewise.
41972 (__ASSUME_PWRITE_SYSCALL): Likewise.
41973 (__ASSUME_POLL_SYSCALL): Likewise.
41974 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41975 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41976 non-SPARC.
41977 (__ASSUME_SIOCGIFNAME): Don't define.
41978 (__ASSUME_MSG_NOSIGNAL): Likewise.
41979 (__ASSUME_SENDFILE): Define unconditionally.
41980 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41981 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41982 conditional code.
41983 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41984 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41985 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41986 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41987 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41988 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41989 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41991 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41992 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41994 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41995 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41997 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41998 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42000 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42001 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42003 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42004 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42006 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42007 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42009 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42010 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42012 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42013 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42014 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42015 Remove conditional code.
42016 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42017 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42018 Remove conditional code.
42019 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42020 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42021 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42022 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42023 Remove conditional code.
42024 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42025 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42026 Remove conditional code.
42027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42028 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42029 Remove conditional code.
42030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42031 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42032 Remove conditional code.
42033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42034 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42035 Remove conditional code.
42036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42037 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42038 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42039 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42040 * sysdeps/unix/sysv/linux/sigaction.c
42041 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42042 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42043 * sysdeps/unix/sysv/linux/sigpending.c
42044 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42045 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42046 * sysdeps/unix/sysv/linux/sigprocmask.c
42047 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42048 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42049 * sysdeps/unix/sysv/linux/sigsuspend.c
42050 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42051 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42052 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42053 (__libc_missing_rt_sigs): Remove.
42054 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42055 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42056 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42057 Remove conditional code.
42058 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42059 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42060 return 1.
42061 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42062 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42063 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42064 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42065
42066 2012-05-14 Andreas Jaeger <aj@suse.de>
42067
42068 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42069 it's not used in glibc.
42070 (__coshm1): Likewise.
42071 (__acosh1p): Likewise.
42072 (__sgn): Likewise.
42073
42074 * manual/string.texi (Copying and Concatenation): Add missing
42075 variable in concat example.
42076 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42077
42078 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42079
42080 [BZ #14103]
42081 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42082 __builtin_clzl with __builtin_clzll.
42083
42084 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42085
42086 [BZ #14104]
42087 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42088 libc_freeres_ptr.
42089
42090 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42091
42092 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42093 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42094 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42095 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42096
42097 2012-05-14 Mike Frysinger <vapier@gentoo.org>
42098
42099 * NEWS: Update ia64 info.
42100
42101 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42102
42103 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42104 used as bcopy.
42105
42106 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42107
42108 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42109 * sysdeps/unix/syscalls.list (dup3): Likewise.
42110 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42111 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42112
42113 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42114
42115 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42116 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42117
42118 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42119
42120 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42121 thread pointer.
42122 (TLS_IE): Use mov/add instead of movq/addq to load thread
42123 pointer.
42124 (TLS_GD_PREFIX): New.
42125 (TLS_GD): Use it.
42126
42127 2012-05-11 David S. Miller <davem@davemloft.net>
42128
42129 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42130 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42131 (_FPU_SETCW): Likewise.
42132
42133 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42134
42135 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42136 is 32-byte aligned.
42137
42138 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42139
42140 [BZ #11837]
42141 * iconvdata/gb18030.c: Update tables.
42142 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42143 characters specially.
42144 (BODY for TO_LOOP): Add encoding of missing ranges.
42145
42146 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42147
42148 [BZ #13673]
42149 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42150 * sysdeps/mach/hurd/dup3.c: Likewise.
42151 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42152 * sysdeps/powerpc/memmove.c:: Likewise.
42153
42154 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42155
42156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42157 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42158
42159 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42160
42161 * elf/elf.h (R_X86_64_RELATIVE64): New.
42162 (R_X86_64_NUM): Updated.
42163 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42164 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42165 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42166 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42167 tst-quad1pie tst-quad2pie
42168 (modules-names): Add tst-quadmod1 tst-quadmod2.
42169 ($(objpfx)tst-quad1): New dependency.
42170 ($(objpfx)tst-quad2): Likewise.
42171 ($(objpfx)tst-quad1pie): Likewise.
42172 ($(objpfx)tst-quad2pie): Likewise.
42173 * sysdeps/x86_64/tst-quad1.c: New file.
42174 * sysdeps/x86_64/tst-quad1pie.c: New file.
42175 * sysdeps/x86_64/tst-quad2.c: Likewise.
42176 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42177 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42178 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42179 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42180 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42181
42182 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42183
42184 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42185 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42186 * streams/stropts.h (t_scalar_t): Define type.
42187
42188 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42189 (_PATH_PRESERVE): Set to "/var/lib".
42190 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42191
42192 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42193 instead of int.
42194
42195 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42196 if __dir_mkfile succeeded.
42197
42198 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42199 checking for _hurd_dtablesize. Unlock it right after having
42200 finished _hurd_dtable allocation.
42201
42202 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42203
42204 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42205 * sysdeps/mach/hurd/configure: Regenerated.
42206 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42207 special-casing to...
42208 * sysdeps/gnu/configure.in: ... this new file.
42209 * sysdeps/unix/sysv/linux/configure: Regenerated.
42210 * sysdeps/gnu/configure: New generated file.
42211
42212 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42213 for Linux: use nsec instead of usec, as well as:
42214 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42215 members of type struct timespec.
42216 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42217 New macros.
42218 (struct stat64): Likewise.
42219 (_STATBUF_ST_NSEC): New macro.
42220 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42221
42222 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42223 __strtoul_internal rather than strtoul.
42224
42225 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42226
42227 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42228 and reject them.
42229
42230 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42231
42232 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42233 which preserves existing values.
42234 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42235
42236 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42237
42238 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42239 TIMEOUT values. Return EINVAL for NFDS values either negative or
42240 greater than FD_SETSIZE.
42241
42242 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42243
42244 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42245 allocated, call __vm_protect to finish enabling the existing space, and
42246 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42247 allocate the remainder.
42248
42249 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42250
42251 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42252 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42253
42254 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42255
42256 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42257 sysdeps/mach/hurd/readlink.c.
42258
42259 * posix/tst-sysconf.c (posix_options): Only use
42260 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42261 _POSIX_SYNCHRONIZED_IO when they are defined
42262 * sysdeps/mach/hurd/bits/posix_opt.h:
42263 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42264 (_XOPEN_REALTIME): Undefine macro.
42265 (_XOPEN_REALTIME_THREADS): Undefine macro.
42266 (_XOPEN_SHM): Undefine macro.
42267 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42268 macro to -1.
42269 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42270 macro to -1.
42271 (_POSIX_ASYNC_IO): Undefine macro.
42272 (_POSIX_PRIORITIZED_IO): Undefine macro.
42273 (_POSIX_SPIN_LOCKS): Define macro to -1.
42274
42275 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42276 SA_NODEFER, SA_RESETHAND.
42277 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42278 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42279 F_DUPFD_CLOEXEC.
42280
42281 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42282
42283 * elf/Makefile (pldd-modules): Define unconditionally.
42284
42285 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42286
42287 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42288
42289 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42290
42291 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42292 Return ENOENT when name is empty.
42293 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42294
42295 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42296
42297 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42298
42299 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42300
42301 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42302
42303 Fix mlock in all cases except non-readable pages.
42304 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42305 instead of VM_PROT_ALL as parameter to __vm_wire function.
42306
42307 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42308 (__mkdir): When path is `/', just fail with EEXIST.
42309 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42310
42311 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42312
42313 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42314 <sys/uio.h> (for writev).
42315 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42316 and <sys/param.h> (for MIN).
42317
42318 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42319
42320 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42321 REQUESTED_TIME. Properly set the remaining time and return EINTR
42322 if interrupted.
42323
42324 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42325
42326 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42327 Depend on against $(link-rpcuserlibs).
42328
42329 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42330
42331 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42332 (__libc_stack_end): Do not use attribute_relro.
42333 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42334 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42335 to libthread-provided value.
42336 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42337 attribute_relro.
42338
42339 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42340
42341 [BZ #3748]
42342 * bits/libc-lock.h (__libc_once_get): New macro.
42343 * sysdeps/mach/bits/libc-lock.h: Likewise.
42344 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42345 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42346 instead of using implementation details.
42347
42348 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42349 * libio/freopen.c: Likewise.
42350 * libio/freopen64.c: Likewise.
42351 * misc/syslog.c: Likewise.
42352 * nscd/connections.c: Likewise.
42353 * nscd/netgroupcache.c: Likewise.
42354 * sysdeps/posix/getcwd.c: Likewise.
42355
42356 2012-05-10 Roland McGrath <roland@hack.frob.com>
42357
42358 * math/w_ilogbf.c: Add #include <limits.h>.
42359
42360 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42361
42362 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42363 path instead of returning without unlocking.
42364
42365 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42366 immediate-write ioctls.
42367 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42368
42369 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42370
42371 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42372 __builtin_frame_address instead of making assumptions about the
42373 location of the return address relative to DATA. Force early load of
42374 the return address.
42375 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42376 __builtin_frame_address.
42377
42378 dup3 for GNU Hurd.
42379 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42380 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42381 implement dup3 and do some further code clean-ups.
42382 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42383 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42384
42385 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42386
42387 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42388
42389 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42390 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42391 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42392 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42393 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42394 d->port.lock.
42395
42396 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42397 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42398 when handler == SIG_ERR, not when handler != SIG_ERR.
42399
42400 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42401
42402 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42403 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42404 definitions.
42405
42406 accept4 for GNU Hurd.
42407 * include/sys/socket.h (__libc_accept4): New prototype.
42408 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42409 to implement __libc_accept4.
42410 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42411 __libc_accept4.
42412 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42413
42414 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42415 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42416 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42417 signal-defines.sym.
42418
42419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42420
42421 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42422
42423 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42424
42425 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42426 assertion on O_CLOEXEC flag.
42427 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42428 * hurd/intern-fd.c: Likewise.
42429 * hurd/port2fd.c: Likewise.
42430
42431 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42432
42433 [BZ #3906]
42434 * bits/in.h (IPV6_PKTINFO): Define new macro.
42435 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42436
42437 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42438
42439 [BZ #13954]
42440 [BZ #13955]
42441 [BZ #13956]
42442 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42443 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42444 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42445 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42446 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42447 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42448 * math/libm-test.inc (logb_test) : Additional logb tests.
42449
42450 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42451 Andreas Jaeger <aj@suse.de>
42452
42453 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42454 * configure: Regenerated.
42455 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42456 * config.make.in (link-obsolete-rpc): New substituted variable.
42457 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42458 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42459 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42460 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42461 so that libc.a contains the symbols.
42462 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42463 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42464 * sunrpc/auth_none.c: Likewise.
42465 * sunrpc/auth_unix.c: Likewise.
42466 * sunrpc/authdes_prot.c: Likewise.
42467 * sunrpc/authuxprot.c: Likewise.
42468 * sunrpc/clnt_gen.c: Likewise.
42469 * sunrpc/clnt_perr.c: Likewise.
42470 * sunrpc/clnt_raw.c: Likewise.
42471 * sunrpc/clnt_simp.c: Likewise.
42472 * sunrpc/clnt_tcp.c: Likewise.
42473 * sunrpc/clnt_udp.c: Likewise.
42474 * sunrpc/clnt_unix.c: Likewise.
42475 * sunrpc/des_crypt.c: Likewise.
42476 * sunrpc/des_soft.c: Likewise.
42477 * sunrpc/get_myaddr.c: Likewise.
42478 * sunrpc/key_call.c: Likewise.
42479 * sunrpc/key_prot.c: Likewise.
42480 * sunrpc/netname.c: Likewise.
42481 * sunrpc/pm_getmaps.c: Likewise.
42482 * sunrpc/pm_getport.c: Likewise.
42483 * sunrpc/pmap_clnt.c: Likewise.
42484 * sunrpc/pmap_prot.c: Likewise.
42485 * sunrpc/pmap_prot2.c: Likewise.
42486 * sunrpc/pmap_rmt.c: Likewise.
42487 * sunrpc/publickey.c: Likewise.
42488 * sunrpc/rpc_cmsg.c: Likewise.
42489 * sunrpc/rpc_common.c: Likewise.
42490 * sunrpc/rpc_dtable.c: Likewise.
42491 * sunrpc/rpc_prot.c: Likewise.
42492 * sunrpc/rpc_thread.c: Likewise.
42493 * sunrpc/rtime.c: Likewise.
42494 * sunrpc/svc.c: Likewise.
42495 * sunrpc/svc_auth.c: Likewise.
42496 * sunrpc/svc_raw.c: Likewise.
42497 * sunrpc/svc_run.c: Likewise.
42498 * sunrpc/svc_tcp.c: Likewise.
42499 * sunrpc/svc_udp.c: Likewise.
42500 * sunrpc/svc_unix.c: Likewise.
42501 * sunrpc/svcauth_des.c: Likewise.
42502 * sunrpc/xcrypt.c: Likewise.
42503 * sunrpc/xdr.c: Likewise.
42504 * sunrpc/xdr_array.c: Likewise.
42505 * sunrpc/xdr_float.c: Likewise.
42506 * sunrpc/xdr_intXX_t.c: Likewise.
42507 * sunrpc/xdr_mem.c: Likewise.
42508 * sunrpc/xdr_rec.c: Likewise.
42509 * sunrpc/xdr_ref.c: Likewise.
42510 * sunrpc/xdr_sizeof.c: Likewise.
42511 * sunrpc/xdr_stdio.c: Likewise.
42512
42513 2012-05-10 Roland McGrath <roland@hack.frob.com>
42514
42515 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42516 change. Update copyright years.
42517
42518 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42519
42520 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42521
42522 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42523 Joseph Myers <joseph@codesourcery.com>
42524 Paul Pluzhnikov <ppluzhnikov@google.com>
42525
42526 [BZ #14012]
42527 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42528 requiring rpcgen.
42529 [cross-compiling] (extra-libs): Likewise.
42530 [cross-compiling] (extra-libs-others): Likewise.
42531 [cross-compiling] (librpcsvc-routines): Likewise.
42532 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42533 [cross-compiling] (omit-deps): Likewise.
42534 (sunrpc-CPPFLAGS): New variable.
42535 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42536 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42537 (cross-rpcgen-objs): New variable.
42538 (extra-objs): Append $(cross-rpcgen-objs).
42539 ($(cross-rpcgen-objs)): New rule.
42540 ($(objpfx)cross-rpcgen): Likewise.
42541 (rpcgen-cmd): Define to use $(built-program-file). Expand
42542 comment.
42543 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42544 ($(objpfx)x%.stmp): Likewise.
42545 * sunrpc/proto.h [IS_IN_build] (_): Define.
42546 [IS_IN_build] (_libc_intl_domainname): Likewise.
42547
42548 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42549
42550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42551 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42552 and R_X86_64_TPOFF64.
42553
42554 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42555
42556 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42557 sysdeps/unix/sysv/syscalls.list.
42558 (stime): Likewise.
42559 (utime): Likewise.
42560 * sysdeps/unix/sysv/syscalls.list: Remove file.
42561
42562 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42563
42564 [BZ #3440]
42565 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42566 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42567 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42568 (__LC_IDENTIFICATION): Make these macros useful in #if
42569 expressions, as required by C99.
42570
42571 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42572
42573 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42574 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42575 after this.
42576
42577 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42578
42579 * stdlib/longlong.h: Updated from GCC.
42580
42581 2012-05-09 Andreas Jaeger <aj@suse.de>
42582
42583 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42584 default is first entry.
42585 (run_mode): Set type.
42586 (main): Remove informal message about syslog.
42587 (options): Fix typo.
42588
42589 [BZ #14053]
42590 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42591 to asm.
42592 (lrint): Likewise.
42593 (llrintf): Likewise.
42594 (llrint): Likewise.
42595 (rint): Likewise.
42596 (rintf): Likewise.
42597 (nearbyint): Likewise.
42598 (nearbyintf): Likewise.
42599
42600 2012-05-09 Andreas Jaeger <aj@suse.de>
42601 Pedro Alves <palves@redhat.com>
42602
42603 * nscd/nscd.c (run_mode): Use enum.
42604 (main): Cleanup coding style issue.
42605
42606 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
42607 Andreas Jaeger <aj@suse.de>
42608
42609 * nscd/nscd.c (go_background): Replaced with...
42610 (run_mode): ... this.
42611 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42612 (options): Add -F --foreground.
42613 (main): Implement it.
42614 (parse_opt): Parse it.
42615
42616 2012-05-09 Andreas Jaeger <aj@suse.de>
42617
42618 [BZ #14083]
42619 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42620 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42621 -Wconversion warning.
42622 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42623 Likewise.
42624
42625 2012-05-09 Joseph Myers <joseph@codesourcery.com>
42626
42627 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42628 == 0.
42629 (LC_ALL): Use macro-int-constant.
42630 (LC_COLLATE): Likewise.
42631 (LC_CTYPE): Likewise.
42632 (LC_MESSAGES): Likewise.
42633 (LC_MONETARY): Likewise.
42634 (LC_NUMERIC): Likewise.
42635 (LC_TIME): Likewise.
42636 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42637 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42638 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42639 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42640 Specify type.
42641 [C99-based standards] (float_t): Expect type.
42642 [C99-based standards] (double_t): Expect type.
42643 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42644 type.
42645 [C99-based standards] (HUGE_VALL): Likewise.
42646 [C99-based standards] (INFINITY): Likewise.
42647 [C99-based standards] (NAN): Likewise.
42648 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42649 [C99-based standards] (FP_NAN): Likewise.
42650 [C99-based standards] (FP_NORMAL): Likewise.
42651 [C99-based standards] (FP_SUBNORMAL): Likewise.
42652 [C99-based standards] (FP_ZERO): Likewise.
42653 [C99-based standards] (FP_FAST_FMA): Use
42654 optional-macro-int-constant. Specify type. Require == 1.
42655 [C99-based standards] (FP_FAST_FMAF): Likewise.
42656 [C99-based standards] (FP_FAST_FMAL): Likewise.
42657 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42658 [C99-based standards] (FP_ILOGBNAN): Likewise.
42659 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42660 Specify type.
42661 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42662 [C99-based standards] (math_errhandling): Specify type.
42663 [ISO99 || ISO11] (signgam): Do not allow.
42664 [non-C99-based standards] (copysignf): Do not allow.
42665 [non-C99-based standards] (exp2f): Likewise.
42666 [non-C99-based standards] (log2f): Likewise.
42667 [non-C99-based standards] (modff): Allow.
42668 [non-C99-based standards] (erff): Do not allow.
42669 [non-C99-based standards] (erfcf): Likewise.
42670 [non-C99-based standards] (gammaf): Likewise.
42671 [non-C99-based standards] (hypotf): Likewise.
42672 [non-C99-based standards] (j0f): Likewise.
42673 [non-C99-based standards] (j1f): Likewise.
42674 [non-C99-based standards] (jnf): Likewise.
42675 [non-C99-based standards] (lgammaf): Likewise.
42676 [non-C99-based standards] (tgammaf): Likewise.
42677 [non-C99-based standards] (y0f): Likewise.
42678 [non-C99-based standards] (y1f): Likewise.
42679 [non-C99-based standards] (ynf): Likewise.
42680 [non-C99-based standards] (isnanf): Likewise.
42681 [non-C99-based standards] (acoshf): Likewise.
42682 [non-C99-based standards] (asinhf): Likewise.
42683 [non-C99-based standards] (atanhf): Likewise.
42684 [non-C99-based standards] (cbrtf): Likewise.
42685 [non-C99-based standards] (expm1f): Likewise.
42686 [non-C99-based standards] (ilogbf): Likewise.
42687 [non-C99-based standards] (log1pf): Likewise.
42688 [non-C99-based standards] (logbf): Likewise.
42689 [non-C99-based standards] (nextafterf): Likewise.
42690 [non-C99-based standards] (remainderf): Likewise.
42691 [non-C99-based standards] (rintf): Likewise.
42692 [non-C99-based standards] (scalbf): Likewise.
42693 [non-C99-based standards] (copysignl): Likewise.
42694 [non-C99-based standards] (exp2l): Likewise.
42695 [non-C99-based standards] (log2l): Likewise.
42696 [non-C99-based standards] (modfl): Allow.
42697 [non-C99-based standards] (erfl): Do not allow.
42698 [non-C99-based standards] (erfcl): Likewise.
42699 [non-C99-based standards] (gammal): Likewise.
42700 [non-C99-based standards] (hypotl): Likewise.
42701 [non-C99-based standards] (j0l): Likewise.
42702 [non-C99-based standards] (j1l): Likewise.
42703 [non-C99-based standards] (jnl): Likewise.
42704 [non-C99-based standards] (lgammal): Likewise.
42705 [non-C99-based standards] (tgammal): Likewise.
42706 [non-C99-based standards] (y0l): Likewise.
42707 [non-C99-based standards] (y1l): Likewise.
42708 [non-C99-based standards] (ynl): Likewise.
42709 [non-C99-based standards] (isnanl): Likewise.
42710 [non-C99-based standards] (acoshl): Likewise.
42711 [non-C99-based standards] (asinhl): Likewise.
42712 [non-C99-based standards] (atanhl): Likewise.
42713 [non-C99-based standards] (cbrtl): Likewise.
42714 [non-C99-based standards] (expm1l): Likewise.
42715 [non-C99-based standards] (ilogbl): Likewise.
42716 [non-C99-based standards] (log1pl): Likewise.
42717 [non-C99-based standards] (logbl): Likewise.
42718 [non-C99-based standards] (nextafterl): Likewise.
42719 [non-C99-based standards] (remainderl): Likewise.
42720 [non-C99-based standards] (rintl): Likewise.
42721 [non-C99-based standards] (scalbl): Likewise.
42722 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42723 [non-C99-based standards] (FP_*): Do not allow.
42724 [C99-based standards] (FP_*): Change to
42725 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42726 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42727 allow.
42728 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42729 (SIG_ERR): Likewise.
42730 [X/Open-based standards] (SIG_HOLD): Likewise.
42731 (SIG_IGN): Likewise.
42732 (SIGABRT): Use macro-int-constant. Specify type. Require
42733 positive value.
42734 (SIGFPE): Likewise.
42735 (SIGILL): Likewise.
42736 (SIGINT): Likewise.
42737 (SIGSEGV): Likewise.
42738 (SIGTER): Likewise.
42739 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42740 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42741 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42742 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42743 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42744 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42745 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42746 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42747 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42748 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42749 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42750 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42751 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42752 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42753 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42754 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42755 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42756 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42757 [X/Open-based standards] (SIGTRAP): Likewise.
42758 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42759 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42760 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42761 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42762 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42763 allow.
42764
42765 2012-05-08 Ian Wienand <ianw@vmware.com>
42766
42767 [BZ #14080]
42768 * time/tzset.c (__tzset_parse_tz): Update default rules for
42769 daylight time changes in the Energy Policy Act of 2005.
42770
42771 2012-05-09 Andreas Jaeger <aj@suse.de>
42772
42773 [BZ #13983]
42774 * elf/ldconfig.c (parse_conf): Change string to make clear that
42775 ldconfig only issued a warning if ld.so.conf does not exist.
42776
42777 2012-05-08 David S. Miller <davem@davemloft.net>
42778
42779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42780 movxtod instead of popping the value on the stack.
42781
42782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42783
42784 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42785
42786 * config.h.in: Add HAVE_ARM_PCS_VFP.
42787
42788 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
42789
42790 [BZ #13979]
42791 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42792 checking but the checks are disabled for any reason.
42793
42794 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42795
42796 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42797 and ELF64_R_TYPE with ELFW(R_TYPE).
42798
42799 2012-05-08 Joseph Myers <joseph@codesourcery.com>
42800
42801 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42802 (ulimit): Likewise.
42803
42804 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42805 (settimeofday): Likewise.
42806
42807 2012-05-08 Mike Frysinger <vapier@gentoo.org>
42808
42809 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42810 a struct th_u2 inside the union, and move tu_block/tu_code into
42811 a new th_u3 union of tu_block/tu_code inside of that. Move
42812 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42813 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42814 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42815 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42816 (th_stuff): Change to th_u1.tu_stuff.
42817 (th_data): Define.
42818 (th_msg): Change to th_u1.th_u2.tu_data.
42819
42820 2012-05-07 David S. Miller <davem@davemloft.net>
42821
42822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42823
42824 [BZ #14074]
42825 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42826 (SETUP_PIC_REG): Use it.
42827 (SETUP_PIC_REG_LEAF): Use it.
42828
42829 2012-05-07 Joseph Myers <joseph@codesourcery.com>
42830
42831 [BZ #13885]
42832 [BZ #13923]
42833 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42834 USE_AS_EXPM1L.
42835 (EXPL_FINITE): Likewise.
42836 (FLDLOG): Likewise.
42837 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42838 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42839 e_expl.S.
42840 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42841 USE_AS_EXPM1L.
42842 (EXPL_FINITE): Likewise.
42843 (FLDLOG): Likewise.
42844 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42845 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42846 e_expl.S.
42847 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42848 test of -max_value argument for long double.
42849 * sysdeps/i386/fpu/libm-test-ulps: Update.
42850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42851
42852 2012-05-06 David S. Miller <davem@davemloft.net>
42853
42854 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42855 quad soft-float symbols whose references which are compiler
42856 generated.
42857 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42858
42859 2012-05-06 Joseph Myers <joseph@codesourcery.com>
42860
42861 [BZ #13884]
42862 [BZ #13914]
42863 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42864 USE_AS_EXP10L.
42865 (EXPL_FINITE): Likewise.
42866 (FLDLOG): Likewise.
42867 (c0): Likewise.
42868 (c1): Likewise.
42869 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42870 Adjust comments for base varying.
42871 (__expl_finite): Change alias to EXPL_FINITE.
42872 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42873 e_expl.S.
42874 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42875 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42876 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42877 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42878 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42879 USE_AS_EXP10L.
42880 (EXPL_FINITE): Likewise.
42881 (FLDLOG): Likewise.
42882 (c0): Likewise.
42883 (c1): Likewise.
42884 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42885 Adjust comments for base varying.
42886 (__expl_finite): Change alias to EXPL_FINITE.
42887 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42888 tests for bugs.
42889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42890
42891 [BZ #14064]
42892 * math/libm-test.inc (check_float_internal): Correct ulp
42893 calculation for subnormal expected results.
42894
42895 2012-05-06 Andreas Jaeger <aj@suse.de>
42896
42897 * Makeconfig (+math-flags): New, set to -frounding-math.
42898 (+cflags): Add +math-flags so that all of glibc gets compiled with
42899 it.
42900
42901 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42902
42903 2012-05-05 Joseph Myers <joseph@codesourcery.com>
42904
42905 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42906 Disable one test.
42907
42908 [BZ #13787]
42909 [BZ #13922]
42910 [BZ #14036]
42911 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42912 (__ieee754_expl): Allow for and saturate large arguments.
42913 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42914 (u_threshold): Likewise.
42915 (__exp): Call __ieee754_exp before checking for overflow and
42916 underflow.
42917 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42918 (u_threshold): Likewise.
42919 (__expf): Call __ieee754_expf before checking for overflow and
42920 underflow.
42921 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42922 (u_threshold): Likewise.
42923 (__expl): Call __ieee754_expl before checking for overflow and
42924 underflow.
42925 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42926 (__ieee754_expl): Allow for and saturate large arguments.
42927 * math/libm-test.inc (exp_test): Add another test. Do not allow
42928 missing overflow exception on overflow.
42929 (expm1_test): Do not allow missing overflow exception on overflow.
42930
42931 * sysdeps/i386/fpu/e_expl.c: Move to ...
42932 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42933 rather than using inline asm.
42934 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42935 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42936 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42937
42938 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42939 (nice): Likewise.
42940 (poll): Likewise.
42941 (signal): Likewise.
42942 (time): Likewise.
42943 (times): Likewise.
42944
42945 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42946
42947 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42948 sysdeps/unix/common/syscalls.list.
42949 (fchmod): Likewise.
42950 (fchown): Likewise.
42951 (ftruncate): Likewise.
42952 (getrusage): Likewise.
42953 (gettimeofday): Likewise.
42954 (setpgid): Likewise.
42955 (setregid): Likewise.
42956 (setreuid): Likewise.
42957 (sigaction): Likewise.
42958 (truncate): Likewise.
42959 (vhangup): Likewise.
42960 * sysdeps/unix/common/syscalls.list: Remove file.
42961 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42962 * sysdeps/unix/sysv/linux/Implies: Likewise.
42963
42964 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42965
42966 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42968 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42969 Moved to ...
42970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42971 Here.
42972 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42973 to ...
42974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42975 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42976 to ...
42977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42978 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42979 to ...
42980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42981 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42982 to ...
42983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42984 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42985 to ...
42986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42987 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42988 to ...
42989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42990 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42991 to ...
42992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42993 Here.
42994 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42995 to ...
42996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42997 Here.
42998 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42999 to ...
43000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43001 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43002 Moved to ...
43003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43004 Here.
43005 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43006 to ...
43007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43008
43009 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43010
43011 * sysdeps/unix/common/bits/dirent.h: Remove file.
43012 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43013
43014 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43015 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43016 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43017 * sysdeps/unix/bsd/isatty.c: Likewise.
43018 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43019 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43020 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43021
43022 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43023
43024 [BZ #13563]
43025 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43026 long double comparison inaccuracies.
43027 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43029
43030 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43031
43032 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43034
43035 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43036
43037 [BZ #14049]
43038 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43039 nonzero digits before rounding a hex value.
43040 * stdlib/tst-strtod.c (tests): Add another test.
43041
43042 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43043
43044 * sysdeps/s390/fpu/libm-test-ulps: Update.
43045
43046 2012-05-03 Andreas Jaeger <aj@suse.de>
43047
43048 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43049 does not get optimized out.
43050 (malloc_opt_barrier): New.
43051
43052 2012-05-03 Andreas Jaeger <aj@suse.de>
43053 Roland McGrath <roland@hack.frob.com>
43054
43055 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43056 intermediate file deletion.
43057 (generated): Add .symlist files.
43058
43059 2012-05-03 Joseph Myers <joseph@codesourcery.com>
43060
43061 [BZ #13775]
43062 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43063 Redirect under this condition.
43064 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43065 [__USE_GNU] (__dprintf_chk): Not under this condition.
43066 [__USE_GNU] (__vdprintf_chk): Likewise.
43067 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43068 under this condition.
43069 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43070 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43071 [__USE_XOPEN2K8] (vdprintf): Likewise.
43072 [__USE_GNU] (__dprintf_chk): Not under this condition.
43073 [__USE_GNU] (__vdprintf_chk): Likewise.
43074 [__USE_GNU] (dprintf): Likewise.
43075 [__USE_GNU] (vdprintf): Likewise.
43076
43077 2012-05-03 Roland McGrath <roland@hack.frob.com>
43078
43079 * elf/Makefile (common-generated): Set this instead of generated for
43080 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43081 $(all-built-dso)-derived lists.
43082
43083 2012-05-03 Andreas Jaeger <aj@suse.de>
43084
43085 * sysdeps/i386/fpu/libm-test-ulps: Update.
43086
43087 * FAQ: Removed.
43088 * FAQ.in: Likewise.
43089 * scripts/gen-FAQ.pl: Likewise.
43090 * manual/install.texi (Installation): Point to online location of
43091 FAQ.
43092 * Makefile (files-for-dist): Remove FAQ.
43093 (FAQ): Remove.
43094
43095 2012-05-02 Allan McRae <allan@archlinux.org>
43096
43097 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43098 (LDFLAGS-reldepmod5.so): Likewise.
43099 (LDFLAGS-reldep6mod1.so): Likewise.
43100 (LDFLAGS-reldep6mod4.so): Likewise.
43101 (LDFLAGS-reldep8mod3.so): Likewise.
43102 (LDFLAGS-unload4mod1.so): Likewise.
43103 (LDFLAGS-unload4mod2.so): Likewise.
43104 (LDFLAGS-tst-initorder): Likewise.
43105 (LDFLAGS-tst-initordera2.so): Likewise.
43106 (LDFLAGS-tst-initordera3.so): Likewise.
43107 (LDFLAGS-tst-initordera4.so): Likewise.
43108 (LDFLAGS-tst-initorderb2.so): Likewise.
43109 (LDFLAGS-noload): Likewise.
43110 (LDFLAGS-next): Likewise.
43111 (LDFLAGS-order2mod1.so): Likewise.
43112 (LDFLAGS-order2mod2.so): Likewise.
43113 (LDFLAGS-tst-initorder2): Likewise.
43114 (LDFLAGS-tst-initorder2a.so): Likewise.
43115 (LDFLAGS-tst-initorder2b.so): Likewise.
43116 (LDFLAGS-tst-initorder2c.so): Likewise.
43117 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43118
43119 2012-05-02 David S. Miller <davem@davemloft.net>
43120
43121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43122
43123 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43124
43125 [BZ #14055]
43126 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43127
43128 2012-05-02 Andreas Jaeger <aj@suse.de>
43129
43130 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43131 since we manipulate rounding mode.
43132 (CPPFLAGS-test-idouble.c): Likewise.
43133 (CPPFLAGS-test-ifloat.c): Likewise.
43134 (CFLAGS-test-ldouble.c): Likewise.
43135 (CFLAGS-test-double.c): Likewise.
43136 (CFLAGS-test-float.c): Likewise.
43137 (CFLAGS-test-misc.c): Likewise.
43138 (CFLAGS-test-test-fenv.c): Likewise.
43139
43140 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43141
43142 [BZ #2550]
43143 [BZ #2570]
43144 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43145 comparisons to determine direction to adjust input.
43146
43147 2012-05-01 Roland McGrath <roland@hack.frob.com>
43148
43149 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43150 output to the target.
43151
43152 * scripts/localplt.awk: New file.
43153 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43154 (check-localplt-CFLAGS): Variable removed.
43155 ($(all-built-dso:=.jmprel)): New static pattern rule.
43156 (generated): Add those targets.
43157 (localplt-built-dso): New variable.
43158 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43159
43160 * elf/check-localplt.c: File removed.
43161
43162 * scripts/check-execstack.awk: New file.
43163 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43164 (check-execstack-CFLAGS): Variable removed.
43165 ($(objpfx)check-execstack.h): Target removed.
43166 ($(objpfx)execstack-default): New target.
43167 (generated): Add that instead of check-execstack.h.
43168 ($(all-built-dso:=.phdr)): New static pattern rule.
43169 (generated): Add those targets.
43170 * elf/check-execstack.c: File removed.
43171
43172 * scripts/check-textrel.awk: New file.
43173 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43174 (check-textrel-CFLAGS): Variable removed.
43175 (all-built-dso): Use := to define.o
43176 ($(all-built-dso:=.dyn)): New static pattern rule.
43177 (generated): Add those targets.
43178 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43179 * config.make.in (READELF): New substituted variable.
43180 * elf/check-textrel.c: File removed.
43181
43182 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43183
43184 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43185 allow.
43186 * conform/data/ctype.h-data [C99-based standards] (isblank):
43187 Expect function.
43188 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43189 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43190 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43191 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43192 Specify type. Require positive value.
43193 (EILSEQ): Likewise.
43194 (ERANGE): Likewise.
43195 [ISO || POSIX] (EILSEQ): Do not expect.
43196 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43197 Specify type. Require positive value.
43198 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43199 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43200 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43201 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43202 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43203 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43204 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43205 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43206 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43207 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43208 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43209 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43210 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43211 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43212 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43213 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43214 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43215 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43216 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43217 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43218 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43219 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43220 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43221 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43222 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43223 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43224 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43225 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43226 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43227 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43228 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43229 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43230 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43231 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43232 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43233 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43234 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43235 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43236 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43237 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43238 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43239 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43240 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43241 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43242 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43243 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43244 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43245 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43246 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43247 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43248 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43249 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43250 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43251 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43252 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43253 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43254 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43255 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43256 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43257 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43258 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43259 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43260 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43261 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43262 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43263 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43264 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43265 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43266 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43267 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43268 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43269 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43270 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43271 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43272 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43273 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43274 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43275 Require >= 2.
43276 (FLT_ROUNDS): Expect as macro, not constant.
43277 (FLT_MANT_DIG): Use macro-int-constant.
43278 (DBL_MANT_DIG): Likewise.
43279 (LDBL_MANT_DIG): Likewise.
43280 (FLT_DIG): Likewise.
43281 (DBL_DIG): Likewise.
43282 (LDBL_DIG): Likewise.
43283 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43284 (DBL_MIN_EXP): Likewise.
43285 (LDBL_MIN_EXP): Likewise.
43286 (FLT_MAX_EXP): Use macro-int-constant.
43287 (DBL_MAX_EXP): Likewise.
43288 (LDBL_MAX_EXP): Likewise.
43289 (FLT_MAX_10_EXP): Likewise.
43290 (DBL_MAX_10_EXP): Likewise.
43291 (LDBL_MAX_10_EXP): Likewise.
43292 (FLT_MAX): Use macro-constant.
43293 (DBL_MAX): Likewise.
43294 (LDBL_MAX): Likewise.
43295 (FLT_EPSILON): Use macro-constant. Give upper bound.
43296 (DBL_EPSILON): Likewise.
43297 (LDBL_EPSILON): Likewise.
43298 (FLT_MIN): Likewise.
43299 (DBL_MIN): Likewise.
43300 (LDBL_MIN): Likewise.
43301 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43302 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43303 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43304 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43305 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43306 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43307 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43308 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43309 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43310 [ISO11] (FLT_TRUE_MIN): Likewise.
43311 [ISO11] (LDBL_TRUE_MIN): Likewise.
43312 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43313 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43314 (SCHAR_MIN): Use macro-int-constant. Specify type.
43315 (SCHAR_MAX): Likewise.
43316 (UCHAR_MAX): Likewise.
43317 (CHAR_MIN): Likewise.
43318 (CHAR_MAX): Likewise.
43319 (MB_LEN_MAX): Use macro-int-constant.
43320 (SHRT_MIN): Use macro-int-constant. Specify type.
43321 (SHRT_MAX): Likewise.
43322 (USHRT_MAX): Likewise.
43323 (INT_MAX): Likewise.
43324 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43325 bound negative.
43326 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43327 bound with "U".
43328 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43329 bound with "L".
43330 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43331 bound negative. Suffix upper bound with "L".
43332 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43333 bound with "UL".
43334 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43335 Specify type.
43336 [C99-based standards] (LLONG_MAX): Likewise.
43337 [C99-based standards] (ULLONG_MAX): Likewise.
43338 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43339 == 0.
43340 [ISO11] (max_align_t): Require type.
43341 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43342
43343 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43344 from $CFLAGS, without defining away __attribute__ calls.
43345 (checknamespace): Use $CFLAGS_namespace.
43346
43347 * conform/conformtest.pl (@keywords): Only include C99 keywords
43348 for standards based on C99 or C11.
43349
43350 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43351 Disable tests.
43352 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43353 UNIX98]: Likewise.
43354
43355 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43356 usability of symbols in #if.
43357
43358 * conform/conformtest.pl: If macro or constant types start
43359 "promoted:", expect the symbol to be of the following type
43360 promoted by the integer promotions.
43361
43362 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43363 in one place. Also handle "macro-constant".
43364
43365 * conform/conformtest.pl: Only accept expected macro values with
43366 "==". Parse all "macro" lines in one place.
43367 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43368
43369 * conform/conformtest.pl: Handle braced types on "constant" lines
43370 instead of handling "typed-constant".
43371 * conform/data/signal.h-data: Use "constant" instead of
43372 "typed-constant".
43373
43374 * conform/conformtest.pl: Handle "optional-" at start of lines in
43375 one place rather than duplicating several cases. Handle each
43376 format of "macro" line with initial "optional-".
43377
43378 * conform/conformtest.pl: Only accept expected constant or
43379 optional-constant values with "==". Parse all "constant" lines in
43380 one place. Parse all "optional-constant" lines in one place.
43381 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43382 * conform/data/fmtmsg.h-data: Likewise.
43383 * conform/data/netinet/in.h-data: Likewise.
43384 * conform/data/tar.h-data: Likewise.
43385 * conform/data/limits.h-data: Use "==" form on "constant" and
43386 "optional-constant" lines.
43387
43388 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43389 Use -std=c99 for XOPEN2K.
43390 (@knownproblems): Remove.
43391 (newtoken): Don't check %isknown.
43392
43393 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43394 Do not expect macro.
43395 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43396 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43397 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43398 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43399 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43400 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43401 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43402 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43403 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43404 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43405 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43406 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43407 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43408 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43409 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43410 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43411 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43412 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43413 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43414 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43415 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43416 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43417 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43418 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43419 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43420 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43421 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43422 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43423 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43424 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43425 [XPG3] (acosh): Likewise.
43426 [XPG3] (asinh): Likewise.
43427 [XPG3] (atanh): Likewise.
43428 [XPG3] (cbrt): Likewise.
43429 [XPG3] (expm1): Likewise.
43430 [XPG3] (ilogb): Likewise.
43431 [XPG3] (log1p): Likewise.
43432 [XPG3] (logb): Likewise.
43433 [XPG3] (nextafter): Likewise.
43434 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43435 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43436 [XPG3] (remainder): Likewise.
43437 [XPG3] (rint): Likewise.
43438 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43439 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43440 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43441 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43442 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43443 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43444 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43445 [UNIX98 || XOPEN2K] (scalb): Expect.
43446 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43447 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43448 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43449 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43450 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43451 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43452 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43453 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43454 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43455 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43456 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43457 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43458 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43459 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43460 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43461 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43462 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43463 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43464 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43465 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43466 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43467 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43468 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43469 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43470 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43471 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43472 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43473 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43474 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43475 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43476 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43477 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43478 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43479 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43480 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43481 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43482 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43483 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43484 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43485 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43486 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43487 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43488 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43489 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43490 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43491 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43492 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43493 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43494 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43495 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43496 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43497 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43498 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43499 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43500 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43501 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43502 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43503 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43504 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43505 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43506 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43507 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43508 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43509 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43510 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43511 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43512 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43513 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43514 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43515 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43516 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43517 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43518 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43519 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43520 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43521 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43522 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43523 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43524 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43525 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43526 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43527 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43528 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43529 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43530 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43531 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43532 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43533 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43534 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43535 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43536 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43537 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43538 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43539 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43540 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43541 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43542 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43543 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43544 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43545 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43546 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43547 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43548 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43549 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43550 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43551 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43552 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43553 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43554 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43555 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43556 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43557 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43558 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43559 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43560 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43561 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43562 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43563 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43564 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43565 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43566 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43567 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43568 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43569 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43570 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43571 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43572 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43573 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43574 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43575 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43576 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43577 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43578 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43579 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43580 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43581 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43582 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43583
43584 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43585 _XOPEN_SOURCE_EXTENDED for XPG4.
43586
43587 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43588
43589 * Makeconfig (localtime): Remove variable.
43590 (inst_localtime-file): Likewise.
43591
43592 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43593
43594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43595 Update.
43596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43597 Update.
43598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43599 Update.
43600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43601 Update.
43602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43603 Update.
43604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43605 Update.
43606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43607 Update.
43608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43609 Update.
43610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43611 Update.
43612
43613 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43614
43615 [BZ #2550]
43616 [BZ #2570]
43617 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43618 comparisons to determine direction to adjust input.
43619 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43620 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43621 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43622 Likewise.
43623 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43624 Likewise.
43625 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43626 Likewise.
43627 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43628 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43629 Likewise.
43630 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43631 Likewise.
43632 * math/libm-test.inc (nexttoward_test): Add more tests.
43633
43634 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43635
43636 [BZ #14040]
43637 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43638 in version GLIBC_2.1, not GLIBC_2.0.
43639 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43640 Likewise.
43641
43642 2012-04-30 Joseph Myers <joseph@codesourcery.com>
43643
43644 [BZ #13942]
43645 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43646 (1 - x) * (1 + x).
43647 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43648 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43649 * math/libm-test.inc (acos_test): Add more tests.
43650 (asin_test): Likewise.
43651 * sysdeps/i386/fpu/libm-test-ulps: Update.
43652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43653
43654 [BZ #14034]
43655 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43656 of square root.
43657 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43658 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43659 * math/libm-test.inc (acos_test_tonearest): New function.
43660 (acos_test_towardzero): Likewise.
43661 (acos_test_downward): Likewise.
43662 (acos_test_upward): Likewise.
43663 (asin_test_tonearest): Likewise.
43664 (asin_test_towardzero): Likewise.
43665 (asin_test_downward): Likewise.
43666 (asin_test_upward): Likewise.
43667 (main): Call the new functions.
43668 * sysdeps/i386/fpu/libm-test-ulps: Update.
43669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43670
43671 [BZ #13884]
43672 [BZ #13924]
43673 * math/e_exp10.c: Include <float.h>.
43674 (__ieee754_exp10): Handle underflow here rather than multiplying
43675 large negative argument by M_LN10.
43676 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43677 of __ieee754_expf.
43678 * math/e_exp10l.c: Include <float.h>.
43679 (__ieee754_exp10l): Handle underflow here rather than multiplying
43680 large negative argument by M_LN10l.
43681 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43682 spurious overflow exception on underflow.
43683
43684 2012-04-29 Marek Polacek <polacek@redhat.com>
43685
43686 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43687 (__fortify_function): New macro.
43688 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43689 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43690 __extern_always_inline.
43691 * libio/bits/stdio2.h: Likewise.
43692 * libio/bits/stdio.h: Likewise.
43693 * string/string.h: Likewise.
43694 * string/bits/string3.h: Likewise.
43695 * include/stdio.h: Likewise.
43696 * stdlib/bits/stdlib.h: Likewise.
43697 * stdlib/stdlib.h: Likewise.
43698 * rt/bits/mqueue2.h: Likewise.
43699 * rt/mqueue.h: Likewise.
43700 * posix/bits/unistd.h: Likewise.
43701 * posix/unistd.h: Likewise.
43702 * io/bits/poll2.h: Likewise.
43703 * io/bits/fcntl2.h: Likewise.
43704 * io/fcntl.h: Likewise.
43705 * io/sys/poll.h: Likewise.
43706 * misc/bits/syslog.h: Likewise.
43707 * misc/bits/syslog-ldbl.h: Likewise.
43708 * misc/sys/syslog.h: Likewise.
43709 * socket/bits/socket2.h: Likewise.
43710 * socket/sys/socket.h: Likewise.
43711 * debug/tst-chk1.c: Likewise.
43712 * wcsmbs/bits/wchar2.h: Likewise.
43713 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43714 * wcsmbs/wchar.h: Likewise.
43715
43716 2012-04-29 Andreas Jaeger <aj@suse.de>
43717
43718 * Makerules (tests): Remove enable-check-abi protection.
43719 (check-abi-warn): Remove.
43720 (check-abi-%): Remove check-abi-warn usage.
43721
43722 * configure.in: Remove check-abi configure option.
43723 * configure: Regenerated.
43724 * config.make.in (enable-check-abi): Remove.
43725
43726 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43727
43728 [BZ #14033]
43729 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43730 double functions to double *_finite functions.
43731
43732 [BZ #13941]
43733 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43734 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43735 LDBL_MIN_EXP.
43736 * stdio-common/Makefile (tests): Add tst-sprintf3.
43737 * stdio-common/tst-sprintf3.c: New file.
43738
43739 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43740 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43741
43742 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43743
43744 * conform/conformtest.pl: Remove duplicate typed-constant
43745 handling.
43746
43747 2012-04-28 David S. Miller <davem@davemloft.net>
43748
43749 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43750 (check-abi-%): Remove AWK script prerequisite and explicit
43751 abilist directory.
43752 (check-abi): Rewrite to just diff the symlist with the abilist.
43753 (config-tls, config-abi-config): Delete, no longer used.
43754 (update-abi-%): Remove AWK script and explicit abilist directory.
43755 (update-abi): Rewrite to simply compare and conditionally copy the
43756 symlist and the sysdep abilist file. Remove update-abi-config
43757 checks.
43758 * abilist/ld.abilist: Remove.
43759 * abilist/libBrokenLocale.abilist: Remove.
43760 * abilist/libanl.abilist: Remove.
43761 * abilist/libcrypt.abilist: Remove.
43762 * abilist/libdl.abilist: Remove.
43763 * abilist/librt.abilist: Remove.
43764 * abilist/libthread_db.abilist: Remove.
43765 * abilist/libutil.abilist: Remove.
43766 * scripts/extract-abilist.awk: Remove.
43767 * scripts/merge-abilist.awk: Remove.
43768 * sysdeps/generic/libcidn.abilist: New file.
43769 * sysdeps/generic/libnss_compat.abilist: New file.
43770 * sysdeps/generic/libnss_db.abilist: New file.
43771 * sysdeps/generic/libnss_dns.abilist: New file.
43772 * sysdeps/generic/libnss_files.abilist: New file.
43773 * sysdeps/generic/libnss_hesiod.abilist: New file.
43774 * sysdeps/generic/libnss_nis.abilist: New file.
43775 * sysdeps/generic/libnss_nisplus.abilist: New file.
43776 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43777 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43778 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43779 file.
43780 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43781 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43782 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43783 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43784 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43785 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43786 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43787 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43788 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43789 file.
43790 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43791 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43792 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43793 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43794 file.
43795 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43796 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43797 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43798 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43799 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43800 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43801 file.
43802 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43803 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43804 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43805 file.
43806 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43808 New file.
43809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43810 New file.
43811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43812 New file.
43813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43814 New file.
43815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43816 New file.
43817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43818 New file.
43819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43820 New file.
43821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43822 New file.
43823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43824 New file.
43825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43826 New file.
43827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43828 New file.
43829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43830 New file.
43831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43832 New file.
43833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43834 file.
43835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43836 New file.
43837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43838 New file.
43839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43840 file.
43841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43842 New file.
43843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43844 New file.
43845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43846 file.
43847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43848 New file.
43849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43850 New file.
43851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43852 New file.
43853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43854 New file.
43855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43856 New file.
43857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43858 New file.
43859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43861 file.
43862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43863 New file.
43864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43865 file.
43866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43867 file.
43868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43869 file.
43870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43871 file.
43872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43873 file.
43874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43875 New file.
43876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43877 file.
43878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43879 file.
43880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43881 New file.
43882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43883 file.
43884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43886 file.
43887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43888 New file.
43889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43890 file.
43891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43892 file.
43893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43894 file.
43895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43896 file.
43897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43898 file.
43899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43900 New file.
43901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43902 file.
43903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43904 file.
43905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43906 New file.
43907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43908 file.
43909 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43910 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43911 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43912 file.
43913 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43914 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43915 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43916 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43917 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43918 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43919 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43920 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43921 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43922 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43925 file.
43926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43927 New file.
43928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43929 file.
43930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43931 file.
43932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43933 file.
43934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43935 file.
43936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43937 file.
43938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43939 New file.
43940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43941 New file.
43942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43943 file.
43944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43945 New file.
43946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43947 file.
43948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43950 file.
43951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43952 New file.
43953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43954 file.
43955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43956 file.
43957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43958 file.
43959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43960 file.
43961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43962 file.
43963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43964 New file.
43965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43966 New file.
43967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43968 file.
43969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43970 New file.
43971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43972 file.
43973
43974 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43975
43976 * conform/conformtest.pl: Fix typo in handling typed-constant from
43977 allow-header.
43978
43979 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43980
43981 * README: Cut down references to pre-2.6 Linux kernels and
43982 Linuxthreads. Update lists of configurations in libc and ports
43983 and sort alphabetically. Say "or newer" with Linux kernel version
43984 requirements.
43985
43986 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43987
43988 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43989
43990 [BZ #887]
43991 * math/libm-test.inc (logb_test_downward): New test to expose
43992 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43993 rounding mode.
43994
43995 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43996
43997 [BZ #14027]
43998 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43999 to be done.
44000 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44001 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44002
44003 2012-04-26 Joseph Myers <joseph@codesourcery.com>
44004
44005 * sysdeps/unix/i386/brk.S: Remove file.
44006 * sysdeps/unix/i386/dl-brk.S: Likewise.
44007 * sysdeps/unix/i386/pipe.S: Likewise.
44008 * sysdeps/unix/i386/sigreturn.S: Likewise.
44009 * sysdeps/unix/i386/syscall.S: Likewise.
44010 * sysdeps/unix/i386/vfork.S: Likewise.
44011 * sysdeps/unix/i386/wait.S: Likewise.
44012
44013 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44014 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44015
44016 * configure.in (arm*-none*): Do not allow without
44017 --enable-hacker-mode.
44018 (netbsd*): Remove case setting base_os.
44019 (386bsd*): Likewise.
44020 (freebsd*): Likewise.
44021 (bsdi*): Likewise.
44022 (osf*): Likewise.
44023 (sunos*): Likewise.
44024 (ultrix*): Likewise.
44025 (newsos*): Likewise.
44026 (dynix*): Likewise.
44027 (*bsd*): Likewise.
44028 (sysv*): Likewise.
44029 (isc*): Likewise.
44030 (esix*): Likewise.
44031 (sco*): Likewise.
44032 (minix*): Likewise.
44033 (irix4*): Likewise.
44034 (irix6*): Likewise.
44035 (solaris[2-9]*): Likewise.
44036 (none): Likewise.
44037 * configure: Regenerated.
44038
44039 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44040
44041 [BZ #11521]
44042 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44043 overflow or cancellation in calculating denominator.
44044 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44045 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44046 down expression to avoid unexpected rounding in newer GCCs.
44047 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44048
44049 2012-04-26 David S. Miller <davem@davemloft.net>
44050
44051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44052 long-double compat symbols.
44053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44066
44067 2012-04-25 David S. Miller <davem@davemloft.net>
44068
44069 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44070 HWCAP_* values only after the memory barriers have been defined.
44071 (atomic_full_barrier): Define.
44072 (atomic_read_barrier): Define.
44073 (atomic_write_barrier): Define.
44074
44075 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44076
44077 * shlib-versions: Add libgcc_s version information.
44078 * sysdeps/generic/libgcc_s.h: Remove.
44079 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44080 libgcc_s.h.
44081 * sysdeps/gnu/unwind-resume.c: Likewise.
44082 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44083
44084 2012-04-25 David S. Miller <davem@davemloft.net>
44085
44086 * sysdeps/unix/sparc/brk.S: Delete.
44087 * sysdeps/unix/sparc/dl-brk.S: Delete.
44088 * sysdeps/unix/sparc/pipe.S: Delete.
44089 * sysdeps/unix/sparc/sysdep.S: Delete.
44090 * sysdeps/unix/sparc/sysdep.h: Delete.
44091 * sysdeps/unix/sparc/vfork.S: Delete.
44092 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44093 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44094 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44095 (ret_ERRVAL, r0, r1, MOVE): Define.
44096 (JUMPTARGET): Remove.
44097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44098 sysdeps/unix/sparc/sysdep.h
44099 (ENTRY, END): Remove.
44100 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44101
44102 2012-04-25 Joseph Myers <joseph@codesourcery.com>
44103
44104 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44105 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44106 -DIS_IN_build.
44107
44108 * timezone/README: Update upstream location and email address for
44109 tzcode and tzdata.
44110 * timezone/zdump.c: Update from tzcode 2012b.
44111 * timezone/zic.c: Likewise.
44112
44113 * configure.in (libc_cv_as_needed): Remove test.
44114 * configure: Regenerated.
44115 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44116 conditional definition.
44117 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44118 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44119 * config.make.in (have-as-needed): Remove variable.
44120
44121 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44122 Paul Pluzhnikov <ppluzhnikov@google.com>
44123
44124 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44125 strings correctly.
44126
44127 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44128
44129 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44130 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44131 * sysdeps/sh/strlen.S: Likewise.
44132
44133 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44134
44135 * sysdeps/unix/fork.S: Remove file.
44136 * sysdeps/unix/i386/fork.S: Likewise.
44137 * sysdeps/unix/sparc/fork.S: Likewise.
44138
44139 * sysdeps/unix/system.c: Remove file.
44140 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44141
44142 * sysdeps/unix/getegid.S: Remove file.
44143 * sysdeps/unix/geteuid.S: Likewise.
44144
44145 2012-04-24 Roland McGrath <roland@hack.frob.com>
44146
44147 * scripts/check-localplt.awk: New file.
44148 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44149 of diff.
44150 * scripts/data/localplt-generic.data: Add a comment.
44151
44152 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44153 NODE when __dir_mkfile failed.
44154 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44155 Reported by Ludovic Courtès <ludo@gnu.org>.
44156
44157 2012-04-24 Andreas Jaeger <aj@suse.de>
44158
44159 * Makerules (common-clean): Also remove gen-as-const-headers
44160 files.
44161
44162 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44163
44164 * Makerules (native-compile): Do not change working directory for
44165 build. Use $(OUTPUT_OPTION) in command.
44166 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44167
44168 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44169
44170 [BZ #13886]
44171 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44172 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44173 * math/libm-test.inc (floor_test): Add more tests.
44174 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44175
44176 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44177
44178 * sysdeps/unix/getdents.c: Remove file.
44179 * sysdeps/unix/sysv/getdents.c: Likewise.
44180 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44181
44182 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44183 sysdeps/unix/mman/syscalls.list.
44184 (mmap): Likewise.
44185 (mprotect): Likewise.
44186 (msync): Likewise.
44187 (munmap): Likewise.
44188 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44189 * sysdeps/unix/mman/syscalls.list: Remove.
44190 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44191
44192 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44193 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44194 * configure: Regenerated.
44195 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44196 $(libgcc_s_suffix).
44197 * config.make.in (libgcc_s_suffix): Remove variable.
44198
44199 2012-04-23 Joseph Myers <joseph@codesourcery.com>
44200
44201 * sysdeps/unix/sysv/gethostname.c: Move to ...
44202 * sysdeps/posix/gethostname.c: ... here.
44203
44204 * sysdeps/unix/execve.S: Remove file.
44205
44206 * sysdeps/unix/_exit.S: Remove file.
44207
44208 2012-04-23 Andreas Jaeger <aj@suse.de>
44209
44210 [BZ #13739]
44211 * manual/Makefile: Remove make dist support, there's no
44212 need for a stand-alone documentation tar ball.
44213 (TEXI2DVI): Define always, it's not in Makeconfig.
44214 (dist): Removed.
44215 (tar-it): Removed.
44216 (edition): Removed.
44217 (glibc-doc-$(edition).tar): Removed
44218 (%.Z): Removed.
44219 (%.gz): Removed.
44220 (%.uu): Removed.
44221 (ETAGS): Remove, it's in Makeconfig.
44222 (move-if-change): Remove, it's in Makeconfig.
44223
44224 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
44225
44226 [BZ #13970]
44227 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44228 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44229 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44230 (strtod_l, strtof_l, strtold_l): Remove __wur.
44231 It is not necessarily an error to ignore strtol's return value.
44232 One can reliably look at the stored endptr to decide whether
44233 the number had valid syntax.
44234
44235 2012-04-21 Andreas Jaeger <aj@suse.de>
44236
44237 [BZ #13739]
44238 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44239
44240 2012-04-21 Joseph Myers <joseph@codesourcery.com>
44241
44242 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44243 * sysdeps/unix/sysv/Versions: Remove file.
44244
44245 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44246
44247 [BZ #13927]
44248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44249
44250 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
44251
44252 [BZ #7064]
44253 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44254 version from __vm86.
44255
44256 2012-04-20 Joseph Myers <joseph@codesourcery.com>
44257
44258 * sysdeps/unix/common/lxstat.c: Remove file.
44259 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44260
44261 * sysdeps/unix/sysv/Makefile: Remove file.
44262
44263 * sysdeps/unix/sysv/direct.h: Remove file.
44264
44265 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44266 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44267 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44268 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44269 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44270 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44271 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44272
44273 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44274
44275 * sysdeps/unix/xmknod.c: Remove file.
44276 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44277
44278 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44279
44280 * sysdeps/unix/sysv/i386/time.S: Remove file.
44281
44282 * sysdeps/unix/fxstat.c: Remove file.
44283 * sysdeps/unix/xstat.c: Likewise.
44284 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44285
44286 * sysdeps/unix/sysv/sigaction.c: Remove file.
44287
44288 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44289 (sysdep_headers): Remove variable.
44290 [termio.h not in sysdep_headers] (generated): Likewise.
44291 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44292 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44293 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44294 * sysdeps/unix/sysv/tcflow.c: Likewise.
44295 * sysdeps/unix/sysv/tcflush.c: Likewise.
44296 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44297 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44298 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44299 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44300 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44301
44302 * sysdeps/unix/siglist.c: Remove file.
44303
44304 * sysdeps/unix/getppid.S: Remove file.
44305
44306 * sysdeps/unix/mkdir.c: Remove file.
44307 * sysdeps/unix/rmdir.c: Likewise.
44308
44309 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44310
44311 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44312 ERR_MAX value.
44313 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44314 errlist-compat value.
44315
44316 2012-04-18 David S. Miller <davem@davemloft.net>
44317
44318 * sysdeps/generic/memcopy.h (reg_char): Delete.
44319 * debug/strcat_chk.c: Use char, not reg_char.
44320 * debug/strcpy_chk.c: Likewise.
44321 * debug/strncat_chk.c: Likewise.
44322 * debug/strncpy_chk.c: Likewise.
44323 * string/memchr.c: Likewise.
44324 * string/memrchr.c: Likewise.
44325 * string/rawmemchr.c: Likewise.
44326 * string/strcat.c: Likewise.
44327 * string/strchr.c: Likewise.
44328 * string/strchrnul.c: Likewise.
44329 * string/strcmp.c: Likewise.
44330 * string/strcpy.c: Likewise.
44331 * string/strncat.c: Likewise.
44332 * string/strncmp.c: Likewise.
44333 * string/strncpy.c: Likewise.
44334
44335 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44336
44337 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44338 __builtin_memcopy is called when src and dest ranges are known to not
44339 overlap.
44340
44341 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44342
44343 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44344 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44345 fwd_align_merge macro call.
44346 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44347 bwd_align_merge macro call.
44348 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44349
44350 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44351
44352 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44353 bwd_align_merge macros.
44354 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44355 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44356 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44357
44358 2012-04-18 David S. Miller <davem@davemloft.net>
44359
44360 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44361
44362 2012-04-18 Andreas Jaeger <aj@suse.de>
44363
44364 [BZ# 6794]
44365 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44366 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44367 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44368
44369 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44370 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44371 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44372
44373 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44374 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44375 Adjust for changed ldbl-128 files.
44376
44377 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44378 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44379 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44380
44381 2012-04-17 David S. Miller <davem@davemloft.net>
44382
44383 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44384
44385 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44386
44387 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44388 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44389 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44390 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44391 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44392 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44393
44394 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44395
44396 [BZ #6794]
44397 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44398 * math/libm-test.inc: Add ilogb errno and exception tests.
44399 * math/w_ilogb.c: New file: ilogb wrapper.
44400 * math/w_ilogbf.c: New file: ilogbf wrapper.
44401 * math/w_ilogbl.c: New file: ilogbl wrapper.
44402 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44403 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44404 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44405 exception being thrown with 0.0 as argument.
44406 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44407 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44408 exception being thrown with 0.0 as argument.
44409 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44410 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44411 exception being thrown with 0.0 as argument.
44412 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44413 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44414 exception being thrown with 0.0 as argument.
44415 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44416 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44417 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44418 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44419 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44420 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44421 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44422 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44423 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44424
44425 2012-04-17 Petr Baudis <pasky@ucw.cz>
44426
44427 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44428 with altivec.
44429
44430 2012-04-16 Marek Polacek <polacek@redhat.com>
44431
44432 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44433
44434 2012-04-16 Marek Polacek <polacek@redhat.com>
44435
44436 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44437 operands of fdivp instruction.
44438
44439 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44440
44441 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44442 * elf/tst-auditmod3b.c: Likewise.
44443 * elf/tst-auditmod4b.c: Likewise.
44444 * elf/tst-auditmod5b.c: Likewise.
44445 * elf/tst-auditmod6b.c: Likewise.
44446 * elf/tst-auditmod6c.c: Likewise.
44447 * elf/tst-auditmod7b.c: Likewise.
44448 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44449 * sysdeps/x86_64/preconfigure.in: Likewise.
44450 * sysdeps/x86_64/preconfigure: Regenerated.
44451
44452 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44453
44454 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44455 __ILP32__.
44456
44457 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
44458
44459 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44460 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44461
44462 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44463
44464 [BZ #13973]
44465 * locale/iso-639.def: Fix gl language name. Spotted by
44466 Yaron Shahrabani.
44467
44468 2012-04-12 Roland McGrath <roland@hack.frob.com>
44469
44470 [BZ #2074]
44471 * libio/libio.h (__io_write_fn): Update comment.
44472
44473 2012-04-12 Petr Baudis <pasky@ucw.cz>
44474
44475 [BZ #2074]
44476 * stdio.texi (Hook Functions): The user provided writer function
44477 is not allowed to return -1.
44478
44479 2012-04-11 David S. Miller <davem@davemloft.net>
44480
44481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44482
44483 2012-04-11 Mike Frysinger <vapier@gentoo.org>
44484
44485 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44486 Add a leading slash to rtkaio.
44487
44488 2012-04-11 Jim Meyering <meyering@redhat.com>
44489
44490 [BZ #11959]
44491 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44492 It is not necessarily an error to ignore fwrite's return
44493 value. One can reliably use ferror to test for errors after
44494 the fact.
44495
44496 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44497
44498 * bits/types.h (__snseconds_t): New type.
44499 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44500
44501 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44502 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44503 (__SNSECONDS_T_TYPE): Likewise.
44504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44505 (__SNSECONDS_T_TYPE): Likewise.
44506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44507 (__SNSECONDS_T_TYPE): Likewise.
44508
44509 2012-04-10 Andreas Jaeger <aj@suse.de>
44510
44511 [BZ #2636]
44512 * manual/time.texi (Processor Time): Return type of times is
44513 elapsed real time since an arbitrary point in the past.
44514 (CPU Time): Move CLK_TCK from here...
44515 (Processor Time): ...to here. Correct description.
44516 * manual/conf.texi (Constants for Sysconf): Correct description of
44517 _SC_CLK_TCK.
44518
44519 2012-04-10 David S. Miller <davem@davemloft.net>
44520
44521 [BZ #13967]
44522 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44523 where the is a gap between DT_REL(A) and DT_JMPREL.
44524
44525 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44526
44527 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44528 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44529 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44530
44531 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44532
44533 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44534 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44535 (dl_main): Handle --inhibit-cache.
44536 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44537 _dl_inhibit_cache.
44538 * elf/dl-load.c (_dl_map_object): Use it.
44539 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44540
44541 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44542
44543 [BZ #13872]
44544 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44545 (__ieee754_powl): Saturate large exponents rather than testing for
44546 overflow of y*log2(x).
44547 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44548 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44549 exceptions.
44550
44551 [BZ #11521]
44552 * math/s_ctan.c: Include <float.h>.
44553 (__ctan): Avoid internal overflow or cancellation in calculating
44554 denominator.
44555 * math/s_ctanf.c: Likewise.
44556 * math/s_ctanl.c: Likewise.
44557 * math/s_ctanh.c: Likewise.
44558 * math/s_ctanhf.c: Likewise.
44559 * math/s_ctanhl.c: Likewise.
44560 * math/libm-test.inc (ctan_test): Add more tests.
44561 (ctanh_test): Likewise.
44562 * sysdeps/i386/fpu/libm-test-ulps: Update.
44563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44564
44565 2012-04-09 Andreas Jaeger <aj@suse.de>
44566
44567 [BZ #6894]
44568 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44569 is an optional BSD extension.
44570
44571 [BZ #10254]
44572 * manual/stdio.texi (Opening Streams): Document additional fopen
44573 parameters.
44574
44575 2012-04-09 Roland McGrath <roland@hack.frob.com>
44576
44577 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44578 %eax without telling the compiler.
44579
44580 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44581
44582 [BZ # 13963]
44583 * manual/install.texi: Use sourceware.org.
44584
44585 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44586
44587 [BZ #13873]
44588 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44589 (__ieee754_pow): Generate overflow and underflow using huge*huge
44590 and tiny*tiny rather than just returning constant infinity or zero
44591 for large exponents.
44592 * math/libm-test.inc (pow_test): Require overflow exceptions for
44593 applicable cases of large exponents.
44594
44595 [BZ #706]
44596 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44597 (__ieee754_pow): Use iterative multiplication algorithm only for
44598 integer exponents with absolute value below 1024. Check for odd
44599 integer exponents when using algorithm for real exponents.
44600 * math/libm-test.inc (pow_test): Add more tests.
44601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44602
44603 2012-04-08 Joseph Myers <joseph@codesourcery.com>
44604
44605 [BZ #13705]
44606 * math/libm-test.inc (exp_test): Do not allow overflow exception
44607 on underflow test.
44608
44609 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44610
44611 [BZ #13705]
44612 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44613 instead of __kernel_standard_f.
44614
44615 2012-04-08 Mike Frysinger <vapier@gentoo.org>
44616
44617 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44618 * sysdeps/x86_64/memset_chk.S: Likewise.
44619
44620 2012-04-08 Andreas Jaeger <aj@suse.de>
44621
44622 [BZ #10153]
44623 * manual/startup.texi (Environment Access): Describe return value
44624 for putenv and setenv.
44625
44626 [BZ #6895]
44627 * manual/filesys.texi (Directory Entries): Add description for
44628 DT_LNK.
44629
44630 [BZ #6890]
44631 * manual/filesys.texi (Directory Entries): Clarify that it's file
44632 system not operating system in the description of DT_UNKNOWN.
44633
44634 [BZ #6578]
44635 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44636
44637 2012-04-08 Stephen Compall <s11@member.fsf.org>
44638
44639 [BZ #6649]
44640 * manual/llio.texi (Opening and Closing Files): Add cross
44641 reference to explain mode argument.
44642
44643 2012-04-07 Mike Frysinger <vapier@gentoo.org>
44644
44645 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44646 * sysdeps/x86_64/memset_chk.S: Likewise.
44647
44648 2012-04-07 David S. Miller <davem@davemloft.net>
44649
44650 * elf/elf.h (R_SPARC_WDISP10): Define.
44651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44652 R_SPARC_SIZE32.
44653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44654 R_SPARC_SIZE64 and R_SPARC_H34.
44655
44656 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44657
44658 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44659 conditions and remove no longer applicable assertion.
44660
44661 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44662
44663 * bits/byteswap.h: Include <features.h>.
44664 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44665 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44666
44667 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44668
44669 * bits/byteswap.h (__bswap_16): Removed.
44670 Include <bits/byteswap-16.h> to get __bswap_16.
44671 * sysdeps/i386/bits/byteswap.h: Likewise.
44672 * sysdeps/s390/bits/byteswap.h: Likewise.
44673 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44674 * bits/byteswap-16.h: New file.
44675 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44676 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44677 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44678 * string/Makefile (headers): Add bits/byteswap-16.h.
44679
44680 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44681
44682 [BZ #13895]
44683 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44684 extra indirection.
44685 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44686 * nss/tst-nss-static.c: New.
44687
44688 2012-04-06 Robert Millan <rmh@gnu.org>
44689
44690 [BZ #6486]
44691 * manual/llio.texi (File Position Primitive): lseek
44692 refers to WHENCE when it really means OFFSET.
44693
44694 2012-04-06 Andreas Jaeger <aj@suse.de>
44695
44696 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44697 strncmp declarations.
44698
44699 * abilist/libc.abilist: Add __poll and __ppoll.
44700
44701 2012-04-05 David S. Miller <davem@davemloft.net>
44702
44703 * scripts/check-local-headers.sh: Accept a host triplet in the
44704 path matched by the exclude regexp.
44705
44706 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44707 definition.
44708 * sysdeps/powerpc/powerpc32/dl-machine.h
44709 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44710 * sysdeps/s390/s390-32/dl-machine.h
44711 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44712 * sysdeps/sparc/sparc32/dl-machine.h
44713 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44714 * sysdeps/sparc/sparc64/dl-machine.h
44715 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44716
44717 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44718 lazy binding.
44719 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44720 undefined symbol errors.
44721
44722 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44723 DT_NEEDED entries.
44724
44725 2012-04-05 Michael Matz <matz@suse.de>
44726
44727 [BZ #13592]
44728 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44729
44730 2012-04-05 Andreas Jaeger <aj@suse.de>
44731
44732 [BZ #13908]
44733 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44734 comment.
44735
44736 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44737
44738 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44739 which ROUND is no valid rounding mode.
44740
44741 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44742
44743 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44744 read again.
44745 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44746
44747 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44748
44749 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44750 an exception using FPU order intentionally.
44751
44752 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44753
44754 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44755 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44756 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44757 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44758
44759 2012-04-05 Simon Josefsson <simon@josefsson.org>
44760
44761 [BZ #12340]
44762 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44763 EINVAL when BUFLEN is too smal.
44764
44765 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44766
44767 [BZ #13553]
44768 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44769 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44770
44771 2012-04-03 Andreas Jaeger <aj@suse.de>
44772
44773 [BZ #13938]
44774 * manual/setjmp.texi (System V contexts): Fix sentence.
44775
44776 [BZ #13926]
44777 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44778 New macro for this case.
44779 [!__GNUC__] (__bswap_64): New inline function for this case.
44780 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44781 * bits/byteswap.h: Likewise.
44782 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44783 ull, guard with __GLIBC_HAVE_LONG_LONG.
44784
44785 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44786 __GLIBC_HAVE_LONG_LONG.
44787
44788 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44789 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44790
44791 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44792
44793 [BZ #13691]
44794 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44795 inptr and inend, rather than using last_ch.
44796
44797 2012-04-02 David S. Miller <davem@davemloft.net>
44798
44799 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44800 * stdio-common/printf-parse.h (read_int): Change return type to
44801 'int', return -1 on INT_MAX overflow.
44802 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44803 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44804 overflows INT_MAX. Check for overflow of in-format-string precision
44805 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44806 SIZE_MAX not INT_MAX for integer overflow test.
44807 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44808 skip the construct in the format string but do not record anything.
44809 * stdio-common/bug22.c: Adjust to test both width/prevision
44810 INT_MAX overflow as well as total length INT_MAX overflow. Check
44811 explicitly for proper errno values.
44812
44813 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44814
44815 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44816 CHAR_MAX.
44817 * string/test-strcmp.c [! WIDE]: Likewise.
44818 * time/tst-mktime2.c: Likewise for INT_MAX.
44819 * string/test-string.h: #include <sys/param.h> for MIN.
44820
44821 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44822 * sysdeps/i386/init-first.c (init): Likewise.
44823 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44824 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44825 * sysdeps/sh/init-first.c (init): Likewise.
44826
44827 2012-04-01 Ulrich Drepper <drepper@gmail.com>
44828
44829 * po/ru.po: Update from translation team.
44830 * po/vi.po: Likewise.
44831
44832 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44833
44834 * resolv/nss_dns/dns-host.c: Merge copyright years.
44835
44836 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44837
44838 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44839 Optimize memcpy with prefetch if
44840 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44841 src, dst pointers have unequal 16 byte alignments.
44842
44843 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44844
44845 [BZ #13928]
44846 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44847 from a CNAME entry and return the minimum ttl for the query.
44848 (gaih_getanswer_slice): Likewise.
44849
44850 2012-03-30 Jeff Law <law@redhat.com>
44851
44852 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44853 due to long keys.
44854 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44855 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44856
44857 * resolv/nss_dns/dns-host.c: Update copyright year.
44858
44859 2012-03-30 Ulrich Drepper <drepper@gmail.com>
44860
44861 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44862 requests to save a system call. Fix check that all bytes are sent.
44863
44864 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44865 comments for sendmmsg.
44866
44867 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44868
44869 [BZ #13691]
44870 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44871 with only 1 character between 0x0041 and 0x01b0.
44872 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44873 * wcsmbs/tst-mbsnrtowcs.c: New file.
44874
44875 2012-03-29 David S. Miller <davem@davemloft.net>
44876
44877 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44878 small copies by hand.
44879
44880 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44881
44882 [BZ #13761]
44883 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44884 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44885 group memberships.
44886
44887 2012-03-28 David S. Miller <davem@davemloft.net>
44888
44889 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44890 that branches into memcpy.
44891 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44892 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44893 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44894 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44895 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44896 bits.
44897 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44898 implementation too.
44899 * sysdeps/sparc/mempcpy.S: New file.
44900
44901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44902 the IFUNC routine in the libc case.
44903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44904
44905 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44906 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44907 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44908 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44909 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44910 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44911 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44912 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44913
44914 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44915 loop to 256 bytes instead of 64 bytes and fix test signedness.
44916
44917 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44918 * sysdeps/sparc/sparc32/Makefile: rather than here...
44919 * sysdeps/sparc/sparc64/Makefile: and here.
44920
44921 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44922
44923 * malloc/mallocbug.c: Avoid warnings about unused variables.
44924
44925 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44926
44927 [BZ #13760]
44928 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44929 in the right place. Discard and retry query if response is
44930 larger than input buffer size.
44931
44932 2012-03-28 Joseph Myers <joseph@codesourcery.com>
44933
44934 [BZ #369]
44935 [BZ #2678]
44936 [BZ #3866]
44937 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44938 x for large integer exponent.
44939 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44940 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44941 sign of result as needed afterwards.
44942 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44943 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44944 result for underflowing pow the same as for overflow.
44945 (__kernel_standard_l): Handle powl overflow and underflow here
44946 rather than calling __kernel_standard.
44947 * math/libm-test.inc (pow_test): Add more tests.
44948
44949 [BZ #3868]
44950 [BZ #13879]
44951 [BZ #13910]
44952 [BZ #13911]
44953 [BZ #13912]
44954 [BZ #13913]
44955 [BZ #13915]
44956 [BZ #13916]
44957 [BZ #13917]
44958 [BZ #13918]
44959 [BZ #13919]
44960 [BZ #13920]
44961 [BZ #13921]
44962 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44963 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44964 (__kernel_standard_l): New function.
44965 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44966 __kernel_standard.
44967 * math/w_acosl.c (__acosl): Likewise.
44968 * math/w_asinl.c (__asinl): Likewise.
44969 * math/w_atan2l.c (__atan2l): Likewise.
44970 * math/w_atanhl.c (__atanhl): Likewise.
44971 * math/w_coshl.c (__coshl): Likewise.
44972 * math/w_exp10l.c (__exp10l): Likewise.
44973 * math/w_exp2l.c (__exp2l): Likewise.
44974 * math/w_fmodl.c (__fmodl): Likewise.
44975 * math/w_hypotl.c (__hypotl): Likewise.
44976 * math/w_j0l.c (__j0l, __y0l): Likewise.
44977 * math/w_j1l.c (__j1l, __y1l): Likewise.
44978 * math/w_jnl.c (__jnl, __ynl): Likewise.
44979 * math/w_lgammal.c (__lgammal): Likewise.
44980 * math/w_log10l.c (__log10l): Likewise.
44981 * math/w_log2l.c (__log2l): Likewise.
44982 * math/w_logl.c (__logl): Likewise.
44983 * math/w_powl.c (__powl): Likewise.
44984 * math/w_remainderl.c (__remainderl): Likewise.
44985 * math/w_scalbl.c (sysv_scalbl): Likewise.
44986 * math/w_sinhl.c (__sinhl): Likewise.
44987 * math/w_sqrtl.c (__sqrtl): Likewise.
44988 * math/w_tgammal.c (__tgammal): Likewise.
44989 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44990 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44991 * math/libm-test.inc (acos_test): Add more tests.
44992 (acosh_test): Likewise.
44993 (asin_test): Likewise.
44994 (atanh_test): Likewise.
44995 (exp_test): Likewise.
44996 (exp10_test): Likewise.
44997 (exp2_test): Likewise.
44998 (expm1_test): Likewise.
44999 (lgamma_test): Likewise.
45000 (log_test): Likewise.
45001 (log10_test): Likewise.
45002 (log1p_test): Likewise.
45003 (log2_test): Likewise.
45004 (pow_test): Do not allow some spurious overflow exceptions.
45005 (sqrt_test): Add more tests.
45006 (tgamma_test): Likewise.
45007 (y0_test): Likewise.
45008 (y1_test): Likewise.
45009 (yn_test): Likewise.
45010
45011 2012-03-27 Anton Blanchard <anton@samba.org>
45012
45013 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45014 MAP_HUGETLB.
45015 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45016 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45017 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45018
45019 2012-03-27 David S. Miller <davem@davemloft.net>
45020
45021 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45022
45023 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45024 have-as-vis3 check.
45025
45026 2012-03-27 Andreas Jaeger <aj@suse.de>
45027
45028 * sysdeps/x86_64/elf/configure.in: Moved to ...
45029 * sysdeps/x86_64/configure.in: ... here.
45030 * sysdeps/x86_64/elf/start.S: Moved to ...
45031 * sysdeps/x86_64/start.S: ... here.
45032 * sysdeps/x86_64/elf/configure: Delete.
45033
45034 * sysdeps/x86_64/configure.in: Merge contents from
45035 sysdeps/i386/configure.in (without i686 check).
45036
45037 * sysdeps/i386/elf/Versions: Merge into ...
45038 * sysdeps/i386/Versions: ... this.
45039 * sysdeps/i386/elf/Versions: Delete file.
45040 * sysdeps/i386/elf/start.S: Moved to ...
45041 * sysdeps/i386/start.S: ...here.
45042 * sysdeps/i386/elf/configure.in: Merge into...
45043 * sysdeps/i386/configure.in: ...here.
45044 * sysdeps/i386/elf/configure.in: Delete file.
45045 * sysdeps/i386/elf/configure: Delete file.
45046
45047 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45048 * debug/backtracesyms.c: ... here.
45049 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45050 * debug/backtracesymsfd.c: ... here.
45051 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45052 * sysdeps/generic/ifunc-sel.h: ... here.
45053
45054 * sysdeps/unix/i386/start.c: Delete file.
45055 * sysdeps/unix/sparc/start.c: Delete file.
45056 * sysdeps/unix/start.c: Delete file.
45057
45058 * sysdeps/sh/elf/configure.in: Moved to ...
45059 * sysdeps/sh/configure.in: ... here.
45060 * sysdeps/sh/elf/start.S: Moved to ...
45061 * sysdeps/sh/start.S: ... here.
45062 * sysdeps/sh/elf/configure: Delete file.
45063
45064 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45065 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45066 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45067 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45068 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45069 * sysdeps/powerpc/powerpc64/start.S: here.
45070 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45071 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45072 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45073 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45074 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45075
45076 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45077 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45078 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45079 * sysdeps/powerpc/powerpc32/start.S: ... here.
45080 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45081 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45082 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45083
45084 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45085 * sysdeps/powerpc/ifunc-sel.h: ... here.
45086 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45087 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45088
45089 * sysdeps/sparc/elf/configure.in: Moved to ...
45090 * sysdeps/sparc/configure.in: ... here.
45091 * sysdeps/sparc/elf/configure: Delete file.
45092 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45093 * sysdeps/sparc/sparc32/start.S: ... here.
45094 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45095 * sysdeps/sparc/sparc64/start.S: ... here.
45096 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45097 * sysdeps/sparc/sparc32/Makefile: ... this.
45098 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45099 * sysdeps/sparc/sparc64/Makefile: ... this.
45100
45101 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45102 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45103 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45104 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45105 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45106 * sysdeps/s390/s390-32/setjmp.S: ... here.
45107 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45108 * sysdeps/s390/s390-32/configure.in: ... here.
45109 * sysdeps/s390/s390-32/elf/configure: Delete file.
45110 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45111 * sysdeps/s390/s390-32/start.S: ... here.
45112
45113 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45114 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45115 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45116 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45117 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45118 * sysdeps/s390/s390-64/setjmp.S: ... here.
45119 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45120 * sysdeps/s390/s390-64/configure.in: ... here
45121 * sysdeps/s390/s390-64/elf/configure: Delete file.
45122 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45123 * sysdeps/s390/s390-64/start.S: ... here.
45124 * sysdeps/s390/s390-64/elf/configure: Delete.
45125
45126 * configure.in: Remove support for elf directories in sysdeps.
45127
45128 * configure: Regenerated.
45129 * sysdeps/i386/configure: Regenerated.
45130 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45131 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45132 * sysdeps/s390/s390-32/configure: Regenerated.
45133 * sysdeps/s390/s390-64/configure: Regenerated.
45134 * sysdeps/sh/configure: Regenerated.
45135 * sysdeps/sparc/configure: Regenerated.
45136 * sysdeps/x86_64/configure: Regenerated.
45137
45138 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45139
45140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45141
45142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45143 denormal result into account.
45144
45145 2012-03-25 Roland McGrath <roland@hack.frob.com>
45146
45147 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45148 Reported by Allan McRae <allan@archlinux.org>.
45149
45150 2012-03-23 Jeff Law <law@redhat.com>
45151
45152 * nss/getnssent.c (__nss_getent): Fix typo.
45153
45154 2012-03-23 David S. Miller <davem@davemloft.net>
45155
45156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45157
45158 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45159
45160 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45161 to pad to uint64_t for each field.
45162 (dl_tls_index): Replace unsigned long with uint64_t.
45163
45164 2012-03-23 Daniel Jacobowitz <dmj@google.com>
45165 Paul Pluzhnikov <ppluzhnikov@google.com>
45166
45167 [BZ #6528]
45168 * grp/Makefile (otherlibs): Don't set it.
45169 * inet/Makefile (otherlibs): Likewise.
45170 * login/Makefile (otherlibs): Likewise.
45171 * nscd/Makefile (otherlibs): Likewise.
45172 * posix/Makefile (otherlibs): Likewise.
45173 * pwd/Makefile (otherlibs): Likewise.
45174 * rt/Makefile (otherlibs): Likewise.
45175 * sunrpc/Makefile (otherlibs): Likewise.
45176 * nss/Makefile (otherlibs): Likewise.
45177 Add libnss_files to routines and static-only-routines.
45178 ($(objpfx)getent): Remove rule.
45179 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45180 static-only-routines.
45181
45182 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45183
45184 [BZ #13892]
45185 * math/s_cexp.c: Include <float.h>.
45186 (__cexp): Handle exp result overflowing not necessarily
45187 overflowing both real and imaginary parts of result.
45188 * math/s_cexpf.c: Likewise.
45189 * math/s_cexpl.c: Likewise.
45190 * math/libm-test.inc (cexp_test): Add more tests.
45191 * sysdeps/i386/fpu/libm-test-ulps: Update.
45192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45193
45194 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45195
45196 * include/link.h (ELFW): New macro.
45197 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45198 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45199
45200 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45201
45202 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45203 with uint64_t.
45204
45205 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45206
45207 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45208 declaration.
45209 (struct La_x32_retval): Likewise.
45210
45211 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45212
45213 * sysdeps/x86_64/preconfigure.in: New file.
45214 * sysdeps/x86_64/preconfigure: New generated file.
45215
45216 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45217
45218 [BZ #13824]
45219 * math/e_exp2l.c: Include <float.h>.
45220 (__ieee754_exp2l): Handle overflow and underflow cases
45221 separately. Only pass fractional part of argument to
45222 __ieee754_expl.
45223 * math/libm-test.inc (exp2_test): Add more tests.
45224
45225 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45226 negating x to take absolute value.
45227 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45228 Likewise.
45229 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45230 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45231 Likewise.
45232 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45233 computing low part if x was negated.
45234 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45235
45236 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45237
45238 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45239 la_x32_gnu_pltexit.
45240 (pltexit): Cast int_retval to ptrdiff_t.
45241 * elf/tst-auditmod3b.c: Likewise.
45242 * elf/tst-auditmod4b.c: Likewise.
45243 * elf/tst-auditmod5b.c: Likewise.
45244 * elf/tst-auditmod6b.c: Likewise.
45245 * elf/tst-auditmod6c.c: Likewise.
45246 * elf/tst-auditmod7b.c: Likewise.
45247
45248 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45249 and x32_gnu_pltexit.
45250
45251 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45252 __ELF_NATIVE_CLASS.
45253 (La_x32_regs): New macro.
45254 (La_x32_retval): Likewise.
45255 (la_x32_gnu_pltenter): New function prototype.
45256 (la_x32_gnu_pltexit): Likewise.
45257
45258 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45259
45260 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45261 exponent.
45262
45263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45264
45265 * configure.in (libc_cv_cc_nofma): Check for option to disable
45266 generation of FMA instructions.
45267 * configure: Regenerate.
45268 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45269 * sysdeps/ieee754/dbl-64/Makefile: New file.
45270 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45271 Remove brandred-fma4.
45272 (CFLAGS-brandred-fma4.c): Remove.
45273 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45274 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45275 define.
45276 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45277 define.
45278
45279 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45280
45281 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45282 LLONG_MAX != LONG_MAX.
45283 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45284 (_fitoa_word): Likewise.
45285 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45286 LLONG_MAX != LONG_MAX.
45287 * stdio-common/_itowa.h: Include <_itoa.h>.
45288 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45289 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45290 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45291 only if not defined.
45292 (_ITOA_WORD_TYPE): Likewise.
45293 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45294 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45295
45296 2012-03-21 David S. Miller <davem@davemloft.net>
45297
45298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45299
45300 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45301
45302 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45303 of x86_64 when setting libc_cv_slibdir, libdir and
45304 libc_cv_localedir.
45305 * sysdeps/unix/sysv/linux/configure: Regenerated.
45306
45307 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45308
45309 * manual/lang.texi (Old Varargs): Remove section.
45310 (How Variadic): Update menu.
45311 (va_start): Do not mention varargs.h.
45312
45313 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45314 Joseph Myers <joseph@codesourcery.com>
45315
45316 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45317 link test.
45318 * configure: Regenerated.
45319
45320 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45321
45322 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45323 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45324 conformtest.pl
45325
45326 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45327
45328 * NOTES: Remove.
45329 * Makefile (files-for-dist): Remove NOTES.
45330 (NOTES): Remove rule.
45331 * README: Don't refer to NOTES.
45332 * manual/creature.texi: Don't include macros.texi.
45333 * manual/intro.texi (creature.texi): Remove comment referring to
45334 NOTES.
45335
45336 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45337 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45338 * configure: Regenerated.
45339 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45340 LIBC_TRY_CC_OPTION.
45341 (libc_cv_as_i686): Likewise.
45342 (libc_cv_cc_avx): Likewise.
45343 (libc_cv_cc_sse2avx): Likewise.
45344 (libc_cv_cc_fma4): Likewise.
45345 (libc_cv_cc_novzeroupper): Likewise.
45346 * sysdeps/i386/configure: Regenerated.
45347
45348 [BZ #13883]
45349 * sysdeps/i386/fpu/s_cexp.S: Remove.
45350 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45351 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45352 * math/libm-test.inc (cexp_test): Add more tests.
45353 * sysdeps/i386/fpu/libm-test-ulps: Update.
45354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45355
45356 2012-03-21 Allan McRae <allan@archlinux.org>
45357
45358 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45359
45360 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45361
45362 [BZ #13871]
45363 * math/w_exp2.c: Do not include <float.h>.
45364 (o_threshold, u_threshold): Remove.
45365 (__exp2): Calculate result before checking finiteness and calling
45366 __kernel_standard.
45367 * math/w_exp2f.c: Likewise.
45368 * math/w_exp2l.c: Likewise.
45369 * math/libm-test.inc (exp2_test): Require overflow exception for
45370 1e6 input.
45371
45372 [BZ #3866]
45373 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45374 range of signed 64-bit integers before using fistpll. Remove
45375 checks for whether integers fit in mantissa bits.
45376 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45377 the range of signed 32-bit integers before using fistpl. Remove
45378 checks for whether integers fit in mantissa bits.
45379 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45380 (__ieee754_powl): Test for y outside the range of signed 64-bit
45381 integers before using fistpll. Reduce 64-bit values to 63-bit
45382 ones as needed.
45383 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45384 divide-by-zero is raised for zero to large negative powers.
45385 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45386 (__ieee754_powl): Test for y outside the range of signed 64-bit
45387 integers before using fistpll. Reduce 64-bit values to 63-bit
45388 ones as needed.
45389 * math/libm-test.inc (pow_test): Add more tests.
45390
45391 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45392
45393 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45394 <stdio-common/_itoa.h>.
45395 * debug/segfault.c: Likewise.
45396 * elf/dl-cache.c: Likewise.
45397 * elf/dl-minimal.c: Likewise.
45398 * elf/dl-misc.c: Likewise.
45399 * elf/dl-sysdep.c: Likewise.
45400 * elf/dl-version.c: Likewise.
45401 * elf/rtld.c: Likewise.
45402 * hurd/hurdsock.c: Likewise.
45403 * hurd/lookup-retry.c: Likewise.
45404 * malloc/malloc.c: Likewise.
45405 * malloc/mtrace.c: Likewise.
45406 * nscd/nscd_getgr_r.c: Likewise.
45407 * nscd/nscd_getpw_r.c: Likewise.
45408 * nscd/nscd_getserv_r.c: Likewise.
45409 * posix/getopt_init.c: Likewise.
45410 * posix/wordexp.c: Likewise.
45411 * stdio-common/_itoa.c: Likewise.
45412 * stdio-common/printf_fphex.c: Likewise.
45413 * stdio-common/vfprintf.c: Likewise.
45414 * string/_strerror.c: Likewise.
45415 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45416 * sysdeps/i386/i686/hp-timing.h: Likewise.
45417 * sysdeps/mach/_strerror.c: Likewise.
45418 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45419 * sysdeps/mach/hurd/sethostid.c: Likewise.
45420 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45421 * sysdeps/mach/xpg-strerror.c: Likewise.
45422 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45423 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45424 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45425 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45426 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45427 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45428 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45429 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45430 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45431 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45432 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45433 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45434 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45435 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45436 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45437 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45438 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45439 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45440 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45441 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45442 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45443
45444 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45445
45446 * stdio-common/_itoa.h: Moved to ...
45447 * sysdeps/generic/_itoa.h: Here.
45448
45449 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45450
45451 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45452 instead of "_itoa.h" and "_itowa.h".
45453 * stdio-common/vfprintf.: Likewise.
45454
45455 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45456
45457 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45458 <bits/wordsize.h>.
45459 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45460 (__signbit): Likwise.
45461 (llrintf): Likwise.
45462 (llrint): Likwise.
45463
45464 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45465
45466 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45467 __WORDSIZE != 64.
45468
45469 2012-03-20 Joseph Myers <joseph@codesourcery.com>
45470
45471 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45472 OVERFLOW_EXCEPTION_OK.
45473 * math/libm-test.inc ("Philosophy"): Update comment about
45474 exception testing.
45475 (OVERFLOW_EXCEPTION): Define.
45476 (OVERFLOW_EXCEPTION_OK): Likewise.
45477 (INVALID_EXCEPTION_OK): Renumber.
45478 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45479 (IGNORE_ZERO_INF_SIGN): Likewise.
45480 (test_exceptions): Handle FE_OVERFLOW.
45481 (exp10_test): Expect overflow exceptions.
45482 (exp2_test): Likewise.
45483 (expm1_test): Likewise.
45484 (nextafter_test): Likewise.
45485 (pow_test): Likewise.
45486 (scalbn_test): Likewise.
45487 (scalbln_test): Likewise.
45488
45489 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45490
45491 * sysdeps/x86_64/bits/atomic.h
45492 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45493 64bit integer.
45494 (atomic_exchange_acq): Likewise.
45495 (__arch_exchange_and_add_body): Likewise.
45496 (__arch_add_body): Likewise.
45497 (atomic_add_negative): Likewise.
45498 (atomic_add_zero): Likewise.
45499
45500 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45501
45502 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45503 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45504
45505 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45506
45507 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45508 Check __x86_64__ instead of __WORDSIZE.
45509
45510 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45511
45512 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45513
45514 2012-03-19 David S. Miller <davem@davemloft.net>
45515
45516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45517
45518 * sysdeps/sparc/fpu/fenv_private.h: New file.
45519 * sysdeps/sparc/fpu/math_private.h: Use it.
45520 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45521 Remove.
45522 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45523 (libc_feholdexcept_setroundl): Remove.
45524 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45525 Remove.
45526 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45527 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45528
45529 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45530
45531 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45532 int64_t instead of long int.
45533 (INSERT_WORDS64): Likwise.
45534
45535 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45536
45537 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45538 _Unwind_GetCFA return to _Unwind_Ptr first.
45539
45540 2012-03-19 Joseph Myers <joseph@codesourcery.com>
45541
45542 [BZ #13629]
45543 * math/s_clog.c: Include <float.h>.
45544 (__clog): Scale large or subnormal inputs.
45545 * math/s_clogf.c: Likewise.
45546 * math/s_clogl.c: Likewise.
45547 * math/s_clog10.c: Include <float.h>.
45548 (M_LOG10_2): Define.
45549 (__clog10): Scale large or subnormal inputs.
45550 * math/s_clog10f.c: Likewise.
45551 * math/s_clog10l.c: Likewise.
45552 * math/libm-test.inc (clog_test): Add more tests.
45553 (clog10_test): Likewise.
45554 * sysdeps/i386/fpu/libm-test-ulps: Update.
45555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45556
45557 [BZ #11451]
45558 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45559 x and y.
45560 * math/libm-test.inc (atan2_test): Add another test.
45561
45562 * Makerules (common-objdir-compile): Remove.
45563 * sysdeps/unix/Makefile (config-generated): Do not add
45564 $(unix-generated) to variable.
45565 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45566 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45567 Remove rule.
45568 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45569 Likewise.
45570 [generic bits/local_lim.h] (before-compile): Do not append to
45571 variable.
45572 [generic bits/local_lim.h] (common-generated): Likewise.
45573 [generic sys/param.h] (before-compile): Do not append to variable.
45574 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45575 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45576 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45577 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45578 include.
45579 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45580 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45581 [generic sys/param.h] ($(addprefix
45582 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45583 [generic sys/param.h] (common-generated): Do not append to
45584 variable.
45585 [generic sys/param.h] (sysdep_headers): Likewise.
45586 [generic bits/errno.h] (before-compile): Do not append to
45587 variable.
45588 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45589 rule.
45590 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45591 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45592 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45593 [generic bits/errno.h] (common-generated): Do not append to
45594 variable.
45595 [generic bits/ioctls.h] (before-compile): Do not append to
45596 variable.
45597 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45598 rule.
45599 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45600 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45601 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45602 rule.
45603 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45604 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45605 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45606 [generic bits/ioctls.h] (common-generated): Do not append to
45607 variable.
45608 [generic sys/syscall.h] (syscall.h): Remove variable.
45609 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45610 rule.
45611 [generic sys/syscall.h] (before-compile): Do not append to
45612 variable.
45613 [generic sys/syscall.h] (common-generated): Likewise.
45614 * sysdeps/unix/errnos-tmpl.c: Remove file.
45615 * sysdeps/unix/errnos.awk: Likewise.
45616 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45617 * sysdeps/unix/ioctls.awk: Likewise.
45618 * sysdeps/unix/mk-local_lim.c: Likewise.
45619 * sysdeps/unix/snarf-ioctls: Likewise.
45620
45621 2012-03-19 Richard Henderson <rth@twiddle.net>
45622
45623 * sysdeps/i386/fpu/fenv_private.h: New file.
45624 * sysdeps/i386/fpu/math_private.h: Use it.
45625 (math_opt_barrier, math_force_eval): Remove.
45626 (libc_feholdexcept_setround_53bit): Remove.
45627 (libc_feupdateenv_53bit): Remove.
45628 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45629 (math_opt_barrier, math_force_eval): Remove.
45630 (libc_feholdexcept): Remove.
45631 (libc_feholdexcept_setround): Remove.
45632 (libc_fetestexcept, libc_fesetenv): Remove.
45633 (libc_feupdateenv_test): Remove.
45634 (libc_feupdateenv, libc_feholdsetround): Remove.
45635 (libc_feresetround): Remove.
45636
45637 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45638 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45639
45640 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45641 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45642 (libc_feupdateenv_testl): New.
45643 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45644 (libc_feupdateenv_testf): New.
45645 (libc_feupdateenv): Use libc_feupdateenv_test.
45646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45647 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45648
45649 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45650 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45651 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45652 (libc_feresetround_noex): New.
45653 (libc_feresetround_noexf): New.
45654 (libc_feresetround_noexl): New.
45655 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45656 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45657 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45658 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45659 SET_RESTORE_ROUND.
45660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45661 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45662 (__cos): Likewise.
45663 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45664 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45665 SET_RESTORE_ROUND_NOEX.
45666 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45667 SET_RESTORE_ROUND_NOEXF.
45668 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45669 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45670 (libc_feholdsetroundf): New.
45671 (libc_feresetround, libc_feresetroundf): New.
45672
45673 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45674 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45675 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45676
45677 * sysdeps/generic/math_private.h: Include <fenv.h>.
45678 (default_libc_feholdexcept): New.
45679 (default_libc_feholdexcept_setround): New.
45680 (default_libc_fesetenv, default_libc_feupdateenv): New.
45681 (libc_feholdexcept): Only define if undefined.
45682 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45683 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45684 (libc_feholdexcept_setroundl): Likewise.
45685 (libc_feholdexcept_setround_53bit): Likewise.
45686 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45687 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45688 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45689 (libc_feupdateenv_53bit): Likewise.
45690 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45691 (libc_feholdexcept): Convert from macro to inline function.
45692 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45693 (libc_fesetenv, libc_feupdateenv): Likewise.
45694
45695 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45696 not previously defined.
45697 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45698 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45699 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45700 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45701 * sysdeps/ieee754/flt-32/math_private.h: New file.
45702 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45703 math_private.h below SET_FLOAT_WORD.
45704 (__isnan, __isinf_ns, __finite): Remove.
45705 (__isnanf, __isinf_nsf, __finitef): Remove.
45706
45707 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45708
45709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45710
45711 2012-03-17 David S. Miller <davem@davemloft.net>
45712
45713 [BZ #6471]
45714 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45715 for 2.16.
45716
45717 2012-03-16 David S. Miller <davem@davemloft.net>
45718
45719 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45720 warnings.
45721
45722 [BZ #6471]
45723 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45724 properly.
45725 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45726 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45727 sysdep_routines when subdir is sysvipc.
45728 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45729 __getshmlba helper.
45730
45731 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45732
45733 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45734
45735 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45736 [__LP64__].
45737
45738 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45739
45740 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45741 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45742 (__lround): Renamed to ...
45743 (__llround): This. Replace long int with long long int.
45744 Define lround functions as aliases of llround functions.
45745 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45746
45747 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45748
45749 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45750 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45751 adresses to uintptr_t. Replace "long int" and "unsigned long
45752 int" with "greg_t" on va_arg.
45753
45754 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45755
45756 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45757 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45758
45759 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45760 Move e_machine check before EI_CLASS check. Handle x32
45761 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45762 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45763 SKIP_EM_IA_64 and include
45764 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45765
45766 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45767 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45768 (add_system_dir): New macro.
45769
45770 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45771 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45772
45773 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45774
45775 [BZ #2551]
45776 [BZ #2552]
45777 [BZ #2553]
45778 [BZ #2554]
45779 [BZ #2562]
45780 [BZ #2563]
45781 [BZ #2565]
45782 [BZ #2566]
45783 [BZ #2576]
45784 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45785 (y0): Likewise.
45786 * math/w_j0f.c (j0f): Likewise.
45787 (y0f): Likewise.
45788 * math/w_j0l.c (__j0l): Likewise.
45789 (__y0l): Likewise.
45790 * math/w_j1.c (j1): Likewise.
45791 (y1): Likewise.
45792 * math/w_j1f.c (j1f): Likewise.
45793 (y1f): Likewise.
45794 * math/w_j1l.c (__j1l): Likewise.
45795 (__y1l): Likewise.
45796 * math/w_jn.c (jn): Likewise.
45797 (yn): Likewise.
45798 * math/w_jnf.c (jnf): Likewise.
45799 (ynf): Likewise.
45800 * math/w_jnl.c (__jnl): Likewise.
45801 (__ynl): Likewise.
45802 * math/libm-test.inc (j0_test): Add more tests.
45803 (j1_test): Likewise.
45804 (jn_test): Likewise. Add trailing semicolon to existing test.
45805 (y0_test): Likewise.
45806 (y1_test): Likewise.
45807 * sysdeps/i386/fpu/libm-test-ulps: Update.
45808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45809
45810 [BZ #13851]
45811 [BZ #13854]
45812 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45813 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45814 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45815 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45816 (__tanl): Set errno for infinite argument.
45817 * sysdeps/i386/fpu/mptan.c: Remove.
45818 * sysdeps/i386/fpu/s_tan.S: Likewise.
45819 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45820 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45821 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45822 * math/libm-test.inc (tan_test): Add more tests and enable more
45823 tests for double and long double.
45824 * sysdeps/i386/fpu/libm-test-ulps: Update.
45825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45826
45827 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45828
45829 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45830 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45831
45832 2012-03-16 Roland McGrath <roland@hack.frob.com>
45833
45834 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45835 * configure.in: Use it for both main tree and add-ons.
45836 * configure: Regenerated.
45837
45838 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45839
45840 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45841
45842 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45843
45844 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45845 in comment.
45846
45847 [BZ #13851]
45848 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45849 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45850 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45851 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45852 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45853 infinite argument.
45854 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45855 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45856 != 0 for prec == 2.
45857 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45858 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45859 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45860 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45861 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45862 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45863 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45864 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45865 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45866 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45867 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45868 * math/libm-test.inc (cos_test): Add more tests and enable more
45869 tests for long double.
45870 (sin_test): Likewise.
45871 (sincos_test): Likewise.
45872 * sysdeps/i386/fpu/libm-test-ulps: Update.
45873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45874
45875 2012-03-16 David S. Miller <davem@davemloft.net>
45876
45877 * sysdeps/sparc/fpu/math_private.h: New file.
45878
45879 2012-03-15 David S. Miller <davem@davemloft.net>
45880
45881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45882 file.
45883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45885 file.
45886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45892 sysdep routines.
45893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45894
45895 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45896 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45897
45898 * sysdeps/sparc/sparc-ifunc.h: New file.
45899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45900 sparc-ifunc.h
45901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45903 Likewise.
45904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45905 Likewise.
45906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45910 Likewise.
45911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45916 Likewise.
45917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45918 Likewise.
45919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45925 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45926 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45940 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45943
45944 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45945
45946 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45947 scaling.
45948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45949
45950 2012-03-15 Andreas Jaeger <aj@suse.de>
45951
45952 [BZ #13852]
45953 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45954 ieee754/flt-32 implementation for sin, cos and sincos.
45955 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45956 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45957 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45958 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45959 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45960 ieee754/flt-32 implementation for tan.
45961
45962 * math/libm-test.inc (cos_test): Enable some large input tests for
45963 float as well
45964 (sin_test): Likewise.
45965 (sincos_test): Likewise.
45966 (tan_test): Add tests for large input.
45967
45968 * sysdeps/i386/fpu/libm-test-ulps: Update.
45969
45970 2012-03-15 Andreas Jaeger <aj@suse.de>
45971
45972 [BZ #13658]
45973 * math/libm-test.inc (cos_test): Add more test cases.
45974 (sin_test): Likewise.
45975 (sincos_test): Likewise.
45976
45977 2012-03-15 Andreas Jaeger <aj@suse.de>
45978
45979 [BZ #13837]
45980 * math/libm-test.inc (cos_test): Add a test case for large input
45981 value.
45982 (sin_test): Likewise.
45983 (sincos_test): Likewise.
45984
45985 2012-03-15 Andreas Jaeger <aj@suse.de>
45986 Joseph Myers <joseph@codesourcery.com>
45987
45988 [BZ #13658]
45989 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45990 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45991 * sysdeps/i386/fpu/branred.c: Likewise.
45992 * sysdeps/i386/fpu/dosincos.c: Likewise.
45993 * sysdeps/i386/fpu/mpa.c: Likewise.
45994 * sysdeps/i386/fpu/s_cos.S: Likewise.
45995 * sysdeps/i386/fpu/s_sin.S: Likewise.
45996 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45997 * sysdeps/i386/fpu/sincos32.c: Likewise.
45998
45999 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46000 Define.
46001 (libc_feupdateenv_53bit): Define.
46002 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46003 Define.
46004 (libc_feupdateenv_53bit): Define.
46005
46006 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46007 53 bit (without extend i386 double precision).
46008
46009 * math/libm-test.inc (sincos_test): Add tests for large input.
46010 (sin): Likewise.
46011 (cos): Likewise.
46012
46013 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46014
46015 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46016
46017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46018
46019 2012-03-15 David S. Miller <davem@davemloft.net>
46020
46021 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46022 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46023 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46024 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46037 file.
46038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46040 file.
46041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46043 file.
46044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46046 file.
46047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46048 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46049 fmin/fmax sysdep routines.
46050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46051
46052 2012-03-14 David S. Miller <davem@davemloft.net>
46053
46054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46058 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46059 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46060 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46061 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46080 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46083 routines.
46084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46085 file.
46086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46088 file.
46089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46091 file.
46092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46094 file.
46095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46097 file.
46098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46100 file.
46101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46102 file.
46103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46104 file.
46105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46106 file.
46107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46108 New file.
46109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46110 file.
46111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46112 file.
46113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46115 file.
46116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46118 file.
46119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46121 file.
46122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46124 VIS3 routines.
46125
46126 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46127 New file.
46128
46129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46130
46131 * sysdeps/sparc/configure.in: New file.
46132 * sysdeps/sparc/configure: Generate.
46133 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46134 * configure: Regenerate.
46135 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46136 * config.make.in (have-as-vis3): New.
46137 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46138 available use -Av9d instead of -Av9a.
46139 * sysdeps/sparc/sparc64/Makefile: Likewise.
46140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46142 New file.
46143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46144 file.
46145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46146 New file.
46147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46148 file.
46149 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46152 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46154
46155 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46156 fzeros/fnegs to load 0x80000000 into a float register instead of
46157 using the stack.
46158 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46159
46160 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46161
46162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46163 bits/syscall.h.
46164 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46165 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46166 ($(inst_includedir)/bits/syscall.h): Remove rule.
46167 ($(objpfx)bits/syscall.d): Include instead of
46168 $(objpfx)syscall-list.d.
46169 (generated): Change syscall-list.h and syscall-list.d to
46170 bits/syscall.h and bits/syscall.d.
46171
46172 2012-03-14 Roland McGrath <roland@hack.frob.com>
46173
46174 [BZ #13846]
46175 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46176
46177 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46178
46179 [BZ #13841]
46180 * math/s_csqrt.c: Include <float.h>.
46181 (__csqrt): Scale large or subnormal inputs.
46182 * math/s_csqrtf.c: Likewise.
46183 * math/s_csqrtl.c: Likewise.
46184 * math/libm-test.inc (csqrt_test): Add more tests.
46185 * sysdeps/i386/fpu/libm-test-ulps: Update.
46186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46187
46188 [BZ #13840]
46189 * math/libm-test.inc (hypot_test): Add more tests.
46190
46191 2012-03-13 David S. Miller <davem@davemloft.net>
46192
46193 [BZ #13840]
46194 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46195 double-precision for the calculation instead of scaling.
46196
46197 2012-03-13 Joseph Myers <joseph@codesourcery.com>
46198
46199 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46200 manipulate bits before adding and subtracting TWO52[sx].
46201 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46202 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46203 Likewise.
46204 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46205
46206 2012-03-13 David S. Miller <davem@davemloft.net>
46207
46208 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46209 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46210 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46211 rtld-global-offsets.h
46212 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46213
46214 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46215 large parameters.
46216
46217 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46218
46219 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46220 'err' in the ifdef scope in which it is actually used.
46221
46222 * nss/nss_db/db-init.c: Include string.h
46223
46224 2012-03-12 David S. Miller <davem@davemloft.net>
46225
46226 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46227 masking out of the most significant byte of random value used.
46228 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46229 Fix coding style in previous change.
46230
46231 * sysdeps/unix/sysv/linux/kernel-features.h
46232 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46233 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46234 expression.
46235 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46236 later.
46237
46238 2012-03-11 David S. Miller <davem@davemloft.net>
46239
46240 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46241 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46242 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46243 for 'resultvar' otherwise things get truncated on 64-bit.
46244
46245 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46246 Fix masking out of the most significant byte of random value used.
46247
46248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46249
46250 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46251
46252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46253
46254 2012-03-09 David S. Miller <davem@davemloft.net>
46255
46256 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46257 variables with appropriate CPP guards.
46258 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46259 from the frame pointer, not the stack pointer. Correct layout
46260 comments. Fix test on resulting framesize and the management of
46261 the outregs buffer for pltexit. Preserve floating point return
46262 values across _dl_call_pltexit call.
46263 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46264 framesize and the management of the outregs buffer for pltexit.
46265 Preserve floating point return values across _dl_call_pltexit
46266 call.
46267 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46268 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46269 (la_sparc64_gnu_pltexit): New functions.
46270 (print_exit): Fix format string for return register value.
46271
46272 2012-03-10 Joseph Myers <joseph@codesourcery.com>
46273
46274 * sunrpc/Makefile (others): Add rpcgen.
46275 ($(objpfx)rpcgen): Remove special build rule and dependency on
46276 libc.
46277 * sunrpc/rpcgen.c: New file.
46278
46279 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46280
46281 [BZ #13673]
46282 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46283 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46284 * sysdeps/i386/crti.S: Likewise.
46285 * sysdeps/i386/crtn.S: Likewise.
46286 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46287 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46288 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46289 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46290 * sysdeps/sh/crti.S: Likewise.
46291 * sysdeps/sh/crtn.S: Likewise.
46292 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46293
46294 [BZ #13673]
46295 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46296 with URL.
46297 * locale/programs/locfile-kw.gperf: Likewise.
46298 * locale/programs/charmap-kw.h: Regenerated.
46299 * locale/programs/locfile-kw.h: Likewise.
46300
46301 [BZ #13673]
46302 * intl/plural.y: Replace FSF snail mail address with URL.
46303 * intl/plural.c: Regenerated.
46304
46305 2012-03-09 Richard Henderson <rth@twiddle.net>
46306
46307 * include/math_private.h: Remove file.
46308 * math/math_private.h: Move file ...
46309 * sysdeps/generic/math_private.h: ... here.
46310
46311 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46312 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46313 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46314
46315 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46316 and <math_private.h>.
46317 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46318 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46319 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46320 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46321 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46322 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46323 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46325 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46326 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46327 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46328 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46329 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46331 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46332 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46333 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46334 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46335 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46336 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46337 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46338 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46339 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46340 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46341 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46342 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46343 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46344 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46347 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46348 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46349 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46350 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46351 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46352 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46353 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46354 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46355 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46356 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46357 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46358 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46359 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46360 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46361 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46362 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46363 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46364 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46365 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46366 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46367 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46368 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46369 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46370 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46371 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46372 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46373 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46374 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46375 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46376 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46377 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46378 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46379 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46380 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46381 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46382 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46383 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46384 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46385 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46386 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46387 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46388 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46389 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46390 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46391 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46393 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46395 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46396 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46397 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46398 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46399 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46400 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46401 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46403 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46404 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46405 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46406 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46407 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46408 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46409 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46410 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46411 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46412 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46413 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46414 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46415 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46416 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46417 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46418 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46419 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46420 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46421 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46422 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46423 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46424 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46425 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46426 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46427 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46428 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46429 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46430 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46431 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46432 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46433 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46434 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46435 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46436 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46437 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46438 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46439 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46440 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46441 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46442 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46443 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46444 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46445 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46446 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46447 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46448 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46449 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46450 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46451 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46452 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46453 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46454 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46455 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46456 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46457 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46458 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46459 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46460 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46461 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46462 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46463 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46464 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46465 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46466 * sysdeps/ieee754/k_standard.c: Likewise.
46467 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46468 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46469 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46470 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46471 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46472 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46473 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46474 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46475 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46476 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46477 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46478 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46479 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46480 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46481 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46482 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46483 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46484 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46485 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46486 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46487 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46488 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46489 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46490 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46491 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46492 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46493 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46494 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46495 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46496 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46497 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46498 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46499 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46500 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46501 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46502 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46503 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46504 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46505 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46506 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46507 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46508 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46509 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46510 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46511 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46512 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46513 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46514 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46515 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46516 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46517 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46518 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46519 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46520 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46521 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46522 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46523 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46524 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46525 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46526 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46527 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46528 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46529 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46530 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46531 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46532 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46533 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46534 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46535 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46536 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46537 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46538 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46539 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46540 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46541 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46542 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46543 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46544 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46545 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46546 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46547 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46548 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46549 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46550 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46551 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46552 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46553 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46554 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46555 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46557 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46558 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46559 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46560 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46561 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46562 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46563 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46564 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46565 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46566 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46567 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46568 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46569 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46570 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46571 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46572 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46573 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46574 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46575 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46576 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46577 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46578 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46579 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46580 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46581 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46582 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46583 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46584 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46585 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46586 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46587 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46588 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46589 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46590 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46591 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46592 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46593 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46594 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46595 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46596 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46597 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46598 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46599 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46600 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46601 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46602 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46603 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46604 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46605 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46606 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46607 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46608 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46609 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46610 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46611 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46612 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46613 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46614 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46615 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46616 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46617 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46618 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46619 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46620 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46621 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46622 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46623 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46624 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46625 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46626 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46627 * sysdeps/ieee754/s_lib_version.c: Likewise.
46628 * sysdeps/ieee754/s_matherr.c: Likewise.
46629 * sysdeps/ieee754/s_signgam.c: Likewise.
46630 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46631 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46632 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46633 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46634 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46635 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46636 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46637 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46638 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46639 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46640 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46641 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46642 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46643 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46644 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46645 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46646 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46647 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46648 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46649 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46650 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46651
46652 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46653
46654 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46655 * sunrpc/rpc_main.c: Likewise.
46656 * sunrpc/rpc_svcout.c: Likewise.
46657
46658 2012-03-09 David S. Miller <davem@davemloft.net>
46659
46660 * include/math_private.h: New file.
46661
46662 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46663
46664 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46665 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46666 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46667 from <bits/socket_type.h>.
46668 (enum __socket_type): Don't define here.
46669 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46671 bits/socket_type.h.
46672
46673 [BZ #13566]
46674 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46675 checking __USE_GNU.
46676
46677 * Makerules ($(inst_includedir)/%.h): New rule.
46678 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46679 (install-others): Remove variable setting.
46680 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46681
46682 2012-03-08 Richard Henderson <rth@twiddle.net>
46683
46684 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46685 from macro to inline function; merge with the
46686 !__LIBC_INTERNAL_MATH_INLINES version.
46687 (__ieee754_sqrtf): Likewise.
46688
46689 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46690 to inline function.
46691 (__rintf, __floor, __floorf): Likewise.
46692
46693 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46694 macro to inline function.
46695 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46696
46697 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46698 not <math/math_private.h>.
46699
46700 2012-03-08 David S. Miller <davem@davemloft.net>
46701
46702 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46703 copyright year.
46704 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46705
46706 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46707
46708 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46709 normalization.
46710 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46711 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46712
46713 2012-03-08 Ulrich Drepper <drepper@gmail.com>
46714
46715 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46716 be defined individually, they must be defined as a block. Define
46717 S for printing a string instead of hidint the different by using a
46718 macro for adding the 'l'.
46719 * stdio-common/tst-fphex-wide.c: Adjust.
46720
46721 2012-03-07 Marek Polacek <polacek@redhat.com>
46722
46723 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46724
46725 2012-03-08 Marek Polacek <polacek@redhat.com>
46726
46727 [BZ #13806]
46728 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46729 * stdio-common/tst-fphex.c: Define a few macros to make the
46730 test reusable. Use them.
46731 * stdio-common/tst-fphex-wide.c: New file.
46732
46733 2012-03-08 Joseph Myers <joseph@codesourcery.com>
46734
46735 [BZ #6911]
46736 * manual/macros.texi (gnusystems): New macro.
46737 (nongnusystems): Likewise.
46738 (gnulinuxhurdsystems): Likewise.
46739 (gnuhurdsystems): Likewise..
46740 (gnulinuxsystems): Likewise.
46741 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46742 variants of the GNU system, not "GNU system".
46743 * manual/conf.texi: Likewise.
46744 * manual/errno.texi: Likewise. Update example of errno macro
46745 expansion.
46746 * manual/filesys.texi: Likewise.
46747 (getumask): Document as specific to GNU/Hurd.
46748 * manual/install.texi: Likewise. Reword some references to
46749 GNU/Linux.
46750 * manual/intro.texi: Likewise.
46751 * manual/io.texi: Likewise.
46752 (File Name Portability): Detail which constraints are inapplicable
46753 to all GNU systems and which are only inapplicable to GNU/Hurd.
46754 * manual/job.texi: Likewise.
46755 * manual/llio.texi: Likewise.
46756 (O_NOCTTY): Document as present on GNU/Linux.
46757 * manual/maint.texi: Likewise.
46758 * manual/memory.texi: Likewise.
46759 * manual/pattern.texi: Likewise.
46760 * manual/pipe.texi: Likewise.
46761 * manual/process.texi: Likewise.
46762 * manual/resource.texi: Likewise.
46763 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46764 child on GNU/Hurd.
46765 * manual/setjmp.texi: Likewise.
46766 * manual/signal.texi: Likewise.
46767 * manual/startup.texi: Likewise.
46768 * manual/stdio.texi: Likewise.
46769 * manual/terminal.texi: Likewise.
46770 (ONLCR): Document as POSIX.
46771 (OXTABS): Document availability on GNU/Linux as XTABS.
46772 (ONOEOT): Document availability separately from other bits.
46773 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46774 * manual/time.texi: Likewise.
46775 * manual/users.texi: Likewise.
46776 * INSTALL: Regenerated.
46777 * sysdeps/gnu/errlist.c: Regenerated.
46778
46779 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46780 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46781 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46782 puts.
46783 * configure: Regenerated.
46784
46785 2012-03-07 Joseph Myers <joseph@codesourcery.com>
46786
46787 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46788 default includes instead of AC_HEADER_CHECK.
46789 * sysdeps/i386/configure: Regenerated.
46790
46791 [BZ #10716]
46792 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46793 * math/s_cacoshf.c (__cacoshf): Likewise.
46794 * math/s_cacoshl.c (__cacoshl): Likewise.
46795 * math/s_casinh.c (__casinh): Set signs of result from argument.
46796 * math/s_casinhf.c (__casinhf): Likewise.
46797 * math/s_casinhl.c (__casinhl): Likewise.
46798 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46799 (casinh_test): Add more tests.
46800 * sysdeps/i386/fpu/libm-test-ulps: Update.
46801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46802
46803 2012-03-07 Ulrich Drepper <drepper@gmail.com>
46804
46805 * po/zh_TW.po: Update from translation team.
46806
46807 * login/Makefile (distribute): Remove variable.
46808 * catgets/Makefile: Likewise.
46809 * mach/Makefile: Likewise.
46810 * malloc/Makefile: Likewise.
46811 * misc/Makefile: Likewise.
46812 * iconv/Makefile: Likewise.
46813 * nscd/Makefile: Likewise.
46814 * hurd/Makefile: Likewise.
46815 * manual/Makefile: Likewise.
46816 * locale/Makefile: Likewise.
46817 * intl/Makefile: Likewise.
46818 * conform/Makefile: Likewise.
46819 * nss/Makefile: Likewise.
46820 * time/Makefile: Likewise.
46821 * soft-fp/Makefile: Likewise.
46822 * dirent/Makefile: Likewise.
46823 * gmon/Makefile: Likewise.
46824 * po/Makefile: Likewise.
46825 * rt/Makefile: Likewise.
46826 * socket/Makefile: Likewise.
46827 * math/Makefile: Likewise.
46828 * signal/Makefile: Likewise.
46829 * debug/Makefile: Likewise.
46830 * elf/Makefile: Likewise.
46831 * timezone/Makefile: Likewise.
46832 * stdlib/Makefile: Likewise.
46833 * iconvdata/Makefile: Likewise.
46834 * sunrpc/Makefile: Likewise.
46835 * io/Makefile: Likewise.
46836 * argp/Makefile: Likewise.
46837 * inet/Makefile: Likewise.
46838 * hesiod/Makefile: Likewise.
46839 * grp/Makefile: Likewise.
46840 * csu/Makefile: Likewise.
46841 * wctype/Makefile: Likewise.
46842 * crypt/Makefile: Likewise.
46843 * libio/Makefile: Likewise.
46844 * string/Makefile: Likewise.
46845 * nis/Makefile: Likewise.
46846 * resolv/Makefile: Likewise.
46847 * stdio-common/Makefile: Likewise.
46848 * wcsmbs/Makefile: Likewise.
46849 * dlfcn/Makefile: Likewise.
46850 * posix/Makefile: Likewise.
46851
46852 [BZ #6959]
46853 * timezone/Makefile: Don't install timezone files, just the programs
46854 and scripts.
46855
46856 2012-03-06 Ulrich Drepper <drepper@gmail.com>
46857
46858 * nss/databases.def: Add missing gshadow entry.
46859
46860 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46861
46862 2012-03-06 Marek Polacek <polacek@redhat.com>
46863
46864 [BZ #13726]
46865 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46866 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46867 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46868 * stdio-common/tst-long-dbl-fphex.c: New file.
46869
46870 2012-03-06 David S. Miller <davem@davemloft.net>
46871
46872 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46873 (set_obp_int): New function.
46874 (get_obp_int): New function.
46875 (__get_clockfreq_via_dev_openprom): Likewise.
46876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46877 Avoid unused variable warnings on 'val' and use builtin_expect.
46878 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46879 __builtin_expect.
46880 (INLINE_CLONE_SYSCALL): Likewise.
46881
46882 2012-03-05 David S. Miller <davem@davemloft.net>
46883
46884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46885
46886 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46887
46888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46889
46890 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46891 only for |x| >= 40.
46892 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46893
46894 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
46895
46896 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46897 Replace gettimeofday with __vdso_gettimeofday.
46898
46899 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46900 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46901 __vdso_clock_gettime and __vdso_getcpu.
46902
46903 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46904 time with __vdso_time.
46905
46906 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46907
46908 * manual/lang.texi (size_t): Note types to which size_t may be
46909 equivalent with the GNU C Library, but do not describe when
46910 differences between them are significant.
46911
46912 2012-03-05 Andreas Jaeger <aj@suse.de>
46913
46914 * sysdeps/i386/fpu/libm-test-ulps: Update.
46915
46916 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46917
46918 [BZ #3976]
46919 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46920 (__ieee754_pow): Save and restore rounding mode and use
46921 round-to-nearest for main computations.
46922 * math/libm-test.inc (pow_test_tonearest): New function.
46923 (pow_test_towardzero): Likewise.
46924 (pow_test_downward): Likewise.
46925 (pow_test_upward): Likewise.
46926 (main): Call the new functions.
46927 * sysdeps/i386/fpu/libm-test-ulps: Update.
46928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46929
46930 [BZ #3976]
46931 * math/libm-test.inc (cosh_test_tonearest): New function.
46932 (cosh_test_towardzero): Likewise.
46933 (cosh_test_downward): Likewise.
46934 (cosh_test_upward): Likewise.
46935 (sinh_test_tonearest): Likewise.
46936 (sinh_test_towardzero): Likewise.
46937 (sinh_test_downward): Likewise.
46938 (sinh_test_upward): Likewise.
46939 (main): Call the new functions.
46940 * sysdeps/i386/fpu/libm-test-ulps: Update.
46941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46942
46943 2012-03-05 Tom de Vries <tom@codesourcery.com>
46944
46945 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46946 default stack guard is set in last bytes.
46947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46948
46949 2012-03-05 Kees Cook <keescook@chromium.org>
46950
46951 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46952
46953 [BZ #13656]
46954 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46955 possibly allocate from heap instead of stack.
46956 * stdio-common/bug-vfprintf-nargs.c: New file.
46957 * stdio-common/Makefile (tests): Add nargs overflow test.
46958
46959 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46960
46961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46962
46963 2012-03-03 Marek Polacek <polacek@redhat.com>
46964
46965 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46966 * math/math_private.h: Likewise.
46967 * stdlib/tst-strtod.c: Likewise.
46968 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46969 * sysdeps/x86_64/bits/atomic.h: Likewise.
46970
46971 2012-03-02 David S. Miller <davem@davemloft.net>
46972
46973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46977 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46978 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46979 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46980 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46981
46982 2012-03-02 Roland McGrath <roland@hack.frob.com>
46983
46984 [BZ #13792]
46985 * manual/examples/README: New file, says the example source files
46986 can be used under GPL>=2.
46987 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46988 line containing just "*/".
46989 * manual/examples/add.c: Add copyright header (GPL>=2).
46990 * manual/examples/argp-ex1.c: Likewise.
46991 * manual/examples/argp-ex2.c: Likewise.
46992 * manual/examples/argp-ex3.c: Likewise.
46993 * manual/examples/argp-ex4.c: Likewise.
46994 * manual/examples/atexit.c: Likewise.
46995 * manual/examples/db.c: Likewise.
46996 * manual/examples/dir.c: Likewise.
46997 * manual/examples/dir2.c: Likewise.
46998 * manual/examples/execinfo.c: Likewise.
46999 * manual/examples/filecli.c: Likewise.
47000 * manual/examples/filesrv.c: Likewise.
47001 * manual/examples/fmtmsgexpl.c: Likewise.
47002 * manual/examples/genpass.c: Likewise.
47003 * manual/examples/inetcli.c: Likewise.
47004 * manual/examples/inetsrv.c: Likewise.
47005 * manual/examples/isockad.c: Likewise.
47006 * manual/examples/longopt.c: Likewise.
47007 * manual/examples/memopen.c: Likewise.
47008 * manual/examples/memstrm.c: Likewise.
47009 * manual/examples/mkfsock.c: Likewise.
47010 * manual/examples/mkisock.c: Likewise.
47011 * manual/examples/mygetpass.c: Likewise.
47012 * manual/examples/pipe.c: Likewise.
47013 * manual/examples/popen.c: Likewise.
47014 * manual/examples/rprintf.c: Likewise.
47015 * manual/examples/search.c: Likewise.
47016 * manual/examples/select.c: Likewise.
47017 * manual/examples/setjmp.c: Likewise.
47018 * manual/examples/sigh1.c: Likewise.
47019 * manual/examples/sigusr.c: Likewise.
47020 * manual/examples/stpcpy.c: Likewise.
47021 * manual/examples/strdupa.c: Likewise.
47022 * manual/examples/strftim.c: Likewise.
47023 * manual/examples/strncat.c: Likewise.
47024 * manual/examples/subopt.c: Likewise.
47025 * manual/examples/swapcontext.c: Likewise.
47026 * manual/examples/termios.c: Likewise.
47027 * manual/examples/testopt.c: Likewise.
47028 * manual/examples/testpass.c: Likewise.
47029 * manual/examples/timeval_subtract.c: Likewise.
47030
47031 [BZ #13792]
47032 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47033 function to ...
47034 * manual/timeval_subtract.c.texi: ... here, new file.
47035
47036 2012-03-02 David S. Miller <davem@davemloft.net>
47037
47038 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47039
47040 2012-03-02 Joseph Myers <joseph@codesourcery.com>
47041
47042 [BZ #3976]
47043 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47044 (__sin): Save and restore rounding mode and use round-to-nearest
47045 for all computations.
47046 (__cos): Save and restore rounding mode and use round-to-nearest
47047 for all computations.
47048 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47049 <fenv.h>.
47050 (tan): Save and restore rounding mode and use round-to-nearest for
47051 all computations.
47052 * math/libm-test.inc (cos_test_tonearest): New function.
47053 (cos_test_towardzero): Likewise.
47054 (cos_test_downward): Likewise.
47055 (cos_test_upward): Likewise.
47056 (sin_test_tonearest): Likewise.
47057 (sin_test_towardzero): Likewise.
47058 (sin_test_downward): Likewise.
47059 (sin_test_upward): Likewise.
47060 (tan_test_tonearest): Likewise.
47061 (tan_test_towardzero): Likewise.
47062 (tan_test_downward): Likewise.
47063 (tan_test_upward): Likewise.
47064 (main): Call the new functions.
47065 * sysdeps/i386/fpu/libm-test-ulps: Update.
47066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47067
47068 [BZ #10135]
47069 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47070 small n, then large n, before computing and testing k+n.
47071 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47072 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47073 Likewise.
47074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47075 Likewise.
47076 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47077 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47078 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47079 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47082 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47083 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47084 * math/libm-test.inc (scalbn_test): Add more tests.
47085 (scalbln_test): Likewise.
47086
47087 * manual/filesys.texi (mode_t): Describe constraints on size and
47088 signedness, not exact equivalence to a particular type.
47089 (ino_t): Likewise.
47090 (ino64_t): Likewise.
47091 (dev_t): Likewise.
47092 (nlink_t): Likewise.
47093 (blkcnt_t): Likewise.
47094 (blkcnt64_t): Likewise.
47095 * manual/llio.texi (off_t): Likewise.
47096
47097 [BZ #3976]
47098 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47099 (__ieee754_exp): Save and restore rounding mode and use
47100 round-to-nearest for all computations.
47101 * math/libm-test.inc (exp_test_tonearest): New function.
47102 (exp_test_towardzero): Likewise.
47103 (exp_test_downward): Likewise.
47104 (exp_test_upward): Likewise.
47105 (main): Call the new functions.
47106 * sysdeps/i386/fpu/libm-test-ulps: Update.
47107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47108
47109 2012-03-01 Chris Demetriou <cgd@google.com>
47110
47111 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47112 have predictable order.
47113
47114 2012-03-01 David S. Miller <davem@davemloft.net>
47115
47116 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47117
47118 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47119 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47120 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47121 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47122
47123 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47124 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47125 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47127 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47128 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47129 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47130 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47131 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47132
47133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47134
47135 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47136 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47137 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47138
47139 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47140 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47141 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47142 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47143 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47144 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47145 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47146 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47147 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47148 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47149 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47150 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47152 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47153 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47154 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47155 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47156 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47157 * sysdeps/sparc/elf/configure: Regenerated.
47158
47159 2012-03-01 Joseph Myers <joseph@codesourcery.com>
47160
47161 * configure.in (AS, LD): Require binutils 2.20 or later.
47162 * configure: Regenerated.
47163 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47164 as required minimum version.
47165 * INSTALL: Regenerated.
47166
47167 [BZ #2541]
47168 [BZ #4108]
47169 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47170 before squaring exponent.
47171 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47172 bottom long double and 27 bits of top long double before squaring
47173 exponent.
47174 * math/libm-test.inc (erfc_test): Add more tests.
47175 * sysdeps/i386/fpu/libm-test-ulps: Update.
47176 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47178
47179 2012-03-01 Kai Tietz <ktietz@redhat.com>
47180
47181 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47182 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47183 containing bit-fields.
47184 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47185 * soft-fp/single.h (_FP_UNION_S): Likewise.
47186 * soft-fp/double.h (_FP_UNION_D): Likewise.
47187
47188 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47189
47190 [BZ #13786]
47191 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47192 not include ../strcmp.S.
47193 [USE_AS_STRNCASECMP_L]: Likewise.
47194 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47195 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47196 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47197 (__strncasecmp_l_ia32): Define as alias to
47198 __strncasecmp_l_nonascii.
47199
47200 [BZ #5794]
47201 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47202 * sysdeps/i386/fpu/libm-test-ulps: Update.
47203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47204
47205 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47207
47208 2012-02-29 Jeff Law <law@redhat.com>
47209
47210 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47211 out of bounds read.
47212
47213 2012-02-29 Marek Polacek <polacek@redhat.com>
47214
47215 [BZ #13706]
47216 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47217 * elf/Makefile: Add rules to run tst-unused-dep.out.
47218
47219 2012-02-28 David S. Miller <davem@davemloft.net>
47220
47221 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47222 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47223 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47224 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47225 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47226 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47227
47228 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47229
47230 * math/libm-test.inc (llround_test): Move one test from
47231 lround_test. Use TEST_f_L in moved test.
47232 (lround_test): Move misplaced test to llround_test. Add testcase
47233 from bug 2561.
47234
47235 2012-02-28 Ulrich Drepper <drepper@gmail.com>
47236
47237 * sysdeps/x86_64/fpu/e_expf.S: New file.
47238 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47239
47240 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47241
47242 [BZ #13637]
47243 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47244 of remain_len that may cause incomplete multi-byte character and
47245 false match.
47246 * posix/bug-regex33.c: New file.
47247 * posix/Makefile (tests): Add bug-regex33.
47248
47249 2012-02-28 Joseph Myers <joseph@codesourcery.com>
47250
47251 * manual/macros.texi: New file.
47252 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47253 * manual/libc.texinfo: Include macros.texi.
47254 * manual/creatute.texi: Likewise.
47255 * manual/install.texi: Likewise.
47256 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47257 @glibcadj{} in references to the GNU C Library.
47258 * manual/charset.texi: Likewise.
47259 * manual/conf.texi: Likewise.
47260 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47261 when not using those macros.
47262 * manual/creature.texi: Likewise.
47263 * manual/crypt.texi: Likewise.
47264 * manual/errno.texi: Likewise.
47265 * manual/filesys.texi: Likewise.
47266 * manual/header.texi: Likewise.
47267 * manual/install.texi: Likewise.
47268 * manual/intro.texi: Likewise.
47269 * manual/io.texi: Likewise.
47270 * manual/job.texi: Likewise.
47271 * manual/lang.texi: Likewise.
47272 * manual/libc.texiinfo: Likewise.
47273 * manual/llio.texi: Likewise.
47274 * manual/locale.texi: Likewise.
47275 * manual/maint.texi: Likewise.
47276 * manual/math.texi: Likewise.
47277 * manual/memory.texi: Likewise.
47278 * manual/message.texi: Likewise.
47279 * manual/nss.texi: Likewise.
47280 * manual/pattern.texi: Likewise.
47281 * manual/process.texi: Likewise.
47282 * manual/resource.texi: Likewise.
47283 * manual/search.texi: Likewise.
47284 * manual/setjmp.texi: Likewise.
47285 * manual/signal.texi: Likewise.
47286 * manual/socket.texi: Likewise.
47287 * manual/startup.texi: Likewise.
47288 * manual/stdio.texi: Likewise.
47289 * manual/string.texi: Likewise.
47290 * manual/sysinfo.texi: Likewise.
47291 * manual/syslog.texi: Likewise.
47292 * manual/terminal.texi: Likewise.
47293 * manual/time.texi: Likewise.
47294 * manual/users.texi: Likewise.
47295 * INSTALL: Regenerated.
47296 * NOTES: Regenerated.
47297 * sysdeps/gnu/errlist.c: Regenerated.
47298
47299 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47300
47301 * include/dirent.h: Include <dirstream.h> before
47302 <dirent/dirent.h>.
47303
47304 2012-02-28 David S. Miller <davem@davemloft.net>
47305
47306 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47307 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47308 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47309 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47310
47311 2012-02-27 David S. Miller <davem@davemloft.net>
47312
47313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47315 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47316 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47317
47318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47319 frame pointer instead of stack pointer relative arg slot.
47320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47321 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47322 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47323
47324 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47325
47326 [BZ #3992]
47327 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47328
47329 2012-02-27 David S. Miller <davem@davemloft.net>
47330
47331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47335 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47336 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47337 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47338 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47339
47340 2012-02-27 Joseph Myers <joseph@codesourcery.com>
47341
47342 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47343 later. Allow versions 5-9.
47344 * configure: Regenerated.
47345 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47346 required minimum version and 4.6 as recommended version. Do not
47347 mention bugs in GCC 2.7 and 2.8.
47348 * INSTALL: Regenerated.
47349
47350 2012-02-27 David S. Miller <davem@davemloft.net>
47351
47352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47356 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47357 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47358 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47359 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47360
47361 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47362 manipulate bits before adding and subtracting TWO112[sx].
47363 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47364
47365 2012-02-27 Roland McGrath <roland@hack.frob.com>
47366
47367 [BZ #13775]
47368 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47369 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47370 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47371 being in POSIX, because they are in 1003.1-2008.
47372
47373 * rt/tst-aio.c: Include <fcntl.h>.
47374 * rt/tst-aio7.c: Likewise.
47375 * rt/tst-aio64.c: Likewise.
47376
47377 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47378
47379 2012-02-27 Joseph Myers <joseph@codesourcery.com>
47380
47381 * manual/install.texi (--with-headers): Describe headers as
47382 interface headers, not private headers.
47383 (Specific advice for GNU/Linux systems): Describe use of headers
47384 from "make headers_install", not private headers from older
47385 kernels.
47386 * INSTALL: Regenerated.
47387 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47388 Change to 2.6.19.
47389 * sysdeps/unix/sysv/linux/configure: Regenerated.
47390
47391 * manual/llio.texi (fclean): Remove documentation.
47392
47393 * manual/Makefile (libc-texi-generated): New variable. Include
47394 version.texi.
47395 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47396 $(libc-texi-generated), not duplicated list of files.
47397 (version.texi, stamp-version): New rules.
47398 (realclean): Remove $(libc-texi-generated), not individual files
47399 from that list. Do not remove dir-add.texinfo.
47400 * manual/libc.texinfo: Comment out uses of edition numbers and
47401 references to printed manual. Remove last-updated dates.
47402 (EDITION): Comment out.
47403 (ISBN): Likewise.
47404 (VERSION, UPDATED): Remove.
47405 (version.texi): Include.
47406
47407 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47408
47409 * sysdeps/posix/spawni.c: Include <signal.h>.
47410 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47411 * sysdeps/pthread/aio_fsync.c: Likewise.
47412
47413 2012-02-26 Ulrich Drepper <drepper@gmail.com>
47414
47415 * conform/Makefile (tests): Run only when not cross-compiling and
47416 when fast-check is not defined.
47417
47418 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47419 * conform/data/limits.h-data: Fixes for POSIX2008.
47420 * conform/run-conformtest.sh: Run all tests.
47421 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47422 headers.
47423 * include/bits/dlfcn.h: Likewise.
47424 * include/langinfo.h: Likewise.
47425 * include/monetary.h: Likewise.
47426 * include/sys/poll.h: Likewise.
47427
47428 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47429 for __USE_GNU.
47430 * posix/spawn.h: Define __need_sigset_t.
47431 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47432 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47433 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47434 to get sigevent_t only.
47435 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47436 only for __USE_GNU.
47437 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47438 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47439 process_vm_writev only for __USE_GNU.
47440 * termios/termios.h: Declare tcgetsid also for POSIX2008.
47441
47442 * conform/Makefile: For now ignore errors from run-conformtest.
47443 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47444 POSIX to avoid namespace pollution. Don't prepend headers.
47445 * conform/data/aio.h-data: Fixes for POSIX testing.
47446 * conform/data/fcntl.h-data: Likewise.
47447 * conform/data/glob.h-data: Likewise.
47448 * conform/data/grp.h-data: Likewise.
47449 * conform/data/pthread.h-data: Likewise.
47450 * conform/data/pwd.h-data: Likewise.
47451 * conform/data/signal.h-data: Likewise.
47452 * conform/data/spawn.h-data: Likewise.
47453 * conform/data/stdio.h-data: Likewise.
47454 * conform/data/stdlib.h-data: Likewise.
47455 * conform/data/stropts.h-data: Likewise.
47456 * conform/data/sys/mman.h-data: Likewise.
47457 * conform/data/sys/stat.h-data: Likewise.
47458 * conform/data/sys/types.h-data: Likewise.
47459 * conform/data/sys/wait.h-data: Likewise.
47460 * conform/data/time.h-data: Likewise.
47461 * conform/data/unistd.h-data: Likewise.
47462 * conform/data/utime.h-data: Likewise.
47463
47464 * io/sys/stat.h: fchmod was always in POSIX.
47465 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47466 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47467 * rt/aio.h: Define __need_timespec before including <time.h>.
47468 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47469 struct. Add forward declaration of pthread_attr_t and use it in
47470 sigevent.
47471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47473 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47474 always remove CLK_TCK definition.
47475
47476 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47477
47478 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47479
47480 2012-02-25 Ulrich Drepper <drepper@gmail.com>
47481
47482 * conform/run-conformtest.sh: New file.
47483 * conform/Makefile: Run run-conformtest for tests.
47484 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47485 support.
47486
47487 * conform/data/uchar.h-data: New file.
47488 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47489 * conform/data/arpa/inet.h-data: Likewise.
47490 * conform/data/assert.h-data: Likewise.
47491 * conform/data/complex.h-data: Likewise.
47492 * conform/data/cpio.h-data: Likewise.
47493 * conform/data/ctype.h-data: Likewise.
47494 * conform/data/dirent.h-data: Likewise.
47495 * conform/data/dlfcn.h-data: Likewise.
47496 * conform/data/errno.h-data: Likewise.
47497 * conform/data/fcntl.h-data: Likewise.
47498 * conform/data/float.h-data: Likewise.
47499 * conform/data/fmtmsg.h-data: Likewise.
47500 * conform/data/fnmatch.h-data: Likewise.
47501 * conform/data/ftw.h-data: Likewise.
47502 * conform/data/glob.h-data: Likewise.
47503 * conform/data/grp.h-data: Likewise.
47504 * conform/data/iconv.h-data: Likewise.
47505 * conform/data/inttypes.h-data: Likewise.
47506 * conform/data/langinfo.h-data: Likewise.
47507 * conform/data/libgen.h-data: Likewise.
47508 * conform/data/limits.h-data: Likewise.
47509 * conform/data/locale.h-data: Likewise.
47510 * conform/data/math.h-data: Likewise.
47511 * conform/data/monetary.h-data: Likewise.
47512 * conform/data/mqueue.h-data: Likewise.
47513 * conform/data/ndbm.h-data: Likewise.
47514 * conform/data/net/if.h-data: Likewise.
47515 * conform/data/netdb.h-data: Likewise.
47516 * conform/data/netinet/in.h-data: Likewise.
47517 * conform/data/nl_types.h-data: Likewise.
47518 * conform/data/poll.h-data: Likewise.
47519 * conform/data/pthread.h-data: Likewise.
47520 * conform/data/pwd.h-data: Likewise.
47521 * conform/data/regex.h-data: Likewise.
47522 * conform/data/sched.h-data: Likewise.
47523 * conform/data/search.h-data: Likewise.
47524 * conform/data/semaphore.h-data: Likewise.
47525 * conform/data/setjmp.h-data: Likewise.
47526 * conform/data/signal.h-data: Likewise.
47527 * conform/data/spawn.h-data: Likewise.
47528 * conform/data/stdarg.h-data: Likewise.
47529 * conform/data/stdio.h-data: Likewise.
47530 * conform/data/stdlib.h-data: Likewise.
47531 * conform/data/string.h-data: Likewise.
47532 * conform/data/strings.h-data: Likewise.
47533 * conform/data/stropts.h-data: Likewise.
47534 * conform/data/sys/ipc.h-data: Likewise.
47535 * conform/data/sys/mman.h-data: Likewise.
47536 * conform/data/sys/msg.h-data: Likewise.
47537 * conform/data/sys/resource.h-data: Likewise.
47538 * conform/data/sys/select.h-data: Likewise.
47539 * conform/data/sys/sem.h-data: Likewise.
47540 * conform/data/sys/shm.h-data: Likewise.
47541 * conform/data/sys/socket.h-data: Likewise.
47542 * conform/data/sys/stat.h-data: Likewise.
47543 * conform/data/sys/statvfs.h-data: Likewise.
47544 * conform/data/sys/time.h-data: Likewise.
47545 * conform/data/sys/timeb.h-data: Likewise.
47546 * conform/data/sys/times.h-data: Likewise.
47547 * conform/data/sys/types.h-data: Likewise.
47548 * conform/data/sys/uio.h-data: Likewise.
47549 * conform/data/sys/un.h-data: Likewise.
47550 * conform/data/sys/utsname.h-data: Likewise.
47551 * conform/data/sys/wait.h-data: Likewise.
47552 * conform/data/syslog.h-data: Likewise.
47553 * conform/data/tar.h-data: Likewise.
47554 * conform/data/termios.h-data: Likewise.
47555 * conform/data/utime.h-data: Likewise.
47556 * conform/data/utmpx.h-data: Likewise.
47557 * conform/data/varargs.h-data: Likewise.
47558 * conform/data/wchar.h-data: Likewise.
47559 * conform/data/wctype.h-data: Likewise.
47560 * conform/data/wordexp.h-data: Likewise.
47561
47562 * include/stropts.h: New file.
47563 * include/uchar.h: New file.
47564 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47565 * include/assert.h: Likewise.
47566 * include/ctype.h: Likewise.
47567 * include/dirent.h: Likewise.
47568 * include/dlfcn.h: Likewise.
47569 * include/fcntl.h: Likewise.
47570 * include/fnmatch.h: Likewise.
47571 * include/glob.h: Likewise.
47572 * include/grp.h: Likewise.
47573 * include/libio.h: Likewise.
47574 * include/locale.h: Likewise.
47575 * include/math.h: Likewise.
47576 * include/net/if.h: Likewise.
47577 * include/netdb.h: Likewise.
47578 * include/netinet/in.h: Likewise.
47579 * include/pthread.h: Likewise.
47580 * include/pwd.h: Likewise.
47581 * include/regex.h: Likewise.
47582 * include/sched.h: Likewise.
47583 * include/search.h: Likewise.
47584 * include/setjmp.h: Likewise.
47585 * include/signal.h: Likewise.
47586 * include/stdio.h: Likewise.
47587 * include/stdlib.h: Likewise.
47588 * include/string.h: Likewise.
47589 * include/sys/cdefs.h: Likewise.
47590 * include/sys/mman.h: Likewise.
47591 * include/sys/msg.h: Likewise.
47592 * include/sys/resource.h: Likewise.
47593 * include/sys/select.h: Likewise.
47594 * include/sys/socket.h: Likewise.
47595 * include/sys/stat.h: Likewise.
47596 * include/sys/statvfs.h: Likewise.
47597 * include/sys/time.h: Likewise.
47598 * include/sys/times.h: Likewise.
47599 * include/sys/uio.h: Likewise.
47600 * include/sys/utsname.h: Likewise.
47601 * include/sys/wait.h: Likewise.
47602 * include/termios.h: Likewise.
47603 * include/time.h: Likewise.
47604 * include/ulimit.h: Likewise.
47605 * include/unistd.h: Likewise.
47606 * include/utime.h: Likewise.
47607 * include/wchar.h: Likewise.
47608 * include/wctype.h: Likewise.
47609 * include/wordexp.h: Likewise.
47610
47611 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47612
47613 * time/time.h: TIME_UTC must be a macro.
47614 Make timespec_get available for ISO C11 only as well.
47615
47616 2012-02-24 Ulrich Drepper <drepper@gmail.com>
47617
47618 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47619 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47620
47621 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47622
47623 * configure.in: Use -o not -a in test for unsupported multi-arch.
47624
47625 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47626
47627 * manual/texinfo.tex: Update to version 2012-01-19.16.
47628
47629 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47630
47631 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47632
47633 2012-02-24 Roland McGrath <roland@hack.frob.com>
47634
47635 [BZ #13738]
47636 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47637 * manual/fdl-1.3.texi: New file.
47638 * manual/fdl-1.1.texi: File removed.
47639
47640 [BZ #13738]
47641 * manual/libc.texinfo (FDL_VERSION): New @set.
47642 Use it for mention of FDL in cover text.
47643 (Documentation License): Use it in @include file name.
47644
47645 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47646 Roland McGrath <roland@hack.frob.com>
47647
47648 [BZ #5461]
47649 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47650 (not LONG_LONG_MAX and LONG_LONG_MIN.
47651 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47652 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47653 name.
47654 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47655
47656 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47657
47658 [BZ #2547]
47659 [BZ #11365]
47660 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47661 manipulate bits before adding and subtracting TWO23[sx].
47662 * math/libm-test.inc (nearbyint_test): Add more tests.
47663
47664 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47665
47666 [BZ #2548]
47667 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47668 bits before adding and subtracting TWO23[sx].
47669 * math/libm-test.inc (rint_test): Add more tests.
47670 (rint_test_tonearest): Likewise.
47671 (rint_test_towardzero): Likewise.
47672 (rint_test_downward): Likewise.
47673 (rint_test_upward: Likewise.
47674
47675 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47676
47677 [BZ #10110]
47678 * include/stdc-predef.h: New file. Extracted from features.h.
47679 * include/features.h: Include stdc-predef.h.
47680 * Makefile (headers): Add stdc-predef.h.
47681 * CONFORMANCE (Compiler limitations): Update.
47682
47683 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47684
47685 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47686
47687 2012-02-21 David S. Miller <davem@davemloft.net>
47688
47689 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47690 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47691
47692 2012-02-20 David S. Miller <davem@davemloft.net>
47693
47694 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47695 using a normal save/restore sequence, rather than allocating a
47696 dummy stack frame just to store a frame pointer and restore.
47697 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47698
47699 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47700
47701 * manual/install.texi: Fix stray word in line-wrapped comment.
47702
47703 2012-02-20 David S. Miller <davem@davemloft.net>
47704
47705 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47706 both binutils and gcc support GOTDATA.
47707
47708 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47709 "rd %pc" in the PIC register setup sequences.
47710
47711 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47712 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47713 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47714 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47715 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47716 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47717 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47718 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47720 (SYSCALL_ERROR_HANDLER): Likewise.
47721 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47722 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47723 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47724 (SYSCALL_ERROR_HANDLER): Likewise.
47725
47726 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47727 (HAVE_GCC_GOTDATA): New.
47728 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47729 relocation support in both binutils and gcc.
47730 * sysdeps/sparc/elf/configure: Regenerate.
47731
47732 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47733 * sysdeps/sparc/sparc32/elf/configure: Delete.
47734 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47735 * sysdeps/sparc/sparc64/elf/configure: Delete.
47736 * sysdeps/sparc/elf/configure.in: New file.
47737 * sysdeps/sparc/elf/configure: Generate.
47738
47739 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47740 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47741 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47742 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47743 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47744
47745 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47746
47747 * manual/install.texi: Do not mention specific glibc version
47748 numbers.
47749 * manual/libc.texinfo (VERSION, UPDATED): Update.
47750 (@copying): Use @copyright{} and range of years.
47751
47752 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47753
47754 [BZ #13695]
47755 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47756 [crti.S not in sysdirs] (generated): Do not append.
47757 [crti.S not in sysdirs] (omit-deps): Likewise.
47758 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47759 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47760 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47761 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47762 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47763 Likewise.
47764 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47765 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47766 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47767 * csu/defs.awk: Remove file.
47768 * sysdeps/generic/initfini.c: Likewise.
47769 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47770 variable.
47771 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47772 Likewise.
47773
47774 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47775
47776 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47777 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47778 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47779 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47780 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47781 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47782 <bits/epoll.h>.
47783 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47784 (__EPOLL_PACKED): Define to empty if not defined by
47785 <bits/epoll.h>.
47786 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47788 bits/epoll.h.
47789
47790 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47791
47792 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47793 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47794 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47795 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47796 <bits/timerfd.h>.
47797 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47799 bits/timerfd.h.
47800
47801 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47802
47803 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47804 in C locale.
47805 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47806 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47807 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47809
47810 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47811
47812 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47813 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47814
47815 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47816
47817 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47818 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47819 defined.
47820 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47821 Likewise.
47822 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47823 entry for 2.16.
47824
47825 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47826
47827 * math/w_acos.c: Use non-signaling floating-point comparisons.
47828 * math/w_acosf.c: Likewise.
47829 * math/w_acosh.c: Likewise.
47830 * math/w_acoshf.c: Likewise.
47831 * math/w_acoshl.c: Likewise.
47832 * math/w_acosl.c: Likewise.
47833 * math/w_asin.c: Likewise.
47834 * math/w_asinf.c: Likewise.
47835 * math/w_asinl.c: Likewise.
47836 * math/w_atanh.c: Likewise.
47837 * math/w_atanhf.c: Likewise.
47838 * math/w_atanhl.c: Likewise.
47839 * math/w_exp2.c: Likewise.
47840 * math/w_exp2f.c: Likewise.
47841 * math/w_exp2l.c: Likewise.
47842 * math/w_j0.c: Likewise.
47843 * math/w_j0f.c: Likewise.
47844 * math/w_j0l.c: Likewise.
47845 * math/w_j1.c: Likewise.
47846 * math/w_j1f.c: Likewise.
47847 * math/w_j1l.c: Likewise.
47848 * math/w_jn.c: Likewise.
47849 * math/w_jnf.c: Likewise.
47850 * math/w_log.c: Likewise.
47851 * math/w_log10.c: Likewise.
47852 * math/w_log10f.c: Likewise.
47853 * math/w_log10l.c: Likewise.
47854 * math/w_log2.c: Likewise.
47855 * math/w_log2f.c: Likewise.
47856 * math/w_log2l.c: Likewise.
47857 * math/w_logf.c: Likewise.
47858 * math/w_logl.c: Likewise.
47859 * math/w_sqrt.c: Likewise.
47860 * math/w_sqrtf.c: Likewise.
47861 * math/w_sqrtl.c: Likewise.
47862 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47863 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47864 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47865 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47866 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47867
47868 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47869
47870 [BZ #9739]
47871 * manual/string.texi (strnlen): Use correct parameter name in
47872 equivalent expression.
47873
47874 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47875
47876 [BZ #11174]
47877 * manual/users.texi (seteuid): Consistently use neweuid for
47878 argument name.
47879
47880 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47881
47882 [BZ #13704]
47883 * manual/nss.texi (Services in the NSS configuration): Correct
47884 list of services in example configuration file.
47885
47886 2012-02-19 Nick Bowler <nbowler@draconx.ca>
47887
47888 [BZ #11322]
47889 * manual/arith.texi: Remove statements about negative zero
47890 behaving identically to zero.
47891
47892 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47893
47894 [BZ #5993]
47895 * manual/install.texi: Do not document upgrading from libc5.
47896
47897 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47898
47899 [BZ #4596]
47900 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47901
47902 2012-02-18 David S. Miller <davem@davemloft.net>
47903
47904 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47905 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47906 %o7 across the call.
47907 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47908 instead.
47909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47910 SETUP_PIC_REG_LEAF.
47911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47912 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47913 * sysdeps/sparc/crtn.S: Likewise.
47914
47915 2012-02-17 Ulrich Drepper <drepper@gmail.com>
47916
47917 * aout/Makefile: Remove.
47918
47919 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47920
47921 [BZ #13058]
47922 * manual/examples/argp-ex1.c (main): Format definition in GNU
47923 style.
47924 * manual/examples/argp-ex2.c (main): Likewise.
47925 * manual/examples/argp-ex3.c (main): Likewise.
47926 * manual/examples/argp-ex4.c (main): Likewise.
47927 * manual/examples/longopt.c (main): Use new-style prototype
47928 definition.
47929 * manual/examples/strncat.c (main): Specify return type and use
47930 (void) for arguments.
47931 * manual/examples/subopt.c (main): Use char **argv argument.
47932
47933 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47934
47935 [BZ #5077]
47936 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47937 rounding modes.
47938
47939 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47940
47941 [BZ #6907]
47942 * manual/string.texi (strchr): Change when strchrnul is
47943 recommended.
47944
47945 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47946
47947 [BZ #174]
47948 * manual/locale.texi (setlocale): Document LOCPATH.
47949
47950 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47951
47952 [BZ #10210]
47953 * manual/process.texi (execle): Move @dots{} before last argument.
47954
47955 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
47956
47957 [BZ #12047]
47958 * manual/charset.texi (Generic Charset Conversion): Fix typo
47959 (LC_TYPE -> LC_CTYPE).
47960
47961 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47962
47963 [BZ #5805]
47964 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47965 (scalbnf): Likewise.
47966 (scalbnl): Likewise.
47967 (scalbln): Likewise.
47968 (scalblnf): Likewise.
47969 (scalblnl): Likewise.
47970 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47971 (vwarnx): Likewise.
47972 (verr): Likewise.
47973 (verrx): Likewise.
47974 * manual/filesys.texi (telldir): Use braces around return type.
47975 * manual/llio.texi (mmap): Add space after comma.
47976 (mmap64): Likewise.
47977 * manual/math.texi (jn): Use @var{} on parameter names.
47978 (jnf): Likewise.
47979 (jnl): Likewise.
47980 (yn): Likewise.
47981 (ynf): Likewise.
47982 (ynl): Likewise.
47983 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47984 line.
47985 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47986 "...".
47987 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47988 (sched_get_priority_max): Likewise.
47989 * manual/signal.texi (sigvec): Add space after comma.
47990 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47991 names.
47992 (if_indextoname): Likewise.
47993 (if_freenameindex): Likewise.
47994 (sendto): Use ',' instead of '.' in prototype.
47995 * manual/startup.texi (syscall): Use @dots{} instead of literal
47996 "...".
47997 * manual/stdio.texi (__fpending): Separate initial words of
47998 paragraph from @deftypefun line.
47999 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48000 "...".
48001 (vsyslog): Use @var{} on parameter names.
48002 * manual/terminal.texi (stty): Use @var{} on parameter names.
48003 * manual/users.texi (getutmp): Use @var{} on parameter names.
48004 (getutmpx): Likewise.
48005
48006 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48007
48008 [BZ #6884]
48009 * manual/stdio.texi (fopen): Fix typos in description of
48010 ",ccs=STRING".
48011
48012 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48013
48014 [BZ #4026]
48015 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48016 get clock_id definition.
48017
48018 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
48019
48020 [BZ #4822]
48021 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48022 (madvise): Cast every argument to void on its own.
48023
48024 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48025
48026 [BZ #9902]
48027 * manual/startup.texi (Exit Status): Fix typo.
48028
48029 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48030
48031 [BZ #10140]
48032 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48033 * manual/examples/argp-ex2.c: Likewise.
48034 * manual/examples/argp-ex3.c: Likewise.
48035
48036 2012-02-16 Richard Henderson <rth@redhat.com>
48037
48038 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48039 * sysdeps/s390/s390-32/initfini.c: Remove.
48040 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48041 * sysdeps/s390/s390-64/initfini.c: Remove.
48042
48043 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48044
48045 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48046 compiler output for sysdeps/generic/initfini.c.
48047 * sysdeps/sh/elf/initfini.c: Remove file.
48048
48049 2012-02-16 David S. Miller <davem@davemloft.net>
48050
48051 [BZ #11494]
48052 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48053
48054 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48055 * sysdeps/sparc/crti.S: New file.
48056 * sysdeps/sparc/crtn.S: New file.
48057 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48058 * sysdeps/sparc/sparc64/Makefile: Likewise.
48059
48060 2012-02-15 Mike Frysinger <vapier@gentoo.org>
48061
48062 [BZ #3335]
48063 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48064
48065 2012-02-15 Roland McGrath <roland@hack.frob.com>
48066
48067 [BZ #4822]
48068 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48069
48070 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48071 (write, read, close): Likewise.
48072 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48073
48074 2012-02-15 Joseph Myers <joseph@codesourcery.com>
48075
48076 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48077 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48078 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48079 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48080 <bits/signalfd.h>.
48081 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48083 bits/signalfd.h.
48084
48085 2012-02-14 Marek Polacek <polacek@redhat.com>
48086
48087 * sysdeps/x86_64/crti.S: New file.
48088 * sysdeps/x86_64/crtn.S: New file.
48089 * sysdeps/x86_64/elf/initfini.c: Remove file.
48090
48091 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48092
48093 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48094 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48095 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48096 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48097 <bits/inotify.h>.
48098 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48100 bits/inotify.h.
48101
48102 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48103
48104 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48105 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48106 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48107 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48108 <bits/eventfd.h>.
48109 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48111 bits/eventfd.h.
48112
48113 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48114
48115 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48116 __feraiseexcept instead of feraiseexcept.
48117
48118 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48119 nanosleep invocations.
48120 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48121 strings, and add error checking for a nanosleep invocations.
48122
48123 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48124
48125 Replace FSF snail mail address with URLs, as per GNU coding standards.
48126 Most of the snail mail addresses were wrong anyway, and omitting
48127 them makes the source code easier to maintain. Almost all of the
48128 changes are to license notices and to locale LC_IDENTIFICATION
48129 addresses, except for this one:
48130 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48131 not its snail mail address.
48132
48133 2012-02-09 Richard Henderson <rth@twiddle.net>
48134
48135 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48136 of kernel-features.h.
48137
48138 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48139
48140 2012-02-08 Marek Polacek <polacek@redhat.com>
48141
48142 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48143 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48144 * sysdeps/gnu/_G_config.h: Likewise.
48145 * sysdeps/generic/_G_config.h: Likewise.
48146
48147 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48148
48149 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48150 tests.
48151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48152
48153 * sysdeps/powerpc/powerpc32/crti.S: New file.
48154 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48155 * sysdeps/powerpc/powerpc64/crti.S: New file.
48156 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48157
48158 * Makeconfig (have-initfini): Don't set.
48159 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48160 * configure.in (nopic_initfini): Don't substitute.
48161 * config.h.in (HAVE_INITFINI): Don't #undef.
48162 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48163 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48164
48165 2012-02-08 Joseph Myers <joseph@codesourcery.com>
48166
48167 Support crti.S and crtn.S provided directly by architectures.
48168 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48169 [crti.S in sysdirs] (omit-deps): Likewise.
48170 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48171 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48172 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48173 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48174 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48175 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48176 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48177 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48178 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48179 compiler output for sysdeps/generic/initfini.c.
48180 * sysdeps/i386/elf/Makefile: Remove file.
48181 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48182
48183 2012-02-07 Marek Polacek <polacek@redhat.com>
48184
48185 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48186 * sysdeps/gnu/_G_config.h: Likewise.
48187 * sysdeps/mach/hurd/_G_config.h: Likewise.
48188
48189 2012-02-07 Marek Polacek <polacek@redhat.com>
48190
48191 * math/Makefile (tests): Add tst-CMPLX2.
48192 * math/tst-CMPLX2.c: New file.
48193
48194 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48195
48196 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48197
48198 * math/libm-test.inc (jn_test): Add missing L suffix.
48199
48200 2012-02-06 Marek Polacek <polacek@redhat.com>
48201
48202 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48203 * sysdeps/i386/fpu/e_powf.S: Likewise.
48204 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48205 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48206 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48207 * sysdeps/i386/fpu/e_pow.S: Likewise.
48208 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48209 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48210 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48211 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48212 * sysdeps/i386/fpu/e_log2.S: Likewise.
48213 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48214 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48215 * sysdeps/i386/fpu/e_powl.S: Likewise.
48216 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48217 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48218 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48219 * sysdeps/i386/fpu/e_logl.S: Likewise.
48220 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48221 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48222 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48223 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48224 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48225 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48226 * sysdeps/i386/fpu/e_log.S: Likewise.
48227 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48228 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48229 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48230 * sysdeps/i386/fpu/e_logf.S: Likewise.
48231 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48232 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48233 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48234 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48235 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48236 * sysdeps/i386/fpu/e_log10.S: Likewise.
48237 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48238 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48239 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48240 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48241 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48242 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48243 * sysdeps/i386/asm-syntax.h: Likewise.
48244 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48245 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48246 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48247 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48248 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48249 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48250 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48251 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48252 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48253 * sysdeps/powerpc/sysdep.h: Likewise.
48254 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48255 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48256
48257 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48258
48259 [BZ #411]
48260 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48261
48262 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48263
48264 * sysdeps/i386/sysdep.h: Include <features.h>.
48265 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48266 version.
48267
48268 2012-02-05 Joseph Myers <joseph@codesourcery.com>
48269
48270 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48271 Define.
48272 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48273 LOAD_PIC_REG_STR.
48274
48275 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48276
48277 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48278 (SETUP_PIC_REG): Use GET_PC_THUNK.
48279 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48280 macro.
48281
48282 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48283
48284 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48285 for non-PIC compilation.
48286 (SETUP_PIC_REG): Add .p2align directive.
48287 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48288 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48289 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48290 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48291 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48292 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48293 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48294 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48295 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48296 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48297 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48298 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48299 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48300 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48301 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48302 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48303 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48304 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48305 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48306 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48307 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48308 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48309 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48310 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48311 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48312 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48313 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48314 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48315 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48316 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48317 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48318 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48319 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48320 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48321 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48322 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48323 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48324 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48325 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48326 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48327 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48328
48329 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48330
48331 * math/tst-CMPLX.c: Include <stdio.h>.
48332
48333 2012-01-31 Joseph Myers <joseph@codesourcery.com>
48334
48335 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48336 float.
48337 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48338 * sysdeps/sparc/bits/mathdef.h: Likewise.
48339
48340 2012-01-31 Marek Polacek <polacek@redhat.com>
48341
48342 * libio/libio.h: Don't define _PARAMS.
48343 * locale/programs/config.h: Don't define PARAMS.
48344 * stdlib/strtol_l.c: Likewise.
48345 (__strtol_l): Remove PARAMS from the prototype.
48346
48347 2012-01-31 Ulrich Drepper <drepper@gmail.com>
48348
48349 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48350 names. Just use the correct names. Remove unnecessary wrapper
48351 functions.
48352 * malloc/arena.c: Likewise.
48353 * malloc/hooks.c: Likewise.
48354
48355 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48356 ARENA_TEST says not to. Simplify test for creation of a new arena.
48357 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48358
48359 2012-01-30 Ulrich Drepper <drepper@gmail.com>
48360
48361 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48362 into tail calls.
48363 (update_get_addr): New function.
48364 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48365 GET_ADDR_MODULE parameter.
48366
48367 2012-01-30 Joseph Myers <joseph@codesourcery.com>
48368
48369 * crypt/cert.c: Remove __STDC__ conditionals.
48370 * crypt/crypt-entry.c: Likewise.
48371 * crypt/crypt_util.c: Likewise.
48372 * libio/filedoalloc.c: Likewise.
48373 * libio/fileops.c: Likewise.
48374 * libio/genops.c: Likewise.
48375 * libio/iofclose.c: Likewise.
48376 * libio/iofdopen.c: Likewise.
48377 * libio/iofopen.c: Likewise.
48378 * libio/iofopen64.c: Likewise.
48379 * libio/iogetdelim.c: Likewise.
48380 * libio/iopopen.c: Likewise.
48381 * libio/obprintf.c: Likewise.
48382 * libio/oldfileops.c: Likewise.
48383 * libio/oldiofclose.c: Likewise.
48384 * libio/oldiofdopen.c: Likewise.
48385 * libio/oldiofopen.c: Likewise.
48386 * libio/oldiopopen.c: Likewise.
48387 * libio/wfiledoalloc.c: Likewise.
48388 * libio/wgenops.c: Likewise.
48389 * locale/programs/xmalloc.c: Likewise.
48390 * misc/syslog.c: Likewise.
48391 * stdio-common/xbug.c: Likewise.
48392 * string/memchr.c: Likewise.
48393 * string/memcmp.c: Likewise.
48394 * string/memrchr.c: Likewise.
48395 * string/rawmemchr.c: Likewise.
48396 * sysdeps/posix/getcwd.c: Likewise.
48397 * time/strftime_l.c: Likewise.
48398
48399 2012-01-30 Joseph Myers <joseph@codesourcery.com>
48400
48401 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48402 * config.make.in (config-cflags-sse2avx): Define.
48403 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48404 Fix typo.
48405
48406 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48407
48408 * scripts/config.guess: Update from upstream config git repository.
48409 * scripts/config.sub: Likewise.
48410
48411 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48412
48413 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48414 (EM_NUM): Update.
48415 (R_TILEPRO_*, R_TILEGX_*): New macros.
48416
48417 * scripts/firstversions.awk: Fix bug in version range handling.
48418
48419 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48420
48421 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48422
48423 * include/sys/epoll.h: New file.
48424 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48425 libc_hidden_def.
48426
48427 2012-01-28 Ulrich Drepper <drepper@gmail.com>
48428
48429 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48430 Avoid unnecessary __WORDSIZE == 64 test.
48431 (fmaxf): Use VEX format if possible.
48432 (fmax): Likewise.
48433 (fminf): Likewise.
48434 (fmin): Likewise.
48435
48436 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48437 * math/math_private.h: Remove libc_fegetround* and
48438 libc_fesetround*.
48439 * sysdeps/i386/configure.in: Check for -msse2avx.
48440 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48441 also if SSE2AVX is defined.
48442 Remove libc_fegetround* and libc_fesetround*.
48443 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48444 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48445 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48446 of HAS_YMM_USABLE.
48447 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48448 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48449 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48450 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48452
48453 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48454
48455 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48456
48457 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48458 size is not set.
48459 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48460
48461 2012-01-27 Ulrich Drepper <drepper@gmail.com>
48462
48463 [BZ #13618]
48464 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48465 relocation.
48466 * Makeconfig (libm): Define.
48467 * elf/Makefile: Add rules to build and run tst-relsort1.
48468 * elf/tst-relsort1.c: New file.
48469 * elf/tst-relsort1mod1.c: New file.
48470 * elf/tst-relsort1mod2.c: New file.
48471
48472 2012-01-27 Joseph Myers <joseph@codesourcery.com>
48473
48474 * math/s_ldexp.c: Remove __STDC__ conditionals.
48475 * math/s_ldexpf.c: Likewise.
48476 * math/s_ldexpl.c: Likewise.
48477 * math/s_nextafter.c: Likewise.
48478 * math/s_nexttowardf.c: Likewise.
48479 * math/s_significand.c: Likewise.
48480 * math/s_significandf.c: Likewise.
48481 * math/s_significandl.c: Likewise.
48482 * math/w_jnl.c: Likewise.
48483 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48484 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48485 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48486 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48487 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48488 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48489 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48490 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48491 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48492 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48493 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48494 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48495 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48496 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48497 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48498 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48499 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48500 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48501 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48502 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48503 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48504 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48505 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48506 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48507 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48508 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48509 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48510 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48511 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48512 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48513 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48514 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48515 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48516 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48517 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48518 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48519 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48520 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48521 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48522 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48523 * sysdeps/ieee754/k_standard.c: Likewise.
48524 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48525 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48526 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48527 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48528 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48529 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48530 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48531 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48532 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48533 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48534 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48535 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48536 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48537 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48538 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48539 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48540 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48541 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48542 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48543 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48544 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48545 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48546 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48547 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48548 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48549 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48550 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48552 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48553 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48554 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48555 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48556 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48557 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48558 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48559 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48560 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48561 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48562 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48563 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48564 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48566 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48567 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48568 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48569 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48570 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48571 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48572 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48573 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48574 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48575 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48576 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48577 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48578 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48579 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48580 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48581 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48582 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48583 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48584 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48585 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48586 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48587 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48588 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48589 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48590 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48591 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48592 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48593 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48594 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48595 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48596 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48597 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48598 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48599 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48600 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48601 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48602 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48603 * sysdeps/ieee754/s_matherr.c: Likewise.
48604 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48605 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48606 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48608
48609 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48610
48611 * crypt/md5.h: Remove __STDC__ conditionals.
48612 * libio/libioP.h: Likewise.
48613 * locale/programs/config.h: Likewise.
48614 * sysdeps/generic/sysdep.h: Likewise.
48615 * sysdeps/i386/asm-syntax.h: Likewise.
48616 * sysdeps/s390/asm-syntax.h: Likewise.
48617 * sysdeps/unix/sysdep.h: Likewise.
48618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48620
48621 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48622
48623 * libio/libio.h: Remove __STDC__ conditionals.
48624 * malloc/obstack.h: Likewise.
48625 * math/complex.h: Likewise.
48626 * math/math.h: Likewise.
48627 * sysdeps/generic/_G_config.h: Likewise.
48628 * sysdeps/gnu/_G_config.h: Likewise.
48629 * sysdeps/mach/hurd/_G_config.h: Likewise.
48630 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48631 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48632 * sysdeps/sparc/bits/mathdef.h: Likewise.
48633
48634 2012-01-26 Ulrich Drepper <drepper@gmail.com>
48635
48636 [BZ #13583]
48637 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48638 Clean up HAS_* macros.
48639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48640 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48641 possible.
48642 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48643 HAS_AVX.
48644 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48645 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48646 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48647 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48648 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48649
48650 2012-01-25 Joseph Myers <joseph@codesourcery.com>
48651
48652 * elf/tst-unique3.cc (gets): Remove declaration.
48653 * elf/tst-unique3lib.cc (gets): Likewise.
48654 * elf/tst-unique3lib2.cc (gets): Likewise.
48655 * elf/tst-unique4.cc (gets): Likewise.
48656
48657 2012-01-24 Ulrich Drepper <drepper@gmail.com>
48658
48659 * include/stdio.h: Add C++ protection. Add gets declarations and
48660 definitions.
48661 * debug/tst-chk1.c: Don't declare gets here.
48662 * stdio-common/tst-gets.c: Likewise.
48663
48664 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48665
48666 * posix/glob: Remove directory.
48667
48668 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48669
48670 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48671
48672 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48673
48674 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48675 of the non-standard EPFNOSUPPORT.
48676
48677 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48678
48679 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48680 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48681 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48682
48683 2012-01-21 Ulrich Drepper <drepper@gmail.com>
48684
48685 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48686
48687 2012-01-20 Ulrich Drepper <drepper@gmail.com>
48688
48689 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48690 transient errors.
48691 * nscd/grpcache.c (cache_addgr): Likewise.
48692 * nscd/hstcache.c (cache_addhst): Likewise.
48693 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48694 * nscd/pwdcache.c (cache_addpw): Likewise.
48695 * nscd/servicescache.c (cache_addserv): Likewise.
48696
48697 2012-01-16 Ulrich Drepper <drepper@gmail.com>
48698
48699 * malloc/malloc.c: Various cleanups.
48700 * malloc/hooks.c: Likewise.
48701
48702 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48703 * stdlib/bug-fmtmsg1.c: New file.
48704
48705 * stdlib/fmtmsg.c (init): Add missing unlock.
48706 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48707
48708 2012-01-12 Marek Polacek <polacek@redhat.com>
48709
48710 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48711 and _GNU_SOURCE.
48712
48713 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48714
48715 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48716 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48717 macro to ensure uniqueness of label name.
48718 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48719 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48720
48721 2012-01-11 Ulrich Drepper <drepper@gmail.com>
48722
48723 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48724
48725 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48726 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48727 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48728 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48729
48730 2012-01-10 Ulrich Drepper <drepper@gmail.com>
48731
48732 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48733
48734 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48735 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48736 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48737
48738 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48739
48740 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48741 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48742 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48743 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48744
48745 * math/bits/math-finite.h: Add ldexp support.
48746
48747 2012-01-10 Marek Polacek <polacek@redhat.com>
48748
48749 * locale/programs/localedef.h (show_archive_content): Add noreturn
48750 attribute.
48751
48752 2012-01-09 Ulrich Drepper <drepper@gmail.com>
48753
48754 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48755
48756 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48757
48758 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48759
48760 * io/Makefile (headers): Add bits/poll2.h.
48761
48762 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48763
48764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48765 typo #include statement.
48766
48767 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48768
48769 * include/sys/cdefs.h: Define __attribute_alloc_size.
48770 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48771 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48772 * elf/pldd.c: Likewise.
48773 * iconv/iconv_charmap.c: Likewise.
48774 * iconv/iconvconfig.c: Likewise.
48775 * iconv/strtab.c: Likewise.
48776 * locale/programs/locale.c: Likewise.
48777 * locale/programs/localedef.h: Likewise.
48778 * locale/programs/simple-hash.c: Likewise.
48779 * nscd/nscd.h: Likewise.
48780 * nss/makedb.c: Likewise.
48781 * sysdeps/generic/ldconfig.h: Likewise.
48782 * locale/programs/localedef.c: Remove xmalloc prototype.
48783 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48784
48785 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48786
48787 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48788 appropriate.
48789
48790 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48791
48792 * math/Makefile (tests): Add tst-CMPLX.
48793 * math/tst-CMPLX.c: New file.
48794
48795 * math/complex.h (CMPLXL): Fix typo.
48796
48797 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48798 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48799 GLIBC_2.16.
48800 * debug/tst-chk1.c: Add poll and ppoll tests.
48801 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48802 * include/sys/poll.h: Add hidden proto for ppoll.
48803 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48804 * sysdeps/mach/hurd/ppoll.c: Likewise.
48805 * io/ppoll.c: Likewise.
48806 * debug/poll_chk.c: New file.
48807 * debug/ppoll_chk.c: New file.
48808 * include/bits/poll2.h: New file.
48809 * io/bits/poll2.h: New file.
48810
48811 [BZ #1350]
48812 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48813
48814 * configure.in: static is always set to yes. Remove.
48815 * config.make.in: Don't set build-static.
48816 * Makeconfig: Remove use of build-static.
48817 * dlfcn/Makefile: Likewise.
48818 * elf/Makefile: Likewise.
48819 * math/Makefile: Likewise.
48820 * misc/Makefile: Likewise.
48821 * nptl/Makefile: Likewise.
48822 * sysdeps/mach/hurd/Makefile: Likewise.
48823
48824 * configure.in: PWD_P is not used anymore.
48825 * config.make.in: Remove PWD_P entry.
48826
48827 * configure.in: Remove last remnants of RANLIB.
48828 No need to check for signed size_t anymore.
48829 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48830 and IA-64.
48831 Remove __builtin_expect test because we require at least gcc 3.4.
48832 * aclocal.m4: Likewise.
48833
48834 * wcsmbs/mbrtoc16.c: Implement using towc function.
48835 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48836 * wcsmbs/wcsmbsload.c: Likewise.
48837 * iconv/gconv_simple.c: Likewise.
48838 * iconv/gconv_int.h: Likewise.
48839 * iconv/gconv_builtin.h: Likewise.
48840 * iconv/iconv_prog.c: Remove CHAR16 handling.
48841
48842 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48843
48844 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48845
48846 * configure.in: Remove --with-elf and --enable-bounded options.
48847 Dont set base_machine for ia64. More non-ELF conditions removed.
48848 Remove testing and setting of leading underscore information.
48849 * config.make.in (build-bounded): Set to no.
48850 * config.h.in: Remove NO_UNDERSCORES entry.
48851 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48852 them.
48853 * csu/start.c: Remove !NO_UNDERSCORE code.
48854 * locale/localeinfo.h: Likewise.
48855 * sysdeps/generic/machine-gmon.h: Likewise.
48856 * sysdeps/generic/sysdep.h: Likewise.
48857 * sysdeps/i386/sysdep.h: Likewise.
48858 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48859 * sysdeps/mach/sysdep.h: Likewise.
48860 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48861 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48862 * sysdeps/sh/sysdep.h: Likewise.
48863 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48864 * sysdeps/unix/i386/sysdep.S: Likewise.
48865 * sysdeps/unix/sparc/start.c: Likewise.
48866 * sysdeps/unix/sparc/sysdep.S: Likewise.
48867 * sysdeps/unix/sparc/sysdep.h: Likewise.
48868 * sysdeps/unix/start.c: Likewise.
48869 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48870 * sysdeps/x86_64/sysdep.h: Likewise.
48871
48872 2012-01-07 Ulrich Drepper <drepper@gmail.com>
48873
48874 [BZ #13553]
48875 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48876 for non-gcc.
48877 * argp/argp-fmtstream.h: Use const instead __const.
48878 * argp/argp.h: Likewise.
48879 * assert/assert.h: Likewise.
48880 * bits/fenv.h: Likewise.
48881 * bits/sched.h: Likewise.
48882 * bits/sigset.h: Likewise.
48883 * bits/sigthread.h: Likewise.
48884 * catgets/nl_types.h: Likewise.
48885 * conform/data/pthread.h-data: Likewise.
48886 * crypt/crypt-private.h: Likewise.
48887 * crypt/crypt.h: Likewise.
48888 * crypt/crypt_util.c: Likewise.
48889 * ctype/ctype.h: Likewise.
48890 * debug/execinfo.h: Likewise.
48891 * debug/mbsnrtowcs_chk.c: Likewise.
48892 * debug/mbsrtowcs_chk.c: Likewise.
48893 * debug/wcsnrtombs_chk.c: Likewise.
48894 * debug/wcsrtombs_chk.c: Likewise.
48895 * debug/wcstombs_chk.c: Likewise.
48896 * dirent/dirent.h: Likewise.
48897 * dlfcn/dlfcn.h: Likewise.
48898 * elf/neededtest4.c: Likewise.
48899 * grp/grp.h: Likewise.
48900 * gshadow/gshadow.h: Likewise.
48901 * iconv/gconv.h: Likewise.
48902 * iconv/gconv_int.h: Likewise.
48903 * iconv/gconv_simple.c: Likewise.
48904 * iconv/iconv.h: Likewise.
48905 * iconv/loop.c: Likewise.
48906 * iconv/skeleton.c: Likewise.
48907 * include/aio.h: Likewise.
48908 * include/aliases.h: Likewise.
48909 * include/argz.h: Likewise.
48910 * include/arpa/inet.h: Likewise.
48911 * include/assert.h: Likewise.
48912 * include/dirent.h: Likewise.
48913 * include/dlfcn.h: Likewise.
48914 * include/execinfo.h: Likewise.
48915 * include/fcntl.h: Likewise.
48916 * include/fenv.h: Likewise.
48917 * include/glob.h: Likewise.
48918 * include/grp.h: Likewise.
48919 * include/libintl.h: Likewise.
48920 * include/mntent.h: Likewise.
48921 * include/netdb.h: Likewise.
48922 * include/pwd.h: Likewise.
48923 * include/rpc/netdb.h: Likewise.
48924 * include/sched.h: Likewise.
48925 * include/search.h: Likewise.
48926 * include/shadow.h: Likewise.
48927 * include/signal.h: Likewise.
48928 * include/stdio.h: Likewise.
48929 * include/stdlib.h: Likewise.
48930 * include/string.h: Likewise.
48931 * include/sys/socket.h: Likewise.
48932 * include/sys/stat.h: Likewise.
48933 * include/sys/statfs.h: Likewise.
48934 * include/sys/statvfs.h: Likewise.
48935 * include/sys/syslog.h: Likewise.
48936 * include/sys/time.h: Likewise.
48937 * include/sys/uio.h: Likewise.
48938 * include/time.h: Likewise.
48939 * include/unistd.h: Likewise.
48940 * include/utmp.h: Likewise.
48941 * include/wchar.h: Likewise.
48942 * include/wctype.h: Likewise.
48943 * inet/aliases.h: Likewise.
48944 * inet/arpa/inet.h: Likewise.
48945 * inet/netinet/ether.h: Likewise.
48946 * inet/netinet/in.h: Likewise.
48947 * intl/libintl.h: Likewise.
48948 * io/bits/fcntl2.h: Likewise.
48949 * io/fcntl.h: Likewise.
48950 * io/ftw.h: Likewise.
48951 * io/sys/poll.h: Likewise.
48952 * io/sys/stat.h: Likewise.
48953 * io/sys/statfs.h: Likewise.
48954 * io/sys/statvfs.h: Likewise.
48955 * io/utime.h: Likewise.
48956 * libio/bits/stdio.h: Likewise.
48957 * libio/bits/stdio2.h: Likewise.
48958 * libio/libio.h: Likewise.
48959 * libio/libioP.h: Likewise.
48960 * libio/stdio.h: Likewise.
48961 * locale/lc-ctype.c: Likewise.
48962 * locale/locale.h: Likewise.
48963 * login/utmp.h: Likewise.
48964 * malloc/arena.c: Likewise.
48965 * malloc/malloc.c: Likewise.
48966 * malloc/malloc.h: Likewise.
48967 * malloc/mcheck.c: Likewise.
48968 * malloc/mtrace.c: Likewise.
48969 * math/bits/mathcalls.h: Likewise.
48970 * math/fenv.h: Likewise.
48971 * math/math_private.h: Likewise.
48972 * misc/bits/error.h: Likewise.
48973 * misc/bits/syslog.h: Likewise.
48974 * misc/err.h: Likewise.
48975 * misc/error.h: Likewise.
48976 * misc/fstab.h: Likewise.
48977 * misc/mntent.h: Likewise.
48978 * misc/regexp.h: Likewise.
48979 * misc/search.h: Likewise.
48980 * misc/sgtty.h: Likewise.
48981 * misc/sys/mman.h: Likewise.
48982 * misc/sys/syslog.h: Likewise.
48983 * misc/sys/uio.h: Likewise.
48984 * misc/sys/xattr.h: Likewise.
48985 * misc/ttyent.h: Likewise.
48986 * nis/rpcsvc/ypclnt.h: Likewise.
48987 * nss/nss.h: Likewise.
48988 * posix/bits/unistd.h: Likewise.
48989 * posix/fnmatch.h: Likewise.
48990 * posix/glob.h: Likewise.
48991 * posix/sched.h: Likewise.
48992 * posix/spawn.h: Likewise.
48993 * posix/sys/wait.h: Likewise.
48994 * posix/unistd.h: Likewise.
48995 * posix/wordexp.h: Likewise.
48996 * pwd/pwd.h: Likewise.
48997 * resolv/netdb.h: Likewise.
48998 * resource/sys/resource.h: Likewise.
48999 * rt/aio.h: Likewise.
49000 * rt/bits/mqueue2.h: Likewise.
49001 * rt/mqueue.h: Likewise.
49002 * shadow/shadow.h: Likewise.
49003 * signal/signal.h: Likewise.
49004 * socket/send.c: Likewise.
49005 * socket/sendto.c: Likewise.
49006 * socket/sys/socket.h: Likewise.
49007 * stdio-common/printf.h: Likewise.
49008 * stdlib/bits/stdlib.h: Likewise.
49009 * stdlib/fmtmsg.h: Likewise.
49010 * stdlib/monetary.h: Likewise.
49011 * stdlib/stdlib.h: Likewise.
49012 * stdlib/ucontext.h: Likewise.
49013 * streams/stropts.h: Likewise.
49014 * string/argz.h: Likewise.
49015 * string/bits/string2.h: Likewise.
49016 * string/string.h: Likewise.
49017 * string/strings.h: Likewise.
49018 * sunrpc/rpc/auth.h: Likewise.
49019 * sunrpc/rpc/auth_des.h: Likewise.
49020 * sunrpc/rpc/clnt.h: Likewise.
49021 * sunrpc/rpc/netdb.h: Likewise.
49022 * sunrpc/rpc/pmap_clnt.h: Likewise.
49023 * sunrpc/rpc/xdr.h: Likewise.
49024 * sysdeps/generic/inttypes.h: Likewise.
49025 * sysdeps/generic/net/if.h: Likewise.
49026 * sysdeps/generic/sys/swap.h: Likewise.
49027 * sysdeps/gnu/net/if.h: Likewise.
49028 * sysdeps/gnu/utmpx.h: Likewise.
49029 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49030 * sysdeps/i386/i486/bits/string.h: Likewise.
49031 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49032 * sysdeps/s390/bits/string.h: Likewise.
49033 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49034 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49035 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49036 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49037 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49038 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49039 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49040 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49041 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49042 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49043 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49044 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49045 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49046 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49047 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49048 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49049 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49051 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49052 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49053 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49054 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49055 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49056 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49057 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49058 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49059 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49060 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49061 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49062 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49063 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49064 * sysvipc/sys/ipc.h: Likewise.
49065 * sysvipc/sys/msg.h: Likewise.
49066 * sysvipc/sys/sem.h: Likewise.
49067 * sysvipc/sys/shm.h: Likewise.
49068 * termios/termios.h: Likewise.
49069 * time/sys/time.h: Likewise.
49070 * time/time.h: Likewise.
49071 * wcsmbs/bits/wchar2.h: Likewise.
49072 * wcsmbs/uchar.h: Likewise.
49073 * wcsmbs/wchar.h: Likewise.
49074 * wctype/wctype.h: Likewise.
49075
49076 [BZ #13551]
49077 * Makeconfig: Remove all but ELF support including AIX support.
49078 * Makerules: Likewise.
49079 * config.h.in: Likewise.
49080 * config.make.in: Likewise.
49081 * configure: Likewise.
49082 * configure.in: Likewise.
49083 * csu/Makefile: Likewise.
49084 * csu/version.c: Likewise.
49085 * debug/Makefile: Likewise.
49086 * dlfcn/Makefile: Likewise.
49087 * elf/Makefile: Likewise.
49088 * extra-lib.mk: Likewise.
49089 * iconv/Makefile: Likewise.
49090 * include/libc-symbols.h: Likewise.
49091 * include/shlib-compat.h: Likewise.
49092 * resolv/Makefile: Likewise.
49093 * resolv/res_libc.c: Likewise.
49094 * rt/Makefile: Likewise.
49095 * sysdeps/i386/asm-syntax.h: Likewise.
49096 * sysdeps/i386/sysdep.h: Likewise.
49097 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49098 * sysdeps/mach/sysdep.h: Likewise.
49099 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49100 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49101 * sysdeps/s390/asm-syntax.h: Likewise.
49102 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49103 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49104 * sysdeps/sh/sysdep.h: Likewise.
49105 * sysdeps/unix/sparc/sysdep.h: Likewise.
49106 * sysdeps/wordsize-32/divdi3.c: Likewise.
49107 * sysdeps/x86_64/sysdep.h: Likewise.
49108
49109 * argp/Versions: Remove _argp_unlock_xxx.
49110
49111 [BZ #13559]
49112 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49113 * abilist/libBrokenLocale.abilist: Likewise.
49114 * abilist/libanl.abilist: Likewise.
49115 * abilist/libc.abilist: Likewise.
49116 * abilist/libcrypt.abilist: Likewise.
49117 * abilist/libdl.abilist: Likewise.
49118 * abilist/libm.abilist: Likewise.
49119 * abilist/libnsl.abilist: Likewise.
49120 * abilist/libpthread.abilist: Likewise.
49121 * abilist/libresolv.abilist: Likewise.
49122 * abilist/librt.abilist: Likewise.
49123 * abilist/libthread_db.abilist: Likewise.
49124 * abilist/libutil.abilist: Likewise.
49125 * abilist/libnss_db.abilist: New file.
49126
49127 * scripts/abilist.awk: Add support for indirect functions.
49128
49129 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49130
49131 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49132
49133 * shlib-versions: Remove entries for ports architectures.
49134
49135 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49136 files in ports.
49137 * elf/stackguard-macros.h: Remove support for IA-64.
49138 * elf/tst-auditmod1.c: Likewise.
49139 * sysdeps/generic/ldsodefs.h: Likewise.
49140
49141 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49142 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49143 configure files.
49144
49145 [BZ #13552]
49146 * configure.in: Remove --enable-omitfp support.
49147 * FAQ.in: Adjust.
49148 * config.make.in: Likewise.
49149 * Makeconfig: Likewise.
49150 * manual/install.texi: Likewise.
49151
49152 In case anyone cares, the IA-64 architecture could move to ports.
49153 * sysdeps/ia64/*: Removed.
49154 * sysdeps/unix/sysv/linux/ia64/*: Removed.
49155 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49156
49157 [BZ #13555]
49158 * configure.in: Remove entries for unsupported architectures.
49159
49160 [BZ #13533]
49161 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49162 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49163 routines.
49164 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49165 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49166 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49167 fall back to using wcrtomb.
49168 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49169 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49170 renaming.
49171 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49172 * wcsmbs/tst-c16c32-1.c: New file.
49173
49174 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49175 local variable.
49176
49177 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49178
49179 * elf/tst-unique3.cc: Add explicit declaration of gets.
49180 * elf/tst-unique3lib.cc: Likewise.
49181 * elf/tst-unique3lib2.cc: Likewise.
49182 * elf/tst-unique4.cc: Likewise.
49183
49184 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49185
49186 2012-01-06 Joseph Myers <joseph@codesourcery.com>
49187
49188 [BZ #13566]
49189 * assert/assert.h (static_assert): Don't define for C++.
49190 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49191 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49192
49193 2012-01-03 Ulrich Drepper <drepper@gmail.com>
49194
49195 * iconv/loop.c (single loop): Fix assertion in storing of
49196 remaining bytes.
49197
49198 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49199
49200 2012-01-01 Ulrich Drepper <drepper@gmail.com>
49201
49202 * posix/getconf.c: Update copyright year.
49203 * nss/getent.c: Likewise.
49204 * nss/makedb.c: Likewise.
49205 * iconv/iconvconfig.c: Likewise.
49206 * iconv/iconv_prog.c: Likewise.
49207 * elf/ldconfig.c: Likewise.
49208 * elf/pldd.c: Likewise.
49209 * elf/sotruss.ksh: Likewise.
49210 * catgets/gencat.c: Likewise.
49211 * csu/version.c: Likewise.
49212 * elf/ldd.bash.in: Likewise.
49213 * elf/sprof.c (print_version): Likewise.
49214 * locale/programs/locale.c: Likewise.
49215 * locale/programs/localedef.c: Likewise.
49216 * login/programs/pt_chown.c: Likewise.
49217 * nscd/nscd.c (print_version): Likewise.
49218 * debug/xtrace.sh: Likewise.
49219 * malloc/memusage.sh: Likewise.
49220 * malloc/mtrace.pl: Likewise.
49221 * debug/catchsegv.sh: Likewise.
49222
49223 2011-12-30 Jakub Jelinek <jakub@redhat.com>
49224
49225 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49226 pure attribute.
49227
49228 2011-12-24 Ulrich Drepper <drepper@gmail.com>
49229
49230 [BZ #13533]
49231 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49232 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49233 transformations.
49234 * iconv/gconv_int.h: Likewise.
49235 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49236 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49237 from libc for GLIBC_2.16.
49238 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49239 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49240 * wcsmbs/uchar.h: Really define mbstate_t.
49241 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49242 * wcsmbs/c16rtomb.c: New file.
49243 * wcsmbs/mbrtoc16.c: New file.
49244 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49245 for C/POSIX locale.
49246 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49247 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49248
49249 * wcsmbs/wchar.h: Add missing __restrict.
49250
49251 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49252
49253 [BZ #13532]
49254 * time/Makefile (routines): Add timespec_get.
49255 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49256 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49257 timespec for ISO C11.
49258 * time/timespec_get.c: New file.
49259 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49260 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49261
49262 [BZ #13531]
49263 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49264 * stdlib/stdlib.h: Declare aligned_alloc.
49265 * Versions.def: Add GLIBC_2.16 for libc.
49266 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49267
49268 [BZ 13527]
49269 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49270 ISO C11.
49271
49272 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49273 code.
49274
49275 [BZ #13528]
49276 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49277
49278 [BZ #13529]
49279 * assert/assert.h (static_assert): Define.
49280
49281 * version.h: Update for 2.16 development version.
49282
49283 [BZ #13526]
49284 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49285 _ISOC11_SOURCE.
49286
49287 * version.h (RELEASE): Bump for 2.15 release.
49288 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49289
49290 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49291 Patch by Marek Polacek <mpolacek@redhat.com>.
49292
49293 * bits/byteswap.h: Protect long long constants with __extension__.
49294 * sysdeps/i386/bits/byteswap.h: Likewise.
49295 * sysdeps/ia64/bits/byteswap.h: Likewise.
49296 * sysdeps/s390/bits/byteswap.h: Likewise.
49297 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49298
49299 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49300
49301 [BZ #13540]
49302 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49303 destination buffer.
49304 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49305
49306 2011-12-23 Marek Polacek <polacek@redhat.com>
49307
49308 * elf/dl-addr.c (determine_info): Add inline keyword.
49309 * elf/tst-auditmod4b.c (check_avx): Likewise.
49310 * elf/tst-auditmod6b.c (check_avx): Likewise.
49311 * elf/tst-auditmod6c.c (check_avx): Likewise.
49312 * elf/tst-auditmod7b.c (check_avx): Likewise.
49313
49314 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49315
49316 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49317 !__SSE_MATH__.
49318
49319 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49320
49321 [BZ #13540]
49322 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49323 processing for last bytes.
49324
49325 2011-08-06 Bruno Haible <bruno@clisp.org>
49326
49327 [BZ #13061]
49328 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49329 U+0385, not to U+1FEE.
49330
49331 [BZ #13062]
49332 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49333 entry for U+00A5 U+0301.
49334
49335 2011-12-22 Ulrich Drepper <drepper@gmail.com>
49336
49337 [BZ #13166]
49338 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49339 buffer for the output is too small.
49340
49341 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49342 optimization.
49343
49344 [BZ #13185]
49345 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49346 SSE flags if possible.
49347
49348 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49349
49350 [BZ #13540]
49351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49352 processing for last bytes.
49353
49354 2011-12-22 Joseph Myers <joseph@codesourcery.com>
49355
49356 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49357 (syscall-list-default-options, syscall-list-default-condition)
49358 (syscall-list-includes): Define.
49359 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49360 list of ABIs and options and #if conditions for each ABI. Do not
49361 handle common syscalls between ABIs specially.
49362 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49363 Remove.
49364 (syscall-list-variants, syscall-list-32bit-options)
49365 (syscall-list-32bit-condition, syscall-list-64bit-options)
49366 (syscall-list-64bit-condition): Define.
49367 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49368 (syscall-list-variants, syscall-list-32bit-options)
49369 (syscall-list-32bit-condition, syscall-list-64bit-options)
49370 (syscall-list-64bit-condition): Define.
49371 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49372 Remove.
49373 (syscall-list-variants, syscall-list-32bit-options)
49374 (syscall-list-32bit-condition, syscall-list-64bit-options)
49375 (syscall-list-64bit-condition): Define.
49376 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49377 Remove.
49378 (syscall-list-variants, syscall-list-32bit-options)
49379 (syscall-list-32bit-condition, syscall-list-64bit-options)
49380 (syscall-list-64bit-condition): Define.
49381
49382 2011-12-22 Ulrich Drepper <drepper@gmail.com>
49383
49384 * locale/iso-639.def: Add brx entry.
49385
49386 [BZ #13328]
49387 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49388 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49389
49390 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49391 __feraiseexcept_renamed.
49392
49393 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49394
49395 [BZ #13538]
49396 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49397 EPOLLET with unsigned values.
49398 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49399 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49400
49401 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49402 to large cancellation.
49403 * math/s_cacoshf.c: Likewise.
49404 * math/s_cacoshl.c: Likewise.
49405
49406 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49407
49408 [BZ #13305]
49409 [BZ #12786]
49410 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49411 * math/s_cacoshf.c: Likewise.
49412 * math/s_cacoshl.c: Likewise.
49413
49414 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49415
49416 [BZ #13439]
49417 * iconv/gconv.h: Define __GCONV_SWAP.
49418 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49419 * iconvdata/utf-16.c: Likewise.
49420 * iconvdata/utf-32.c: Likewise.
49421
49422 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49423
49424 [BZ #13524]
49425 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49426 numerator after shifting it by one limb.
49427
49428 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49429
49430 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49431 under [__USE_EXTERN_INLINES].
49432
49433 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49434
49435 [BZ #13446]
49436 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49437
49438 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49439
49440 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49441 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49442 optimized code.
49443 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49444 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49445 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49446 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49447 for strncasecmp/strncasecmp_l compilation.
49448 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49449 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49450
49451 2011-12-08 Marek Polacek <mpolacek@redhat.com>
49452
49453 [BZ #13484]
49454 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49455 of __asm__.
49456
49457 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49458
49459 [BZ #13506]
49460 * time/tzfile.c (__tzfile_read): Check values from file header.
49461
49462 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49463
49464 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49465 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49466 * powerpc/powerpc32/dl-start.S: Likewise.
49467 * powerpc/powerpc32/elf/start.S: Likewise.
49468 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49469 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49470 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49471 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49472 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49473 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49474 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49475 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49476 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49477 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49478 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49479 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49480 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49481 * powerpc/powerpc32/memset.S: Likewise.
49482 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49483 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49484 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49485 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49486 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49487 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49488 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49489 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49490 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49491 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49492 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49493 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49494 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49495
49496 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49497
49498 * math/libm-test.inc: Added more nearbyint tests.
49499 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49500 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49502 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49503
49504 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49505
49506 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49507 FD_CLOEXEC.
49508
49509 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49510
49511 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49512 Add wcscpy-ssse3 wcscpy-c.
49513 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49514 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49515 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49516 * sysdeps/x86_64/wcschr.S: New file.
49517 * sysdeps/x86_64/wcsrchr.S: New file.
49518 * string/test-strcmp.c: Remove checking of wcscmp function for
49519 wrong alignments.
49520 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49521 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49522 wcsrchr-sse2 wcsrchr-c.
49523 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49524 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49525 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49526 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49527 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49528 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49529 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49530 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49531 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49532 * wcsmbc/wcschr.c (WCSCHR): New macro.
49533
49534 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49535
49536 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49537 * wcsmbs/test-wcsrchr.c: New file.
49538 * string/test-strrchr.c: Add wcsrchr support.
49539 (WIDE): New macro.
49540 * wcsmbs/test-wcscpy.c: New file.
49541 * string/test-strcpy.c: Add wcscpy support.
49542 (WIDE): New macro.
49543
49544 2011-12-10 Ulrich Drepper <drepper@gmail.com>
49545
49546 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49547 the inner loop.
49548
49549 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49550
49551 [BZ #13472]
49552 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49553
49554 2011-12-04 Ulrich Drepper <drepper@gmail.com>
49555
49556 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49557 Minor optimizations.
49558
49559 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49560 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49561 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49562
49563 2011-12-03 Ulrich Drepper <drepper@gmail.com>
49564
49565 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49566 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49567 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49568 for gcc to avoid warnings.
49569 * inet/Makefile (tests): Add tst-checks.
49570 * inet/tst-checks.c: New file.
49571
49572 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49573 warning.
49574
49575 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49576 __wmemcmp_sse2.
49577
49578 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49579 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49580
49581 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49582
49583 2011-12-02 Ulrich Drepper <drepper@gmail.com>
49584
49585 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49586 problem.
49587
49588 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49589
49590 2011-11-29 Joseph Myers <joseph@codesourcery.com>
49591
49592 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49593 conditional on GCC version.
49594 (__arch_compare_and_exchange_val_8_acq)
49595 (__arch_compare_and_exchange_val_16_acq)
49596 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49597 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49598 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49599
49600 2011-12-02 Joseph Myers <joseph@codesourcery.com>
49601
49602 * sysdeps/sh/backtrace.c: New file.
49603
49604 2011-12-02 Andreas Schwab <schwab@redhat.com>
49605
49606 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49607 parenthesis.
49608
49609 2011-12-01 Andreas Schwab <schwab@redhat.com>
49610
49611 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49612 falling back to utime.
49613
49614 2011-11-30 Andreas Schwab <schwab@redhat.com>
49615
49616 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49617 expectations for float.
49618
49619 2011-11-29 Andreas Schwab <schwab@redhat.com>
49620
49621 * locale/weight.h (findidx): Add parameter len.
49622 * locale/weightwc.h (findidx): Likewise.
49623 * posix/fnmatch_loop.c (FCT): Adjust caller.
49624 * posix/regcomp.c (build_equiv_class): Likewise.
49625 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49626 * posix/regexec.c (check_node_accept_bytes): Likewise.
49627 * string/strcoll_l.c (STRCOLL): Likewise.
49628 * string/strxfrm_l.c (STRXFRM): Likewise.
49629
49630 2011-11-17 Ulrich Drepper <drepper@gmail.com>
49631
49632 * Makefile.in: Remove CVSOPT handling.
49633 * configure.in: Remove use of AC_REVISION.
49634 * iconvdata/Makefile (distribute): No need to filter out CVS.
49635 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49636 handling.
49637
49638 2011-11-16 Andreas Schwab <schwab@redhat.com>
49639
49640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49641 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49642 [USE_AS_STRNCASECMP_L]: Likewise.
49643 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49644 NO_TLS_DIRECT_SEG_REFS.
49645 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49646 Fix argument offsets for non-PIC.
49647 [USE_AS_STRNCASECMP_L]: Likewise.
49648 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49649 NO_TLS_DIRECT_SEG_REFS.
49650
49651 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49652
49653 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49654 O_CLOEXEC.
49655 * locale/loadlocale.c (_nl_load_locale): Likewise.
49656
49657 2011-11-15 Andreas Schwab <schwab@redhat.com>
49658
49659 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49660 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49661 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49662 (SYSCALL_GETTIME): Set errno on error.
49663
49664 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49665 count references to noai6ai_cached.
49666
49667 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49668
49669 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49670
49671 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49672 FD_CLOEXEC for /proc/self/maps.
49673
49674 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49675 FD_CLOEXEC for /proc/meminfo.
49676
49677 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49678 gai.conf.
49679
49680 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49681 FD_CLOEXEC for given file.
49682
49683 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49684
49685 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49686 FD_CLOEXEC for /etc/hosts.
49687 (_gethtent): Likewise.
49688
49689 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49690
49691 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49692 cancellation and set FD_CLOEXEC for /etc/netgroup.
49693
49694 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49695 reading /etc/publickey.
49696
49697 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49698 allow cancellation when reading /etc/group.
49699
49700 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49701 cancellation.
49702 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49703
49704 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49705 when using data file.
49706
49707 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49708
49709 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49710 (write_nis_obj): Use "c" and "e" in fopen.
49711
49712 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49713
49714 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49715
49716 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49717
49718 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49719
49720 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49721 locale.alias.
49722
49723 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49724
49725 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49726
49727 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49728
49729 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49730 file parsing and set FD_CLOEXEC.
49731
49732 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49733
49734 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49735
49736 2011-11-14 Andreas Schwab <schwab@redhat.com>
49737
49738 * malloc/arena.c (arena_get2): Don't call reused_arena when
49739 _int_new_arena failed.
49740
49741 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49742
49743 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49744 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49745 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49746 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49747 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49748 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49749 to compile strcasecmp and strncasecmp.
49750 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49751 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49752
49753 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49754
49755 2011-11-13 Ulrich Drepper <drepper@gmail.com>
49756
49757 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49758 locale-defines.sym to gen-as-const-headers.
49759 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49760 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49762 to compile strcasecmp and strncasecmp.
49763 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49764 strcasecmp_l and strncasecmp_l.
49765 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49766 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49767 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49768 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49769 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49770 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49771 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49772 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49773 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49774 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49775 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49776
49777 2011-11-12 Ulrich Drepper <drepper@gmail.com>
49778
49779 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49780 result of SYSDEP_GETTIME_CPU to retval.
49781 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49782 parameter list to macro. Remove trailing semicolon. Adjust users.
49783
49784 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49785 variable.
49786
49787 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49788 mantissa words.
49789 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49790
49791 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49792 from unused variable.
49793
49794 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49795 DWARF definitions.
49796 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49797 for assembling.
49798
49799 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49800 over namespaces.
49801
49802 * sunrpc/rpc_prot.c (rejected): Fix case value.
49803
49804 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49805 unsigned long long int to avoid warnings in shift.
49806
49807 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49808 of use of trans.
49809 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49810 variable tmp.
49811
49812 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49813 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49814 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49815
49816 * nis/nis_table.c (nis_list): Use variable of correct type for
49817 result of __follow_path call.
49818
49819 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49820
49821 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49822 of math functions ceil, trunc, floor, round, and sqrt, when
49823 avaliable on the platform.
49824 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49825 name clash.
49826 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49827 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49828 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49829
49830 2011-10-30 Marek Polacek <mpolacek@redhat.com>
49831
49832 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49833 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49834
49835 2011-11-11 Roland McGrath <roland@hack.frob.com>
49836
49837 * include/unistd.h: Fix __readlink return type.
49838 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49839
49840 2011-11-11 Ulrich Drepper <drepper@gmail.com>
49841
49842 * stdlib/ucontext.h: Undo last change for makecontext.
49843
49844 2011-11-11 Andreas Schwab <schwab@redhat.com>
49845
49846 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49847
49848 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49849 * setjmp/setjmp.h: Mark functions as non-leaf.
49850 * setjmp/bits/setjmp2.h: Likewise.
49851 * stdlib/ucontext.h: Likewise.
49852
49853 2011-11-10 Andreas Schwab <schwab@redhat.com>
49854
49855 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49856 (reused_arena): Don't check arena limit.
49857 (arena_get2): Atomically check arena limit.
49858
49859 2011-11-08 Ulrich Drepper <drepper@gmail.com>
49860
49861 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49862 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49863
49864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49865 instructions.
49866
49867 2011-11-07 Andreas Schwab <schwab@redhat.com>
49868
49869 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49870 handler when locking.
49871
49872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49873 Fix size of allocated buffer.
49874
49875 2011-11-04 Andreas Schwab <schwab@redhat.com>
49876
49877 [BZ #10103]
49878 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49879 declarations for long double functions.
49880 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49881
49882 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49883
49884 2011-11-03 Andreas Schwab <schwab@redhat.com>
49885
49886 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49887 installed.
49888
49889 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49890 is disabled.
49891
49892 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49893
49894 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49895
49896 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49897
49898 * include/alloca.h (stackinfo_alloca_round): Define.
49899 (extend_alloca): Use it.
49900 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49901 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49902 here.
49903
49904 * scripts/check-local-headers.sh: Ignore libaudit.h.
49905
49906 * nscd/Makefile (extra-objs): Make recursively expanded.
49907
49908 2011-11-01 Ulrich Drepper <drepper@gmail.com>
49909
49910 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49911 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49912
49913 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49914 * posix/tst-rfc3484-2.c: Likewise.
49915 * posix/tst-rfc3484-3.c: Likewise.
49916
49917 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49918 process_vm_writev.
49919 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49920 process_vm_writev.
49921 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49922 process_vm_writev from libc using GLIBC_2.15 version.
49923
49924 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49925
49926 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49927
49928 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49929 stack usage.
49930
49931 2011-10-31 Ulrich Drepper <drepper@gmail.com>
49932
49933 [BZ #13367]
49934 * nss/getent.c (initgroups_keys): Show error message in case no group
49935 names are given.
49936
49937 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49938 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49939 __bump_nl_timestamp.
49940 * nscd/connections (nscd_init): When host database is served open
49941 netlink socket and request notification about configuration changes.
49942 (main_loop_poll): Track netlink file descriptor and bump timestamp
49943 in case data becomes available.
49944 (main_loop_epoll): Likewise.
49945 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49946 (database_pers_head): Add extra_data fileds.
49947 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49948 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49949 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49950 Adjust caller.
49951 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49952 in6ai data, call __free_in6ai.
49953 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49954 Add -DHAVE_NETLINK.
49955 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49956 interface information. Reuse previous data if netlink timestamp
49957 is not changed.
49958 (__bump_nl_timestamp): New function.
49959 (__free_in6ai): New function.
49960
49961 2011-10-30 Ulrich Drepper <drepper@gmail.com>
49962
49963 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49964 close_not_cancel_no_status here.
49965 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49966
49967 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49968
49969 [BZ #13276]
49970 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49971 return value.
49972
49973 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49974 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49975 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49976
49977 2011-07-03 Andreas Jaeger <aj@suse.de>
49978
49979 [BZ #10709]
49980 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49981 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49982 * math/libm-test.inc (sin_test): Add test case.
49983
49984 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49985
49986 [BZ #13337]
49987 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49988 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49989
49990 * elf/chroot_canon.c (chroot_canon): Cleanups.
49991
49992 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49993
49994 [BZ #13335]
49995 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49996 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49997
49998 * string/test-strchr.c: Make usable for strchrnul testing.
49999 * string/test-strchrnul.c: New file.
50000 * string/Makefile (strop-tests): Add strchrnul.
50001
50002 * po/it.po: Update from translation team.
50003 * po/es.po: Likewise.
50004
50005 2011-10-28 Ulrich Drepper <drepper@gmail.com>
50006
50007 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50008 the three constants needed as parameters. Drop the others.
50009 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50010 __m128i_strloadu_tolower.
50011 Create and initialize variable zero and use it in all the places
50012 where _mm_setzero_si128 was used.
50013
50014 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50015 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50016 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50017 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50018 anymore.
50019 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50020 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50021 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50022 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50023 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50024 __mpranred, __mptan.
50025 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50026 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50027 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50028 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50029 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50030 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50031 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50032 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50033 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50034
50035 2011-10-28 Andreas Schwab <schwab@redhat.com>
50036
50037 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50038 redefine if SHARED.
50039 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50040
50041 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50042 wide char related routines to wcsmbs subdir.
50043
50044 2011-10-27 Andreas Schwab <schwab@redhat.com>
50045
50046 [BZ #13344]
50047 * misc/sys/cdefs.h (__THROWNL): Define.
50048 * posix/unistd.h: Use __THREADNL instead of __THREAD
50049 for memory synchronization functions.
50050
50051 2011-10-26 Roland McGrath <roland@hack.frob.com>
50052
50053 [BZ #13349]
50054 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50055 doesn't exist.
50056 * manual/stdio.texi (Obstack Streams): Node removed.
50057
50058 2011-10-26 Andreas Schwab <schwab@redhat.com>
50059
50060 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50061 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50062 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50063
50064 * math/math_private.h (math_force_eval): Allow non-addressable
50065 arguments.
50066 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50067
50068 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50069
50070 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50071 file is not needed.
50072
50073 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50074 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50075 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50076 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50077 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50078 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50079 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50080 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50081 Add AVX variants.
50082 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50083 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50084 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50085 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50086 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50087 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50088 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50089 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50090 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50091 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50092 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50093 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50094 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50095 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50096 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50097 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50098 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50099 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50100 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50101
50102 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50103 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50104
50105 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50106 place. Use VEX encoding when compiling for AVX.
50107
50108 2011-10-25 Andreas Schwab <schwab@redhat.com>
50109
50110 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50111 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50112
50113 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50114
50115 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50116
50117 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50118 useless if() expression.
50119 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50120 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50121 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50122 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50123 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50124 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50125 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50126 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50127 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50128 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50129 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50130 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50131 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50132 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50133 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50134 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50135 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50136 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50137 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50138
50139 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50140
50141 2011-10-25 Andreas Schwab <schwab@redhat.com>
50142
50143 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50144 condition.
50145 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50146
50147 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50148
50149 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50150 .text section. Avoid duplicate constants.
50151 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50152 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50153 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50154 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50155 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50158 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50159 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50160 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50161 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50162 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50163 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50164 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50165 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50166 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50167 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50168 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50169 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50170 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50171 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50172 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50173 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50174 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50175 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50176 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50177 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50178 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50179 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50180 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50181 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50182 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50183 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50184 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50185 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50186 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50187 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50188 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50189 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50190 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50191 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50192 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50193 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50194 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50195 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50196
50197 2011-10-24 Ulrich Drepper <drepper@gmail.com>
50198
50199 * sysdeps/x86_64/dla.h: Move to ...
50200 * sysdeps/x86_64/fpu/dla.h: ...here.
50201 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50202 situations. Use __builtin_fma only for gcc 4.6 and up.
50203
50204 * config.make.in: Add have-mfma4 entry.
50205 * configure.in: Substitute libc_cv_cc_fma4.
50206 * math/Makefile (dbl-only-routines): Add sincostab.
50207 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50208 Use __sincostab not sincos.
50209 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50210 name is a macro.
50211 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50212 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50213 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50214 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50215 using __copysign.
50216 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50217 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50218 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50219 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50220 and __inv.
50221 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50222 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50223 __copysign.
50224 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50225 define aliases when function name is a macro.
50226 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50227 sysdeps/ieee754/dbl-64/sincos.tbl.
50228 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50229 fma4-enabled routines.
50230 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50231 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50232 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50233 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50234 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50235 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50236 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50237 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50238 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50239 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50240 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50241 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50242 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50243 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50244 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50245 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50246 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50247 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50248 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50249 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50250 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50251 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50252 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50253 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50254 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50255 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50256 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50257 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50258 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50259 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50260
50261 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50262 rename.
50263 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50264 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50268 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50269 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50270 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50271
50272 2011-10-24 Andreas Schwab <schwab@redhat.com>
50273
50274 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50275
50276 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50277
50278 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50279
50280 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50281 prediction.
50282 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50283
50284 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50285 Remove unused variable magic_bits.
50286 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50287
50288 * string/strnlen.c: Define and use STRNLEN macro.
50289 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50290 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50292 * wcsmbs/wcslen.c: Define and use WCSLEN.
50293 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50294 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50295 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50296 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50297 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50298 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50299 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50300
50301 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50302
50303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50304 strnlen-sse2-no-bsf.
50305 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50306 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50307 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50308 Add strnlen support.
50309 (USE_AS_STRNLEN): New macro.
50310 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50311 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50312 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50313 * sysdeps/x86_64/wcslen.S: New file.
50314
50315 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50316
50317 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50318 XMM-moves are used for copying on small sizes.
50319
50320 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50321
50322 * wcsmbs/Makefile (strop-tests): Add wcschr.
50323 * wcsmbs/test-wcschr.c: New file.
50324 * string/test-strchr.c: Update.
50325 Add wcschr support.
50326 (WIDE): New macro.
50327
50328 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50329
50330 * wcsmbs/Makefile (strop-tests): Add wcslen.
50331 * wcsmbs/test-wcslen.c: New file.
50332 * string/test-strlen.c: Update.
50333 Add wcslen support.
50334 (WIDE): New macro.
50335
50336 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50337
50338 * po/it.po: Update from translation team.
50339
50340 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50341
50342 * sysdeps/x86_64/wcscmp.S: Update.
50343 Fix wrong comparison semantics.
50344 wcscmp shall use signed comparison not unsigned.
50345 Don't use substraction to avoid overflow bug.
50346 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50347 * wcsmbc/wcscmp.c: Likewise.
50348 * string/test-strcmp.c: Likewise.
50349 Add new tests to check cases with negative values.
50350
50351 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50352
50353 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50354 * sysdeps/x86_64/dla.h: ...here. New file.
50355 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50356 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50357 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50358 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50360 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50362 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50363 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50364
50365 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50366
50367 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50368 __ynl_finite aliases.
50369
50370 2011-10-22 Ulrich Drepper <drepper@gmail.com>
50371
50372 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50373
50374 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50375 define DLA_FMA.
50376 [DLA_FMA] (EMULV): Use DLA_FMA.
50377 [DLA_FMA] (MUL12): Use EMULV.
50378 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50379 that are not needed.
50380 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50381 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50384 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50385 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50386 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50387
50388 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50389
50390 * math/s_nan.c: Undef __nan.
50391 * math/s_nanf.c: Undef __nanf.
50392 * math/s_nanl.c: Undef __nanl.
50393 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50394 "math_private.h".
50395
50396 2011-10-22 Ulrich Drepper <drepper@gmail.com>
50397
50398 * math/s_catan.c: Add branch predictions.
50399 * math/s_catanf.c: Likewise.
50400 * math/s_catanh.c: Likewise.
50401 * math/s_catanhf.c: Likewise.
50402 * math/s_catanhl.c: Likewise.
50403 * math/s_catanl.c: Likewise.
50404 * math/s_cexp.c: Likewise.
50405 * math/s_cexpf.c: Likewise.
50406 * math/s_cexpl.c: Likewise.
50407 * math/s_clog.c: Likewise.
50408 * math/s_clog10.c: Likewise.
50409 * math/s_clog10f.c: Likewise.
50410 * math/s_clog10l.c: Likewise.
50411 * math/s_clogf.c: Likewise.
50412 * math/s_clogl.c: Likewise.
50413 * math/s_csqrt.c: Likewise.
50414 * math/s_csqrtf.c: Likewise.
50415 * math/s_csqrtl.c: Likewise.
50416 * math/s_ctanf.c: Likewise.
50417 * math/s_ctanh.c: Likewise.
50418 * math/s_ctanhf.c: Likewise.
50419 * math/s_ctanhl.c: Likewise.
50420 * math/s_ctanl.c: Likewise.
50421
50422 * math/math_private.h: Define __nan, __nanf, __nanl.
50423 * math/s_cacosh.c: Include <math_private.h>.
50424 * math/s_cacoshl.c: Likewise.
50425 * math/s_casinh.c: Likewise.
50426 * math/s_casinhf.c: Likewise.
50427 * math/s_casinhl.c: Likewise.
50428 * math/s_ccos.c: Rely entire on ccosh.
50429 * math/s_ccosf.c: Rely entire on ccoshf.
50430 * math/s_ccosl.c: Rely entirely on ccoshl.
50431 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50432 Remove tests for FE_INVALID.
50433 * math/s_ccoshf.c: Likewise.
50434 * math/s_ccoshl.c: Likewise.
50435 * math/s_csin.c: Likewise.
50436 * math/s_csinf.c: Likewise.
50437 * math/s_csinh.c Likewise.
50438 * math/s_csinhf.c: Likewise.
50439 * math/s_csinhl.c: Likewise.
50440 * math/s_csinl.c: Likewise.
50441 * math/s_ctan.c: Likewise.
50442 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50443 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50444 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50445
50446 2011-10-21 Ulrich Drepper <drepper@gmail.com>
50447
50448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50449 compilation problems.
50450
50451 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50452 __builtin_expect.
50453
50454 2011-10-20 Ulrich Drepper <drepper@gmail.com>
50455
50456 * sysdeps/i386/configure.in: Test for -mfma4 option.
50457 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50458 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50459 COMMON_CPUID_INDEX_80000001.
50460 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50461 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50462 use it if FMA3 is not supported.
50463 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50464
50465 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50466 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50467
50468 2011-10-20 Andreas Schwab <schwab@redhat.com>
50469
50470 [BZ #12892]
50471 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50472 it would create a cycle with a link time dependency.
50473
50474 2011-10-19 Ulrich Drepper <drepper@gmail.com>
50475
50476 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50477 instruction.
50478 * string/Makefile (strop-tests): Add rawmemchr.
50479 * string/test-rawmemchr.c: New file.
50480
50481 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50482 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50483 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50484 when compiling str{,n}casecmp and when AVX is available. Hook up
50485 new optimized code in initializers.
50486
50487 2011-10-19 Andreas Schwab <schwab@redhat.com>
50488
50489 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50490 __feraiseexcept instead of feraiseexcept.
50491
50492 2011-10-18 Ulrich Drepper <drepper@gmail.com>
50493
50494 * math/math_private.h: Define defaults for libc_fetestexcept and
50495 libc_feupdateenv.
50496 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50497 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50498 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50499 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50500 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50501 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50502 libc_fetestexcept and libc_feupdateenv.
50503
50504 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50505 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50506 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50507 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50508 libc_feholdexcept_setround.
50509
50510 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50511 Add s_nearbyint-c and s_nearbyintf-c.
50512 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50513 nearbyintf inlines.
50514 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50515 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50516 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50517 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50518
50519 * math/math_private.h: Define defaults for libc_fegetround,
50520 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50521 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50522 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50523 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50524 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50525 standard functions.
50526 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50527 Remove comments and hacks for old compiler versions.
50528 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50529 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50530 libc_feholdexceptl.
50531
50532 2011-10-18 Andreas Schwab <schwab@redhat.com>
50533
50534 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50535 (__feraiseexcept_renamed): Add __NTH.
50536 (feraiseexcept): Add __NTH. Rename local variables to fix
50537 namespace violations.
50538
50539 2011-10-17 Ulrich Drepper <drepper@gmail.com>
50540
50541 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50542
50543 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50544
50545 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50546 recently added interfaces.
50547 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50548
50549 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50550 about macro parameter expansion.
50551
50552 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50553 __NO_MATH_INLINES is defined. Cleanups.
50554
50555 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50556 and __floorf is target has SSE4.1.
50557 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50558 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50559 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50560 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50561
50562 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50563 name.
50564 (floorf): Likewise.
50565
50566 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50567
50568 2011-10-17 Andreas Schwab <schwab@redhat.com>
50569
50570 * misc/sys/cdefs.h: Fix last change.
50571
50572 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50573 database lookup.
50574
50575 2011-10-16 Ulrich Drepper <drepper@gmail.com>
50576
50577 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50578
50579 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50580 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50581 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50582 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50583 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50584 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50585 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50586 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50587 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50588 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50589 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50590 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50591 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50592 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50593 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50594 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50595 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50596 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50597 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50598 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50599 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50600 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50601
50602 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50603 ceil, ceilf, floor, floorf.
50604
50605 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50606 Perform IRELATIVE relocations last.
50607
50608 * elf/do-rel.h: Add another parameter nrelative, replacing the
50609 local variable with the same name. Change name of the function
50610 to end in Rel or Rela (uppercase).
50611 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50612 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50613 elf_dynamic_do_##reloc function.
50614
50615 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50616
50617 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50618 is sufficient, at least on modern CPUs.
50619
50620 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50621
50622 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50623 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50624
50625 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50626 __expl_finite.
50627 * math/bits/math-finite.h: Add entries for exp.
50628 * math/e_expl.c: Add __*_finite alias.
50629 * sysdeps/i386/fpu/e_exp.S: Likewise.
50630 * sysdeps/i386/fpu/e_expf.S: Likewise.
50631 * sysdeps/i386/fpu/e_expl.c: Likewise.
50632 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50633 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50634 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50635 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50636 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50637 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50638 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50639
50640 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50641 is sufficient, at least on modern CPUs.
50642
50643 * ctype/ctype-info.c (__ctype_init): Define.
50644 * include/ctype.h (__ctype_init): Declare.
50645 (__ctype_b_loc): The variable is always initialized.
50646 (__ctype_toupper_loc): Likewise.
50647 (__ctype_tolower_loc): Likewise.
50648 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50649 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50650
50651 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50652
50653 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50654
50655 * configure.in: Also look in $cxxmachine/include for C++ system
50656 headers.
50657
50658 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50659
50660 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50661 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50662 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50663 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50664 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50665 (USE_AS_WMEMCMP): New macro.
50666 Fixing indents.
50667 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50668 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50669 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50670 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50672 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50673 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50674 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50675 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50676 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50677 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50678 (USE_AS_WMEMCMP): New macro.
50679 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50680 * sysdeps/string/test-memcmp.c: Update.
50681 Fix simple_wmemcmp.
50682 Add new tests.
50683 * wcsmbs/wmemcmp.c: Update.
50684 (WMEMCMP): New macro.
50685 Fix overflow bug.
50686
50687 2011-10-12 Andreas Jaeger <aj@suse.de>
50688
50689 [BZ #13268]
50690 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50691
50692 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50693
50694 * libio/iofwide.c (do_length): Avoid warning.
50695
50696 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50697
50698 2011-10-14 Ulrich Drepper <drepper@gmail.com>
50699
50700 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50701
50702 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50703 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50704 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50705 * sysdeps/i386/i686/fpu/e_log.S: New file.
50706 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50707 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50708
50709 * ctype/ctype.h: Add support for inlined isXXX functions when
50710 compiling C++ code.
50711
50712 2011-10-14 Andreas Schwab <schwab@redhat.com>
50713
50714 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50715
50716 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50717
50718 2011-10-13 Roland McGrath <roland@hack.frob.com>
50719
50720 [BZ #13291]
50721 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50722
50723 2011-10-13 Andreas Schwab <schwab@redhat.com>
50724
50725 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50726 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50727 feraiseexcept.
50728
50729 * sysdeps/x86_64/memrchr.S: Check for zero size.
50730
50731 * string/stratcliff.c: Add memrchr tests.
50732
50733 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50734
50735 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50736 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50737 rawmemchr-sse2 rawmemchr-sse2-bsf.
50738 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50739 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50740 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50741 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50742 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50743 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50744 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50745 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50746 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50747 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50748 * string/memrchr.c (MEMRCHR): New macro.
50749
50750 2011-10-12 Ulrich Drepper <drepper@gmail.com>
50751
50752 Add integration with gcc's -ffinite-math-only and optimize wrapper
50753 functions in libm.
50754 * Versions.def: Define GLIBC_2.15 version for libm.
50755 * math/Makefile (headers): Add bits/math-finite.h.
50756 * math/bits/math-finite.h: New file.
50757 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50758 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50759 * math/e_acoshl.c: Add __*_finite alias.
50760 * math/e_acosl.c: Likewise.
50761 * math/e_asinl.c: Likewise.
50762 * math/e_atan2l.c: Likewise.
50763 * math/e_atanhl.c: Likewise.
50764 * math/e_coshl.c: Likewise.
50765 * math/e_exp10.c: Likewise.
50766 * math/e_exp10f.c: Likewise.
50767 * math/e_exp10l.c: Likewise.
50768 * math/e_exp2l.c: Likewise.
50769 * math/e_fmodl.c: Likewise.
50770 * math/e_gammal_r.c: Likewise.
50771 * math/e_hypotl.c: Likewise.
50772 * math/e_j0l.c: Likewise.
50773 * math/e_j1l.c: Likewise.
50774 * math/e_jnl.c: Likewise.
50775 * math/e_lgammal_r.c: Likewise.
50776 * math/e_log10l.c: Likewise.
50777 * math/e_log2l.c: Likewise.
50778 * math/e_logl.c: Likewise.
50779 * math/e_powl.c: Likewise.
50780 * math/e_sinhl.c: Likewise.
50781 * math/e_sqrtl.c: Likewise.
50782 * math/e_scalb.c: Completely rewritten and optimized.
50783 * math/e_scalbf.c: Likewise.
50784 * math/e_scalbl.c: Likewise.
50785 * math/w_acos.c: Likewise.
50786 * math/w_acosf.c: Likewise.
50787 * math/w_acosl.c: Likewise.
50788 * math/w_acosh.c: Likewise.
50789 * math/w_acoshf.c: Likewise.
50790 * math/w_acoshl.c: Likewise.
50791 * math/w_asin.c: Likewise.
50792 * math/w_asinf.c: Likewise.
50793 * math/w_asinl.c: Likewise.
50794 * math/w_atan2.c: Likewise.
50795 * math/w_atan2f.c: Likewise.
50796 * math/w_atan2l.c: Likewise.
50797 * math/w_atanh.c: Likewise.
50798 * math/w_atanhf.c: Likewise.
50799 * math/w_atanhl.c: Likewise.
50800 * math/w_exp10.c: Likewise.
50801 * math/w_exp10f.c: Likewise.
50802 * math/w_exp10l.c: Likewise.
50803 * math/w_fmod.c: Likewise.
50804 * math/w_fmodf.c: Likewise.
50805 * math/w_fmodl.c: Likewise.
50806 * math/w_j0.c: Likewise.
50807 * math/w_j0f.c: Likewise.
50808 * math/w_j0l.c: Likewise.
50809 * math/w_j1.c: Likewise.
50810 * math/w_j1f.c: Likewise.
50811 * math/w_j1l.c: Likewise.
50812 * math/w_jn.c: Likewise.
50813 * math/w_jnf.c: Likewise.
50814 * math/w_log.c: Likewise.
50815 * math/w_logf.c: Likewise.
50816 * math/w_logl.c: Likewise.
50817 * math/w_log10.c: Likewise.
50818 * math/w_log10f.c: Likewise.
50819 * math/w_log10l.c: Likewise.
50820 * math/w_log2.c: Likewise.
50821 * math/w_log2f.c: Likewise.
50822 * math/w_log2l.c: Likewise.
50823 * math/w_pow.c: Likewise.
50824 * math/w_powf.c: Likewise.
50825 * math/w_powl.c: Likewise.
50826 * math/w_remainder.c: Likewise.
50827 * math/w_remainderf.c: Likewise.
50828 * math/w_remainderl.c: Likewise.
50829 * math/w_scalb.c: Likewise.
50830 * math/w_scalbf.c: Likewise.
50831 * math/w_scalbl.c: Likewise.
50832 * math/w_sqrt.c: Likewise.
50833 * math/w_sqrtf.c: Likewise.
50834 * math/w_sqrtl.c: Likewise.
50835 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50836 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50837 used.
50838 * math/math_private.h: Declare __kernel_standard_f.
50839 * math/w_cosh.c: Remove cruft and optimize a bit.
50840 * math/w_coshf.c: Likewise.
50841 * math/w_coshl.c: Likewise.
50842 * math/w_exp2.c: Likewise.
50843 * math/w_exp2f.c: Likewise.
50844 * math/w_exp2l.c: Likewise.
50845 * math/w_hypot.c: Likewise.
50846 * math/w_hypotf.c: Likewise.
50847 * math/w_hypotl.c: Likewise.
50848 * math/w_lgamma.c: Likewise.
50849 * math/w_lgamma_r.c: Likewise.
50850 * math/w_lgammaf.c: Likewise.
50851 * math/w_lgammaf_r.c: Likewise.
50852 * math/w_lgammal.c: Likewise.
50853 * math/w_lgammal_r.c: Likewise.
50854 * math/w_sinh.c: Likewise.
50855 * math/w_sinhf.c: Likewise.
50856 * math/w_sinhl.c: Likewise.
50857 * math/w_tgamma.c: Likewise.
50858 * math/w_tgammaf.c: Likewise.
50859 * math/w_tgammal.c: Likewise.
50860 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50861 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50862 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50863 Minor optimizations. Pretty printing. Remove cruft.
50864 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50865 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50866 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50867 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50868 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50869 * sysdeps/i386/fpu/e_asin.S: Likewise.
50870 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50871 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50872 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50873 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50874 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50875 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50876 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50877 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50878 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50879 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50880 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50881 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50882 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50883 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50884 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50885 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50886 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50887 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50888 * sysdeps/i386/fpu/e_log.S: Likewise.
50889 * sysdeps/i386/fpu/e_log10.S: Likewise.
50890 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50891 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50892 * sysdeps/i386/fpu/e_log2.S: Likewise.
50893 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50894 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50895 * sysdeps/i386/fpu/e_logf.S: Likewise.
50896 * sysdeps/i386/fpu/e_logl.S: Likewise.
50897 * sysdeps/i386/fpu/e_pow.S: Likewise.
50898 * sysdeps/i386/fpu/e_powf.S: Likewise.
50899 * sysdeps/i386/fpu/e_powl.S: Likewise.
50900 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50901 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50902 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50903 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50904 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50905 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50906 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50907 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50908 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50909 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50910 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50912 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50913 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50914 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50915 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50916 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50917 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50918 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50919 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50920 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50922 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50923 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50925 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50926 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50927 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50928 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50929 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50930 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50931 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50932 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50933 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50934 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50935 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50936 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50937 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50938 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50939 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50940 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50941 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50942 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50943 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50944 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50945 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50946 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50947 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50948 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50949 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50950 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50951 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50952 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50953 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50954 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50955 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50956 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50957 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50958 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50959 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50960 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50961 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50962 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50963 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50964 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50965 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50966 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50967 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50968 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50969 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50970 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50971 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50972 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50973 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50974 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50975 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50976 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50977 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50978 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50979 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50980 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50981 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50982 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50983 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50984 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50985 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50986 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50987 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50988 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50989 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50990 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50991 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50992 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50993 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50994 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50995 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50996 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50997 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50998 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50999 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51000 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51001 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51002 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51003 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51004 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51005 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51006 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51007 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51008 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51009 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51010 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51011 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51012 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51013 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51014 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51015 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51016 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51017 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51018 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51019 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51020 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51021 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51022 (__isnanf): Likewise.
51023 (__isinf_ns): Likewise.
51024 (__isinf_nsf): Likewise.
51025 (__finite): Likewise.
51026 (__finitef): Likewise.
51027 (__ieee754_sqrt): Define as macro.
51028 (__ieee754_sqrtf): Define as macro.
51029 (__ieee754_sqrtl): Define as macro.
51030 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51031 inlined copy.
51032 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51033 __FINITE_MATH_ONLY__ consistent.
51034 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51035
51036 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51037
51038 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51039 of rawmemchr.
51040
51041 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51042
51043 2011-10-09 Ulrich Drepper <drepper@gmail.com>
51044
51045 * po/ja.po: Update from translation team.
51046
51047 2011-10-08 Roland McGrath <roland@hack.frob.com>
51048
51049 * locale/programs/locarchive.c (prepare_address_space): New function.
51050 (create_archive, enlarge_archive, open_archive): Use it.
51051
51052 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51053 inside [SHARED], where it is used.
51054
51055 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51056
51057 * nss/getent.c (netgroup_keys): Remove unused variable.
51058 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51059
51060 2011-10-08 Ulrich Drepper <drepper@gmail.com>
51061
51062 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51063 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51064 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51065 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51066 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51067 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51068 * math/Makefile (libm-calls): Add s_isinf_ns.
51069 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51070 * math/multc3.c: Likewise.
51071 * math/s_casin.c: Likewise.
51072 * math/s_casinf.c: Likewise.
51073 * math/s_casinl.c: Likewise.
51074 * math/s_ccos.c: Likewise.
51075 * math/s_ccosf.c: Likewise.
51076 * math/s_ccosl.c: Likewise.
51077 * math/s_ctan.c: Likewise.
51078 * math/s_ctanf.c: Likewise.
51079 * math/s_ctanh.c: Likewise.
51080 * math/s_ctanhf.c: Likewise.
51081 * math/s_ctanhl.c: Likewise.
51082 * math/s_ctanl.c: Likewise.
51083 * math/w_fmod.c: Likewise.
51084 * math/w_fmodf.c: Likewise.
51085 * math/w_fmodl.c: Likewise.
51086 * math/w_remainder.c: Likewise.
51087 * math/w_remainderf.c: Likewise.
51088 * math/w_remainderl.c: Likewise.
51089 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51090 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51091 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51092 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51093 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51094 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51095 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51096 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51097
51098 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51099 of the number.
51100 * stdio-common/printf_fphex.c: Likewise.
51101 * stdio-common/printf_size.c: Likewise.
51102
51103 * math/e_exp10.c: Include math_private.h using <...> not "...".
51104 * math/e_exp10f.c: Likewise.
51105 * math/e_exp10l.c: Likewise.
51106 * math/e_exp2l.c: Likewise.
51107 * math/e_j0l.c: Likewise.
51108 * math/e_j1l.c: Likewise.
51109 * math/e_jnl.c: Likewise.
51110 * math/e_lgammal_r.c: Likewise.
51111 * math/e_rem_pio2l.c: Likewise.
51112 * math/e_scalb.c: Likewise.
51113 * math/e_scalbf.c: Likewise.
51114 * math/e_scalbl.c: Likewise.
51115 * math/k_cosl.c: Likewise.
51116 * math/k_sinl.c: Likewise.
51117 * math/k_tanl.c: Likewise.
51118 * math/s_cacoshf.c: Likewise.
51119 * math/s_catan.c: Likewise.
51120 * math/s_catanf.c: Likewise.
51121 * math/s_catanh.c: Likewise.
51122 * math/s_catanhf.c: Likewise.
51123 * math/s_catanhl.c: Likewise.
51124 * math/s_catanl.c: Likewise.
51125 * math/s_ccosh.c: Likewise.
51126 * math/s_ccoshf.c: Likewise.
51127 * math/s_ccoshl.c: Likewise.
51128 * math/s_cexp.c: Likewise.
51129 * math/s_cexpf.c: Likewise.
51130 * math/s_cexpl.c: Likewise.
51131 * math/s_clog.c: Likewise.
51132 * math/s_clog10.c: Likewise.
51133 * math/s_clog10f.c: Likewise.
51134 * math/s_clog10l.c: Likewise.
51135 * math/s_clogf.c: Likewise.
51136 * math/s_clogl.c: Likewise.
51137 * math/s_csin.c: Likewise.
51138 * math/s_csinf.c: Likewise.
51139 * math/s_csinh.c: Likewise.
51140 * math/s_csinhf.c: Likewise.
51141 * math/s_csinhl.c: Likewise.
51142 * math/s_csinl.c: Likewise.
51143 * math/s_csqrt.c: Likewise.
51144 * math/s_csqrtf.c: Likewise.
51145 * math/s_csqrtl.c: Likewise.
51146 * math/s_ctan.c: Likewise.
51147 * math/s_ctanf.c: Likewise.
51148 * math/s_ctanh.c: Likewise.
51149 * math/s_ctanhf.c: Likewise.
51150 * math/s_ctanhl.c: Likewise.
51151 * math/s_ctanl.c: Likewise.
51152 * math/s_ldexp.c: Likewise.
51153 * math/s_ldexpf.c: Likewise.
51154 * math/s_ldexpl.c: Likewise.
51155 * math/s_significand.c: Likewise.
51156 * math/s_significandf.c: Likewise.
51157 * math/s_significandl.c: Likewise.
51158 * math/w_acos.c: Likewise.
51159 * math/w_acosf.c: Likewise.
51160 * math/w_acosh.c: Likewise.
51161 * math/w_acoshf.c: Likewise.
51162 * math/w_acoshl.c: Likewise.
51163 * math/w_acosl.c: Likewise.
51164 * math/w_asin.c: Likewise.
51165 * math/w_asinf.c: Likewise.
51166 * math/w_asinl.c: Likewise.
51167 * math/w_atan2.c: Likewise.
51168 * math/w_atan2f.c: Likewise.
51169 * math/w_atan2l.c: Likewise.
51170 * math/w_atanh.c: Likewise.
51171 * math/w_atanhf.c: Likewise.
51172 * math/w_atanhl.c: Likewise.
51173 * math/w_cosh.c: Likewise.
51174 * math/w_coshf.c: Likewise.
51175 * math/w_coshl.c: Likewise.
51176 * math/w_dremf.c: Likewise.
51177 * math/w_exp10.c: Likewise.
51178 * math/w_exp10f.c: Likewise.
51179 * math/w_exp10l.c: Likewise.
51180 * math/w_exp2.c: Likewise.
51181 * math/w_exp2f.c: Likewise.
51182 * math/w_fmod.c: Likewise.
51183 * math/w_fmodf.c: Likewise.
51184 * math/w_fmodl.c: Likewise.
51185 * math/w_hypot.c: Likewise.
51186 * math/w_hypotf.c: Likewise.
51187 * math/w_hypotl.c: Likewise.
51188 * math/w_j0.c: Likewise.
51189 * math/w_j0f.c: Likewise.
51190 * math/w_j0l.c: Likewise.
51191 * math/w_j1.c: Likewise.
51192 * math/w_j1f.c: Likewise.
51193 * math/w_j1l.c: Likewise.
51194 * math/w_jn.c: Likewise.
51195 * math/w_jnf.c: Likewise.
51196 * math/w_jnl.c: Likewise.
51197 * math/w_lgamma.c: Likewise.
51198 * math/w_lgamma_r.c: Likewise.
51199 * math/w_lgammaf.c: Likewise.
51200 * math/w_lgammaf_r.c: Likewise.
51201 * math/w_lgammal.c: Likewise.
51202 * math/w_lgammal_r.c: Likewise.
51203 * math/w_log.c: Likewise.
51204 * math/w_log10.c: Likewise.
51205 * math/w_log10f.c: Likewise.
51206 * math/w_log10l.c: Likewise.
51207 * math/w_log2.c: Likewise.
51208 * math/w_log2f.c: Likewise.
51209 * math/w_log2l.c: Likewise.
51210 * math/w_logf.c: Likewise.
51211 * math/w_logl.c: Likewise.
51212 * math/w_pow.c: Likewise.
51213 * math/w_powf.c: Likewise.
51214 * math/w_powl.c: Likewise.
51215 * math/w_remainder.c: Likewise.
51216 * math/w_remainderf.c: Likewise.
51217 * math/w_remainderl.c: Likewise.
51218 * math/w_scalb.c: Likewise.
51219 * math/w_scalbf.c: Likewise.
51220 * math/w_scalbl.c: Likewise.
51221 * math/w_sinh.c: Likewise.
51222 * math/w_sinhf.c: Likewise.
51223 * math/w_sinhl.c: Likewise.
51224 * math/w_sqrt.c: Likewise.
51225 * math/w_sqrtf.c: Likewise.
51226 * math/w_sqrtl.c: Likewise.
51227 * math/w_tgamma.c: Likewise.
51228 * math/w_tgammaf.c: Likewise.
51229 * math/w_tgammal.c: Likewise.
51230
51231 * po/ja.po: Update from translation team.
51232
51233 2011-09-29 Andreas Jaeger <aj@suse.de>
51234
51235 [BZ #13179]
51236 * sunrpc/netname.c (netname2host): Fix logic.
51237
51238 [BZ #6779]
51239 [BZ #6783]
51240 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51241 correctly.
51242 * math/w_remainder.c (__remainder): Likewise.
51243 * math/w_remainderf.c (__remainderf): Likewise.
51244 * math/libm-test.inc (remainder_test): Add test cases.
51245
51246 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51247
51248 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51249 sdiv_qrnnd.
51250
51251 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51252
51253 * string/test-memcmp.c: Avoid unncessary #defines.
51254 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51255
51256 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51257
51258 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51259 Use new sse2 version for core i3 - i7 as it's faster
51260 than sse42 version.
51261 (bit_Prefer_PMINUB_for_stringop): New.
51262 * sysdeps/x86_64/rawmemchr.S: Update.
51263 Replace with faster SSE2 version.
51264 * sysdeps/x86_64/memrchr.S: New file.
51265 * sysdeps/x86_64/memchr.S: Update.
51266 Replace with faster SSE2 version.
51267
51268 2011-09-12 Marek Polacek <mpolacek@redhat.com>
51269
51270 * elf/dl-load.c (lose): Add cast to avoid warning.
51271
51272 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51273
51274 * po/ca.po: Update from translation team.
51275
51276 * inet/getnetgrent_r.c: Hook up nscd.
51277 * nscd/Makefile (routines): Add nscd_netgroup.
51278 (nscd-modules): Add netgroupcache.
51279 (CFLAGS-netgroupcache.c): Define.
51280 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51281 (cache_search): Add const to second parameter.
51282 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51283 INNETGR.
51284 (dbs): Add netgrdb entry.
51285 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51286 (verify_persistent_db): Handle netgrdb.
51287 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51288 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51289 GETFDNETGR.
51290 (netgroup_response_header): Define.
51291 (innetgroup_response_header): Define.
51292 (datahead): Add netgroup_response_header and innetgroup_response_header
51293 elements.
51294 * nscd/nscd.conf: Add entries for netgroup cache.
51295 * nscd/nscd.h (dbtype): Add netgrdb.
51296 (_PATH_NSCD_NETGROUP_DB): Define.
51297 (netgroup_iov_disabled): Declare.
51298 (xmalloc, xcalloc, xrealloc): Move declarations here.
51299 (cache_search): Adjust prototype.
51300 Add netgroup-related prototypes.
51301 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51302 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51303 (__nscd_innetgr): Declare.
51304 * nscd/selinux.c (perms): Use access_vector_t as element type and
51305 add netgroup-related initializers.
51306 * nscd/netgroupcache.c: New file.
51307 * nscd/nscd_netgroup.c: New file.
51308 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51309 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51310 For four parameters use innetgr.
51311 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51312 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51313 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51314 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51315
51316 * nscd/connections.c (register_traced_file): Don't register file
51317 for disabled databases.
51318
51319 2011-10-06 Ulrich Drepper <drepper@gmail.com>
51320
51321 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51322
51323 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51324 from tree and freeing node.
51325
51326 2011-09-25 Jiri Olsa <jolsa@redhat.com>
51327
51328 * nss/nsswitch.c (__nss_database_lookup): Handle
51329 nss_parse_service_list out of memory case.
51330
51331 2011-09-15 Jiri Olsa <jolsa@redhat.com>
51332
51333 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51334 out of memory case.
51335
51336 2011-10-04 Andreas Schwab <schwab@redhat.com>
51337
51338 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51339 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51340 pass it down.
51341 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51342 elf_machine_rela, elf_machine_lazy_rel.
51343 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51344 (ELF_DYNAMIC_DO_REL): Likewise.
51345 (ELF_DYNAMIC_DO_RELA): Likewise.
51346 (ELF_DYNAMIC_RELOCATE): Likewise.
51347 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51348 to ELF_DYNAMIC_DO_REL.
51349 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51350 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51351 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51352 elf_machine_rela.
51353 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51354 skip_ifunc, don't call ifunc function if non-zero.
51355 (elf_machine_rela): Likewise.
51356 (elf_machine_lazy_rel): Likewise.
51357 (elf_machine_lazy_rela): Likewise.
51358 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51359 (elf_machine_lazy_rel): Likewise.
51360 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51361 Likewise.
51362 (elf_machine_lazy_rel): Likewise.
51363 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51364 Likewise.
51365 (elf_machine_lazy_rel): Likewise.
51366 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51367 (elf_machine_lazy_rel): Likewise.
51368 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51369 (elf_machine_lazy_rel): Likewise.
51370 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51371 (elf_machine_lazy_rel): Likewise.
51372 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51373 (elf_machine_lazy_rel): Likewise.
51374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51375 (elf_machine_lazy_rel): Likewise.
51376 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51377 (elf_machine_lazy_rel): Likewise.
51378
51379 2011-09-28 Ulrich Drepper <drepper@gmail.com>
51380
51381 * nss/nss_files/files-init.c (_nss_files_init): Use static
51382 initialization for all the *_traced_file variables.
51383
51384 2011-09-28 Andreas Schwab <schwab@redhat.com>
51385
51386 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51387
51388 2011-09-27 Roland McGrath <roland@hack.frob.com>
51389
51390 [BZ #13226]
51391 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51392
51393 2011-09-27 Andreas Schwab <schwab@redhat.com>
51394
51395 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51396 Reread the line before reparsing it.
51397
51398 2011-09-26 Andreas Schwab <schwab@redhat.com>
51399
51400 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51401
51402 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51403 Maxim Kuvyrkov <maxim@codesourcery.com>
51404 Joseph Myers <joseph@codesourcery.com>
51405
51406 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51407 if needed for __stack_chk_guard.
51408
51409 2011-09-19 Roland McGrath <roland@hack.frob.com>
51410
51411 * sysdeps/posix/spawni.c (script_execute): Always define it.
51412 It will be optimized away if unused.
51413 (maybe_script_execute): New function.
51414 (__spawni): Call it.
51415
51416 * Makerules: Don't include tls.make.
51417 (config-tls): Always set to thread.
51418 * tls.make.c: File removed.
51419
51420 2011-09-19 Mike Frysinger <vapier@gentoo.org>
51421
51422 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51423 * config.make.in (CPPFLAGS-config): New substituted variable.
51424
51425 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51426
51427 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51428
51429 [BZ #13192]
51430 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51431 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51432
51433 2011-09-15 Roland McGrath <roland@hack.frob.com>
51434
51435 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51436 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51437 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51438 (CALL_FAIL): Likewise.
51439 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51440 (CALL_FAIL): Macro removed.
51441 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51442
51443 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51444
51445 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51446 for __FINITE_MATH_ONLY__ == 1.
51447
51448 2011-09-15 Andreas Schwab <schwab@redhat.com>
51449
51450 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51451 __ieee754_sqrt instead of sqrt.
51452 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51453 __ieee754_sqrtf instead of sqrtf.
51454 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51455 __floorf instead of floorf.
51456 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51457 __floorf, __truncf instead of floorf, truncf.
51458
51459 2011-09-14 Ulrich Drepper <drepper@gmail.com>
51460
51461 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51462
51463 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51464 __extern_always_inline.
51465 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51466 32-bit.
51467
51468 2011-09-14 Andreas Schwab <schwab@redhat.com>
51469
51470 * elf/rtld.c (dl_main): Also relocate in dependency order when
51471 doing symbol dependency testing.
51472
51473 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51474
51475 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51476 Always define `refsym'.
51477
51478 2011-09-13 Andreas Schwab <schwab@redhat.com>
51479
51480 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51481 (__FD_ELT): Renamed from __FDELT.
51482 * misc/bits/select2.h (__FD_ELT): Likewise.
51483 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51484 __FD_MASK instead of __FDELT, __FDMASK.
51485 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51486 Likewise.
51487 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51488 Likewise.
51489
51490 * elf/Makefile (gen-ldd): Fix pattern.
51491
51492 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51493 (init_tls): Likewise.
51494
51495 2011-09-12 Ulrich Drepper <drepper@gmail.com>
51496
51497 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51498
51499 2011-09-12 Andreas Schwab <schwab@redhat.com>
51500
51501 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51502 `struct cmsghdr *' instead of `void *'.
51503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51504 Likewise.
51505
51506 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51507
51508 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51509 if non-absolute.
51510 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51511 ldd_rewrite_script.
51512
51513 2011-09-11 Ulrich Drepper <drepper@gmail.com>
51514
51515 * configure.in: Remove --with-tls option.
51516 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51517 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51518 out in case it is missing.
51519 * sysdeps/ia64/elf/configure.in: Likewise.
51520 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51521 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51522 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51523 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51524 * sysdeps/sh/elf/configure.in: Likewise.
51525 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51526 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51527 * sysdeps/x86_64/elf/configure.in: Likewise.
51528 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51529 * sysdeps/mach/hurd/tls.h: Likewise.
51530
51531 [BZ #13067]
51532 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51533
51534 [BZ #13090]
51535 * configure.in: Fix use of AC_INIT.
51536
51537 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51538
51539 2011-09-10 Ulrich Drepper <drepper@gmail.com>
51540
51541 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51542 __set_errno.
51543 * malloc/hooks.c: Likewise.
51544
51545 [BZ #11929]
51546 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51547 variables statically.
51548 (narenas): Initialize.
51549 (list_lock): Initialize.
51550 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51551 initializtion of main_arena and list_lock. Small cleanups.
51552 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51553 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51554 Add initializers to main_arena and mp_.
51555 (malloc_state): Remove pagesize member. Change all users to use
51556 GLRO(dl_pagesize).
51557
51558 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51559 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51560 is always initialized.
51561
51562 * malloc/malloc.c: Removed unused configurations and dead code.
51563 * malloc/arena.c: Likewise.
51564 * malloc/hooks.c: Likewise.
51565 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51566
51567 * include/tls.h: Removed. USE___THREAD must always be defined.
51568 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51569 * elf/dl-libc.c: Likewise.
51570 * elf/dl-tsd.c: Likewise.
51571 * include/errno.h: Likewise.
51572 * include/netdb.h: Likewise.
51573 * include/resolv.h: Likewise.
51574 * inet/herrno-loc.c: Likewise.
51575 * inet/herrno.c: Likewise.
51576 * malloc/arena.c: Likewise.
51577 * malloc/hooks.c: Likewise.
51578 * malloc/malloc.c: Likewise.
51579 * resolv/res-state.c: Likewise.
51580 * resolv/res_libc.c: Likewise.
51581 * sysdeps/i386/dl-machine.h: Likewise.
51582 * sysdeps/ia64/dl-machine.h: Likewise.
51583 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51584 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51585 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51586 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51587 * sysdeps/sh/dl-machine.h: Likewise.
51588 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51589 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51590 * sysdeps/unix/i386/sysdep.S: Likewise.
51591 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51592 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51593 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51594 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51595 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51596 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51597 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51598 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51599 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51601 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51602 * sysdeps/x86_64/dl-machine.h: Likewise.
51603 * tls.make.c: Likewise.
51604
51605 * configure.in: Remove --with-__thread option. Make tests for
51606 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51607 tls_model attribute fail if no support is available. Remove
51608 USE_IN_LIBIO.
51609 * Makeconfig: Adjust for dropped configure option. All features are
51610 now mandatory.
51611 * Makerules: Likewise.
51612 * Versions.def: Likewise.
51613 * argp/argp-fmtstream.c: Likewise.
51614 * argp/argp-fmtstream.h: Likewise.
51615 * argp/argp-help.c: Likewise.
51616 * assert/assert.c: Likewise.
51617 * config.h.in: Likewise.
51618 * config.make.in: Likewise.
51619 * configure: Likewise.
51620 * configure.in: Likewise.
51621 * csu/Versions: Likewise.
51622 * csu/init.c: Likewise.
51623 * elf/tst-audit2.c: Likewise.
51624 * elf/tst-tls10.c: Likewise.
51625 * elf/tst-tls10.h: Likewise.
51626 * elf/tst-tls11.c: Likewise.
51627 * elf/tst-tls12.c: Likewise.
51628 * elf/tst-tls14.c: Likewise.
51629 * elf/tst-tlsmod11.c: Likewise.
51630 * elf/tst-tlsmod12.c: Likewise.
51631 * elf/tst-tlsmod13.c: Likewise.
51632 * elf/tst-tlsmod13a.c: Likewise.
51633 * elf/tst-tlsmod14a.c: Likewise.
51634 * elf/tst-tlsmod15b.c: Likewise.
51635 * elf/tst-tlsmod16a.c: Likewise.
51636 * elf/tst-tlsmod16b.c: Likewise.
51637 * elf/tst-tlsmod7.c: Likewise.
51638 * elf/tst-tlsmod8.c: Likewise.
51639 * elf/tst-tlsmod9.c: Likewise.
51640 * gmon/gmon.c: Likewise.
51641 * grp/fgetgrent_r.c: Likewise.
51642 * grp/putgrent.c: Likewise.
51643 * hurd/fopenport.c: Likewise.
51644 * include/libc-symbols.h: Likewise.
51645 * include/tls.h: Likewise.
51646 * intl/gettextP.h: Likewise.
51647 * intl/loadinfo.h: Likewise.
51648 * locale/global-locale.c: Likewise.
51649 * locale/localeinfo.h: Likewise.
51650 * mach/devstream.c: Likewise.
51651 * malloc/arena.c: Likewise.
51652 * malloc/set-freeres.c: Likewise.
51653 * misc/err.c: Likewise.
51654 * misc/getttyent.c: Likewise.
51655 * misc/mntent_r.c: Likewise.
51656 * posix/getopt.c: Likewise.
51657 * posix/wordexp.c: Likewise.
51658 * pwd/fgetpwent_r.c: Likewise.
51659 * resolv/Versions: Likewise.
51660 * resolv/res_hconf.c: Likewise.
51661 * shadow/fgetspent_r.c: Likewise.
51662 * shadow/putspent.c: Likewise.
51663 * stdio-common/printf_fphex.c: Likewise.
51664 * stdio-common/tmpfile.c: Likewise.
51665 * stdlib/abort.c: Likewise.
51666 * stdlib/fmtmsg.c: Likewise.
51667 * sunrpc/auth_unix.c: Likewise.
51668 * sunrpc/clnt_perr.c: Likewise.
51669 * sunrpc/clnt_tcp.c: Likewise.
51670 * sunrpc/clnt_udp.c: Likewise.
51671 * sunrpc/clnt_unix.c: Likewise.
51672 * sunrpc/openchild.c: Likewise.
51673 * sunrpc/svc_simple.c: Likewise.
51674 * sunrpc/svc_tcp.c: Likewise.
51675 * sunrpc/svc_udp.c: Likewise.
51676 * sunrpc/svc_unix.c: Likewise.
51677 * sunrpc/xdr.c: Likewise.
51678 * sunrpc/xdr_array.c: Likewise.
51679 * sunrpc/xdr_rec.c: Likewise.
51680 * sunrpc/xdr_ref.c: Likewise.
51681 * sunrpc/xdr_stdio.c: Likewise.
51682
51683 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51684
51685 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51686
51687 2011-07-03 Andreas Jaeger <aj@suse.de>
51688
51689 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51690 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51691 regenerate with gen-libm-tests.pl.
51692
51693 2010-05-12 Petr Baudis <pasky@suse.cz>
51694
51695 [BZ #11589]
51696 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51697 around j0() zero points by switching to j1().
51698 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51699 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51700 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51701 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51702
51703 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51704
51705 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51706 instead of 0.
51707 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51708 instead of 0.
51709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51710 Patch in part by Pavel Roskin <proski@gnu.org>.
51711
51712 [BZ #13138]
51713 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51714 realloc.
51715 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51716 Free memory block if necessary.
51717
51718 [BZ #12847]
51719 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51720 be NULL. Don't lock in this case.
51721
51722 2011-09-09 Roland McGrath <roland@hack.frob.com>
51723
51724 * elf/elf.h (ELFOSABI_GNU): New macro.
51725 (ELFOSABI_LINUX): Define to that.
51726
51727 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51728
51729 * string/strncat.c (strncat): Undef the symbol in case it has been
51730 defined in bits/string.h.
51731
51732 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51733
51734 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51735
51736 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51737 link map.
51738
51739 2011-08-17 Andreas Jaeger <aj@suse.de>
51740
51741 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51742
51743 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51744 Ian Lance Taylor <iant@google.com>
51745
51746 * math/libm-test.inc (lround_test): New testcase.
51747 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51748
51749 2011-09-08 Ulrich Drepper <drepper@gmail.com>
51750
51751 * Makefile: Remove support for automatic cvs check-ins.
51752 * Makerules: Likewise.
51753 * config.make.in: Likewise.
51754 * configure.in: Likewise.
51755 * intl/Makefile: Likewise.
51756 * locale/Makefile: Likewise.
51757 * po/Makefile: Likewise.
51758 * posix/Makefile: Likewise.
51759 * sysdeps/gnu/Makefile: Likewise.
51760 * sysdeps/mach/hurd/Makefile: Likewise.
51761 * sysdeps/sparc/sparc32/Makefile: Likewise.
51762
51763 [BZ #13118]
51764 * posix/Makefile (bug-regex32-ENV): Define.
51765 Patch by John Stanley <jpsinthemix@verizon.net>.
51766
51767 * misc/Makefile (headers): Add bits/select2.h.
51768 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51769 * misc/bits/select2.h: New file.
51770 * include/bits/select2.h: New file.
51771 * debug/Makefile (routines): Add fdelt_chk.
51772 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51773 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51774 FD_ISSET.
51775 * debug/fdelt_chk.c: New file.
51776
51777 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51778 * wcsmbs/test-wmemcmp.c: Likewise.
51779 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51780 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51781
51782 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51783
51784 * string/Makefile (strop-tests): Add memcmp.
51785 * string/test-wmemcmp.c: New file.
51786 * string/test-memcmp.c: Add wmemcmp support.
51787
51788 2011-09-08 Roland McGrath <roland@hack.frob.com>
51789
51790 [BZ #13153]
51791 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51792 2011-07-19 change.
51793
51794 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51795 garbage value in a __mach_port_mod_refs call in the cases of the
51796 task-self and thread-self ports.
51797
51798 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51799
51800 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51801
51802 2011-09-08 Andreas Schwab <schwab@redhat.com>
51803
51804 * elf/dl-load.c (lose): Check for non-null L.
51805
51806 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51807
51808 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51809
51810 * elf/dl-libc.c (dlerror_run): Pass back error code from
51811 dl_catch_error.
51812
51813 [BZ #13123]
51814 * elf/dl-load.c (lose): Free l_origin if it is valid.
51815
51816 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51817 names.
51818 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51819 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51820 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51821 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51822 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51823 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51824
51825 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51826
51827 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51828 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51829 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51830 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51831 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51832 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51833 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51834 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51835 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51836 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51837
51838 2011-08-15 Alan Modra <amodra@gmail.com>
51839
51840 [BZ #13092]
51841 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51842 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51843 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51844 ppc_mcount to static-only-routines.
51845 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51846 __mcount_internal.
51847 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51848 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51849
51850 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51851
51852 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51853 for finite and infinity parameters.
51854
51855 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51856
51857 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51858 and add nop instructions for throughput optimization.
51859 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51860
51861 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51862
51863 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51864 aligned copy for power7 with vector-scalar instructions.
51865 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51866
51867 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51868
51869 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51870 AVX check.
51871
51872 2011-09-07 Andreas Schwab <schwab@redhat.com>
51873
51874 [BZ #13144]
51875 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51876 last change.
51877
51878 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51879
51880 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51881 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51882 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51883 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51884 clock_gettime.
51885
51886 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51887
51888 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51889 Forgot to demangle the pointer.
51890
51891 * sysdeps/i386/sysdep.h: Define atom_text_section.
51892 * sysdeps/x86_64/sysdep.h: Likewise.
51893 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51894 section with atom_text_section.
51895 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51896 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51897 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51898 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51899 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51900
51901 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51902 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51903 already be defined. Change to take two parameters and don't assign
51904 result to variable. Adjust all users.
51905 Define INTERNAL_GETTIME if not already defined.
51906 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51907 call.
51908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51909 HAVE_CLOCK_GETTIME_VSYSCALL.
51910 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51911
51912 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51913 gettimeofday vsyscall, just use time.
51914
51915 2011-09-06 Andreas Schwab <schwab@redhat.com>
51916
51917 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51918 <errno.h>.
51919
51920 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51921
51922 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51923 syscall on x86-64.
51924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51925 syscall.
51926 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51927 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51928 syscall if possible.
51929
51930 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51931
51932 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51933 e_ident. Don't pass to find_mapsXX.
51934 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51935
51936 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51937
51938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51939 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51940 * sysdeps/x86_64/multiarch/strchr.S: Update.
51941 Check bit_slow_BSF bit.
51942 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51943 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51944 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51945
51946 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51947
51948 [BZ #13134]
51949 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51950 before glibc 2.15.
51951 (tryshell): Define.
51952 (__spawni): Change last parameter to be flag. Test
51953 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51954 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51955 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51956 * posix/spawni.c: Likewise.
51957 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51958 * posix/spawnp.c: Likewise. Change normal version to use
51959 SPAWN_XFLAGS_USE_PATH.
51960 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51961 SPAWN_XFLAGS_TRY_SHELL.
51962
51963 [BZ #13150]
51964 * posix/glob.h: Remove gcc 1.x support.
51965
51966 [BZ #13068]
51967 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51968
51969 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51970
51971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51972 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51973 strrchr-sse2-bsf
51974 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51975 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51976 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51977 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51978 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51979 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51980
51981 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51982
51983 * sysdeps/x86_64/wcscmp.S: New file.
51984
51985 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51986 wcscmp-c wcscmp-sse2
51987 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51988 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51989 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51990 * wcsmbs/wcscmp.c: Allow renaming.
51991
51992 2011-09-05 David S. Miller <davem@davemloft.net>
51993
51994 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51995 stack slot, rather than the struct return pointer slot.
51996 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51997 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51999 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52000
52001 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52002
52003 * po/ja.po: Update from translation team.
52004
52005 [BZ #13144]
52006 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52007 kernel in 64-bit binaries.
52008
52009 2011-09-01 David S. Miller <davem@davemloft.net>
52010
52011 * elf/elf.h (HWCAP_SPARC_*): Move to..
52012 * sysdeps/sparc/sysdep.h: this new file and add new values.
52013 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52014 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52015 _DL_HWCAP_COUNT to 24.
52016 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52017 entries.
52018 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52019 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52020 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52022 instead of magic constants.
52023 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52024
52025 2011-08-31 David S. Miller <davem@davemloft.net>
52026
52027 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52028 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52029 Reimplement to do errno handling inline.
52030 (SYSCALL_ERROR_HANDLER): New macro.
52031 (__SYSCALL_STRING): Do not do errno handling in asm.
52032 (__CLONE_SYSCALL_STRING): Delete.
52033 (__INTERNAL_SYSCALL_STRING): Delete.
52034 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52035 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52036 (PSEUDO): Reimplement to do errno handling inline.
52037 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52038 (SYSCALL_ERROR_HANDLER): New macro.
52039 (__SYSCALL_STRING): Do not do errno handling in asm.
52040 (__CLONE_SYSCALL_STRING): Delete.
52041 (__INTERNAL_SYSCALL_STRING): Delete.
52042 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52043 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52044 i386.
52045 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52046 (inline_syscall*): Add 'err' argument.
52047 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52048 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52049 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52050 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52051
52052 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52053 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52054
52055 2011-08-30 Andreas Schwab <schwab@redhat.com>
52056
52057 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52058
52059 2011-08-29 Jiri Olsa <jolsa@redhat.com>
52060
52061 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52062 directive.
52063
52064 2011-08-24 David S. Miller <davem@davemloft.net>
52065
52066 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52067
52068 2011-08-24 Andreas Schwab <schwab@redhat.com>
52069
52070 * elf/Makefile: Add rules to build and run unload8 test.
52071 * elf/unload8.c: New file.
52072 * elf/unload8mod1.c: New file.
52073 * elf/unload8mod1x.c: New file.
52074 * elf/unload8mod2.c: New file.
52075 * elf/unload8mod3.c: New file.
52076
52077 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52078 it wasn't used.
52079
52080 2011-08-23 David S. Miller <davem@davemloft.net>
52081
52082 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52083 subtract stack bias.
52084 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52085 %sp not %fp in calculations.
52086 (_JMPBUF_UNWINDS_ADJ): Likewise.
52087
52088 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52089 (aio_suspend): Call it to force an exception region around the
52090 AIO_MISC_WAIT() invocation.
52091
52092 2011-08-23 Andreas Schwab <schwab@redhat.com>
52093
52094 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52095 backslash.
52096
52097 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52098
52099 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52100 protection macro.
52101 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52102 and <dl-machine.h>.
52103 (Elf64_FuncDesc): Remove.
52104
52105 2011-08-22 David S. Miller <davem@davemloft.net>
52106
52107 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52108 sigaltstack check, add missing cfi directives.
52109 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52110 missing cfi directives, and sigaltstack handling.
52111
52112 2011-08-16 Andreas Schwab <schwab@redhat.com>
52113
52114 [BZ #11724]
52115 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52116 object is seen twice.
52117 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52118
52119 * elf/Makefile (distribute): Add tst-initorder2.c.
52120 (tests): Add tst-initorder2.
52121 (modules-names): Add tst-initorder2a tst-initorder2b
52122 tst-initorder2c tst-initorder2d. Add rules to build them.
52123 ($(objpfx)tst-initorder2.out): New rule.
52124 * elf/tst-initorder2.c: New file.
52125 * elf/tst-initorder2.exp: New file.
52126
52127 2011-08-22 Andreas Schwab <schwab@redhat.com>
52128
52129 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52130
52131 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52132 dependencies back to end of function.
52133
52134 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52135 $(elfobjdir)/ld.so.
52136
52137 2011-08-21 Ulrich Drepper <drepper@gmail.com>
52138
52139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52140 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52142 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52143 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52144 of __vdso_gettimeofday.
52145 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52146 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52147 attribute_hidden.
52148 (_libc_vdso_platform_setup): Remove initialization of
52149 __vdso_gettimeofday and __vdso_time.
52150
52151 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52152
52153 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52154 and fgetc_unlocked.
52155 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52156 getc_unlocked.
52157
52158 * elf/dl-open.c (add_to_global): Report additions to the global scope
52159 for LD_DEBUG=scopes.
52160 (dl_open_worker): Also print scope of newly loaded dependencies.
52161 (_dl_show_scope): Indicate if there is no scope.
52162
52163 [BZ #13114]
52164 * stdio-common/Makefile (tests): Add bug24.
52165 * stdio-common/bug24.c: New file.
52166
52167 2011-08-19 Andreas Jaeger <aj@suse.de>
52168
52169 [BZ #13114]
52170 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52171 non-existant file when using close-on-exec mode.
52172
52173 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52174
52175 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52176 the very first instruction.
52177
52178 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52179 the CFI state in the end.
52180 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52181 inclusion of dl-trampoline.h.
52182 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52183
52184 2011-08-19 Andreas Schwab <schwab@redhat.com>
52185
52186 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52187 expectations for long double.
52188
52189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52190 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52191
52192 2011-08-14 David S. Miller <davem@davemloft.net>
52193
52194 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52195 artificual limit depends upon the system page size.
52196
52197 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52198
52199 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52200 * resolv/Makefile: Define CFLAGS-libresolv.
52201
52202 2011-08-17 Andreas Schwab <schwab@redhat.com>
52203
52204 * nss/makedb.c (compute_tables): Make variables used in nested
52205 function static.
52206
52207 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52208
52209 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52210 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52211 if buffer was too small.
52212
52213 * elf/pldd.c (main): Attach to all threads in the process.
52214 Rewrite /proc handling to use *at functions.
52215
52216 2011-08-16 Ulrich Drepper <drepper@gmail.com>
52217
52218 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52219 specifies first scope to show.
52220 (dl_open_worker): Update callers. Move printing scope of new
52221 object to before the relocation.
52222 * elf/rtld.c (dl_main): Update _dl_show_scope call.
52223 * sysdeps/generic/ldsodefs.h: Update declaration.
52224
52225 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52226 string for the scope number.
52227
52228 2011-08-14 Ulrich Drepper <drepper@gmail.com>
52229
52230 * nscd/servicescache.c (cache_addserv): Make sure written is always
52231 initialized.
52232
52233 2011-08-14 Roland McGrath <roland@hack.frob.com>
52234
52235 * sysdeps/i386/i486/bits/atomic.h
52236 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52237 statement expression, so as to suppress "set but not used" warning.
52238 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52239
52240 * string/strncat.c (STRNCAT): Use prototype definition.
52241
52242 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52243 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52244 -Iprograms here.
52245 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52246 (localedef-modules): Add localedef.
52247 (locale-modules): Add locale.
52248
52249 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52250 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52251 to avoid a warning.
52252
52253 2011-08-14 David S. Miller <davem@davemloft.net>
52254
52255 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52256 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52257
52258 2011-08-13 Ulrich Drepper <drepper@gmail.com>
52259
52260 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52261 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52262 * elf/rtld.c (dl_main): Set l_name of vDSO.
52263 Call _dl_show_scope when DL_DEBUG_SCOPES.
52264 (process_dl_debug): Recognize scopes flag and also set it for all.
52265 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52266 Declare _dl_show_scope.
52267
52268 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52269 (do_dlopen): Pass caller_dlopen to dl_open.
52270 (__libc_dlopen_mode): Initialize caller_dlopen.
52271
52272 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52273 of libc. Make tolower call locale-independent. Optimize a bit by
52274 using isdigit instead of isalnum.
52275 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52276
52277 2011-08-12 Ulrich Drepper <drepper@gmail.com>
52278
52279 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52280 was a dependency or dynamically loaded.
52281
52282 2011-08-11 Ulrich Drepper <drepper@gmail.com>
52283
52284 * intl/l10nflist.c: Allow architecture-specific pop function.
52285 * sysdeps/x86_64/l10nflist.c: New file.
52286
52287 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52288 classification.
52289
52290 2011-08-10 Andreas Schwab <schwab@redhat.com>
52291
52292 * include/dirent.h: Add libc_hidden_proto for scandirat and
52293 scandirat64. Don't declare __scandirat64.
52294 * dirent/scandirat.c: Add libc_hidden_def.
52295 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52296 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52297
52298 2011-08-10 David S. Miller <davem@davemloft.net>
52299
52300 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52301 enum.
52302 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52303 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52304 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52305
52306 2011-08-09 Ulrich Drepper <drepper@gmail.com>
52307
52308 * Versions.def [libc]: Add GLIBC_2.15.
52309 * dirent/Makefile (routines): Add scandirat and scandirat64.
52310 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52311 GLIBC_2.15.
52312 * dirent/dirent.h: Declare scandirat and scandirat64.
52313 * dirent/scandirat.c: New file.
52314 * dirent/scandirat64.c: New file.
52315 * sysdeps/wordsize-64/scandirat.c: New file.
52316 * sysdeps/wordsize-64/scandirat64.c: New file.
52317 * dirent/opendir.c: Define opendirat.
52318 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52319 using scandirat.
52320 * dirent/scandir64.c: Adjust for scandir.c change.
52321 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52322 __scandirat64, and __scandir_cancel_handler.
52323 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52324 additional parameter and use openat instead of open (outside of ld.so).
52325 Add new __opendir as wrapper around __opendirat.
52326 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52327 here without requiring old scandirat implementation.
52328
52329 2011-08-08 Ulrich Drepper <drepper@gmail.com>
52330
52331 * dirent/scandir.c (cancel_handler): Renamed to
52332 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52333 defined. Adjust users.
52334 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52335 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52336
52337 2011-08-04 Ulrich Drepper <drepper@gmail.com>
52338
52339 * string/test-string.h (IMPL): Use __STRING to expand name and then
52340 stringify it.
52341
52342 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52343 of cleanups.
52344
52345 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52346
52347 * string/Makefile: Update.
52348 (strop-tests): Append strncat.
52349 * string/test-wcscmp.c: New file.
52350 New comprehensive test for wcscmp.
52351 * string/test-strcmp.c: Update.
52352 (WIDE): New define.
52353
52354 2011-07-22 Andreas Schwab <schwab@redhat.com>
52355
52356 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52357 line.
52358
52359 2011-07-26 Andreas Schwab <schwab@redhat.com>
52360
52361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52362 encoding to ACE if AI_IDN.
52363
52364 2011-08-01 Jakub Jelinek <jakub@redhat.com>
52365
52366 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52367 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52368
52369 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52370
52371 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52372 Fix overflow bug in strncat.
52373 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52374
52375 * string/test-strncat.c: Update.
52376 Add new tests for checking overflow bugs.
52377
52378 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52379
52380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52381 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52382 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52383 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52384 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52385 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52386 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52387 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52388 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52389
52390 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52391 (USE_AS_STRCAT): Define.
52392 Add strcat and strncat support.
52393 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52394
52395 2011-07-25 Andreas Schwab <schwab@redhat.com>
52396
52397 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52398 __n bigger than INT_MAX+1.
52399 (__strncmp_g): Likewise.
52400
52401 2011-07-23 Ulrich Drepper <drepper@gmail.com>
52402
52403 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52404 * libio/stido.h: Likewise.
52405
52406 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52407 (AF_NFC): Define.
52408 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52409 (AF_NFC): Define.
52410
52411 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52412 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52413 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52414 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52415 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52416
52417 [BZ #13021]
52418 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52419 installed.
52420
52421 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52422 typo.
52423 (_dl_x86_64_save_sse): Likewise.
52424
52425 2011-07-22 Ulrich Drepper <drepper@gmail.com>
52426
52427 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52428 OSXSAVE.
52429 (_dl_x86_64_save_sse): Likewise.
52430
52431 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52432
52433 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52434
52435 2011-07-21 Andreas Schwab <schwab@redhat.com>
52436
52437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52438 change.
52439 (_dl_x86_64_save_sse): Use correct AVX check.
52440
52441 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52442
52443 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52444 bug in strncpy/strncat.
52445 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52446
52447 2011-07-21 Ulrich Drepper <drepper@gmail.com>
52448
52449 * string/tester.c (test_strcat): Add tests for different alignments
52450 of source and destination.
52451 (test_strncat): Likewise.
52452
52453 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52454
52455 [BZ #12852]
52456 * posix/glob.c (glob): Check passed in values before using them in
52457 expressions to avoid some overflows.
52458 (glob_in_dir): Likewise.
52459
52460 [BZ #13007]
52461 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52462 check for AVX enablement so that we don't crash with old kernels and
52463 new hardware.
52464 * elf/tst-audit4.c: Add same checks here.
52465 * elf/tst-audit6.c: Likewise.
52466
52467 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52468
52469 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52470
52471 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52472
52473 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52474
52475 * po/cs.po: Update from translation team.
52476 * po/bg.po: Likewise.
52477
52478 2011-07-12 Marek Polacek <mpolacek@redhat.com>
52479
52480 * misc/sys/cdefs.h: Add support for const attribute.
52481 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52482 to gnu_dev_{major,minor,makedev} functions.
52483
52484 2011-07-20 Marek Polacek <mpolacek@redhat.com>
52485
52486 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52487
52488 2011-07-20 Andreas Schwab <schwab@redhat.com>
52489
52490 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52491 strlen results.
52492
52493 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52494
52495 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52496 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52497 register in order to avoid conflicts with the soft frame pointer
52498 being held in r11 when necessary.
52499 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52500 (INTERNAL_VSYSCALL_NCS): Likewise.
52501
52502 2011-07-14 Marek Polacek <mpolacek@redhat.com>
52503
52504 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52505 * elf/dl-fini.c (_dl_fini): Adjust caller.
52506 * elf/dl-close.c (_dl_close_worker): Likewise.
52507 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52508
52509 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52510
52511 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52512 "aux_cache->nlibs < 0".
52513
52514 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52515 in the reload-count case.
52516
52517 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52518
52519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52520 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52521 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52522 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52523 * sysdeps/x86_64/multiarch/strcat.S: New file.
52524 * sysdeps/x86_64/multiarch/strncat.S: New file.
52525 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52526 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52527 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52528 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52529 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52530 (USE_AS_STRCAT): Define.
52531 Add strcat and strncat support.
52532 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52533 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52534 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52535 * string/strncat.c: Update.
52536 (USE_AS_STRNCAT): Define.
52537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52538 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52539 and i7.
52540 * sysdeps/x86_64/multiarch/init-arch.h
52541 (bit_Prefer_PMINUB_for_stringop): New.
52542 (index_Prefer_PMINUB_for_stringop): Likewise.
52543 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52544 bit_Prefer_PMINUB_for_stringop.
52545
52546 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52547
52548 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52549 buffer64.
52550 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52551 of casting of buffer.
52552 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52553 buffer32 and buffer64.
52554 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52555 writes instead of casting of buffer.
52556 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52557 buffer32.
52558 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52559 casting of buffer.
52560
52561 2011-07-19 Andreas Schwab <schwab@redhat.com>
52562
52563 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52564
52565 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52566
52567 * nscd/nscd.c (termination_handler): Don't do anything for a database
52568 if it has not yet been initialized.
52569
52570 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52571
52572 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52573
52574 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52575
52576 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52577
52578 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52579
52580 * po/nl.po: Update from translation team.
52581 * po/sv.po: Likewise.
52582
52583 2011-07-16 Roland McGrath <roland@hack.frob.com>
52584
52585 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52586 now disallowed by GCC.
52587
52588 * configure.in (use-default-link): Default to yes if a test -shared
52589 link meets our qualifications.
52590 * configure: Regenerated.
52591
52592 * config.make.in (output-format): New variable.
52593 * configure.in: Check for ld --print-output-format support.
52594 * configure: Regenerated.
52595 * Makerules ($(common-objpfx)format.lds)
52596 [$(output-format) != unknown]: Just use $(output-format),
52597 instead of the linker-script munging.
52598
52599 2011-07-14 Roland McGrath <roland@hack.frob.com>
52600
52601 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52602 of $(common-objpfx)shlib.lds.
52603 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52604
52605 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52606 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52607
52608 * configure.in (-z relro check): Adjust test code to add a large
52609 writable data section after it.
52610 * configure: Regenerated.
52611
52612 2011-07-11 Roland McGrath <roland@hack.frob.com>
52613
52614 * configure.in (-z relro check): Fix test code to make the variable
52615 truly const.
52616 * configure: Regenerated.
52617
52618 2011-07-11 Ulrich Drepper <drepper@gmail.com>
52619
52620 * nscd/nscd.h (struct traced_file): Define.
52621 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52622 elements. Add traced_files.
52623 (inotify_fd): Declare.
52624 (register_traced_file): Declare.
52625 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52626 (inotify_fd): Export.
52627 (resolv_conf_descr): Remove.
52628 (nscd_init): Move inotify descriptor creation to main.
52629 Don't register files for notification here.
52630 (register_traced_file): New function.
52631 (invalidate_cache): Don't use reset_res to determine whether to call
52632 res_init, go through the list of registered files.
52633 (main_loop_poll): The inotify descriptors are now stored in the
52634 structures for the traced files.
52635 (main_loop_epoll): Likewise
52636 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52637 to __nss_disable_nscd.
52638 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52639 for a database anymore. Check the records for all the registered
52640 files instead.
52641 * nss/Makefile (libnss_files-routines): Add files-init.
52642 (libnss_db-routines): Add db-init.
52643 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52644 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52645 * nss/nss_db/db-init.c: New file.
52646 * nss/nss_files/files-init.c: New file.
52647 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52648 __nss_lookup_function.
52649 (__nss_lookup_function): Call nss_load_library.
52650 (nss_load_all_libraries): New function.
52651 (__nss_disable_nscd): Take parameter with callback function for files
52652 to register. Set is_nscd. Load all the DSOs for the NSS modules
52653 used for the cached services.
52654 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52655 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52656 options for features to all the files in nscd.
52657
52658 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52659
52660 2011-07-10 Roland McGrath <roland@hack.frob.com>
52661
52662 * csu/elf-init.c (__libc_csu_init): Comment typo.
52663
52664 2011-07-09 Ulrich Drepper <drepper@gmail.com>
52665
52666 * po/pl.po: Update from translation team.
52667 * po/ja.po: Likewise.
52668 * po/ru.po: Likewise.
52669 * po/ko.po: Likewise.
52670 * po/fr.po: Likewise.
52671
52672 2011-07-09 Roland McGrath <roland@hack.frob.com>
52673
52674 * configure.in (.ctors/.dtors header and trailer check):
52675 Use an empirical test on a built program.
52676 * configure: Regenerated.
52677
52678 * configure.in (-z relro check): Use an empirical test on a built DSO.
52679 Detect, but do not require, on ia64.
52680 * configure: Regenerated.
52681
52682 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52683 Update tests that use readelf to use $READELF instead.
52684 * configure: Regenerated.
52685
52686 2011-07-08 Ulrich Drepper <drepper@gmail.com>
52687
52688 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52689 if the result is not used.
52690
52691 2011-07-05 Andreas Jaeger <aj@suse.de>
52692
52693 [BZ#9696]
52694 * stdlib/tst-strtod.c: Add testcase.
52695
52696 2011-07-07 Ulrich Drepper <drepper@gmail.com>
52697
52698 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52699 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52700 The latter has a higher limit. Take additional parameter to pass to
52701 the new function.
52702 (__pathconf): Pass file to __statfs_link_max.
52703 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52704 __statfs_link_max.
52705 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52706 __statfs_link_max.
52707
52708 [BZ #12868]
52709 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52710 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52711 Handle Lustre.
52712 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52713 (__statfs_filesize_max): Likewise.
52714 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52715
52716 2011-07-05 Andreas Jaeger <aj@suse.de>
52717
52718 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52719
52720 2011-07-06 Marek Polacek <mpolacek@redhat.com>
52721
52722 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52723 `status' variable.
52724 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52725 Likewise.
52726
52727 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52728
52729 * Makefile (strop-tests): Add strncat.
52730 * string/test-strncat.c: New file.
52731
52732 2011-06-30 Marek Polacek <mpolacek@redhat.com>
52733
52734 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52735
52736 2011-06-21 Andreas Jaeger <aj@suse.de>
52737
52738 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52739 Copy rule from iconvdata/Makefile.
52740
52741 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52742
52743 [BZ #12922]
52744 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52745 but no long options are defined, just return 'W'.
52746
52747 2011-06-22 Marek Polacek <mpolacek@redhat.com>
52748
52749 [BZ #9696]
52750 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52751
52752 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52753
52754 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52755 netgroups to read.
52756 (innetgr): Likewise.
52757
52758 2011-07-05 Roland McGrath <roland@hack.frob.com>
52759
52760 * config.make.in (install_root): Default to $(DESTDIR).
52761
52762 2011-07-05 Ulrich Drepper <drepper@gmail.com>
52763
52764 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52765
52766 2011-07-02 Roland McGrath <roland@hack.frob.com>
52767
52768 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52769
52770 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52771 containing directory rather than embedding absolute directory names.
52772
52773 * scripts/check-local-headers.sh: Rewritten using awk.
52774 Match by word, not by line. Print error messages for matches.
52775 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52776
52777 * Makerules [shlib-lds-flags empty]:
52778 ($(common-objpfx)libc_pic.opts): New target.
52779 ($(common-objpfx)libc_pic.os.clean): New target.
52780 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52781
52782 * config.make.in (OBJCOPY): New variable.
52783 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52784 * configure: Regenerated.
52785
52786 * config.make.in (use-default-link): New variable.
52787 * configure.in (use_default_link): Grok --with-default-link to set it.
52788 * configure: Regenerated.
52789 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52790 (shlib-lds, shlib-lds-flags): Define to empty.
52791
52792 * Makerules (shlib-lds): New variable.
52793 (shlib-lds-flags): New variable.
52794 (build-shlib, build-moduile, build-module-asneeded): Use it.
52795 ($(common-objpfx)libc.so): Use $(shlib-lds).
52796 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52797 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52798
52799 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52800 DT_FLAGS/DT_FLAGS_1 with zero flags.
52801
52802 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52803 linker script munging.
52804
52805 2011-07-02 Ulrich Drepper <drepper@gmail.com>
52806
52807 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52808 as 128-bit value.
52809 * crypt/sha512.c (sha512_process_block): Perform total addition using
52810 128-bit if possible.
52811 (__sha512_finish_ctx): Likewise.
52812 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52813 as 64-bit value.
52814 * crypt/sha256.c (SWAP64): Define.
52815 (sha256_process_block): Perform total addition using 64-bit if
52816 possible.
52817 (__sha256_finish_ctx): Likewise.
52818
52819 2011-07-01 Ulrich Drepper <drepper@gmail.com>
52820
52821 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52822 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52823 * nscd/hstcache.c (cache_addhst): Likewise.
52824 * nscd/grpcache.c (cache_addgr): Likewise.
52825 * nscd/aicache.c (addhstaiX): Likewise
52826 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52827
52828 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
52829
52830 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52831 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52832 * nscd/hstcache.c (cache_addhst): Likewise.
52833 * nscd/grpcache.c (cache_addgr): Likewise.
52834 * nscd/aicache.c (addhstaiX): Likewise
52835
52836 2011-07-01 Andreas Schwab <schwab@redhat.com>
52837
52838 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52839 domain only when needed.
52840
52841 2011-06-30 Andreas Schwab <schwab@redhat.com>
52842
52843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52844 is always restored.
52845
52846 2011-06-29 Ulrich Drepper <drepper@gmail.com>
52847
52848 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52849 are re-adding the entry.
52850 * nscd/servicescache.c (cache_addserv): Likewise.
52851
52852 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52853
52854 * sysdeps/generic/dl-irel.h: fix protection against multiple
52855 inclusions.
52856 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52857
52858 2011-06-28 Ulrich Drepper <drepper@gmail.com>
52859
52860 [BZ #12935]
52861 * malloc/memusage.sh: Fix quoting in message.
52862 * debug/xtrace.sh: Likewise.
52863
52864 * configure.in: Remove support for --experimental-malloc option, make
52865 it the default.
52866 * config.make.in: Likewise.
52867 * malloc/Makefile: Likewise.
52868
52869 2011-06-27 Andreas Schwab <schwab@redhat.com>
52870
52871 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52872 two-byte characters.
52873
52874 2011-06-27 Roland McGrath <roland@hack.frob.com>
52875
52876 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52877 AC_CACHE_CHECK invocation.
52878 * configure: Regenerated.
52879
52880 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52881
52882 2011-06-27 Ulrich Drepper <drepper@gmail.com>
52883
52884 [BZ #12350]
52885 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52886 bit from old_res_options.
52887
52888 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52889
52890 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52891 value type for setfct.
52892
52893 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52894
52895 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52896 __gettimeofday instead of gettimeofday.
52897
52898 2011-06-26 Ulrich Drepper <drepper@gmail.com>
52899
52900 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52901
52902 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52903
52904 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52905
52906 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52907 info.
52908
52909 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52910
52911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52912 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52913 strcpy-sse2-unaligned strncpy-sse2-unaligned
52914 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52915 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52916 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52917 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52918 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52919 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52920 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52921 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52922 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52923 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52924 (STRCPY): Support SSE2 and SSSE3 versions.
52925
52926 2011-06-24 Ulrich Drepper <drepper@gmail.com>
52927
52928 [BZ #12874]
52929 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52930 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52931 kernels which artificially limit size of requests.
52932
52933 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52934
52935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52936 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52937 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52938 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52939 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52940 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52941 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52942 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52943 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52944 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52945 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52946 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52947 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52948 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52949 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52951 Enable unaligned load optimization for Intel Core i3, i5 and i7
52952 processors.
52953 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52954 Define.
52955 (index_Fast_Unaligned_Load): Define.
52956 (HAS_FAST_UNALIGNED_LOAD): Define.
52957
52958 2011-06-23 Marek Polacek <mpolacek@redhat.com>
52959
52960 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52961
52962 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52963
52964 [BZ #12907]
52965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52966 until it is clear that the information is realy needed.
52967 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52968
52969 2011-06-22 Andreas Schwab <schwab@redhat.com>
52970
52971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52972
52973 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52974
52975 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52976 /sys/devices/system/cpu/online if it is usable.
52977
52978 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52979 reading the information from the /proc filesystem to once a second.
52980
52981 2011-06-21 Andreas Jaeger <aj@suse.de>
52982
52983 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52984 NULL after inclusion of kernel headers.
52985
52986 2011-06-21 Ulrich Drepper <drepper@gmail.com>
52987
52988 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52989 calls to internal_setent.
52990
52991 [BZ #12885]
52992 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52993 addresses using gethostbyname4_r ignore IPv4 addresses.
52994
52995 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52996 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52997
52998 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52999
53000 2011-06-20 David S. Miller <davem@davemloft.net>
53001
53002 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53003 inclusions.
53004 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53005
53006 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53007 (elf_irel): Use it.
53008 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53009 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53010 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53011 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53012 * sysdeps/x86_64/dl-irel.h: Likewise.
53013
53014 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53015 * elf/dl-sym.c: Likewise.
53016
53017 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53018
53019 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53020 need to dereference resplen2.
53021
53022 2011-06-14 Andreas Schwab <schwab@redhat.com>
53023
53024 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53025
53026 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53027
53028 * Makeconfig: Define vardbdir and inst_vardbdir.
53029 * nss/Makefile: Add rules to install db-Makefile.
53030
53031 * nss/nss_db/db-XXX.c: Cleanup.
53032
53033 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53034 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53035 GLIBC_PRIVATE.
53036 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53037 * nss/makedb.c: Implement -g option to specify that value strings
53038 are generated and should not be added to table iterated over for
53039 get*ent calls.
53040 * nss/nss_db/db-initgroups.c: New file.
53041
53042 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53043 interface.
53044
53045 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53046 (internal_getgrouplist): Adjust to name change.
53047 Update use_initgroups_entry if this is not the first call.
53048 * nss/databases.def: Add initgroups entry.
53049
53050 * nss/makedb.c (compute_tables): Check result of multiple hash table
53051 sizes to minimize maximum chain length.
53052
53053 2011-06-14 Ulrich Drepper <drepper@gmail.com>
53054
53055 * Versions.def: Add entry for libnss_db.
53056 * shlib-versions: Likewise.
53057 * nss/Makefile: Add rules to build libnss_db.
53058 * nss/Versions: Add libnss_db information. Organize libnss_files
53059 entries better.
53060 * nss/db-Makefile: Add gshadow support. Change rules for the new
53061 makedb progra. Some minor improvements to generate smaller files.
53062 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53063 here from...
53064 * nss/makedb.c: ...here.
53065 Improve database format to be smaller and require less memory at
53066 runtime.
53067 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53068 db anymore.
53069 * nss/nss_db/db-netgrp.c: Likewise.
53070 * nss/nss_db/db-open.c: Likewise.
53071 * nss/nss_files/flies-XXX.x: Adjust comments.
53072 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53073 * nss/nss_files/files-grp.c: Likewise.
53074 * nss/nss_files/files-hosts.c: Likewise.
53075 * nss/nss_files/files-network.c: Likewise.
53076 * nss/nss_files/files-proto.c: Likewise.
53077 * nss/nss_files/files-pwd.c: Likewise.
53078 * nss/nss_files/files-rpc.c: Likewise.
53079 * nss/nss_files/files-service.c: Likewise.
53080 * nss/nss_files/files-sgrp.c: Likewise.
53081 * nss/nss_files/files-spwd.c: Likewise.
53082 * nss/nss_db/db-alias.c: Removed.
53083 * nss/nss_db/dummy-db.h: Removed.
53084
53085 2011-06-02 Ulrich Drepper <drepper@gmail.com>
53086
53087 * nss/makedb.c: Rewritten to not use database library.
53088 * nss/Makefile: Update to build new makedb program.
53089
53090 2011-06-14 Andreas Jaeger <aj@suse.de>
53091
53092 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53093 memset declaration.
53094
53095 2011-06-10 Andreas Schwab <schwab@redhat.com>
53096
53097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53098 tmpbuf.
53099
53100 2011-06-10 Roland McGrath <roland@hack.frob.com>
53101
53102 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53103 * elf/Makefile ($(objpfx)ld.so): Likewise.
53104
53105 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53106 Don't list ld.so twice in dependencies.
53107
53108 * posix/bug-regex31.c: Include <stdlib.h>.
53109
53110 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53111
53112 * nis/nss_compat/compat-spwd.c
53113 (getspent_next_nss_netgr): Remove unused variable.
53114 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53115
53116 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53117 nonmembers" output to use the right array.
53118
53119 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53120
53121 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53122
53123 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53124 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53125 * catgets/gencat.c (read_input_file): Likewise.
53126 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53127
53128 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53129 variable definition inside #if's controlling its use.
53130
53131 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53132
53133 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53134
53135 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53136
53137 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53138 unreachable code.
53139
53140 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53141
53142 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53143 * configure: Regenerated.
53144
53145 * Makerules: Revert last change.
53146 * elf/Makefile: Likewise.
53147
53148 2011-06-09 Roland McGrath <roland@hack.frob.com>
53149
53150 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53151 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53152 (reloc-link): Likewise.
53153
53154 2011-06-09 Ulrich Drepper <drepper@gmail.com>
53155
53156 * elf/Makefile: Add rules to build pldd.
53157 * elf/pldd.c: New file.
53158 * elf/pldd-xx.c: New file.
53159
53160 2011-06-07 Ulrich Drepper <drepper@gmail.com>
53161
53162 * version.h: Update for 2.15 development version.
53163
53164 2011-06-07 David S. Miller <davem@davemloft.net>
53165
53166 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53167 ifuncs.
53168 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53169 elf_machine_lazy_rel): Likewise.
53170 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53171 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53172 elf_machine_lazy_rel): Likewise.
53173 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53174 dl_hwcap via passed in argument.
53175 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53176 Likewise.
53177
53178 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53179
53180 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53181
53182 2011-06-06 Roland McGrath <roland@hack.frob.com>
53183
53184 [BZ #12849]
53185 * manual/fdl-1.1.texi: New file, verbatim from:
53186 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53187 * manual/lgpl-2.1.texi: New file, verbatim from:
53188 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53189 * manual/Makefile (licenses): New variable, list those new file names.
53190 (texis): Use it.
53191 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53192
53193 * manual/fdl.texi: File removed.
53194 * manual/lesser.texi: File removed.
53195 * manual/libc.texinfo (Copying, Documentation License):
53196 Use new @include file names, put @appendix directive before @include.
53197
53198 2011-06-04 Jakub Jelinek <jakub@redhat.com>
53199
53200 [BZ #12841]
53201 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53202 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53203 (mq_open): Add __NTH.
53204
53205 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53206
53207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53208 Assume Intel Core i3/i5/i7 processor if AVX is available.
53209
53210 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53211
53212 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53213 typo.
53214
53215 2011-05-31 Andreas Schwab <schwab@redhat.com>
53216
53217 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53218 memory. Use alloca_account. Fix memory leak when retrying.
53219
53220 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53221
53222 * version.h (RELEASE): Bump for 2.14 release.
53223 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53224
53225 * config.make.in (RANLIB): Remove entry.
53226
53227 2011-05-30 Ulrich Drepper <drepper@gmail.com>
53228
53229 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53230 (libc.pot): Work around missing support for .ksh extension in xgettext.
53231
53232 [BZ #12684]
53233 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53234 if both request failed.
53235 (send_dg): In case of server errors clear resplen or *resplen2.
53236
53237 [BZ #12454]
53238 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53239 when there are multiple maps.
53240 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53241 (_dl_fini): Remove test here.
53242
53243 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53244
53245 2011-05-29 Ulrich Drepper <drepper@gmail.com>
53246
53247 [BZ #12350]
53248 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53249 bit from old_res_options.
53250 (gaih_inet): Likewise.
53251
53252 [BZ #11099]
53253 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53254 as signed.
53255
53256 * resolv/res_init.c (res_setoptions): Make the code more compact.
53257
53258 [BZ #11558]
53259 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53260 set RES_USEVC.
53261
53262 [BZ #11634]
53263 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53264
53265 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53266
53267 [BZ #11781]
53268 * malloc/malloc.h: Declare malloc hook variables as volatile.
53269
53270 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53271 in last patch.
53272
53273 [BZ #11799]
53274 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53275 raise in the comment.
53276 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53277 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53278 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53279
53280 2011-05-28 Ulrich Drepper <drepper@gmail.com>
53281
53282 [BZ #12811]
53283 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53284 grow the buffers more if it already has to be sufficient.
53285 (build_wcs_upper_buffer): Likewise.
53286 * posix/regexec.c (check_matching): Likewise.
53287 (clean_state_log_if_needed): Likewise.
53288 (extend_buffers): Don't enlarge buffers beyond size of the input
53289 buffer.
53290 Patches mostly by Emil Wojak <emil@wojak.eu>.
53291 * posix/bug-regex32.c: New file.
53292 * posix/Makefile (tests): Add bug-regex32.
53293
53294 * locale/findlocale.c (_nl_find_locale): Return right away if
53295 _nl_explode_name failed.
53296 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53297
53298 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53299
53300 * debug/xtrace.sh: Unify messages.
53301 * malloc/memusage.sh: Likewise.
53302
53303 [BZ #12813]
53304 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53305 time symbol from vDSO. Substitute with vsyscall if not available.
53306 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53307 __vdso_time.
53308
53309 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53310 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53311 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53312 Add sendmmsg and internal_sendmmsg.
53313 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53314 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53315 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53316
53317 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53318 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53319 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53320
53321 2011-05-27 Ulrich Drepper <drepper@gmail.com>
53322
53323 [BZ #12813]
53324 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53325 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53326 available.
53327 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53328 __vdso_getcpu.
53329
53330 [BZ #12814]
53331 * iconvdata/Makefile (tests): Add bug-iconv9.
53332 * iconvdata/bug-iconv9.c: New file.
53333
53334 2011-05-27 Andreas Schwab <schwab@redhat.com>
53335
53336 [BZ #12814]
53337 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53338
53339 2011-05-25 Jakub Jelinek <jakub@redhat.com>
53340
53341 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53342 (struct user_regs_struct): Change intcs field back to cs.
53343
53344 2011-05-25 Ulrich Drepper <drepper@gmail.com>
53345
53346 * po/ja.po: Update from translation team.
53347
53348 2011-05-23 Ulrich Drepper <drepper@gmail.com>
53349
53350 [BZ #12795]
53351 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53352 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53353
53354 2011-05-20 Andreas Schwab <schwab@redhat.com>
53355
53356 * stdlib/longlong.h: Update from GCC.
53357
53358 2011-05-23 Andreas Schwab <schwab@redhat.com>
53359
53360 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53361 parameter name.
53362 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53363 Add parameter name.
53364 (__sysconf): Pass it down.
53365
53366 2011-05-22 Ulrich Drepper <drepper@gmail.com>
53367
53368 [BZ #12671]
53369 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53370 some situations.
53371 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53372 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53373 add in in __libc_use_alloca calls. Adjust callers.
53374 (glob): Use malloc in some situations.
53375
53376 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53377 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53378 pltexit.
53379
53380 2011-05-21 Ulrich Drepper <drepper@gmail.com>
53381
53382 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53383 and CLOCK_BOOTTIME_ALARM.
53384
53385 [BZ #12782]
53386 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53387 is returned.
53388
53389 * string/_strerror.c (__strerror_r): Print negative errors as signed
53390 numbers.
53391
53392 [BZ #12777]
53393 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53394 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53395 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53396
53397 * configure.in: Fix typo in redirection and correct removal of test
53398 files in two cases.
53399
53400 [BZ #12788]
53401 * locale/setlocale.c (new_composite_name): Fix test to check for
53402 identical name of all categories.
53403
53404 [BZ #12792]
53405 * libio/filedoalloc.c (local_isatty): New function.
53406 (_IO_file_doallocate): Use local_isatty.
53407 * stdio-common/perror.c (perror): In case a new stream is used
53408 forward the stream error.
53409 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53410 error flag.
53411
53412 2011-05-20 Ulrich Drepper <drepper@gmail.com>
53413
53414 [BZ #11869]
53415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53416 alloca.
53417 * include/alloca.h (extend_alloca_account): Define.
53418
53419 [BZ #11857]
53420 * posix/regex.h: Fix comments with documentation of user-accessible
53421 fields after compilation and describe correct free'ing of pattern
53422 after re_compile_pattern.
53423 Patch by Reuben Thomas <rrt@sc3d.org>.
53424
53425 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53426
53427 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53428 and -mno-altivec to prevent the compiler from using Altivec and/or
53429 VSX instructions when the corresponding registers are not available.
53430
53431 2011-05-19 Andreas Schwab <schwab@redhat.com>
53432
53433 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53434
53435 2011-05-19 Ulrich Drepper <drepper@gmail.com>
53436
53437 * libio/freopen.c (freopen): Use __dup2, not dup2.
53438 * libio/freopen64.c (freopen64): Likewise.
53439
53440 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53441
53442 [BZ #12775]
53443 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53444 * math/Makefile (tests): Add test-powl.
53445 (CFLAGS-test-powl.c): Define.
53446 * math/test-powl.c: New file.
53447
53448 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53449
53450 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53451
53452 2011-05-17 Ulrich Drepper <drepper@gmail.com>
53453
53454 [BZ #11837]
53455 * iconvdata/gb18030.c: Update to GB18020-2005.
53456
53457 2011-05-16 Ulrich Drepper <drepper@gmail.com>
53458
53459 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53460 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53461 Patch by Aharon Robbins <arnold@skeeve.com>.
53462
53463 [BZ #11892]
53464 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53465 on the stack.
53466
53467 [BZ #11895]
53468 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53469 through underflows.
53470
53471 [BZ #12766]
53472 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53473 point to strings before performing equality test for error_one_per_line
53474 mode.
53475
53476 [BZ #11697]
53477 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53478
53479 [BZ #11820]
53480 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53481 (struct user_fpregs_struct): Avoid __uint*_t types.
53482
53483 [BZ #6420]
53484 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53485 symbol info. Use it instead of calling _dl_addr locally.
53486 (lock_and_info): New function.
53487 (tr_freehook): Call lock_and_info and pass symbol info as additional
53488 parameter to tr_where.
53489 (tr_mallochook): Likewise.
53490 (tr_reallochook): Likewise.
53491 (tr_memalignhook): Likewise.
53492
53493 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53494 used and couldn't be at all thread-safe.
53495
53496 2011-05-15 Ulrich Drepper <drepper@gmail.com>
53497
53498 * libio/freopen.c (freopen): Don't close old file descriptor
53499 before the new one is opened. Instead dup the new file descriptor
53500 to the old one after the new stream is created.
53501 * libio/freopen64.c (freopen64): Likewise.
53502 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53503 * libio/fileops.c (_IO_new_file_close_it): Handle new
53504 _IO_FLAGS2_NOCLOSE flag.
53505 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53506 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53507 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53508 _IO_FLAGS2_NOCLOSE flag.
53509 * include/unistd.h: Add hidden_proto for dup3.
53510 Define __have_dup3.
53511 * io/dup3.c: Define hidden symbol.
53512 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53513
53514 [BZ #7101]
53515 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53516 when an incomplete long option is used.
53517 * posix/tst-getopt_long1.c: New file.
53518 * posix/Makefile (tests): Add tst-getopt_long1.
53519
53520 [BZ #10138]
53521 * scripts/config.guess: Update from autoconf-2.68.
53522 * scripts/config.sub: Likewise.
53523
53524 [BZ #10157]
53525 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53526 tests into ...
53527 (has_cpuclock): ...this. New function.
53528 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53529 macro here based on has_cpuclock code.
53530
53531 [BZ #10149]
53532 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53533 First byte (not low byte) is now always NUL.
53534 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53535
53536 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53537 Use non-cancelable interfaces.
53538
53539 [BZ #9809]
53540 * locale/iso-639.def: Add entry for Sorani.
53541
53542 [BZ #11901]
53543 * include/stdlib.h: Move include protection to the right place.
53544 Define abort_msg_s. Declare __abort_msg with it.
53545 * stdlib/abort.c (__abort_msg): Adjust type.
53546 * assert/assert.c (__assert_fail_base): New function. Majority
53547 of code from __assert_fail. Allocate memory for __abort_msg with
53548 mmap.
53549 (__assert_fail): Now call __assert_fail_base.
53550 * assert/assert-perr.c: Remove bulk of implementation. Use
53551 __assert_fail_base.
53552 * include/assert.hL Declare __assert_fail_base.
53553 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53554 mmap.
53555 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53556
53557 2011-05-14 Ulrich Drepper <drepper@gmail.com>
53558
53559 [BZ #11952]
53560 [BZ #12453]
53561 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53562 until all modules are registered in the DTV.
53563 * elf/Makefile: Add rules to build and run tst-tls19.
53564 * elf/tst-tls19.c: New file.
53565 * elf/tst-tls19mod1.c: New file.
53566 * elf/tst-tls19mod2.c: New file.
53567 * elf/tst-tls19mod3.c: New file.
53568 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53569
53570 [BZ #12083]
53571 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53572 correctly.
53573
53574 [BZ #12601]
53575 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53576 two-byte sequence errors.
53577 * iconvdata/Makefile (tests): Add bug-iconv8.
53578 * iconvdata/bug-iconv8.c: New file.
53579
53580 [BZ #12626]
53581 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53582 buf2 definition.
53583
53584 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53585
53586 [BZ #12432]
53587 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53588 (dummy_getcfa): New function.
53589 (init): Get _Unwind_GetCFA address, use dummy if not found.
53590 (backtrace_helper): In recursion check, also check whether CFA changes.
53591 (__backtrace): Completely initialize arg.
53592
53593 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53594 storing incomplete byte sequence in state object. Avoid testing for
53595 guaranteed too small input if we know there is enough data available.
53596
53597 2011-05-11 Andreas Schwab <schwab@redhat.com>
53598
53599 * Makeconfig (+link-pie): Indent.
53600 * Rules (binaries-pie): Define if $(have-fpie) and
53601 $(build-shared).
53602 (binaries-shared): Also filter out $(binaries-pie).
53603 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53604 * nscd/Makefile (others-pie): Add nscd.
53605 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53606 ($(objpfx)nscd): Remove command override.
53607 * login/Makefile (others-pie): Add pt_chown.
53608 ($(objpfx)pt_chown): Remove command override.
53609 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53610 remove command overrides.
53611
53612 2011-05-13 Ulrich Drepper <drepper@gmail.com>
53613
53614 * libio/tst_putwc.c: Fix error messages.
53615
53616 [BZ #12724]
53617 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53618 currently writing and seek to current position when not.
53619 * libio/Makefile (tests): Add bug-fclose1.
53620 * libio/bug-fclose1.c: New file.
53621
53622 2011-05-12 Ulrich Drepper <drepper@gmail.com>
53623
53624 [BZ #12511]
53625 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53626 don't set DF_1_NODELETE here.
53627 (do_lookup_x): When entering new entry test for copy relocation
53628 and if necessary set DF_1_NODELETE flag.
53629 * elf/tst-unique4.cc: New file.
53630 * elf/tst-unique4.h: New file.
53631 * elf/tst-unique4lib.cc: New file.
53632 * elf/Makefile: Add rules to build and run tst-unique4.
53633 Patch by Piotr Bury <pbury@goahead.com>.
53634
53635 2011-05-11 Ulrich Drepper <drepper@gmail.com>
53636
53637 [BZ #12052]
53638 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53639
53640 [BZ #12625]
53641 * misc/mntent_r.c (addmntent): Flush the stream after the output
53642
53643 [BZ #12393]
53644 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53645 (is_trusted_path_normalize): Skip initial colon. Append slash
53646 to empty buffer. Duplicate is_trusted_path code but allow
53647 constructed patch to be prefix.
53648 (is_dst): Allow $ORIGIN followed by /.
53649 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53650 Correct testing of result of is_trusted_path_normalize
53651 (decompose_rpath): Fix warning.
53652
53653 2011-05-10 Ulrich Drepper <drepper@gmail.com>
53654
53655 [BZ #11257]
53656 * grp/initgroups.c (internal_getgrouplist): When we found the service
53657 list through the initgroups entry in nsswitch.conf do not always
53658 continue on a successful lookup. Don't always use the
53659 __nss_group_database value if it is set.
53660 * nss/nsswitch.conf (initgroups): Change action for successful db
53661 lookup to continue for compatibility.
53662
53663 2011-05-09 Ulrich Drepper <drepper@gmail.com>
53664
53665 [BZ #11532]
53666 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53667 and CP774 modules.
53668 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53669 and CP774 modules.
53670 * iconvdata/tst-tables.sh: Likewise.
53671 * iconvdata/cp770.c: New file.
53672 * iconvdata/cp771.c: New file.
53673 * iconvdata/cp772.c: New file.
53674 * iconvdata/cp773.c: New file.
53675 * iconvdata/cp774.c: New file.
53676 * iconvdata/testdata/CP770: New file.
53677 * iconvdata/testdata/CP770..UTF8: New file.
53678 * iconvdata/testdata/CP771: New file.
53679 * iconvdata/testdata/CP771..UTF8: New file.
53680 * iconvdata/testdata/CP772: New file.
53681 * iconvdata/testdata/CP772..UTF8: New file.
53682 * iconvdata/testdata/CP773: New file.
53683 * iconvdata/testdata/CP773..UTF8: New file.
53684 * iconvdata/testdata/CP774: New file.
53685 * iconvdata/testdata/CP774..UTF8: New file.
53686
53687 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53688 END CHARMAP line.
53689 * iconvdata/gen-8bit-gap.sh: Likewise.
53690 * iconvdata/gen-8bit.sh: Likewise.
53691
53692 * locale/iso-639.def: Add ary entry.
53693
53694 [BZ #11258]
53695 * locale/C-translit.h.in: Add U20A1 transliteration.
53696
53697 [BZ #12178]
53698 * locale/iso-639.def: Add wae entry.
53699 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53700
53701 [BZ #12545]
53702 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53703 for n.
53704
53705 [BZ #12711]
53706 * locale/C-translit.h.in: Add entry for U20B9.
53707 Patch by pravin.d.s@gmail.com.
53708
53709 2011-05-08 Ulrich Drepper <drepper@gmail.com>
53710
53711 [BZ #12713]
53712 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53713 ENAMETOOLONG use generic getcwd.
53714 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53715 in rtld. Use *stat64.
53716 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53717 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53718 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53719 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53720 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53721 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53722 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53723 __fstatat64 macros.
53724 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53725 * dirent/rewinddir.c: Add libc_hidden_def.
53726 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53727 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53728
53729 * include/dirent.h (__alloc_dir): Add flags parameter.
53730 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53731 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53732 __alloc_dir.
53733 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53734 from fdopendir if O_CLOEXEC is already set.
53735
53736 2011-03-15 Alan Modra <amodra@gmail.com>
53737
53738 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53739 l_tls_firstbyte_offset non-zero. Save padding offset in
53740 l_tls_firstbyte_offset for later use.
53741 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53742 freeing static tls block.
53743
53744 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53745
53746 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53747 where #ifdef was intended. The intent is to prevent ARG_MAX from
53748 being defined by the kernel headers.
53749
53750 2011-05-07 Ulrich Drepper <drepper@gmail.com>
53751
53752 [BZ #12734]
53753 * resolv/resolv.h: Define RES_NOTLDQUERY.
53754 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53755 no-tld-query and set RES_NOTLDQUERY.
53756 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53757 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53758 modern BIND to search name as TLD unless forbidden.
53759
53760 2011-05-07 Petr Baudis <pasky@suse.cz>
53761 Ulrich Drepper <drepper@gmail.com>
53762
53763 [BZ #12393]
53764 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53765 (is_trusted_path): ...to here.
53766 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53767 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53768 using is_trusted_path_normalize() in setuid scripts.
53769
53770 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53771
53772 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53773 __BEGIN/__END_DECLS.
53774
53775 2011-05-06 Ulrich Drepper <drepper@gmail.com>
53776
53777 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53778 NSS_STATUS_NOTFOUND if no record was found.
53779
53780 2011-05-05 Andreas Schwab <schwab@redhat.com>
53781
53782 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53783 (headers-not-in-tirpc): Remove rpc/netdb.h
53784 * resolv/netdb.h: Revert last change.
53785
53786 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53787
53788 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53789 circular dependency between libgcc.a and libc.a.
53790
53791 2011-05-05 Andreas Schwab <schwab@redhat.com>
53792
53793 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53794 * nis/Makefile: Don't install rpcsvc/*.
53795 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53796 instead of <rpc/types.h>.
53797 (MAXHOSTNAMELEN): Define.
53798
53799 2011-05-03 Andreas Schwab <schwab@redhat.com>
53800
53801 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53802
53803 2011-04-28 Maciej Babinski <mbabinski@google.com>
53804
53805 [BZ #12714]
53806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53807 gethostbyname4_r when IPv6 results are possible.
53808
53809 2011-05-02 Ulrich Drepper <drepper@gmail.com>
53810
53811 [BZ #12723]
53812 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53813 _PC_PIPE_BUF handling.
53814
53815 2011-04-30 Bruno Haible <bruno@clisp.org>
53816
53817 [BZ #12717]
53818 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53819 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53820 to 'int'.
53821 * inet/getnameinfo.c (getnameinfo): Likewise.
53822
53823 2011-04-29 Ulrich Drepper <drepper@gmail.com>
53824
53825 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53826 to groups setting in database lookup.
53827 * nss/nsswitch.conf: Add initgroups entry.
53828
53829 2011-04-22 Ulrich Drepper <drepper@gmail.com>
53830
53831 [BZ #12685]
53832 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53833 mode string.
53834 Patch by Eric Blake <eblake@redhat.com>.
53835
53836 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53837
53838 * sunrpc/Makefile (need-export-routines): Add svc_run.
53839 (routines): Remove svc_run.
53840 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53841 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53842 * sunrpc/svc_run.c (svc_run): Likewise.
53843 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53844
53845 2011-04-21 Ulrich Drepper <drepper@gmail.com>
53846
53847 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53848 problem in reallocation in last patch.
53849
53850 2011-04-20 Ulrich Drepper <drepper@gmail.com>
53851
53852 * sunrpc/Makefile: Move inclusion of Rules.
53853
53854 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53855
53856 * nss/nss_files/files-initgroups.c: New file.
53857 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53858 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53859 _nss_files_initgroups_dyn.
53860
53861 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53862
53863 * elf/elf.h (R_ARM_IRELATIVE): Define.
53864
53865 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53866
53867 * po/ru.po: Update from translation team.
53868
53869 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53870
53871 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53872 dependencies.
53873
53874 2011-02-06 Mike Frysinger <vapier@gentoo.org>
53875
53876 [BZ #12653]
53877 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53878 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53879 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53880 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53881 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53882
53883 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53884
53885 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53886 differing bytes.
53887 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53888 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53889 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53890
53891 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53892
53893 [BZ #12420]
53894 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53895 storing it.
53896 * stdlib/bug-getcontext.c: New file.
53897 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53898
53899 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53900
53901 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53902 instructions into .machine "z9-109".
53903 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53904 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53905
53906 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53907
53908 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53909 between environment variables and auxiliary vector.
53910
53911 2011-04-16 Ulrich Drepper <drepper@gmail.com>
53912
53913 * Makefile: Add rules to build linkobj/libc.so.
53914 * include/libc-symbols.h: Define libc_hidden_nolink.
53915 * include/rpc/auth.h: Mark functions which are to be hidden.
53916 * include/rpc/auth_des.h: Likewise.
53917 * include/rpc/auth_unix.h: Likewise.
53918 * include/rpc/clnt.h: Likewise.
53919 * include/rpc/des_crypt.h: Likewise.
53920 * include/rpc/key_prot.h: Likewise.
53921 * include/rpc/pmap_clnt.h: Likewise.
53922 * include/rpc/pmap_prot.h: Likewise.
53923 * include/rpc/pmap_rmt.h: Likewise.
53924 * include/rpc/rpc_msg.h: Likewise.
53925 * include/rpc/svc.h: Likewise.
53926 * include/rpc/svc_auth.h: Likewise.
53927 * include/rpc/xdr.h: Likewise.
53928 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53929 * nss/Makefile: Likewise.
53930 * sunrpc/Makefile: Don't install headers. Build library with normal
53931 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53932 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53933 for the compat linking library. Remove use of INTDEF/INTUSE.
53934 * sunrpc/auth_none.c: Likewise.
53935 * sunrpc/auth_unix.c: Likewise.
53936 * sunrpc/authdes_prot.c: Likewise.
53937 * sunrpc/authuxprot.c: Likewise.
53938 * sunrpc/clnt_gen.c: Likewise.
53939 * sunrpc/clnt_perr.c: Likewise.
53940 * sunrpc/clnt_raw.c: Likewise.
53941 * sunrpc/clnt_simp.c: Likewise.
53942 * sunrpc/clnt_tcp.c: Likewise.
53943 * sunrpc/clnt_udp.c: Likewise.
53944 * sunrpc/clnt_unix.c: Likewise.
53945 * sunrpc/des_crypt.c: Likewise.
53946 * sunrpc/des_soft.c: Likewise.
53947 * sunrpc/get_myaddr.c: Likewise.
53948 * sunrpc/key_call.c: Likewise.
53949 * sunrpc/key_prot.c: Likewise.
53950 * sunrpc/netname.c: Likewise.
53951 * sunrpc/pm_getmaps.c: Likewise.
53952 * sunrpc/pm_getport.c: Likewise.
53953 * sunrpc/pmap_clnt.c: Likewise.
53954 * sunrpc/pmap_prot.c: Likewise.
53955 * sunrpc/pmap_prot2.c: Likewise.
53956 * sunrpc/pmap_rmt.c: Likewise.
53957 * sunrpc/publickey.c: Likewise.
53958 * sunrpc/rpc_cmsg.c: Likewise.
53959 * sunrpc/rpc_common.c: Likewise.
53960 * sunrpc/rpc_dtable.c: Likewise.
53961 * sunrpc/rpc_prot.c: Likewise.
53962 * sunrpc/rpc_thread.c: Likewise.
53963 * sunrpc/rtime.c: Likewise.
53964 * sunrpc/svc.c: Likewise.
53965 * sunrpc/svc_auth.c: Likewise.
53966 * sunrpc/svc_authux.c: Likewise.
53967 * sunrpc/svc_raw.c: Likewise.
53968 * sunrpc/svc_run.c: Likewise.
53969 * sunrpc/svc_simple.c: Likewise.
53970 * sunrpc/svc_tcp.c: Likewise.
53971 * sunrpc/svc_udp.c: Likewise.
53972 * sunrpc/svc_unix.c: Likewise.
53973 * sunrpc/svcauth_des.c: Likewise.
53974 * sunrpc/xcrypt.c: Likewise.
53975 * sunrpc/xdr.c: Likewise.
53976 * sunrpc/xdr_array.c: Likewise.
53977 * sunrpc/xdr_float.c: Likewise.
53978 * sunrpc/xdr_intXX_t.c: Likewise.
53979 * sunrpc/xdr_mem.c: Likewise.
53980 * sunrpc/xdr_rec.c: Likewise.
53981 * sunrpc/xdr_ref.c: Likewise.
53982 * sunrpc/xdr_sizeof.c: Likewise.
53983 * sunrpc/xdr_stdio.c: Likewise.
53984
53985 2011-04-10 Ulrich Drepper <drepper@gmail.com>
53986
53987 [BZ #12650]
53988 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53989 * sysdeps/ia64/dl-tls.h: Likewise.
53990 * sysdeps/powerpc/dl-tls.h: Likewise.
53991 * sysdeps/s390/dl-tls.h: Likewise.
53992 * sysdeps/sh/dl-tls.h: Likewise.
53993 * sysdeps/sparc/dl-tls.h: Likewise.
53994 * sysdeps/x86_64/dl-tls.h: Likewise.
53995 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53996
53997 2011-03-14 Andreas Schwab <schwab@redhat.com>
53998
53999 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54000 rpath element also skip the following colon.
54001 (expand_dynamic_string_token): Add is_path parameter and pass
54002 down to DL_DST_REQUIRED and _dl_dst_substitute.
54003 (decompose_rpath): Call expand_dynamic_string_token with
54004 non-zero is_path. Ignore empty rpaths.
54005 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54006 with zero is_path.
54007
54008 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54009
54010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54011 Make cancelable.
54012
54013 2011-04-09 Ulrich Drepper <drepper@gmail.com>
54014
54015 [BZ #12655]
54016 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54017 Patch by Filipe David Manana <fdmanana@apache.org>.
54018
54019 2011-04-07 Andreas Schwab <schwab@redhat.com>
54020
54021 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54022 Maintain aligned stack.
54023 (CHECK_RSP): Remove unused macro.
54024
54025 2011-04-03 Ulrich Drepper <drepper@gmail.com>
54026
54027 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54028 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54029
54030 2011-04-02 Ulrich Drepper <drepper@gmail.com>
54031
54032 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54033
54034 * include/features.h: Mention __USE_XOPEN2K8 in comment.
54035
54036 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54037
54038 [BZ #12518]
54039 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54040 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54041 * sysdeps/x86_64/memmove.c: New file.
54042 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54043 (memcpy): Renamed to ...
54044 (__new_memcpy): This.
54045 (memcpy): Provide GLIBC_2_14 memcpy.
54046 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54047 (memcpy): Provide GLIBC_2_2_5 memcpy.
54048
54049 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54050
54051 [BZ #12631]
54052 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54053
54054 2011-03-30 Andreas Schwab <schwab@redhat.com>
54055
54056 * misc/syncfs.c: New file.
54057 * misc/Makefile (routines): Add syncfs.
54058 * posix/unistd.h: Declare syncfs.
54059 * sysdeps/unix/syscalls.list: Add syncfs.
54060
54061 2011-04-01 Andreas Schwab <schwab@redhat.com>
54062
54063 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54064 open_by_handle_at.
54065 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54066 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54067 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54068 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54070 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54071 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54072
54073 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54074
54075 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54076 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54077 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54078 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54079 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54080 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54081 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54082
54083 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54084 sync_file_range.c with -fexceptions.
54085 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54086 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54087 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54088 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54089 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54090 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54092 sync_file_range as cancellation point
54093 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54094 now a wrapper around __call_sync_file_range with cancellation handling.
54095 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54096 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54097 function name to __call_sync_file_range.
54098 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54099 Add call_sync_file_range.
54100
54101 2011-04-01 Andreas Schwab <schwab@redhat.com>
54102
54103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54104 bits/timex.h.
54105
54106 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54107
54108 * iconv/iconv.h: Fix typo in comment.
54109 * io/fcntl.h: Likewise.
54110 * libio/stdio.h: Likewise.
54111 * posix/spawn.h: Likewise.
54112 * posix/unistd.h: Likewise.
54113 * stdlib/stdlib.h: Likewise.
54114 * time/time.h: Likewise.
54115 * wcsmbs/wchar.h: Likewise.
54116
54117 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54118 open_by_handle): Add.
54119 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54120 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54121 Augment a few comments.
54122 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54123 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54124 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54126 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54127 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54128 open_by_handle.
54129
54130 * io/fcntl.h (AT_EMPTY_PATH): Define.
54131
54132 2011-03-30 Ulrich Drepper <drepper@gmail.com>
54133
54134 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54135 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54136 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54137 to...
54138 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
54139 * Versions.def: Add GLIBC_2.14.
54140 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54141 Export.
54142
54143 2011-03-22 Ulrich Drepper <drepper@gmail.com>
54144
54145 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54146 round counter.
54147 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54148
54149 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54150
54151 [BZ #12597]
54152 * string/test-strncmp.c (do_page_test): New function.
54153 (check2): Likewise.
54154 (test_main): Call check2.
54155 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54156
54157 2011-03-20 Ulrich Drepper <drepper@gmail.com>
54158
54159 [BZ #12587]
54160 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54161 Handle cache information in CPU leaf 4.
54162 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54163
54164 2011-03-18 Ulrich Drepper <drepper@gmail.com>
54165
54166 [BZ #12583]
54167 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54168 character representation.
54169 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54170
54171 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54172
54173 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54174 END(__isnan) to END(__isnanf) to match function entry point/label
54175 EALIGN(__isnanf,...).
54176
54177 2011-03-10 Jakub Jelinek <jakub@redhat.com>
54178
54179 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54180
54181 2011-03-10 Ulrich Drepper <drepper@gmail.com>
54182
54183 [BZ #12510]
54184 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54185 copy from the symbol referenced in the relocation to initialize the
54186 used variable.
54187 Patch by Piotr Bury <pbury@goahead.com>.
54188 * elf/Makefile: Add rules to build and tst-unique3.
54189 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54190 * elf/tst-unique3.cc: New file.
54191 * elf/tst-unique3.h: New file.
54192 * elf/tst-unique3lib.cc: New file.
54193 * elf/tst-unique3lib2.cc: New file.
54194
54195 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54196
54197 2011-03-10 Mike Frysinger <vapier@gentoo.org>
54198
54199 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54200 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54201 to _start.
54202
54203 2011-03-06 Ulrich Drepper <drepper@gmail.com>
54204
54205 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54206 to-be-loaded object along a path to loader is ld.so.
54207
54208 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54209 Ulrich Drepper <drepper@gmail.com>
54210
54211 * sysdeps/x86_64/memset.S: After aligning destination, code
54212 branches to different locations depending on the value of
54213 misalignment, when multiarch is enabled. Fix this.
54214
54215 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54216
54217 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54218 Set _x86_64_preferred_memory_instruction for AMD processsors.
54219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54220 Set bit_Prefer_SSE_for_memop for AMD processors.
54221
54222 2011-03-04 Ulrich Drepper <drepper@gmail.com>
54223
54224 * libio/fmemopen.c (fmemopen): Optimize a bit.
54225
54226 2011-03-03 Andreas Schwab <schwab@redhat.com>
54227
54228 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54229
54230 2011-03-03 Roland McGrath <roland@redhat.com>
54231
54232 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54233
54234 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54235
54236 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54237 __bzero_ultra1 instead of __memset_ultra1.
54238
54239 2011-02-23 Andreas Schwab <schwab@redhat.com>
54240 Ulrich Drepper <drepper@gmail.com>
54241
54242 [BZ #12509]
54243 * include/link.h (struct link_map): Add l_orig_initfini.
54244 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54245 returning unsuccessfully.
54246 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54247 close of a file loaded at startup, restore the original l_initfini
54248 list.
54249 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54250 list, store the pointer.
54251 * elf/Makefile ($(objpfx)noload-mem): New rule.
54252 (noload-ENV): Define.
54253 (tests): Add $(objpfx)noload-mem.
54254 * elf/noload.c: Include <memcheck.h>.
54255 (main): Call mtrace. Close all opened handles.
54256
54257 2011-02-17 Andreas Schwab <schwab@redhat.com>
54258
54259 [BZ #12454]
54260 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54261 dependencies are missing.
54262
54263 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54264
54265 Fix __if_freereq crash: Unlike the generic version which uses free,
54266 Hurd needs munmap.
54267 * sysdeps/mach/hurd/ifreq.h: New file.
54268
54269 2011-01-27 Petr Baudis <pasky@suse.cz>
54270 Ulrich Drepper <drepper@gmail.com>
54271
54272 [BZ 12445]#
54273 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54274 to extend_alloca().
54275 * stdio-common/bug23.c: New file.
54276 * stdio-common/Makefile (tests): Add bug23.
54277
54278 2010-09-28 Andreas Schwab <schwab@redhat.com>
54279 Ulrich Drepper <drepper@gmail.com>
54280
54281 [BZ #12489]
54282 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54283 before performing relro protection. At old place add assertion
54284 to make sure nothing changed.
54285
54286 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54287 Glauber de Oliveira Costa <glommer@gmail.com>
54288
54289 * elf/elf.h: Add new ARM TLS relocs.
54290
54291 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54292
54293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54294 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54295 cast from r3.
54296 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54297 'tests' variable.
54298 * sysdeps/wordsize-64/tst-writev.c: New file.
54299
54300 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54301
54302 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54303 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54304 insns in _dl_start to prevent a TOC reference before relocs are
54305 resolved.
54306
54307 2011-02-15 Ulrich Drepper <drepper@gmail.com>
54308
54309 [BZ #12469]
54310 * Makeconfig: Remove RANLIB definition.
54311 * Makerules: Don't use RANLIB.
54312 * aclocal.m4: Remove ranlib test.
54313 * configure.in: No need to check for ranlib.
54314 * elf/rtld-Rules: Don't use RANLIB.
54315
54316 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54317
54318 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54319 protection macro.
54320 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54321 inclusion protection macro.
54322
54323 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54324 SIGRTMIN and SIGRTMAX and print information in that case only when
54325 SIGRTMIN is defined.
54326
54327 2011-02-11 Jakub Jelinek <jakub@redhat.com>
54328
54329 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54330 arginfo fn returning -1.
54331
54332 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54333 and thousands string is zero terminated.
54334
54335 2011-02-03 Andreas Schwab <schwab@redhat.com>
54336
54337 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54338 sysdeps/unix/sysv/linux/bits/socket.h.
54339
54340 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54341
54342 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54343 (__CPU_COUNT): Remove old macros.
54344 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54345 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54346 (__CPU_ALLOC, __CPU_FREE): Add macros.
54347 (__sched_cpualloc, __sched_cpufree): Add declarations.
54348
54349 2011-02-05 Ulrich Drepper <drepper@gmail.com>
54350
54351 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54352 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54353 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54354 (readdhstai): Return value of addhstaiX call.
54355 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54356 (addgrbyX): Return value returned by cache_addgr.
54357 (readdgrbyname): Return value returned by addgrbyX.
54358 (readdgrbygid): Likewise.
54359 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54360 (addpwbyX): Return value returned by cache_addpw.
54361 (readdpwbyname): Return value returned by addhstbyX.
54362 (readdpwbyuid): Likewise.
54363 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54364 (addservbyX): Return value returned by cache_addserv.
54365 (readdservbyname): Return value returned by addservbyX:
54366 (readdservbyport): Likewise.
54367 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54368 (addhstbyX): Return value returned by cache_addhst.
54369 (readdhstbyname): Return value returned by addhstbyX.
54370 (readdhstbyaddr): Likewise.
54371 (readdhstbynamev6): Likewise.
54372 (readdhstbyaddrv6): Likewise.
54373 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54374 (readdinitgroups): Return value returned by addinitgroupsX.
54375 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54376 (prune_cache): Keep track of timeout value of re-added entries.
54377 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54378 * nscd/nscd.h: Adjust prototypes of readd* functions.
54379
54380 2011-02-04 Roland McGrath <roland@redhat.com>
54381
54382 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54383 (nis_stats): Likewise.
54384 * nis/nis_modify.c (nis_modify): Likewise.
54385 * nis/nis_remove.c (nis_remove): Likewise.
54386 * nis/nis_add.c (nis_add): Likewise.
54387
54388 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54389
54390 * posix/fnmatch_loop.c: Add some consts.
54391
54392 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54393
54394 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54395
54396 [BZ #12460]
54397 * config.make.in (config-cflags-novzeroupper): Define.
54398 * configure.in: Substitute libc_cv_cc_novzeroupper.
54399 * elf/Makefile (AVX-CFLAGS): Define.
54400 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54401 (CFLAGS-tst-auditmod4a.c): Likewise.
54402 (CFLAGS-tst-auditmod4b.c): Likewise.
54403 (CFLAGS-tst-auditmod6b.c): Likewise.
54404 (CFLAGS-tst-auditmod6c.c): Likewise.
54405 (CFLAGS-tst-auditmod7b.c): Likewise.
54406 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54407
54408 2011-02-02 Ulrich Drepper <drepper@gmail.com>
54409
54410 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54411 function to the callback.
54412 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54413
54414 2011-02-02 Andreas Schwab <schwab@redhat.com>
54415
54416 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54417 of errno.
54418
54419 2011-01-19 Ulrich Drepper <drepper@gmail.com>
54420
54421 [BZ #11724]
54422 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54423 of constructors.
54424 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54425 of destructors.
54426 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54427
54428 [BZ #11724]
54429 * elf/Makefile: Add rules to build and run new test.
54430 * elf/tst-initorder.c: New file.
54431 * elf/tst-initorder.exp: New file.
54432 * elf/tst-initordera1.c: New file.
54433 * elf/tst-initordera2.c: New file.
54434 * elf/tst-initordera3.c: New file.
54435 * elf/tst-initordera4.c: New file.
54436 * elf/tst-initorderb1.c: New file.
54437 * elf/tst-initorderb2.c: New file.
54438 * elf/tst-order-a1.c: New file.
54439 * elf/tst-order-a2.c: New file.
54440 * elf/tst-order-a3.c: New file.
54441 * elf/tst-order-a4.c: New file.
54442 * elf/tst-order-b1.c: New file.
54443 * elf/tst-order-b2.c: New file.
54444 * elf/tst-order-main.c: New file.
54445 New test case by George Gensure <werkt0@gmail.com>.
54446
54447 2010-10-01 Andreas Schwab <schwab@redhat.com>
54448
54449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54450 decoding ACE if AI_CANONIDN.
54451
54452 2011-01-18 Ulrich Drepper <drepper@gmail.com>
54453
54454 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54455
54456 2011-01-17 Ulrich Drepper <drepper@gmail.com>
54457
54458 * version.h (RELEASE): Bump for 2.13 release.
54459 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54460
54461 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54462
54463 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54464 MADV_NOHUGEPAGE.
54465 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54466 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54467 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54468 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54469 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54470 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54471
54472 * posix/getconf.c: Update copyright year.
54473 * catgets/gencat.c: Likewise.
54474 * csu/version.c: Likewise.
54475 * debug/catchsegv.sh: Likewise.
54476 * debug/xtrace.sh: Likewise.
54477 * elf/ldconfig.c: Likewise.
54478 * elf/ldd.bash.in: Likewise.
54479 * elf/sprof.c (print_version): Likewise.
54480 * iconv/iconv_prog.c: Likewise.
54481 * iconv/iconvconfig.c: Likewise.
54482 * locale/programs/locale.c: Likewise.
54483 * locale/programs/localedef.c: Likewise.
54484 * malloc/memusage.sh: Likewise.
54485 * malloc/mtrace.pl: Likewise.
54486 * nscd/nscd.c (print_version): Likewise.
54487 * nss/getent.c: Likewise.
54488
54489 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54490 PF_CAIF, and PF_ALG.
54491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54492
54493 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54494
54495 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54496 (modules-names): Use them.
54497 (ifunc-test-modules, ifunc-pie-tests): Define.
54498 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54499 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54500 (test-extras): Likewise.
54501 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54502 $(compile-command.c).
54503 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54504 (all-built-dso): Define.
54505 (check-textrel.out, check-execstack.out): Depend on it.
54506
54507 * configure.in: Don't override --enable-multi-arch.
54508
54509 2011-01-15 Ulrich Drepper <drepper@gmail.com>
54510
54511 [BZ #6812]
54512 * nscd/hstcache.c (tryagain): Define.
54513 (cache_addhst): Return tryagain not notfound for temporary errors.
54514 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54515 failed.
54516
54517 2011-01-14 Ulrich Drepper <drepper@gmail.com>
54518
54519 [BZ #10563]
54520 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54521 to make the syscall.
54522 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54523
54524 [BZ #12378]
54525 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54526 and fall back to matching as normal character if the string ends before
54527 the matching ']' is found. This is what POSIX requires.
54528 * posix/testfnm.c: Adjust test result.
54529 * posix/globtest.sh: Adjust test result. Add new test.
54530 * posix/tst-fnmatch.input: Likewise.
54531 * posix/tst-fnmatch2.c: Add new test.
54532
54533 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54534
54535 * elf/Makefile (check-execstack): Revert last change. Depend on
54536 check-execstack.h.
54537 (check-execstack.h): New target.
54538 (generated): Add check-execstack.h.
54539 * elf/check-execstack.c: Include "check-execstack.h".
54540 (main): Revert last change.
54541 (handle_file): Return zero if GNU_STACK is absent and
54542 DEFAULT_STACK_PERMS doesn't include PF_X.
54543
54544 2011-01-13 Ulrich Drepper <drepper@gmail.com>
54545
54546 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54547 in child fails because the descriptor is already closed.
54548 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54549 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54550 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54551
54552 [BZ #12397]
54553 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54554 syscall.
54555
54556 [BZ #10484]
54557 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54558 temporary buffer used to handle multi lookups locally.
54559 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54560
54561 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54562
54563 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54564 loader is ld.so.
54565
54566 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54567
54568 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54569 alignment for SSE2.
54570
54571 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54572
54573 [BZ #12394]
54574 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54575 characters. When rounding increased number of integer digits recompute
54576 number of groups.
54577 * stdio-common/tst-grouping.c: New file.
54578 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54579
54580 2011-01-09 Ulrich Drepper <drepper@gmail.com>
54581
54582 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54583 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54584
54585 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54586 void.
54587 * bits/select.h: Likewise.
54588
54589 2011-01-08 Ulrich Drepper <drepper@gmail.com>
54590
54591 * po/ja.po: Update from translation team.
54592
54593 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
54594
54595 [BZ #11155]
54596 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54597 implementation just like for lxstat, fxstatat, et al.
54598
54599 2010-12-27 Jim Meyering <meyering@redhat.com>
54600
54601 [BZ #12348]
54602 * posix/regexec.c (build_trtable): Return failure indication upon
54603 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54604
54605 2010-12-25 Ulrich Drepper <drepper@gmail.com>
54606
54607 [BZ #12201]
54608 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54609 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54610 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54611 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54612
54613 [BZ #12207]
54614 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54615
54616 [BZ #12204]
54617 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54618 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54619
54620 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54621
54622 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54623 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54624 script has SORT_BY_INIT_PRIORITY.
54625 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54626 NO_CTORS_DTORS_SECTIONS is defined.
54627 * elf/soinit.c: Likewise.
54628 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54629 NO_CTORS_DTORS_SECTIONS is defined.
54630 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54631 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54632 * sysdeps/sh/init-first.c: Likewise.
54633 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54634
54635 2010-12-24 Ulrich Drepper <drepper@gmail.com>
54636
54637 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54638 always use the slow path.
54639
54640 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54641
54642 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54643 similar rule which adds the sysdep directories to the header search in
54644 order to pick up the correct platform stackinfo.h.
54645 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54646 perform test if it is, otherwise return successfully without testing.
54647 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54648 DEFAULT_STACK_PERMS define in stackinfo.h.
54649 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54650 defined in stackinfo.h.
54651 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54652 DEFAULT_STACK_PERMS defined in stackinfo.h.
54653 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54654 * sysdeps/ia64/stackinfo.h: Likewise.
54655 * sysdeps/s390/stackinfo.h: Likewise.
54656 * sysdeps/sh/stackinfo.h: Likewise.
54657 * sysdeps/sparc/stackinfo.h: Likewise.
54658 * sysdeps/x86_64/stackinfo.h: Likewise.
54659 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54660 PF_X for powerpc64. Retain PF_X for powerpc32.
54661
54662 2010-12-19 Ulrich Drepper <drepper@gmail.com>
54663
54664 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54665 accurately.
54666 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54667 GETDENTS_64BIT_ALIGNED.
54668
54669 2010-12-14 Ulrich Drepper <dreper@gmail.com>
54670
54671 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54672
54673 2010-12-10 Andreas Schwab <schwab@redhat.com>
54674
54675 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54676 _GNU_SOURCE.
54677
54678 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54679 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54680 Remove __restrict.
54681 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54682 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54683
54684 2010-12-09 Ulrich Drepper <drepper@gmail.com>
54685
54686 [BZ #11655]
54687 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54688 are initialized.
54689
54690 2010-12-09 Jakub Jelinek <jakub@redhat.com>
54691
54692 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54693
54694 2010-12-03 Ulrich Drepper <drepper@gmail.com>
54695
54696 * po/it.po: Update from translation team.
54697
54698 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54699
54700 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54701 unused codes.
54702
54703 2010-11-30 Ulrich Drepper <drepper@gmail.com>
54704
54705 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54706
54707 2010-11-24 Andreas Schwab <schwab@redhat.com>
54708
54709 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54710 specially.
54711 (gaih_getanswer_slice): Likewise.
54712
54713 2010-10-20 Jakub Jelinek <jakub@redhat.com>
54714
54715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54716
54717 2010-05-31 Petr Baudis <pasky@suse.cz>
54718
54719 [BZ #11149]
54720 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54721 silently even in the chroot mode.
54722
54723 2010-11-22 Ulrich Drepper <drepper@gmail.com>
54724
54725 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54726 last patch a bit. Pretty printing
54727
54728 2010-05-31 Petr Baudis <pasky@suse.cz>
54729
54730 [BZ #10085]
54731 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54732 initialization of skip_initgroups_dyn.
54733
54734 2010-11-19 Ulrich Drepper <drepper@gmail.com>
54735
54736 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54737 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54738
54739 2010-11-16 Ulrich Drepper <drepper@gmail.com>
54740
54741 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54742
54743 2010-11-11 Andreas Schwab <schwab@redhat.com>
54744
54745 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54746 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54747 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54748 ($(objpfx)tst-fnmatch-mem): New rule.
54749 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54750 * posix/tst-fnmatch.c (main): Call mtrace.
54751
54752 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54753
54754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54755 Support Intel processor model 6 and model 0x2c.
54756
54757 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
54758
54759 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54760 signed comparison.
54761
54762 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54763
54764 [BZ #12205]
54765 * string/test-strncasecmp.c (check_result): New function.
54766 (do_one_test): Use it.
54767 (check1): New function.
54768 (test_main): Use it.
54769 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54770 Support strcasecmp and strncasecmp.
54771
54772 2010-11-08 Ulrich Drepper <drepper@gmail.com>
54773
54774 [BZ #12194]
54775 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54776 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54777
54778 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54779
54780 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54781 IFUNC support.
54782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54783 memset-x86-64.
54784 * sysdeps/x86_64/multiarch/bzero.S: New file.
54785 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54786 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54787 * sysdeps/x86_64/multiarch/memset.S: New file.
54788 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54790 Set bit_Prefer_SSE_for_memop for Intel processors.
54791 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54792 Define.
54793 (index_Prefer_SSE_for_memop): Define.
54794 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54795
54796 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
54797
54798 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54799 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54800
54801 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54802
54803 [BZ #12191]
54804 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54805 (__x86_64_raw_data_cache_size_half): Likewise.
54806 (__x86_64_raw_shared_cache_size): Likewise.
54807 (__x86_64_raw_shared_cache_size_half): Likewise.
54808
54809 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54810 (__x86_64_raw_data_cache_size_half): Likewise.
54811 (__x86_64_raw_shared_cache_size): Likewise.
54812 (__x86_64_raw_shared_cache_size_half): Likewise.
54813 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54814 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54815 and __x86_64_raw_shared_cache_size_half. Round
54816 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54817 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54818 to multiple of 256 bytes.
54819
54820 2010-11-03 Ulrich Drepper <drepper@gmail.com>
54821
54822 [BZ #12167]
54823 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54824 of inacessible symlinks. Verify result of symlink before returning it.
54825 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54826 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54827
54828 2010-10-28 Erich Ritz <erichritz@gmail.com>
54829
54830 * math/math.h (isinf): Fix typo in comment.
54831
54832 2010-11-01 Ulrich Drepper <drepper@gmail.com>
54833
54834 * po/da.po: Update from translation team.
54835
54836 2010-10-26 Ulrich Drepper <drepper@gmail.com>
54837
54838 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54839 is added to the list.
54840
54841 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54842 Ulrich Drepper <drepper@gmail.com>
54843
54844 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54845 the global list here. Move code to...
54846 (_dl_add_to_namespace_list): ...here. New function.
54847 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54848 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54849 * elf/dl-load.c (lose): Don't remove the element from the list.
54850 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54851 (_dl_map_object): Likewise.
54852
54853 2010-10-25 Ulrich Drepper <drepper@gmail.com>
54854
54855 [BZ #12159]
54856 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54857 into all bytes of SSE register.
54858 Patch by Richard Li <richardpku@gmail.com>.
54859
54860 2010-10-24 Ulrich Drepper <drepper@gmail.com>
54861
54862 [BZ #12140]
54863 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54864 perturbing.
54865
54866 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54867
54868 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54869 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54870 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54871 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54873 submachine.
54874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54875
54876 2010-10-22 Andreas Schwab <schwab@redhat.com>
54877
54878 * include/dlfcn.h (__RTLD_SECURE): Define.
54879 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54880 mode & __RTLD_SECURE instead.
54881 (open_path): Rename preloaded parameter to secure.
54882 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54883 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54884 * elf/dl-deps.c (openaux): Likewise.
54885 * elf/rtld.c (struct map_args): Remove is_preloaded.
54886 (map_doit): Don't use it.
54887 (dl_main): Likewise.
54888 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54889 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54890
54891 2010-09-09 Andreas Schwab <schwab@redhat.com>
54892
54893 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54894 (sysd-rules-targets): Remove duplicates.
54895 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54896 rtld-%.$o dependency.
54897
54898 2010-10-18 Andreas Schwab <schwab@redhat.com>
54899
54900 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54901 _dl_map_object do it.
54902
54903 2010-10-19 Ulrich Drepper <drepper@gmail.com>
54904
54905 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54906 fast fma builtins, define the macros in the C99 standard.
54907 (FP_FAST_FMAF): Likewise.
54908 (FP_FAST_FMAL): Likewise.
54909 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54910
54911 * bits/mathdef.h: Update copyright year.
54912 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54913
54914 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54915
54916 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54917 builtins, define the macros in the C99 standard.
54918 (FP_FAST_FMAF): Likewise.
54919 (FP_FAST_FMAL): Likewise.
54920 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54921 multiply/add.
54922 (FP_FAST_FMAF): Likewise.
54923
54924 2010-10-15 Jakub Jelinek <jakub@redhat.com>
54925
54926 [BZ #3268]
54927 * math/libm-test.inc (fma_test): Some new testcases.
54928 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54929 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54930 y and infinite z. Do multiplication by C already in long double.
54931 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54933 y and infinite z. Do bitwise or of inexact bit into u.d.
54934 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54935 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54936 * sysdeps/i386/fpu/s_fma.S: Removed.
54937 * sysdeps/i386/fpu/s_fmal.S: Removed.
54938
54939 2010-10-16 Jakub Jelinek <jakub@redhat.com>
54940
54941 [BZ #3268]
54942 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54944 computation is not scheduled after fetestexcept. Fix value
54945 of minimum denormal long double.
54946
54947 2010-10-14 Jakub Jelinek <jakub@redhat.com>
54948
54949 [BZ #3268]
54950 * math/libm-test.inc (fma_test): Add some more tests.
54951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54952 correctly.
54953
54954 2010-10-15 Andreas Schwab <schwab@redhat.com>
54955
54956 * scripts/data/localplt-s390-linux-gnu.data: New file.
54957 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54958
54959 2010-10-13 Jakub Jelinek <jakub@redhat.com>
54960
54961 [BZ #3268]
54962 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54963 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54964 instead of dbl-64.
54965 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54966 inlines.
54967 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54969 if one of x and y is very large and the other is subnormal.
54970 * sysdeps/s390/fpu/s_fmaf.c: New file.
54971 * sysdeps/s390/fpu/s_fma.c: New file.
54972 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54973 * sysdeps/powerpc/fpu/s_fma.S: New file.
54974 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54975 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54976 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54977
54978 2010-10-12 Jakub Jelinek <jakub@redhat.com>
54979
54980 [BZ #3268]
54981 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54982 fma tests.
54983 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54984 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54985 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54986 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54987 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54988 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54989 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54990
54991 2010-10-12 Ulrich Drepper <drepper@redhat.com>
54992
54993 [BZ #12078]
54994 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54995 * posix/bug-regex31.input: Add test case.
54996
54997 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54998
54999 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55000 * posix/bug-regex31.input: New file.
55001
55002 [BZ #12078]
55003 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55004 (parse_sub_exp): Fix last change, use postorder.
55005
55006 * posix/bug-regex31.c: New file.
55007 * posix/Makefile: Add rules to build and run bug-regex31.
55008
55009 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55010
55011 [BZ #12078]
55012 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55013
55014 [BZ #12108]
55015 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55016 to have entries in sys_siglist.
55017
55018 [BZ #12093]
55019 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55020 be NULL.
55021
55022 2010-10-07 Jakub Jelinek <jakub@redhat.com>
55023
55024 [BZ #3268]
55025 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55026 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55027 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55028 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55029 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55030 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55031 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55032 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55033 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55034 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55035 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55036 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55037 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55038 * math/ftestexcept.c (fetestexcept): Likewise.
55039 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55040 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55041 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55042 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55043 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55044 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55045 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55046
55047 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55048
55049 [BZ #12107]
55050 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55051 newline.
55052
55053 2010-10-06 Ulrich Drepper <drepper@gmail.com>
55054
55055 * string/bug-strstr1.c: New file.
55056 * string/Makefile: Add rules to build and run bug-strstr1.
55057
55058 2010-10-05 Eric Blake <eblake@redhat.com>
55059
55060 [BZ #12092]
55061 * string/str-two-way.h (two_way_long_needle): Always clear memory
55062 when skipping input due to the shift table.
55063
55064 2010-10-03 Ulrich Drepper <drepper@gmail.com>
55065
55066 [BZ #12005]
55067 * malloc/mcheck.c: Handle large requests.
55068
55069 [BZ #12077]
55070 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55071 for strncmp and strncasecmp.
55072 * string/stratcliff.c: Add tests for strcmp and strncmp.
55073 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55074
55075 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55076
55077 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55078 __set_fpscr.
55079
55080 2010-09-30 Andreas Jaeger <aj@suse.de>
55081
55082 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55083 (CGROUP_SUPER_MAGIC): Define.
55084 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55085 Handle btrfs and cgroup file systems.
55086 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55087 Likewise.
55088
55089 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
55090
55091 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55092 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55093
55094 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55095
55096 [BZ #12067]
55097 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55098 trying to locate the ELF header.
55099
55100 2010-09-27 Andreas Schwab <schwab@redhat.com>
55101
55102 [BZ #11611]
55103 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55104 Mask out sign-bit copies when constructing f_fsid.
55105
55106 2010-09-24 Petr Baudis <pasky@suse.cz>
55107
55108 * debug/stack_chk_fail_local.c: Add missing licence exception.
55109 * debug/warning-nop.c: Likewise.
55110
55111 2010-09-15 Joseph Myers <joseph@codesourcery.com>
55112
55113 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55114 implementing getdents64 using getdents syscall, set d_type if
55115 __ASSUME_GETDENTS32_D_TYPE.
55116
55117 2010-09-16 Andreas Schwab <schwab@redhat.com>
55118
55119 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55120 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55121
55122 2010-09-21 Ulrich Drepper <drepper@redhat.com>
55123
55124 [BZ #12037]
55125 * posix/unistd.h: Undo change of feature selection for ftruncate from
55126 2010-01-11.
55127
55128 2010-09-20 Ulrich Drepper <drepper@redhat.com>
55129
55130 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55131 detection.
55132
55133 2010-09-20 Andreas Schwab <schwab@redhat.com>
55134
55135 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55136 fanotify_mark.
55137 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55138
55139 2010-09-14 Andreas Schwab <schwab@redhat.com>
55140
55141 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55142 variables after CHECK_SP call.
55143 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55144
55145 2010-09-13 Andreas Schwab <schwab@redhat.com>
55146 Ulrich Drepper <drepper@redhat.com>
55147
55148 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55149 re-relocationg ld.so.
55150 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55151 _dl_init_paths call.
55152 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55153 here anymore.
55154
55155 2010-09-14 Ulrich Drepper <drepper@redhat.com>
55156
55157 * resolv/res_init.c (__res_vinit): Count the default server we added.
55158
55159 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55160 Ulrich Drepper <drepper@redhat.com>
55161
55162 [BZ #11968]
55163 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55164 (____longjmp_chk): Use %ebx for saving value across system call.
55165 Add unwind info.
55166
55167 2010-09-06 Andreas Schwab <schwab@redhat.com>
55168
55169 * manual/Makefile: Don't mix pattern rules with normal rules.
55170
55171 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55172
55173 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55174 operation.
55175 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55176 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55177 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55178 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55179 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55180 Likewise.
55181
55182 2010-09-04 Ulrich Drepper <drepper@redhat.com>
55183
55184 [BZ #11979]
55185 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55186 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55187
55188 2010-09-02 Ulrich Drepper <drepper@redhat.com>
55189
55190 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55191 * sysdeps/x86_64/addmul_1.S: Likewise.
55192 * sysdeps/x86_64/lshift.S: Likewise.
55193 * sysdeps/x86_64/mul_1.S: Likewise.
55194 * sysdeps/x86_64/rshift.S: Likewise.
55195 * sysdeps/x86_64/sub_n.S: Likewise.
55196 * sysdeps/x86_64/submul_1.S: Likewise.
55197
55198 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55199
55200 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55201 Define __sched_param instead of SCHED_* and sched_param when
55202 <bits/sched.h> is included with __need_schedparam defined.
55203 * bits/sched.h [__need_schedparam]
55204 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55205 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55206 (__defined_schedparam): Define to 1.
55207 (__sched_param): New structure, identical to sched_param.
55208 (__need_schedparam): Undefine.
55209
55210 2010-08-31 Mike Frysinger <vapier@gentoo.org>
55211
55212 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55213 (epoll_create1): Declare.
55214
55215 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55216
55217 2010-08-31 Andreas Schwab <schwab@redhat.com>
55218
55219 [BZ #7066]
55220 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55221 shifting retval into place.
55222
55223 2010-09-01 Ulrich Drepper <drepper@redhat.com>
55224
55225 * nis/rpcsvc/nis.h: Update copyright notice.
55226 * nis/rpcsvc/nis.x: Likewise.
55227 * nis/rpcsvc/nis_callback.h: Likewise.
55228 * nis/rpcsvc/nis_callback.x: Likewise.
55229 * nis/rpcsvc/nis_object.x: Likewise.
55230 * nis/rpcsvc/nis_tags.h: Likewise.
55231 * nis/rpcsvc/yp.h: Likewise.
55232 * nis/rpcsvc/yp.x: Likewise.
55233 * nis/rpcsvc/ypupd.h: Likewise.
55234 * nis/yp_xdr.c: Likewise.
55235 * nis/ypupdate_xdr.c: Likewise.
55236
55237 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55238 mainly the body of pmap_getport. Add parameters to specify timeouts.
55239 (pmap_getport): Use __libc_rpc_getport.
55240 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55241 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55242 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55243
55244 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55245
55246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55247 fanotify_mark.
55248
55249 2010-08-27 Roland McGrath <roland@redhat.com>
55250
55251 * sysdeps/i386/i686/multiarch/Makefile
55252 (CFLAGS-varshift.c): New variable.
55253
55254 2010-08-27 Ulrich Drepper <drepper@redhat.com>
55255
55256 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55257 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55258
55259 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55260
55261 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55262
55263 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55264
55265 * sysdeps/x86_64/strlen.S: Unroll the loop.
55266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55267 strlen-sse2 strlen-sse2-bsf.
55268 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55269 __strlen_no_bsf if bit_Slow_BSF is set.
55270 (__strlen_sse42): Removed.
55271 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55272 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55273
55274 2010-08-25 Roland McGrath <roland@redhat.com>
55275
55276 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55277 * sysdeps/x86_64/multiarch/varshift.c: New file.
55278 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55279 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55280 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55281 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55282
55283 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55284
55285 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55286 strlen-sse2 strlen-sse2-bsf.
55287 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55288 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55289 (__strlen_sse2): Removed.
55290 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55293 bit_Slow_BSF for Atom.
55294 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55295 (index_Slow_BSF): Define.
55296 (HAS_SLOW_BSF): Define.
55297
55298 2010-08-25 Ulrich Drepper <drepper@redhat.com>
55299
55300 [BZ #10851]
55301 * resolv/res_init.c (__res_vinit): When no server address at all
55302 is given default to loopback.
55303
55304 2010-08-24 Roland McGrath <roland@redhat.com>
55305
55306 * configure.in: Remove config-name.h generation.
55307 * configure: Regenerated.
55308 * config-name.in: File removed.
55309 * scripts/config-uname.sh: New file.
55310 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55311 ($(objdir)config-name.h): New target.
55312
55313 * sunrpc/rpc_parse.h: Avoid nested comment.
55314
55315 2010-08-24 Richard Henderson <rth@redhat.com>
55316 Ulrich Drepper <drepper@redhat.com>
55317 H.J. Lu <hongjiu.lu@intel.com>
55318
55319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55321 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55322 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55323 _mm_alignr_epi8 with _mm_loadu_si128.
55324 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55325 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55326 (__m128i_shift_right): Removed.
55327 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55328 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55329 * sysdeps/x86_64/multiarch/varshift.h: New file.
55330 * sysdeps/x86_64/multiarch/varshift.S: New file.
55331
55332 2010-08-21 Mike Frysinger <vapier@gentoo.org>
55333
55334 * configure.in: Move assembler checks to before sysdep dir checking.
55335
55336 2010-08-20 Petr Baudis <pasky@suse.cz>
55337
55338 * LICENSES: Sync the sunrpc license.
55339
55340 2010-08-19 Ulrich Drepper <drepper@redhat.com>
55341
55342 * sunrpc/auth_des.c: Update copyright notice once again.
55343 * sunrpc/auth_none.c: Likewise.
55344 * sunrpc/auth_unix.c: Likewise.
55345 * sunrpc/authdes_prot.c: Likewise.
55346 * sunrpc/authuxprot.c: Likewise.
55347 * sunrpc/bindrsvprt.c: Likewise.
55348 * sunrpc/clnt_gen.c: Likewise.
55349 * sunrpc/clnt_perr.c: Likewise.
55350 * sunrpc/clnt_raw.c: Likewise.
55351 * sunrpc/clnt_simp.c: Likewise.
55352 * sunrpc/clnt_tcp.c: Likewise.
55353 * sunrpc/clnt_udp.c: Likewise.
55354 * sunrpc/clnt_unix.c: Likewise.
55355 * sunrpc/des_crypt.c: Likewise.
55356 * sunrpc/des_soft.c: Likewise.
55357 * sunrpc/get_myaddr.c: Likewise.
55358 * sunrpc/getrpcport.c: Likewise.
55359 * sunrpc/key_call.c: Likewise.
55360 * sunrpc/key_prot.c: Likewise.
55361 * sunrpc/openchild.c: Likewise.
55362 * sunrpc/pm_getmaps.c: Likewise.
55363 * sunrpc/pm_getport.c: Likewise.
55364 * sunrpc/pmap_clnt.c: Likewise.
55365 * sunrpc/pmap_prot.c: Likewise.
55366 * sunrpc/pmap_prot2.c: Likewise.
55367 * sunrpc/pmap_rmt.c: Likewise.
55368 * sunrpc/rpc/auth.h: Likewise.
55369 * sunrpc/rpc/auth_unix.h: Likewise.
55370 * sunrpc/rpc/clnt.h: Likewise.
55371 * sunrpc/rpc/des_crypt.h: Likewise.
55372 * sunrpc/rpc/key_prot.h: Likewise.
55373 * sunrpc/rpc/netdb.h: Likewise.
55374 * sunrpc/rpc/pmap_clnt.h: Likewise.
55375 * sunrpc/rpc/pmap_prot.h: Likewise.
55376 * sunrpc/rpc/pmap_rmt.h: Likewise.
55377 * sunrpc/rpc/rpc.h: Likewise.
55378 * sunrpc/rpc/rpc_des.h: Likewise.
55379 * sunrpc/rpc/rpc_msg.h: Likewise.
55380 * sunrpc/rpc/svc.h: Likewise.
55381 * sunrpc/rpc/svc_auth.h: Likewise.
55382 * sunrpc/rpc/types.h: Likewise.
55383 * sunrpc/rpc/xdr.h: Likewise.
55384 * sunrpc/rpc_clntout.c: Likewise.
55385 * sunrpc/rpc_cmsg.c: Likewise.
55386 * sunrpc/rpc_common.c: Likewise.
55387 * sunrpc/rpc_cout.c: Likewise.
55388 * sunrpc/rpc_dtable.c: Likewise.
55389 * sunrpc/rpc_hout.c: Likewise.
55390 * sunrpc/rpc_main.c: Likewise.
55391 * sunrpc/rpc_parse.c: Likewise.
55392 * sunrpc/rpc_parse.h: Likewise.
55393 * sunrpc/rpc_prot.c: Likewise.
55394 * sunrpc/rpc_sample.c: Likewise.
55395 * sunrpc/rpc_scan.c: Likewise.
55396 * sunrpc/rpc_scan.h: Likewise.
55397 * sunrpc/rpc_svcout.c: Likewise.
55398 * sunrpc/rpc_tblout.c: Likewise.
55399 * sunrpc/rpc_util.c: Likewise.
55400 * sunrpc/rpc_util.h: Likewise.
55401 * sunrpc/rpcinfo.c: Likewise.
55402 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55403 * sunrpc/rpcsvc/key_prot.x: Likewise.
55404 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55405 * sunrpc/rpcsvc/mount.x: Likewise.
55406 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55407 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55408 * sunrpc/rpcsvc/rex.x: Likewise.
55409 * sunrpc/rpcsvc/rstat.x: Likewise.
55410 * sunrpc/rpcsvc/rusers.x: Likewise.
55411 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55412 * sunrpc/rpcsvc/spray.x: Likewise.
55413 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55414 * sunrpc/rtime.c: Likewise.
55415 * sunrpc/svc.c: Likewise.
55416 * sunrpc/svc_auth.c: Likewise.
55417 * sunrpc/svc_authux.c: Likewise.
55418 * sunrpc/svc_raw.c: Likewise.
55419 * sunrpc/svc_run.c: Likewise.
55420 * sunrpc/svc_simple.c: Likewise.
55421 * sunrpc/svc_tcp.c: Likewise.
55422 * sunrpc/svc_udp.c: Likewise.
55423 * sunrpc/svc_unix.c: Likewise.
55424 * sunrpc/svcauth_des.c: Likewise.
55425 * sunrpc/xcrypt.c: Likewise.
55426 * sunrpc/xdr.c: Likewise.
55427 * sunrpc/xdr_array.c: Likewise.
55428 * sunrpc/xdr_float.c: Likewise.
55429 * sunrpc/xdr_mem.c: Likewise.
55430 * sunrpc/xdr_rec.c: Likewise.
55431 * sunrpc/xdr_ref.c: Likewise.
55432 * sunrpc/xdr_sizeof.c: Likewise.
55433 * sunrpc/xdr_stdio.c: Likewise.
55434
55435 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55436 handling.
55437
55438 2010-08-19 Andreas Schwab <schwab@redhat.com>
55439
55440 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55441
55442 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
55443
55444 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55445 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55446 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55447 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55448 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55449 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55450 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55451 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55452 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55453 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55454 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55455 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55456 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55457 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55458
55459 2010-07-26 Anton Blanchard <anton@samba.org>
55460
55461 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55462 * malloc/arena.c (heap_trim): Likewise.
55463
55464 2010-08-16 Ulrich Drepper <drepper@redhat.com>
55465
55466 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55467 here. Not...
55468 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55469 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55470
55471 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55472
55473 * sysdeps/i386/elf/Makefile: New file.
55474
55475 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55476
55477 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55478 from fanotify_init.
55479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55480 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55481
55482 2010-08-15 Ulrich Drepper <drepper@redhat.com>
55483
55484 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55485 of strncasecmp_l.
55486 * sysdeps/multiarch/strcmp.S: Likewise.
55487
55488 2010-08-14 Ulrich Drepper <drepper@redhat.com>
55489
55490 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55491 strncase_l-nonascii.
55492 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55493 Add strncase_l-ssse3.
55494 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55495 * sysdeps/x86_64/strcmp.S: Likewise.
55496 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55497 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55498 * sysdeps/x86_64/strncase.S: New file.
55499 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55500 * sysdeps/x86_64/strncase_l.S: New file.
55501 * string/Makefile (strop-tests): Add strncasecmp.
55502 * string/test-strncasecmp.c: New file.
55503
55504 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55505 warning.
55506
55507 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55508 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55509
55510 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55511
55512 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55513
55514 2010-08-12 Ulrich Drepper <drepper@redhat.com>
55515
55516 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55517 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55518 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55519
55520 2010-05-01 Alan Modra <amodra@gmail.com>
55521
55522 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55523 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55524 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55525 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55526 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55527 tidying. Don't tail-call __sigjmp_save for static lib.
55528 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55529 save location.
55530 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55531 (CALL_MCOUNT): Add eh info, and nop after bl.
55532 (TAIL_CALL_SYSCALL_ERROR): New macro.
55533 (PSEUDO_RET): Use it.
55534 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55535 Correct save location of integer regs and cr.
55536 (_dl_profile_resolve): Correct cr save location. Delete nops
55537 after bl when SHARED. Reduce cfi size a little by better
55538 placement of cfi directives.
55539 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55540 make a stack frame. Instead use parm save area as a temp.
55541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55542 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55544 Don't make a stack frame for parent, use parm save area.
55545 Increase child stack frame to 112 bytes. Don't save unused reg,
55546 and adjust reg usage. Set up cfi on error recovery and
55547 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55549 (__makecontext): Add dummy nop after jump to exit.
55550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55551 Use correct parm save area and cr save, reduce stack frame.
55552 Correct cfi for possible PSEUDO_RET frame setup.
55553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55554 Branch to local label emitted by PSEUDO_RET rather than
55555 __syscall_error.
55556
55557 2010-08-12 Andreas Schwab <schwab@redhat.com>
55558
55559 [BZ #11904]
55560 * locale/programs/locale.c (print_assignment): New function.
55561 (show_locale_vars): Use it.
55562
55563 2010-08-11 Ulrich Drepper <drepper@redhat.com>
55564
55565 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55566 field.
55567 (struct statfs64): Likewise.
55568 (_STATFS_F_FLAGS): Define.
55569 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55570 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55571 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55572 (ST_VALID): Define locally.
55573 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55574 __statvfs_getflags, use the provided value.
55575 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55576 __ASSUME_STATFS_F_FLAGS.
55577
55578 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55579
55580 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55581 Add sys/fanotify.h.
55582 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55583 fanotify_mask for GLIBC_2.13.
55584 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55585 fanotify_init and fanotify_mark.
55586 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55587 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55588
55589 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55590 Add prlimit.
55591 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55592 prlimit64 for GLIBC_2.13.
55593 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55594 prlimit64.
55595 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55596 syscall.
55597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55598 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55599 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55600 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55602 add prlimit alias.
55603 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55604
55605 [BZ #11903]
55606 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55607 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55608
55609 * nss/Makefile: Add rules to build and run tst-nss-test1.
55610 * shlib-versions: Add entry for libnss_test1.
55611 * nss/nss_test1.c: New file.
55612 * nss/tst-nss-test1.c: New file.
55613
55614 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55615 (__nss_configure_lookup): Set appropriate entry in
55616 __nss_configure_lookup to true.
55617 * nss/nsswitch.h: Define enum with indeces of databases in
55618 databases and __nss_database_custom arrays. Declare
55619 __nss_database_custom.
55620 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55621 to avoid using nscd when custom rules are installed.
55622 * nss/getXXbyYY_r.c: Likewise.
55623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55624
55625 * nss/nss_files/files-parse.c: Whitespace fixes.
55626
55627 2010-08-09 Ulrich Drepper <drepper@redhat.com>
55628
55629 [BZ #11883]
55630 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55631 * posix/fnmatch_loop.c: Likewise.
55632
55633 2010-07-17 Andi Kleen <ak@linux.intel.com>
55634
55635 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55636 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55637 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55638 * Versions.def [GLIBC_2.13]: Add.
55639
55640 2010-08-06 Ulrich Drepper <drepper@redhat.com>
55641
55642 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55643 Also fail if tpwd after pwuid call is NULL.
55644
55645 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55646
55647 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55648 when converting to ms.
55649
55650 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55651
55652 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55653 EOPNOTSUPP errors with ENOTTY.
55654 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55655 EOPNOTSUPP errors with ENOTTY.
55656
55657 2010-07-31 Ulrich Drepper <drepper@redhat.com>
55658
55659 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55660 Add strcasecmp_l-ssse3.
55661 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55662 strcasecmp.
55663 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55664 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55665 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55666
55667 2010-07-30 Ulrich Drepper <drepper@redhat.com>
55668
55669 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55670
55671 * string/Makefile (strop-tests): Add strcasecmp.
55672 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55673 strcasecmp_l-nonascii.
55674 (gen-as-const-headers): Add locale-defines.sym.
55675 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55676 * sysdeps/x86_64/strcasecmp.S: New file.
55677 * sysdeps/x86_64/strcasecmp_l.S: New file.
55678 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55679 * sysdeps/x86_64/locale-defines.sym: New file.
55680 * string/test-strcasecmp.c: New file.
55681
55682 * string/test-strcasestr.c: Test both ends of the range of characters.
55683 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55684
55685 2010-07-29 Roland McGrath <roland@redhat.com>
55686
55687 [BZ #11856]
55688 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55689
55690 2010-07-27 Ulrich Drepper <drepper@redhat.com>
55691
55692 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55693 for ld.so.
55694
55695 2010-07-27 Andreas Schwab <schwab@redhat.com>
55696
55697 * manual/memory.texi (Malloc Tunable Parameters): Document
55698 M_PERTURB.
55699
55700 2010-07-26 Roland McGrath <roland@redhat.com>
55701
55702 [BZ #11840]
55703 * configure.in (-fgnu89-inline check): Set and substitute
55704 gnu89_inline, not libc_cv_gnu89_inline.
55705 * configure: Regenerated.
55706 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55707
55708 2010-07-26 Ulrich Drepper <drepper@redhat.com>
55709
55710 * string/test-strnlen.c: New file.
55711 * string/Makefile (strop-tests): Add strnlen.
55712 * string/tester.c (test_strnlen): Add a few more test cases.
55713 * string/tst-strlen.c: Better error reporting.
55714
55715 * sysdeps/x86_64/strnlen.S: New file.
55716
55717 2010-07-24 Ulrich Drepper <drepper@redhat.com>
55718
55719 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55720 lower-latency instructions.
55721
55722 2010-07-23 Ulrich Drepper <drepper@redhat.com>
55723
55724 * string/test-strcasestr.c: New file.
55725 * string/test-strstr.c: New file.
55726 * string/Makefile (strop-tests): Add strstr and strcasestr.
55727 * string/str-two-way.h: Don't undefine MAX.
55728 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55729
55730 2010-07-21 Andreas Schwab <schwab@redhat.com>
55731
55732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55733 strcasestr-nonascii.
55734 (CFLAGS-strcasestr-nonascii.c): Define.
55735 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55736 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55737 Remove unused attribute.
55738
55739 2010-07-20 Roland McGrath <roland@redhat.com>
55740
55741 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55742 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55743 ld.so.cache was broken. With it, there is no way to disable dsocaps
55744 like LD_HWCAP_MASK can disable hwcaps.
55745
55746 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55747
55748 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55749
55750 2010-07-16 Ulrich Drepper <drepper@redhat.com>
55751
55752 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55753 call in strcasestr.
55754 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55755 __strcasestr_sse42_nonascii.
55756 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55757 strcasestr-nonascii.c.
55758 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55759
55760 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
55761
55762 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55763 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55764 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55765 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55766
55767 2010-07-09 Ulrich Drepper <drepper@redhat.com>
55768
55769 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55770 fcntl.
55771
55772 2010-07-06 Andreas Schwab <schwab@redhat.com>
55773
55774 [BZ #11577]
55775 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55776 dl_signal_cerror.
55777
55778 2010-07-06 Ulrich Drepper <drepper@redhat.com>
55779
55780 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55781 _PC_PIPE_BUF using F_GETPIPE_SZ.
55782
55783 2010-07-05 Roland McGrath <roland@redhat.com>
55784
55785 * manual/arith.texi (Rounding Functions): Fix rint description
55786 implicit in round description.
55787
55788 2010-07-02 Ulrich Drepper <drepper@redhat.com>
55789
55790 * elf/Makefile: Fix linking for a few tests to make recent linker
55791 happy.
55792
55793 2010-06-30 Andreas Schwab <schwab@redhat.com>
55794
55795 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55796 $(common-objpfx)libc_nonshared.a.
55797
55798 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
55799
55800 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55801 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55802 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55803 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55804 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55805 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55806 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55807 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55822 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55823 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55824 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55825 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55826 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55827 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55828 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55829 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55830 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55831 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55832 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55833 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55848
55849 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55850
55851 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55852 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55853 * string/memmove.c (memmove): Renamed to ...
55854 (MEMMOVE): ...this. Default to memmove.
55855 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55856 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55857 (END_CHK): Define.
55858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55859 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55860 mempcpy-ssse3-back memmove-ssse3-back.
55861 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55862 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55863 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55864 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55865 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55866 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55867 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55868 * sysdeps/x86_64/multiarch/memmove.c: New file.
55869 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55870 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55871 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55872 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55873 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55874 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55875 Define.
55876 (index_Fast_Copy_Backward): Define.
55877 (HAS_ARCH_FEATURE): Define.
55878 (HAS_FAST_REP_STRING): Define.
55879 (HAS_FAST_COPY_BACKWARD): Define.
55880
55881 2010-06-21 Andreas Schwab <schwab@redhat.com>
55882
55883 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55884 Restore proper fallback handling.
55885
55886 2010-06-19 Ulrich Drepper <drepper@redhat.com>
55887
55888 [BZ #11701]
55889 * posix/group_member.c (__group_member): Correct checking loop.
55890
55891 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55892 OOM in getpwuid_r correctly. Return error number when the caller
55893 should return, otherwise -1.
55894 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55895 call returning > 0 value.
55896 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55897
55898 2010-06-07 Andreas Schwab <schwab@redhat.com>
55899
55900 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55901 libc_nonshared.a from targets in modules-names.
55902
55903 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55904
55905 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55906 requires it.
55907
55908 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
55909
55910 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55911 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55912 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55913 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55914
55915 2010-06-02 Andreas Schwab <schwab@redhat.com>
55916
55917 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55918
55919 2010-06-14 Ulrich Drepper <drepper@redhat.com>
55920
55921 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55922 and F_GETPIPE_SZ.
55923 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55925 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55927 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55928 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55929
55930 2010-06-14 Roland McGrath <roland@redhat.com>
55931
55932 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55933
55934 2010-06-07 Jakub Jelinek <jakub@redhat.com>
55935
55936 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55937 __REDIRECT followed by __THROW.
55938 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55939 * posix/getopt.h (getopt): Likewise.
55940
55941 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55942
55943 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55944 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55945 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55946 in AT_FLAGS.
55947 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55948 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55949
55950 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
55951
55952 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55953
55954 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55955
55956 [BZ #11640]
55957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55958 Properly check family and model.
55959
55960 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55961
55962 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55963
55964 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
55965
55966 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55967
55968 2010-05-21 Ulrich Drepper <drepper@redhat.com>
55969
55970 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55971 symbol reference.
55972
55973 2010-05-19 Andreas Schwab <schwab@redhat.com>
55974
55975 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55976 symbol reference.
55977
55978 2010-05-21 Andreas Schwab <schwab@redhat.com>
55979
55980 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55981 and internal_recvmmsg.
55982 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55983 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55984 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55985 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55986
55987 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55988 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55989 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55990
55991 2010-05-20 Andreas Schwab <schwab@redhat.com>
55992
55993 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55994
55995 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
55996
55997 POWER7 optimizations.
55998 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55999 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56000
56001 2010-05-19 Ulrich Drepper <drepper@redhat.com>
56002
56003 * version.h: Update for 2.13 development version.
56004
56005 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
56006
56007 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56008 exceptions. Return 0.
56009
56010 2010-05-07 Roland McGrath <roland@redhat.com>
56011
56012 * elf/ldconfig.c (main): Add a const.
56013
56014 2010-05-06 Ulrich Drepper <drepper@redhat.com>
56015
56016 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56017 (args_options): Add no-idn option.
56018 (ahosts_keys_int): Add idn_flags to ai_flags.
56019 (parse_option): Handle 'i' option to clear idn_flags.
56020
56021 * malloc/malloc.c (_int_free): Possible race in the most recently
56022 added check. Only act on the data if no current modification
56023 happened.
56024
56025 See ChangeLog.17 for earlier changes.
This page took 2.279646 seconds and 6 git commands to generate.