1 2015-01-20 Carlos O'Donell <carlos@redhat.com>
3 * po/libc.pot: Regenerated.
5 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
6 Sandra Loosemore <sandra@codesourcery.com>
7 Andrew Jenner <andrew@codesourcery.com>
8 Joseph Myers <joseph@codesourcery.com>
9 Nathan Sidwell <nathan@codesourcery.com>
11 * NEWS: Mention new Nios II port.
12 * sysdeps/nios2/Implies: New file.
13 * sysdeps/nios2/Makefile: New file.
14 * sysdeps/nios2/Subdirs: New file.
15 * sysdeps/nios2/Versions: New file.
16 * sysdeps/nios2/__longjmp.S: New file.
17 * sysdeps/nios2/abort-instr.h: New file.
18 * sysdeps/nios2/backtrace.c: New file.
19 * sysdeps/nios2/bits/endian.h: New file.
20 * sysdeps/nios2/bits/fenv.h: New file.
21 * sysdeps/nios2/bits/link.h: New file.
22 * sysdeps/nios2/bits/setjmp.h: New file.
23 * sysdeps/nios2/bsd-_setjmp.S: New file.
24 * sysdeps/nios2/bsd-setjmp.S: New file.
25 * sysdeps/nios2/configure: New generated file.
26 * sysdeps/nios2/configure.ac: New file.
27 * sysdeps/nios2/crti.S: New file.
28 * sysdeps/nios2/crtn.S: New file.
29 * sysdeps/nios2/dl-init.c: New file.
30 * sysdeps/nios2/dl-machine.h: New file.
31 * sysdeps/nios2/dl-sysdep.h: New file.
32 * sysdeps/nios2/dl-tls.h: New file.
33 * sysdeps/nios2/dl-trampoline.S: New file.
34 * sysdeps/nios2/gccframe.h: New file.
35 * sysdeps/nios2/gmp-mparam.h: New file.
36 * sysdeps/nios2/jmpbuf-offsets.h: New file.
37 * sysdeps/nios2/jmpbuf-unwind.h: New file.
38 * sysdeps/nios2/ldsodefs.h: New file.
39 * sysdeps/nios2/libc-tls.c: New file.
40 * sysdeps/nios2/libm-test-ulps: New file.
41 * sysdeps/nios2/machine-gmon.h: New file.
42 * sysdeps/nios2/math-tests.h: New file.
43 * sysdeps/nios2/math_private.h: New file.
44 * sysdeps/nios2/memusage.h: New file.
45 * sysdeps/nios2/nptl/Makefile: New file.
46 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
47 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
48 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
49 * sysdeps/nios2/nptl/pthreaddef.h: New file.
50 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
51 * sysdeps/nios2/nptl/tls.h: New file.
52 * sysdeps/nios2/preconfigure: New file.
53 * sysdeps/nios2/s_fma.c: New file.
54 * sysdeps/nios2/s_fmaf.c: New file.
55 * sysdeps/nios2/setjmp.S: New file.
56 * sysdeps/nios2/sfp-machine.h: New file.
57 * sysdeps/nios2/sotruss-lib.c: New file.
58 * sysdeps/nios2/stackguard-macros.h: New file.
59 * sysdeps/nios2/stackinfo.h: New file.
60 * sysdeps/nios2/start.S: New file.
61 * sysdeps/nios2/sysdep.h: New file.
62 * sysdeps/nios2/tls-macros.h: New file.
63 * sysdeps/nios2/tst-audit.h: New file.
64 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
65 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
66 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
67 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
68 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
69 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
70 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
71 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
72 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
73 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
74 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
75 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
76 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
77 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
78 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
79 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
80 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
81 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
82 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
83 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
84 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
85 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
86 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
87 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
88 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
89 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
90 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
91 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
92 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
93 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
94 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
95 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
96 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
97 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
98 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
99 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
100 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
101 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
102 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
103 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
104 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
105 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
106 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
107 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
109 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
112 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
113 (getutent): Use weak_alias in non SHARED case
114 and default_symbol_version in SHARED case.
115 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
116 (getutent_r, pututline): Likewise.
117 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
119 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
120 (getutid_r): Likewise.
121 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
122 (getutline): Likewise.
123 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
124 (getutline_r): Likewise.
125 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
128 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
131 * sysdeps/s390/s390-32/memcmp.S
132 (memcmp_g5): Rename to __memcmp_g5.
133 * sysdeps/s390/s390-32/memcpy.S
134 (memcpy_g5): Rename to __memcpy_g5.
135 Jump to __memcpy_mvcle instead of memcpy_mvcle.
136 (memcpy_mvcle) Rename to __memcpy_mvcle.
137 * sysdeps/s390/s390-32/memset.S
138 (memset_g5): Rename to __memset_g5.
139 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
140 (IFUNC_RESOLVE): Prefix ifunc-resolve function
141 and use prefixed functions.
142 * sysdeps/s390/s390-32/multiarch/memcmp.S
143 (memcmp_z196): Rename to __memcmp_z196.
144 (memcmp_z10): Rename to __memcmp_z10.
145 (memcmp): Set alias to __memcmp_g5.
146 (bcmp): Set alias to __memcmp_g5.
147 * sysdeps/s390/s390-32/multiarch/memcpy.S
148 (memcpy_z196): Rename to __memcpy_z196.
149 Jump to __memcpy_mvcle instead of memcpy_mvcle.
150 (memcpy_z10): Rename to __memcpy_z10.
151 Jump to __memcpy_mvcle instead of memcpy_mvcle.
152 (memcpy): Set alias to __memcpy_g5.
153 * sysdeps/s390/s390-32/multiarch/memset.S
154 (memset_z196): Rename to __memset_z196.
155 Jump to __memset_mvcle instead of memset_mvcle.
156 (memset_z10): Rename to __memset_z10.
157 Jump to __memset_mvcle instead of memset_mvcle.
158 (memset_mvcle) Rename to __memset_mvcle.
159 (memset): Set alias to __memset_g5.
160 * sysdeps/s390/s390-64/memcmp.S
161 (memcmp_z900): Rename to __memcmp_z900.
162 * sysdeps/s390/s390-64/memcpy.S
163 (memcpy_z900): Rename to __memcpy_z900.
164 Jump to __memcpy_mvcle instead of memcpy_mvcle.
165 (memcpy_mvcle) Rename to __memcpy_mvcle.
166 * sysdeps/s390/s390-64/memset.S
167 (memset_z900): Rename to __memset_z900.
168 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
169 (IFUNC_RESOLVE): Prefix ifunc-resolve function
170 and use prefixed functions.
171 * sysdeps/s390/s390-64/multiarch/memcmp.S
172 (memcmp_z196): Rename to __memcmp_z196.
173 (memcmp_z10): Rename to __memcmp_z10.
174 (memcmp): Set alias to __memcmp_z900.
175 (bcmp): Set alias to __memcmp_z900.
176 * sysdeps/s390/s390-64/multiarch/memcpy.S
177 (memcpy_z196): Rename to __memcpy_z196.
178 Jump to __memcpy_mvcle instead of memcpy_mvcle.
179 (memcpy_z10): Rename to __memcpy_z10.
180 Jump to __memcpy_mvcle instead of memcpy_mvcle.
181 (memcpy): Set alias to __memcpy_z900.
182 * sysdeps/s390/s390-64/multiarch/memset.S
183 (memset_z196): Rename to __memset_z196.
184 Jump to __memset_mvcle instead of memset_mvcle.
185 (memset_z10): Rename to __memset_z10.
186 Jump to __memset_mvcle instead of memset_mvcle.
187 (memset_mvcle) Rename to __memset_mvcle.
188 (memset): Set alias to __memset_z900.
190 2015-01-14 Joseph Myers <joseph@codesourcery.com>
193 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
194 __fesetenv instead of fesetenv.
196 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
198 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
201 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
203 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
206 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
207 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
208 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
209 strncmp-power8 object.
210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
211 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
212 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
215 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
216 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
218 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
221 2015-01-13 David S. Miller <davem@davemloft.net>
223 * include/signal.h (__sigreturn): Guard with __USE_MISC.
225 2015-01-13 Roland McGrath <roland@hack.frob.com>
227 * login/logout.c (logout): Use memset rather than bzero.
228 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
229 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
230 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
231 (_gethtbyaddr): Likewise.
232 * locale/programs/simple-hash.c (bcopy): Macro removed.
234 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
236 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
237 Add strcmp-power8 object.
238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
239 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
240 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
241 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
242 __strcmp_power8 implementation.
243 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
246 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
247 Add strncpy-power8 and stpncpy-power8 objects.
248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
249 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
251 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
252 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
253 __stpncpy_power8 implementation.
254 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
255 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
256 __strncpy_power8 implementation.
257 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
258 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
261 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
262 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
263 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
265 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
266 strncat-power8 object.
267 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
268 __strcat_power8 implementation.
269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
270 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
271 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
272 optimized strcat for power8.
274 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
275 strcpy-power8 and stpcpy-power8 objects.
276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
277 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
279 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
280 multiarch stpcpy implementation for POWER8.
281 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
282 multiarch strcpy implementation for POWER8.
283 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
284 __strcpy_power8 function.
285 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
287 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
291 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
294 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
295 weights and rules. Use do_xfrm_cached if data fits in cache,
296 do_xfrm otherwise. Moved former main loop to...
297 * (do_xfrm_cached): New function.
298 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
299 find_idx, find_position and stack_push.
300 * (find_idx): New function.
301 * (find_position): Likewise.
302 * localedata/sort-test.sh: Added test run for do_xfrm.
303 * localedata/xfrm-test.c (main): Added command line option
304 -nocache to run the test with strings that are too large for
307 2015-01-13 Torvald Riegel <triegel@redhat.com>
309 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
310 variable to lll_futex_wake call, not the value itself.
312 2015-01-12 Joseph Myers <joseph@codesourcery.com>
315 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
316 twom64. Adjust value to 0x1p-64L.
317 (__scalblnl): Only return standard underflowing result for K <=
318 -64 not K <= -63; adjust exponent for underflowing result by 64
320 * math/libm-test.inc (scalbn_test_data): Add more tests.
321 (scalbln_test_data): Likewise.
324 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
326 (__scalblnl): Get new exponent of adjusted subnormal value from ES
328 * math/libm-test.inc (scalbn_test_data): Add more tests.
329 (scalbln_test_data): Likewise.
331 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
332 Stefani Seibold <stefani@seibold.net>
334 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
335 (sysdep_routines): Add dl-vdso here, ...
336 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
337 (sysdep_routines): ... not here.
338 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
339 fallback when vDSO is not presented.
340 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
341 Define with libc_hidden_proto/libc_hidden_data_def definitions.
342 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
343 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
344 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
345 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
346 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
347 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
348 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
349 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
350 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
351 fallback configurable symbol when vDSO is not available.
352 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
353 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
354 be able to redefine fallback symbol when vDSO is not available.
355 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
356 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
358 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
360 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
361 (TLS_INIT_TP): Add tm_capable initialization.
362 (TLS_DEFINE_INIT_TP): Likewise.
363 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
365 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
366 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
368 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
369 transactoion is lock elision is built and TCB tm_capable is set.
370 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
372 (INTERNAL_SYSCALL_NCS): Likewise.
373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
374 (INTERNAL_SYSCALL_NCS): Likewise.
375 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
377 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
379 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
380 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
381 and remove it for 32 bits case.
382 [pthread_rwlock_t] (__rwelision): New field for lock elision.
383 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
385 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
386 Disable lock elision with rdlocks if elision is not available.
388 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
389 (sysdep_routines): Add lock elision objects.
390 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
391 [pthread_mutex_t] (__spins): Rework to add lock elision field.
392 [pthread_mutex_t] (__elision): Add field.
393 [__PTHREAD_SPINS]: Adjust to init lock elision field.
394 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
395 elision definitions for powerpc.
396 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
397 implementation of lock elision for powerpc.
398 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
399 implementation of timed lock elision for powerpc.
400 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
401 implementation of trylock with lock elision for powerpc.
402 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
403 implementaion of unlock for lock elision for powerpc.
404 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
405 automatic enable lock elision for mutexes.
406 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
407 transaction execution definitions for powerpc.
408 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
410 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
411 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
412 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
413 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
416 2015-01-09 Roland McGrath <roland@hack.frob.com>
418 * sysdeps/posix/shm-directory.c: Use <> rather than ""
419 for #include of <shm-directory.h>.
421 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
423 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
424 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
426 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
429 * NEWS: Mention bug fix.
430 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
431 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
432 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
434 2015-01-09 Torvald Riegel <triegel@redhat.com>
436 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
438 2015-01-09 Torvald Riegel <triegel@redhat.com>
440 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
442 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
444 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
445 pointer and cast to uintptr_t.
447 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
449 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
451 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
453 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
455 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
458 2015-01-08 Roland McGrath <roland@hack.frob.com>
460 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
461 <nptl/pthreadP.h> instead.
462 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
464 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
466 [__SIGRTMIN] (init): Function removed.
467 [__SIGRTMIN] (initialized): Variable removed.
468 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
469 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
470 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
471 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
472 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
473 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
474 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
475 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
476 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
477 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
478 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
479 * sysdeps/nptl/allocrtsig.c: New file.
480 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
481 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
482 * sysdeps/generic/testrtsig.h: File removed.
484 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
485 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
487 * nptl/nptl-init.c (pthread_functions): Conditionalize
488 .ptr__nptl_setxid initialization on [SIGSETXID].
490 * sysdeps/nptl/sys/procfs.h: New file.
491 * nptl_db/Makefile (headers): Add it.
492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
494 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
495 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
496 * nptl/pthread_attr_setaffinity.c: Include it.
497 * nptl/pthread_setattr_default_np.c: Likewise.
498 * nptl/check-cpuset.h: New file.
500 2015-01-08 Richard Henderson <rth@redhat.com>
502 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
503 (CFLAGS-tst-execstack-prog.c): Likewise.
504 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
506 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
507 Sandra Loosemore <sandra@codesourcery.com>
508 Andrew Jenner <andrew@codesourcery.com>
509 Joseph Myers <joseph@codesourcery.com>
510 Nathan Sidwell <nathan@codesourcery.com>
512 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
513 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
514 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
515 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
516 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
517 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
518 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
519 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
520 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
521 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
522 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
523 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
524 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
525 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
526 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
527 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
528 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
530 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
532 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
533 timespec struct member in syscall macro.
534 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
535 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
536 first timeval struct member in syscall macro.
537 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
539 2015-01-07 Joseph Myers <joseph@codesourcery.com>
542 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
543 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
544 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
545 __feupdateenv and define as weak alias of __feupdateenv. Use
547 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
549 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
550 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
551 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
552 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
554 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
555 __feupdateenv and define as weak alias of __feupdateenv. Use
557 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
559 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
560 __feupdateenv and define as weak alias of __feupdateenv. Use
562 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
564 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
565 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
566 (__feupdateenv): Likewise.
567 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
568 __feupdateenv and define as weak alias of __feupdateenv. Use
570 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
571 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
573 * sysdeps/tile/math_private.h (__feupdateenv): New inline
575 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
577 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
578 __feupdateenv instead of feupdateenv.
579 (default_libc_feupdateenv_test): Likewise.
580 (libc_feresetround_ctx): Likewise.
582 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
584 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
587 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
589 * posix/regcomp.c (parse_bracket_exp): Initialize type to
590 COLL_SYM in a couple of places to avoid uninitialized variable
591 wanings on tilegx gcc 4.8.2.
593 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
595 * sysdeps/aarch64/strcpy.S: New file.
596 * sysdeps/aarch64/stpcpy.S: New file.
599 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
601 * sysdeps/aarch64/strrchr.S: New file.
604 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
607 * stdlib/setenv.c: Fix memory leak when setting large,
610 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
613 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
614 and tabs from buffer before parsing fstab entry.
615 * misc/tst-mntent.c (main): Add test for mount entry with
616 trailing spaces and tabs.
618 2015-01-06 Joseph Myers <joseph@codesourcery.com>
621 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
622 * math/fesetround.c (fesetround): Rename to __fesetround and
623 define as weak alias of __fesetround. Use libm_hidden_weak.
624 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
625 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
626 * sysdeps/arm/fesetround.c (fesetround): Likewise.
627 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
628 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
629 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
630 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
631 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
632 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
634 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
635 __fesetround_inline instead of __fesetround.
636 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
637 __fesetround and define as weak alias of __fesetround. Use
638 libm_hidden_weak. Call __fesetround_inline instead of
640 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
641 __fesetround and define as weak alias of __fesetround. Use
643 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
645 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
646 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
647 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
648 * sysdeps/tile/math_private.h (__fesetround): New inline function.
649 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
650 __fesetround and define as weak alias of __fesetround. Use
652 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
653 __fesetround instead of fesetround.
654 (default_libc_feholdexcept_setround): Likewise.
655 (libc_feholdsetround_ctx): Likewise.
656 (libc_feholdsetround_noex_ctx): Likewise.
659 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
660 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
661 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
662 and define as weak alias of __fesetenv. Use libm_hidden_weak.
663 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
664 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
665 define as weak alias of __fesetenv. Use libm_hidden_weak.
666 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
667 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
668 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
669 define as weak alias of __fesetenv. Use libm_hidden_weak.
670 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
671 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
672 define as weak alias of __fesetenv. Use libm_hidden_weak.
673 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
675 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
676 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
678 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
679 define as weak alias of __fesetenv. Use libm_hidden_weak.
680 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
681 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
682 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
683 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
684 and define as weak alias of __fesetenv. Use libm_hidden_weak.
685 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
686 __fesetenv instead of fesetenv.
687 (libc_feresetround_noex_ctx): Likewise.
688 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
689 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
690 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
691 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
692 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
693 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
694 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
695 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
696 (__feupdateenv): Likewise.
697 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
698 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
699 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
700 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
702 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
705 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
706 addresses have been freed.
708 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
710 * resolv/res_init.c (__res_vinit): Improve comments about nserv
713 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
715 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
716 Clean up check_pf allocation pattern. addresses
718 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
720 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
721 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
722 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
723 * nptl/pthread_exit.c (__pthread_exit): Likewise.
724 * nptl/pthread_join.c (pthread_join): Likewise.
725 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
726 * sysdeps/posix/waitid.c (__waitid): Likewise.
727 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
728 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
729 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
730 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
731 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
733 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
734 (__libc_pread64): Likewise.
735 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
736 (__libc_pwrite): Likewise.
737 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
738 (__libc_pwrite64): Likewsie.
739 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
740 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
741 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
742 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
743 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
744 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
745 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
749 (__libc_pread64): Likewise.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
753 (__libc_pwrite64): Likewise.
754 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
755 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
756 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
757 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
758 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
759 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
760 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
761 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
762 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
763 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
764 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
765 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
766 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
767 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
768 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
769 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
772 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
774 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
775 (CFLAGS-test-double.c): Likewise.
776 (CFLAGS-test-ldouble.c): Likewise.
777 (CPPFLAGS-test-ifloat.c): Likewise.
778 (CPPFLAGS-test-idouble.c): Likewise.
779 (CPPFLAGS-test-ildoubl.c): Likewise.
780 (CFLAGS-test-test-fenv.c): Remove variable.
781 (CFLAGS-test-misc.c): Likewise.
783 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
786 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
787 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
788 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
789 CLOCKS_PER_SEC == 1000000.
790 * time/clocktest.c (main): Replace %ld with %jd and cast to
793 2015-01-05 Roland McGrath <roland@hack.frob.com>
795 * sysdeps/generic/unwind-resume.h: New file.
796 * sysdeps/gnu/unwind-resume.c: Include it.
797 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
798 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
800 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
801 global rather than static.
802 (_Unwind_Resume): Update user.
803 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
804 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
805 rather than static. Add __attribute__ ((cold)).
806 (_Unwind_Resume, __gcc_personality_v0): Update callers.
807 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
808 * sysdeps/arm/arm-unwind-resume.S: New file.
809 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
810 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
811 * sysdeps/arm/Makefile [$(subdir) = csu]
812 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
813 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
814 Add rt-arm-unwind-resume.
816 (libpthread-sysdep_routines, libpthread-shared-only-routines):
817 Add pt-arm-unwind-resume.
818 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
819 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
821 2015-01-05 Joseph Myers <joseph@codesourcery.com>
824 * include/fenv.h (__feholdexcept): Declare. Use
826 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
827 define as weak alias of __feholdexcept. Use libm_hidden_weak.
828 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
829 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
830 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
831 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
832 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
833 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
834 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
835 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
836 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
837 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
838 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
839 (feholdexcept): Likewise.
840 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
841 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
842 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
843 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
844 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
845 __feholdexcept instead of feholdexcept.
846 (default_libc_feholdexcept_setround): Likewise.
848 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
850 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
851 to avoid using stl/str to align destination.
853 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
855 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
857 2015-01-05 Joseph Myers <joseph@codesourcery.com>
860 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
861 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
862 Define as weak alias not strong alias.
864 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
866 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
870 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
872 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
873 for __vdso_* functions in declarations.
874 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
876 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
877 INTERNAL_VSYSCALL): Use struct return types to check for error.
879 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
880 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
881 function with cast from llround().
882 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
883 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
886 2015-01-05 Joseph Myers <joseph@codesourcery.com>
889 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
890 Define as weak alias not strong alias.
893 * ctype/ctype-c99.c: New file. isblank implementation moved from
895 * ctype/ctype-extn.c: ... here.
896 (__isblank_l): Move to ...
897 * ctype/ctype-c99_l.c: ... here. New file.
898 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
899 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
901 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
902 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
903 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
904 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
905 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
908 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
909 (posix_fadvise64): Define as weak alias not strong alias.
910 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
911 (posix_fallocate64): Likewise.
912 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
914 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
915 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
916 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
917 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
918 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
920 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
923 * NEWS: Mention bug fix.
924 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
925 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
926 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
927 (HOST_STACK_END_ADDR): Likewise.
929 2015-01-02 Joseph Myers <joseph@codesourcery.com>
932 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
933 * math/fegetround.c (fegetround): Rename to __fegetround and
934 define as weak alias of __fegetround. Use libm_hidden_weak.
935 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
936 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
937 * sysdeps/arm/fegetround.c (fegetround): Likewise.
938 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
939 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
940 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
941 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
942 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
943 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
944 Undefine after rather than before function definition; use
945 parentheses around function name in definition.
946 (__fegetround): Also undefine macro after function definition.
947 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
948 __fegetround and define as weak alias of __fegetround. Use
949 libm_hidden_weak. Do not undefine as macro.
950 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
952 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
953 __fegetround and define as weak alias of __fegetround. Use
955 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
956 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
957 * sysdeps/tile/math_private.h (__fegetround): New inline function.
958 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
959 __fegetround and define as weak alias of __fegetround. Use
961 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
962 __fegetround instead of fegetround.
965 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
966 Condition macro definition on [__USE_MISC].
969 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
970 (struct sigaction): Change type of sa_flags field to int.
973 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
974 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
977 * nptl/version.c (banner): Use single year in copyright notice.
979 * NEWS: Update copyright dates.
980 * catgets/gencat.c (print_version): Likewise.
981 * csu/version.c (banner): Likewise.
982 * debug/catchsegv.sh: Likewise.
983 * debug/pcprofiledump.c (print_version): Likewise.
984 * debug/xtrace.sh (do_version): Likewise.
985 * elf/ldconfig.c (print_version): Likewise.
986 * elf/ldd.bash.in: Likewise.
987 * elf/pldd.c (print_version): Likewise.
988 * elf/sotruss.sh: Likewise.
989 * elf/sprof.c (print_version): Likewise.
990 * iconv/iconv_prog.c (print_version): Likewise.
991 * iconv/iconvconfig.c (print_version): Likewise.
992 * locale/programs/locale.c (print_version): Likewise.
993 * locale/programs/localedef.c (print_version): Likewise.
994 * login/programs/pt_chown.c (print_version): Likewise.
995 * malloc/memusage.sh (do_version): Likewise.
996 * malloc/memusagestat.c (print_version): Likewise.
997 * malloc/mtrace.pl: Likewise.
998 * manual/libc.texinfo: Likewise.
999 * nptl/version.c (banner): Likewise.
1000 * nscd/nscd.c (print_version): Likewise.
1001 * nss/getent.c (print_version): Likewise.
1002 * nss/makedb.c (print_version): Likewise.
1003 * posix/getconf.c (main): Likewise.
1004 * scripts/test-installation.pl: Likewise.
1005 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1007 2015-01-02 Will Newton <will.newton@linaro.org>
1009 * sysdeps/arm/armv7/configure: Removed.
1010 * sysdeps/arm/armv7/configure.ac: Likewise.
1012 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1014 * All files with FSF copyright notices: Update copyright dates
1015 using scripts/update-copyrights.
1016 * intl/plural.c: Regenerated.
1017 * locale/programs/charmap-kw.h: Likewise.
1018 * locale/programs/locfile-kw.h: Likewise.
1020 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1022 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1024 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1027 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1028 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1029 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1030 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1031 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1032 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1033 define as weak alias of __fegetenv. Use libm_hidden_weak.
1034 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1035 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1036 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1037 define as weak alias of __fegetenv. Use libm_hidden_weak.
1038 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1039 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1040 define as weak alias of __fegetenv. Use libm_hidden_weak.
1041 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1043 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1044 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1046 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1047 define as weak alias of __fegetenv. Use libm_hidden_weak.
1048 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1049 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1050 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1051 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1052 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1053 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1054 __fegetenv instead of fegetenv.
1055 (libc_feholdsetround_noex_ctx): Likewise.
1057 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1059 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1060 (Elf_MIPS_ABIFlags_v0): New structure.
1061 (EF_MIPS_FP64): Define.
1062 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1063 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1064 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1065 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1066 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1067 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1068 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1069 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1070 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1071 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1072 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1073 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1074 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1075 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1076 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1077 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1078 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1079 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1080 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1081 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1082 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1083 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1085 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1087 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1088 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1089 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1090 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1091 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1092 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1093 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1094 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1095 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1096 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1097 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1098 record the current FP ABI extension.
1099 (mips-mode-switch): Define to show if kernel headers support mode
1101 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1102 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1103 supported SYSV ABI version to 3.
1104 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1107 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1108 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1112 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1114 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1116 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1117 __fegetround and redefine to call __fegetround. Remove condition
1118 on [!__NO_MATH_INLINES].
1119 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1121 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1122 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1124 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1125 instead of <fenv_libc.h>.
1126 (__llrintl): Call fegetround instead of __fegetround.
1127 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1128 instead of <fenv_libc.h>.
1129 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1130 (__lrintl): Call fegetround instead of __fegetround.
1131 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1132 instead of <fenv_libc.h>.
1133 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1134 (__rintl): Call fegetround instead of __fegetround.
1136 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1138 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1141 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1144 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1145 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1146 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1148 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1150 * sysdeps/i386/tls-macros.h: Include <features.h>.
1151 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1155 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1156 define for GCC >= 5.0.
1158 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1160 * math/test-fenv.c (test_single_exception, set_single_exc,
1161 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1162 feexcp_mask_test, feenable_test, fe_single_test): Add
1163 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1164 case where they are not used.
1165 * math/libm-test.inc: Likewise.
1166 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1167 unused in the absence of FP rounding/exception support.
1168 * stdio-common/tst-printf-round.c: Likewise.
1169 * stdlib/tst-strtod-round.c: Likewise.
1170 * stdlib/tst-strtod-underflow.c: Likewise.
1172 2014-12-30 Joseph Myers <joseph@codesourcery.com>
1175 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1176 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1177 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1178 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1180 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1181 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1182 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1184 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1185 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1187 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1189 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1190 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1191 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1193 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1195 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1196 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1197 (__feraiseexcept): Likewise.
1198 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1199 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1201 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1202 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1204 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1205 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1206 Use libm_hidden_def.
1207 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1209 (feraiseexcept): Define as weak not strong alias. Use
1211 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1212 New inline function. Factored out of ...
1213 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1214 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1215 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1217 * math/w_acos.c (__acos): Likewise.
1218 * math/w_asin.c (__asin): Likewise.
1219 * math/w_ilogb.c (__ilogb): Likewise.
1220 * math/w_j0.c (y0): Likewise.
1221 * math/w_j1.c (y1): Likewise.
1222 * math/w_jn.c (yn): Likewise.
1223 * math/w_log.c (__log): Likewise.
1224 * math/w_log10.c (__log10): Likewise.
1225 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1226 * sysdeps/aarch64/fpu/math_private.h
1227 (libc_feupdateenv_test_aarch64): Likewise.
1228 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1229 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1230 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1231 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1232 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1233 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1234 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1235 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1236 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1237 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1239 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1242 * io/test-utime.c (main): Replace %ld with %jd and cast to
1244 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1245 * nptl/tst-mutex5.c: Include <stdint.h>.
1246 (do_test): Replace %ld with %jd and cast to intmax_t.
1247 * posix/tst-regex.c (run_test): Likewise.
1248 (run_test_backwards): Likewise.
1249 * rt/tst-clock.c: Include <stdint.h>.
1250 (clock_test): Replace %ld with %jd and cast to intmax_t.
1251 * rt/tst-cpuclock1.c: Include <stdint.h>.
1252 (do_test): Replace %lu with %ju and cast to uintmax_t.
1253 * rt/tst-cpuclock2.c: Include <stdint.h>.
1254 (do_test): Replace %lu with %ju and cast to uintmax_t.
1255 * rt/tst-mqueue1.c: Include <stdint.h>.
1256 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1257 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1259 * rt/tst-mqueue4.c (do_test): Likewise.
1260 * rt/tst-timer4.c: Include <stdint.h>.
1261 (check_ts): Replace %ld with %jd and cast to intmax_t.
1262 (do_test): Likewise.
1263 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1264 and cast to intmax_t.
1265 * sysdeps/pthread/tst-timer.c (main): Likewise.
1266 * time/clocktest.c (main): Likewise.
1267 * time/tst-posixtz.c (do_test): Likewise.
1268 * timezone/tst-timezone.c (main): Likewise.
1270 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1271 H.J. Lu <hongjiu.lu@intel.com>
1273 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1274 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1275 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1276 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1277 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1278 version if bit_Fast_Unaligned_Load is set.
1279 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1280 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1281 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1282 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1283 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1284 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1285 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1286 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1287 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1288 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1290 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1291 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1292 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1293 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1295 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1297 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1298 instead of #if to avoid a Wundef warning.
1299 * stdlib/tst-limits.c (do_test): Likewise.
1301 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1302 parallel other exception macros.
1303 (fegetenv): Convert from macro to extern inline so that it applies
1304 retroactively to inline functions already seen by the compiler.
1305 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1307 * posix/Makefile (before-compile): Use $(objpfx) for
1308 posix-conf-vars-def.h.
1310 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1312 * posix/getconf.c (main): Use size_t for type of I.
1313 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1316 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1317 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1318 * posix/posix-envs.def: Likewise.
1319 * sysdeps/posix/sysconf.c: Likewise.
1320 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1321 (specs): Remove array.
1322 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1325 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1326 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1327 (__sysconf): Use CONF_IS_* macros.
1329 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1330 ($(objpfx)posix-conf-vars-def.h): New target.
1331 * posix/posix-conf-vars.list: New file.
1332 * posix/posix-conf-vars.h: New file.
1333 * posix/confstr.c: Include posix-conf-vars.h.
1334 (confstr): Use CONF_IS_* macros.
1335 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1337 * scripts/gen-posix-conf-vars.awk: New file.
1339 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1341 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1342 fegetround): Add no-op macros to avoid linknamespace issues.
1344 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1345 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1347 * sysdeps/unix/sysv/linux/tile/sysdep.h
1348 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1349 assembly-specific section to avoid a redefinition warning.
1351 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1352 long before casting to pointer to avoid a cast warning.
1354 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1356 * sysdeps/tile/tilegx/Implies: New file.
1358 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
1360 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1362 2014-12-23 Florian Weimer <fweimer@redhat.com>
1364 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1366 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1368 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1370 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1371 <kernel-features.h>.
1372 (__utimes) [__NR_utimes]: Make code unconditional.
1373 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1374 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1375 (__ASSUME_UTIMES): Do not undefine.
1376 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1377 (__ASSUME_UTIMES): Likewise.
1378 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1379 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1380 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1381 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1383 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1385 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1387 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1390 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1391 alias to weak alias for j0l, y0l.
1392 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1393 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1396 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1399 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1401 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1402 to zero if not already defined.
1404 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1407 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1408 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1409 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1410 (char *) casts added.
1411 * sysdeps/ieee754/k_standardf.c: New file.
1412 * sysdeps/ieee754/k_standardl.c: Likewise.
1413 * math/Makefile (libm-support): Remove k_standard.
1414 (libm-calls): Add k_standard.
1416 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1418 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1419 Optimize to avoid an unnecessary FPCR read.
1421 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1423 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1424 Optimize to reduce FPCR/FPSR accesses.
1426 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1428 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1429 Call libc_fetestexcept_aarch64.
1431 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1433 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1434 Call libc_fesetround_aarch64.
1436 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1439 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1440 (__bind): Do not define as weak alias.
1441 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1443 (__getsockname): Do not define as weak alias.
1445 2014-12-22 Will Newton <will.newton@linaro.org>
1447 * manual/install.texi: Document that we require bison 2.7
1449 * INSTALL: Regenerate.
1450 * configure.ac: Use AC_CHECK_PROG_VER instead of
1451 AC_PATH_PROG when checking for bison and check for
1452 version 2.7 or above.
1453 * configure: Regenerate.
1455 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1458 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1459 * sysdeps/tile/ffsll.c (ffsll): To here.
1461 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1463 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1465 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1467 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1469 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1470 hidden ___tls_get_addr.
1471 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1472 hidden __tls_get_addr.
1473 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1474 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1477 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1479 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1482 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1484 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1485 from "call _dl_init@PLT".
1486 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1488 2014-12-21 Anders Kaseorg <andersk@mit.edu>
1490 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1493 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1495 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1497 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1500 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1503 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1505 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1507 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1508 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1509 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1510 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1511 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1513 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1515 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1516 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1517 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1518 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1519 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1521 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1523 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
1525 * string/strncat.c (STRNCAT): Simplify implementation.
1527 2014-12-19 David S. Miller <davem@davemloft.net>
1529 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1530 access the quad as both a long double and as a series of 4 words.
1532 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1533 link_map->l_info array access.
1535 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1537 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1539 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1540 * math/atest-exp2.c (TIMEOUT): Likewise.
1541 * math/atest-sincos.c (TIMEOUT): Likewise.
1543 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1545 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1546 -Wno-error with -fno-builtin-lround.
1548 2014-12-19 Torvald Riegel <triegel@redhat.com>
1550 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1551 Contains futex constants and functions moved over from ...
1552 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1553 <lowlevellock-futex.h>.
1554 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1555 (lll_timedwait_tid): Add comments and parentheses around macro
1558 2014-12-19 Torvald Riegel <triegel@redhat.com>
1560 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1561 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1562 (__lll_private_flag): Remove.
1563 (lll_futex_wait): Likewise.
1564 (lll_futex_timed_wait): Likewise.
1565 (lll_futex_wake): Likewise.
1566 (lll_futex_requeue): Likewise.
1567 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1568 (__lll_timedwait_tid): Spell out argument names.
1569 (lll_timedwait_tid): Add comments and parentheses around macro
1571 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1572 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1574 2014-12-19 Torvald Riegel <triegel@redhat.com>
1576 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1577 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1578 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1579 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1580 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1581 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1582 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1583 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1584 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1585 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1586 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1587 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1588 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1589 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1590 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1591 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1592 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1593 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1594 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1596 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1598 * sysdeps/x86_64/x32/Makefile: New file.
1600 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1602 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1603 1L with (mp_limb_t) 1.
1605 2014-12-17 Roland McGrath <roland@hack.frob.com>
1607 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1608 * nptl/libc_pthread_init.c: ... here.
1609 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1610 * nptl/register-atfork.c: ... here.
1612 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1613 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1614 Use assert_perror to check its return value.
1615 (__gai_create_helper_thread): Likewise.
1617 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1619 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1621 2014-12-17 Joseph Myers <joseph@codesourcery.com>
1624 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1626 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1628 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1630 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1632 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1633 (profil_counter): Likewise.
1634 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1635 (profil_counter): Likewise.
1636 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1638 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1640 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1641 (profil_counter): Likewise.
1642 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1644 [!__profil_counter] (profil_counter): Define as weak alias of
1646 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1647 (profil_counter): Rename to __profil_counter.
1648 [!__profil_counter] (profil_counter): Define as weak alias of
1650 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1651 (profil_counter): Rename to __profil_counter.
1652 [!__profil_counter] (profil_counter): Define as weak alias of
1654 * sysdeps/posix/profil.c: Update comment referring to
1656 (__profil): Use __profil_counter instead of profil_counter.
1657 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1658 __profil_counter. Use __profil_counter_ushort and
1659 __profil_counter_uint in definitions.
1660 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1661 instead of profil_counter_uint and profil_counter_ushort.
1664 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1665 define as weak alias of __inet_makeaddr.
1666 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1667 as weak alias of __inet_addr.
1668 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1669 as weak alias of __inet_pton. Use libc_hidden_weak.
1670 * include/arpa/inet.h (__inet_pton): Declare. Use
1672 (inet_makeaddr): Don't use libc_hidden_proto.
1673 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1674 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1675 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1676 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1678 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1679 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1681 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
1683 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1685 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1687 * stdio-common/bug-vfprintf-nargs.c (do_test):
1688 Cast value to intptr_t to avoid format warning
1689 for usage with PRIdPTR printing macro.
1691 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1693 * libio/tst-widetext.c (do_test):
1694 Use format type %td instead of %Zd for ptrdiff_t
1695 in order to avoid format warning.
1697 2014-12-17 Andreas Schwab <schwab@suse.de>
1699 * nscd/mem.c (gc): Add size_t cast to match printf format.
1701 2014-12-16 Roland McGrath <roland@hack.frob.com>
1703 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1704 (init): Apply PTR_MANGLE to pointers before storing them.
1705 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1708 2014-12-16 Joseph Myers <joseph@codesourcery.com>
1711 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1712 define as weak alias of __memrchr.
1713 (__memrchr): Do not define as strong alias of memrchr.
1714 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1716 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1717 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1718 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1721 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1722 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1723 (if_indextoname): Rename to __if_indextoname and define as weak
1724 alias of __if_indextoname. Use libc_hidden_weak.
1725 (if_freenameindex): Rename to __if_freenameindex and define as
1726 weak alias of __if_freenameindex.
1727 (if_nameindex): Rename to __if_nameindex and define as weak alias
1729 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1730 __if_nametoindex and define as weak alias of __if_nametoindex.
1731 Use libc_hidden_weak.
1732 (if_freenameindex): Rename to __if_freenameindex and define as
1733 weak alias of __if_freenameindex.
1734 (if_nameindex): Rename to __if_nameindex and define as weak alias
1736 (if_indextoname): Rename to __if_indextoname and define as weak
1737 alias of __if_indextoname. Use libc_hidden_weak.
1738 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1739 __if_nametoindex and define as weak alias of __if_nametoindex.
1740 Use libc_hidden_weak.
1741 (if_freenameindex): Rename to __if_freenameindex and define as
1742 weak alias of __if_freenameindex. Use libc_hidden_weak.
1743 (if_nameindex_netlink): Use __if_freenameindex instead of
1745 (if_nameindex): Rename to __if_nameindex and define as weak alias
1746 of __if_nameindex. Use libc_hidden_weak.
1747 (if_indextoname): Rename to __if_indextoname and define as weak
1748 alias of __if_indextoname. Use libc_hidden_weak.
1749 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1751 [!_ISOMAC] (__if_freenameindex): Likewise.
1752 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1754 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1756 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1757 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1758 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1759 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1760 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1761 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1762 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1764 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1766 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1767 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1769 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1771 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1772 subscript above bounds'
1774 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1777 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
1779 * libio/tst-fopenloc.c: Use test-skeleton.c.
1781 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1782 (entry): Rename to ITEM.
1783 (do_test, comp): Adjust.
1785 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1787 2014-12-16 Torvald Riegel <triegel@redhat.com>
1789 * string/tester.c: Include <libc-internal.h>.
1790 (test_memset): Ignore -Wmemset-transposed-args.
1792 2014-12-16 Torvald Riegel <triegel@redhat.com>
1794 * misc/tst-mntent2.c (do_test): Fix warning.
1796 2014-12-16 Torvald Riegel <triegel@redhat.com>
1798 * elf/tst-unique4lib.cc(a): Mark as used.
1800 2014-12-16 Florian Weimer <fweimer@redhat.com>
1803 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1806 2014-12-16 Allan McRae <allan@archlinux.org>
1808 * stdio-common/Makefile (tests): Re-add bug26.
1810 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
1813 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1816 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1818 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1819 (__lll_lock_wait): Likewise.
1820 (__lll_timedlock_wait): Likewise.
1821 (__lll_timedwait_tid): Likewise.
1822 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1823 (__lll_robust_timedlock_wait): Likewise.
1824 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1825 (lll_cond_trylock): Likewise.
1826 (__lll_lock): Likewise.
1827 (__lll_robust_lock): Likewise.
1828 (__lll_cond_lock): Likewise.
1829 (lll_robust_cond_lock): Likewise.
1830 (__lll_timedlock): Likewise.
1831 (__lll_robust_timedlock): Likewise.
1832 (__lll_unlock): Likewise.
1833 (__lll_robust_unlock): Likewise.
1834 (lll_wait_tid): Likewise.
1835 (lll_timedwait_tid): Likewise.
1837 2014-12-15 Torvald Riegel <triegel@redhat.com>
1839 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1841 2014-12-15 Torvald Riegel <triegel@redhat.com>
1843 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1845 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1847 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1848 * stdio-common/tst-sprintf.c: Likewise.
1850 2014-12-15 Torvald Riegel <triegel@redhat.com>
1852 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1854 2014-12-15 Jeff Law <law@redhat.com>
1857 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1858 on the heap. (CVE-2012-3406)
1859 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1860 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1861 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1863 2014-12-15 Will Newton <will.newton@linaro.org>
1865 * manual/install.texi: Bump required version of texinfo
1867 * INSTALL: Regenerated.
1868 * configure.ac: Check for makeinfo version 4.7 and above.
1869 * configure: Regenerated.
1871 2014-12-12 Roland McGrath <roland@hack.frob.com>
1873 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1874 PREFIX, string constant to insert between directory and name.
1875 * sysdeps/posix/shm_open.c: Update caller.
1876 * sysdeps/posix/shm_unlink.c: Likewise.
1877 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1878 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1879 (SEM_SHM_PREFIX): New macro.
1880 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1881 [$(have-thread-library) = no].
1882 * nptl/Makefile (libpthread-routines): Add shm-directory.
1883 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1884 * sysdeps/nptl/shm-directory.h: New file.
1885 * sysdeps/posix/shm-directory.c
1886 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1887 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1888 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1890 (__where_is_shmfs): Function removed.
1891 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1893 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1895 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1897 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1898 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1899 unconditional for use inside libpthread.
1900 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1902 2014-12-12 Roland McGrath <roland@hack.frob.com>
1904 * nptl/pthread_getaffinity.c: New file.
1905 * nptl/pthread_setaffinity.c: New file.
1906 * nptl/pthread_getname.c: New file.
1907 * nptl/pthread_setname.c: New file.
1909 * nptl/pthread_create.c (START_THREAD_DEFN)
1910 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1912 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1913 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1915 * resolv/res_send.c (send_vc): Disable warning resplen may
1916 be used uninitialized.
1918 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1921 (ATTR_NULL): New define checks ATTR against NULL.
1922 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1923 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1925 2014-12-11 James Lemke <jwlemke@codesourcery.com>
1929 (mem2mem_check): Revert my previous change.
1930 (malloc_check_get_size): Revert my previous change.
1931 (mem2chunk_check): Revert my previous change.
1933 2014-12-11 Roland McGrath <roland@hack.frob.com>
1935 * sysdeps/posix/shm-directory.c: New file.
1936 * sysdeps/posix/shm-directory.h: New file.
1937 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1938 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1939 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1940 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1941 Transmute EPERM to EACCES.
1942 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1944 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1945 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1947 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1949 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1950 pointer and cast to uintptr_t.
1951 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1952 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1953 Add cast to avoid warning.
1954 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1956 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1958 * nptl/semaphore.h: Move to ...
1959 * sysdeps/pthread/semaphore.h: ... here.
1960 * Makefile (installed-headers): Change nptl/semaphore.h to
1961 sysdeps/pthread/semaphore.h.
1963 2014-12-11 Roland McGrath <roland@hack.frob.com>
1965 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1966 generated error format strings.
1968 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1969 -Wformat-extra-args warnings for scanf formats.
1970 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1971 test of zero-length format (duh).
1972 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1973 corner-case scanf format test.
1974 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1975 generated fprintf format string.
1976 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1977 corner-case sprintf format tests.
1978 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1979 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1980 -Wformat-extra-args warnings throughout.
1981 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1982 (CFLAGS-scanf4.c): Likewise.
1983 (CFLAGS-scanf7.c): Likewise.
1984 (CFLAGS-tst-sprintf.c): Likewise.
1985 (CFLAGS-tst-printf.c): Likewise.
1986 (CFLAGS-tst-printfsz.c): Likewise.
1988 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1990 * include/cpio.h: New file.
1991 * include/fmtmsg.h: Likewise.
1993 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1994 corresponding format argument to size_t.
1995 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1997 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1998 corresponding format argument to size_t.
1999 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2001 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2002 corresponding format argument to size_t.
2003 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2004 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2005 (CFLAGS-tst-mbswcs2.c): Likewise.
2006 (CFLAGS-tst-mbswcs3.c): Likewise.
2007 (CFLAGS-tst-mbswcs4.c): Likewise.
2008 (CFLAGS-tst-mbswcs5.c): Likewise.
2009 (CFLAGS-tst-trans.c): Likewise
2011 2014-12-11 Roland McGrath <roland@hack.frob.com>
2013 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2014 rather than assuming they won't contain any '%'s.
2016 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2018 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2019 inhibit_loop_to_libcall to avoid recursive calls.
2020 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2021 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2023 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2025 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2028 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2030 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2031 integer value instead of boolean.
2033 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2035 * malloc/malloc.c: Fix powerof2 check.
2037 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2039 * locale/programs/locfile.h (maybe_swap_uint32):
2040 Remove inline and add unused attribute.
2042 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2044 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2045 Truncating assembler expression to a .long expression.
2047 2014-12-11 Andreas Schwab <schwab@suse.de>
2049 * elf/rtld.c (struct map_args): Constify str member.
2050 (do_preload): Constify fname argument.
2052 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2054 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2055 constants definition.
2057 2014-12-11 Andreas Schwab <schwab@suse.de>
2060 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2061 FORCE_ELISION instead of DO_ELISION.
2062 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2064 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2067 * iconvdata/gconv-modules: Remove duplicate entry.
2069 2014-12-11 Will Newton <will.newton@linaro.org>
2071 Merge gettext 0.19.3 into intl/.
2073 This involves a number of cosmetic changes to comments
2074 and ANSI function definitions and prototypes throughout
2075 all the files. The gettext copyright header is used but
2076 with the date ranges taken from the glibc copy.
2078 * NEWS: Add gettext merge to 2.21.
2079 * intl/bindtextdom.c: Switch to gettext copyright.
2080 Use ANSI definitions and prototypes.
2081 Use gl_* locking primitives rather than __libc_* ones.
2082 Use __builtin_expect rather than __glibc_likely/unlikely.
2083 * intl/dcgettext.c: Switch to gettext copyright.
2084 Use ANSI definitions and prototypes.
2085 * intl/dcigettext.c: Switch to gettext copyright.
2086 Use ANSI definitions and prototypes.
2087 (INTDIV0_RAISES_SIGFPE): New define.
2088 Use gl_* locking primitives rather than __libc_* ones.
2089 Include eval-plural.h instead of plural-eval.c.
2090 Use __builtin_expect rather than __glibc_likely/unlikely.
2091 * intl/dcngettext.c: Switch to gettext copyright.
2092 Use ANSI definitions and prototypes.
2093 * intl/dgettext.c: Likewise.
2094 * intl/dngettext.c: Likewise.
2095 * intl/plural-eval.c: Renamed to...
2096 * intl/eval-plural.h: ...this.
2097 * intl/explodename.c: Switch to gettext copyright.
2098 Use ANSI definitions and prototypes.
2099 (_nl_explode_name): Use strchr instead of __rawmemchr.
2100 * intl/finddomain.c: Switch to gettext copyright.
2101 Use ANSI definitions and prototypes.
2102 Use gl_* locking primitives rather than __libc_* ones.
2103 (_nl_find_domain): Use malloc rather than alloca for
2104 allocation of temporary locale name.
2105 * intl/gettext.c: Switch to gettext copyright.
2106 Use ANSI definitions and prototypes.
2107 * intl/gettextP.h: Switch to gettext copyright.
2108 Use ANSI definitions and prototypes.
2109 Use gl_* locking primitives rather than __libc_* ones.
2110 * intl/gmo.h: Switch to gettext copyright.
2111 (struct sysdep_string): Move struct segment_pair outside of
2113 * intl/hash-string.c: Use ANSI definitions and prototypes.
2114 * intl/hash-string.h: Switch to gettext copyright.
2115 Use ANSI definitions and prototypes.
2116 * intl/l10nflist.c: Switch to gettext copyright.
2117 Use ANSI definitions and prototypes.
2118 (_nl_normalize_codeset): Avoid integer overflow.
2119 * intl/loadinfo.h: Switch to gettext copyright.
2120 Use ANSI definitions and prototypes.
2121 (LIBINTL_DLL_EXPORTED): New define.
2122 (PATH_SEPARATOR): New define.
2123 * intl/loadmsgcat.c: Switch to gettext copyright.
2124 * intl/localealias.c: Switch to gettext copyright.
2125 Use ANSI definitions and prototypes.
2126 (_nl_expand_alias): Use PATH_SEPARATOR.
2127 * intl/ngettext.c: Switch to gettext copyright.
2128 Use ANSI definitions and prototypes.
2129 * intl/plural-exp.c: Likewise.
2130 * intl/plural-exp.h: Switch to gettext copyright.
2131 Use ANSI definitions and prototypes.
2132 (struct expression): Move definition of enum operator outside
2133 of struct definition.
2134 * intl/plural.c: Regenerate.
2135 * intl/plural.y: Switch to gettext copyright.
2136 Use ANSI definitions and prototypes.
2138 * intl/textdomain.c: Switch to gettext copyright.
2139 Use ANSI definitions and prototypes.
2140 Use gl_* locking primitives rather than __libc_* ones.
2142 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
2144 * debug/warning-nop.c: Add used atrribute.
2146 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2148 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2150 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2151 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2152 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2154 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2155 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2158 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2159 Undefine after defining function. Define as weak alias of
2160 __wcschr. Use libc_hidden_weak.
2161 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2162 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2163 (libc_hidden_def): Also define __GI___wcschr alias.
2164 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2165 __wcschr and define as weak alias of __wcschr.
2166 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2168 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2169 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2170 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2171 libc_hidden_weak. Do not use libc_hidden_def.
2172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2173 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2174 __GI___wcschr alias.
2175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2176 [IS_IN (libc)] (wcschr): Define as macro expanding to
2178 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2179 [IS_IN (libc)] (__wcschr_power6): Likewise.
2180 [IS_IN (libc)] (__wcschr_power7): Likewise.
2181 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2183 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2185 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2186 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2187 __wcschr and define as weak alias of __wcschr. Use
2188 libc_hidden_builtin_def.
2189 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2190 as weak alias of __wcschr. Use libc_hidden_weak.
2191 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2193 * time/era.c (_nl_init_era_entries): Likewise.
2194 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2196 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2197 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2199 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2201 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2202 format for long int variable.
2204 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2207 * manual/search.texi: (Array Sort Function): Remove claim how to make
2210 2014-12-10 Andreas Schwab <schwab@suse.de>
2213 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2214 user-controlled locks.
2216 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
2218 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2221 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2223 * configure.ac (--disable-werror): New configure option.
2224 (enable_werror): New AC_SUBST.
2225 * configure: Regenerated.
2226 * config.make.in (enable-werror): New variable.
2227 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2229 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2230 * manual/install.texi (Configuring and compiling): Document
2232 * INSTALL: Regenerated.
2233 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2234 (CFLAGS-tst-chk2.c): Likewise.
2235 (CFLAGS-tst-chk3.c): Likewise.
2236 (CFLAGS-tst-chk4.cc): Likewise.
2237 (CFLAGS-tst-chk5.cc): Likewise.
2238 (CFLAGS-tst-chk6.cc): Likewise.
2239 (CFLAGS-tst-lfschk1.c): Likewise.
2240 (CFLAGS-tst-lfschk2.c): Likewise.
2241 (CFLAGS-tst-lfschk3.c): Likewise.
2242 (CFLAGS-tst-lfschk4.cc): Likewise.
2243 (CFLAGS-tst-lfschk5.cc): Likewise.
2244 (CFLAGS-tst-lfschk6.cc): Likewise.
2246 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2247 (main): Disable -Wdeprecated-declarations around calls to
2248 register_printf_function.
2250 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2251 (do_test): Disable -Wdiv-by-zero around some calls to
2252 fwrite_unlocked and fread_unlocked.
2254 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2255 (DIAG_POP_NEEDS_COMMENT): Likewise.
2256 (_DIAG_STR1): Likewise.
2257 (_DIAG_STR): Likewise.
2258 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2259 * stdio-common/bug21.c: Include <libc-internal.h>.
2260 (do_test): Disable -Wformat around call to sscanf.
2261 * stdio-common/scanf14.c: Include <libc-internal.h>.
2262 (main): Disable -Wformat around some calls to scanf functions.
2264 2014-12-09 Torvald Riegel <triegel@redhat.com>
2266 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2268 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2270 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2271 stack variable alignment.
2273 2014-12-06 Joseph Myers <joseph@codesourcery.com>
2276 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2277 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2278 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2279 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2280 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2281 __getrlimit instead of getrlimit.
2282 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2283 __gettimeofday instead of gettimeofday.
2284 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2286 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2288 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2289 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2291 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2292 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2294 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2296 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2297 for wide-character tests.
2299 2014-12-04 Roland McGrath <roland@hack.frob.com>
2301 * io/openat64.c: #include <libc-internal.h>
2302 (__openat64): Prototypify. Use ignore_value on MODE.
2303 * io/openat.c: Likewise.
2304 * misc/reboot.c: #include <libc-internal.h>
2305 (reboot): Prototypify. Use ignore_value on HOWTO.
2306 * misc/ptrace.c: #include <libc-internal.h>
2307 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2309 2014-12-04 Joseph Myers <joseph@codesourcery.com>
2311 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2312 XPG4, UNIX98 and XOPEN2K.
2313 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2315 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2317 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2319 * libio/fileops.c: Use ISO C style for function definitions.
2320 * libio/iofopen.c: Likewise.
2321 * libio/wfileops.c: Likewise.
2324 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2326 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2327 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2328 (fgets_func): Function pointer to fgets and fgetws.
2329 (do_ftell_test): Add test to verify ftell value after read
2331 (do_test): Set fgets_func.
2333 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2334 O_TRUNC flag for w and w+ modes.
2335 (do_rewind_test): Likewise.
2336 (do_ftell_test): Likewise.
2337 (do_write_test): Likewise.
2340 * libio/fileops.c (do_ftell): Seek only when there are
2342 * libio/wfileops.c (do_ftell_wide): Likewise.
2343 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2345 (do_one_test): Call it.
2347 2014-12-03 Joseph Myers <joseph@codesourcery.com>
2349 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2350 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2351 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2353 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2354 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2355 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2357 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2359 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2361 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2364 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2365 as weak alias of __getifaddrs. Use libc_hidden_weak.
2366 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2367 __freeifaddrs. Use libc_hidden_weak.
2368 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2369 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2370 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2371 __freeifaddrs. Use libc_hidden_weak.
2372 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2373 __getifaddrs and define as weak alias of __getifaddrs. Use
2375 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2376 __freeifaddrs. Use libc_hidden_weak.
2377 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2379 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2380 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2382 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2385 * sysdeps/mips/start.S (__start): Use indirect jump to call
2388 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2390 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2392 * nptl/tst-mutex1.c: Include <stdbool.h>.
2393 [!ATTR] (ATTR_NULL): New macro.
2394 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2395 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2396 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2398 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2402 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2403 Change conditional to [__USE_MISC].
2406 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2408 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2410 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2412 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2414 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2415 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2416 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2417 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2418 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2419 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2420 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2421 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2422 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2424 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2426 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2428 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2429 Remove strpbrk objects.
2430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2431 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2432 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2433 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2434 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2435 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2437 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2438 Remove strcspn objects.
2439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2440 (__libc_ifunc_impl_list): Remove strcspn implementation.
2441 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2442 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2443 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2444 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2446 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2447 Remove strspn objetcs.
2448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2449 (__libc_ifunc_impl_list): Remove strspn implementation.
2450 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2451 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2452 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2453 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2455 2014-12-01 James Lemke <jwlemke@codesourcery.com>
2459 (mem2mem_check): Add a terminator to the chain of checking blocks.
2460 (malloc_check_get_size): Use it here.
2461 (mem2chunk_check): Ditto.
2463 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2465 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2466 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2468 2014-11-29 Carlos O'Donell <carlos@redhat.com>
2470 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2472 * nptl/nptl-init.c: Include libc-internal.h.
2473 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2475 * elf/ldconfig.c (search_dir): Expand comment.
2477 2014-11-29 Joseph Myers <joseph@codesourcery.com>
2479 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2481 (linknamespace-symlist-stdlibs-tests): Likewise.
2482 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2483 instead of $(objpfx)symlist-stdlibs.
2484 (linknamespace-libs-isoc): New variable.
2485 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2486 (linknamespace-libs-ISO): New variable.
2487 (linknamespace-libs-ISO99): Likewise.
2488 (linknamespace-libs-ISO11): Likewise.
2489 (linknamespace-libs-XPG3): Likewise.
2490 (linknamespace-libs-XPG4): Likewise.
2491 (linknamespace-libs-POSIX): Likewise.
2492 (linknamespace-libs-UNIX98): Likewise.
2493 (linknamespace-libs-XOPEN2K): Likewise.
2494 (linknamespace-libs-POSIX2008): Likewise.
2495 (linknamespace-libs-XOPEN2K8): Likewise.
2496 ($(objpfx)symlist-stdlibs): Replace by
2497 $(linknamespace-symlist-stdlibs-tests). Use
2498 $(linknamespace-libs-$*) as set of libraries.
2499 ($(linknamespace-header-tests)): Update dependencies. Use
2500 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2501 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2502 * conform/linknamespace.pl: Remove comment about considering
2503 definitions of symbols from irrelevant libraries.
2505 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2508 * elf/dl-tls.c: Include <atomic.h>.
2509 (oom): Remove #ifdef SHARED/#endif.
2510 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2511 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2512 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2514 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2515 * nptl/Makefile (tests): Add tst-stack4.
2516 (modules-names): Add tst-stack4mod.
2517 ($(objpfx)tst-stack4): New.
2518 (tst-stack4mod.sos): Likewise.
2519 ($(objpfx)tst-stack4.out): Likewise.
2520 ($(tst-stack4mod.sos)): Likewise.
2522 * nptl/tst-stack4.c: New file.
2523 * nptl/tst-stack4mod.c: Likewise.
2525 2014-11-27 J. Brown <jb999@gmx.de>
2527 * sysdeps/x86/bits/string.h: Add recent CPUs.
2529 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2531 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2534 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2537 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2540 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2542 * nscd/connections.c: Include libc-internal.h because of macro
2545 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2547 * string/bits/string3.h (__warn_memset_zero_len): Don't
2548 declare for gcc newer than 5.0.
2549 (memset): Don't test for zero-length __LEN for gcc newer than
2552 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2554 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2555 size_t for %zu format.
2557 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2558 difference, not %ju.
2560 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2562 * include/libc-internal.h (ignore_value): New macro.
2563 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2566 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2569 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2570 pthread_cleanup_push to void *.
2572 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2577 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2578 instead of 1L << 52.
2580 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2581 * libio/bug-rewind2.c (do_test): Likewise.
2583 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2584 * debug/test-strcpy_chk-ifunc.c: Likewise.
2585 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2586 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2587 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2588 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2589 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2590 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2591 * Rules [$(multi-arch) = no] (tests): Do not filter out
2593 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2594 * debug/Makefile (tests-ifunc): Remove variable.
2595 (tests): Do not add $(tests-ifunc).
2596 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2597 (tests): Do not add $(tests-ifunc).
2598 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2599 [TEST_IFUNC]: Remove conditionals.
2600 * string/test-string.h (TEST_IFUNC): Remove macro.
2601 [TEST_IFUNC]: Remove conditionals.
2603 * string/test-strchr.c [!WIDE] (L): New macro.
2604 [WIDE] (L): Likewise.
2605 (check1): Use CHAR instead of char. Use L on string and character
2608 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2610 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2612 * sysdeps/powerpc/bits/atomic.h
2613 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2614 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2615 (atomic_exchange_and_add_acq): Likewise.
2616 (atomic_exchange_and_add_rel): Likewise.
2617 * sysdeps/powerpc/powerpc32/bits/atomic.h
2618 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2619 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2620 * sysdeps/powerpc/powerpc64/bits/atomic.h
2621 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2622 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2624 2014-11-26 Torvald Riegel <triegel@redhat.com>
2626 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2627 Change synchronization of __sched_fifo_min_prio and
2628 __sched_fifo_max_prio.
2629 * nptl/pthread_mutexattr_getprioceiling.c
2630 (pthread_mutexattr_getprioceiling): Likewise.
2631 * nptl/pthread_mutexattr_setprioceiling.c
2632 (pthread_mutexattr_setprioceiling): Likewise.
2633 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2634 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2637 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2639 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2642 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2644 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2645 third argument const.
2647 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2649 fnmatch: work around GCC compiler warning bug with uninit var
2650 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2651 This works around a bug with x86-64 GCC 4.9.2 and earlier
2652 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2653 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2654 used uninitialized in this function [-Wmaybe-uninitialized]".
2656 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2658 * posix/bug-regex31.c (main): Return RES not 0.
2660 2014-11-25 Anton Blanchard <anton@samba.org>
2662 * sysdeps/powerpc/bits/atomic.h
2663 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2665 2014-11-24 Sterling Augustine <saugustine@google.com>
2667 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2669 2014-11-24 Ryan Cumming <etaoins@gmail.com>
2672 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2674 2014-11-24 Joseph Myers <joseph@codesourcery.com>
2677 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2678 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2680 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2681 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2683 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2685 * string/strncpy.c (strncpy): Improve performance by using memset.
2687 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2689 * string/strcpy.c (strcpy):
2690 Improve performance by using strlen and memcpy.
2692 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
2694 * string/strcoll_l.c (get_next_seq): __always_inline.
2695 * string/strcoll_l.c (do_compare): __always_inline.
2697 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2699 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2701 * include/mqueue.h: Likewise.
2702 * include/stdlib.h: Likewise.
2704 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2705 (get_null_defines): Adjust.
2706 * sunrpc/Makefile: Adjust comment.
2707 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2708 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2709 (CFLAGS-interp.c): Likewise.
2710 (CFLAGS-ldconfig.c): Likewise.
2711 (CPPFLAGS-.os): Likewise.
2712 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2713 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2714 * extra-modules.mk (extra-modules.mk): Likewise.
2715 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2716 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2717 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2718 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2719 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2720 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2721 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2722 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2723 * iconvdata/Makefile (CPPFLAGS): Likewise.
2724 (cpp-srcs-left): Add libof for all iconvdata routines.
2725 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2726 * include/assert.h: Likewise.
2727 * include/ctype.h: Likewise.
2728 * include/errno.h: Likewise.
2729 * include/libc-symbols.h: Likewise.
2730 * include/math.h: Likewise.
2731 * include/netdb.h: Likewise.
2732 * include/resolv.h: Likewise.
2733 * include/stdio.h: Likewise.
2734 * include/stdlib.h: Likewise.
2735 * include/string.h: Likewise.
2736 * include/sys/stat.h: Likewise.
2737 * include/wctype.h: Likewise.
2738 * intl/l10nflist.c: Likewise.
2739 * libidn/idn-stub.c: Likewise.
2740 * libio/libioP.h: Likewise.
2741 * nptl/libc_multiple_threads.c: Likewise.
2742 * nptl/pthreadP.h: Likewise.
2743 * posix/regex_internal.h: Likewise.
2744 * resolv/res_hconf.c: Likewise.
2745 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2746 * sysdeps/arm/memmove.S: Likewise.
2747 * sysdeps/arm/sysdep.h: Likewise.
2748 * sysdeps/generic/_itoa.h: Likewise.
2749 * sysdeps/generic/symbol-hacks.h: Likewise.
2750 * sysdeps/gnu/errlist.awk: Likewise.
2751 * sysdeps/gnu/errlist.c: Likewise.
2752 * sysdeps/i386/i586/memcpy.S: Likewise.
2753 * sysdeps/i386/i586/memset.S: Likewise.
2754 * sysdeps/i386/i686/memcpy.S: Likewise.
2755 * sysdeps/i386/i686/memmove.S: Likewise.
2756 * sysdeps/i386/i686/mempcpy.S: Likewise.
2757 * sysdeps/i386/i686/memset.S: Likewise.
2758 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2759 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2760 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2761 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2762 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2763 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2764 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2765 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2766 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2767 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2768 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2769 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2770 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2771 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2772 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2773 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2774 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2775 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2776 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2777 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2778 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2779 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2780 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2781 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2782 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2783 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2784 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2785 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2786 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2787 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2788 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2789 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2791 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2792 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2793 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2794 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2795 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2796 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2797 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2798 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2799 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2800 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2801 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2802 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2803 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2804 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2805 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2806 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2807 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2808 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2809 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2810 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2811 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2812 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2813 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2814 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2815 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2816 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2817 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2818 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2819 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2820 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2821 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2822 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2823 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2824 * sysdeps/posix/closedir.c: Likewise.
2825 * sysdeps/posix/opendir.c: Likewise.
2826 * sysdeps/posix/readdir.c: Likewise.
2827 * sysdeps/posix/rewinddir.c: Likewise.
2828 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2829 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2830 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2831 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2832 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2833 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2834 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2835 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2836 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2837 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2838 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2839 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2840 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2841 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2842 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2843 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2844 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2845 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2846 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2847 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2848 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2849 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2850 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2851 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2852 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2853 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2854 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2855 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2856 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2857 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2859 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2860 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2861 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2862 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2863 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2864 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2865 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2866 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2867 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2868 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2869 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2870 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2871 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2872 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2873 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2874 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2875 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2876 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2877 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2878 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2879 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2880 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2881 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2882 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2883 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2884 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2885 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2886 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2887 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2888 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2889 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2890 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2891 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2892 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2893 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2894 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2895 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2896 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2897 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2898 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2899 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2900 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2901 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2902 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2903 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2904 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2905 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2906 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2907 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2908 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2909 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2910 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2911 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2912 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2913 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2914 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2915 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2916 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2917 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2918 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2919 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2920 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2921 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2922 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2923 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2924 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2925 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2926 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2927 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2928 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2929 * sysdeps/unix/alpha/sysdep.S: Likewise.
2930 * sysdeps/unix/alpha/sysdep.h: Likewise.
2931 * sysdeps/unix/make-syscalls.sh: Likewise.
2932 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2933 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2934 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2935 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2936 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2937 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2938 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2939 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2940 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2941 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2942 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2943 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2944 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2945 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2946 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2947 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2948 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2949 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2950 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2951 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2952 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2953 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2954 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2955 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2956 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2957 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2958 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2961 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2962 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2963 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2964 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2965 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2966 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2967 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2968 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2969 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2970 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2971 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2972 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2973 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2974 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2975 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2976 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2978 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2979 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2980 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2981 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2982 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2983 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2984 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2985 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2986 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2987 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2988 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2989 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2990 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2991 * sysdeps/x86_64/memcpy.S: Likewise.
2992 * sysdeps/x86_64/memmove.c: Likewise.
2993 * sysdeps/x86_64/memset.S: Likewise.
2994 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2995 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2996 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2997 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2998 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2999 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3000 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3001 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3002 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3003 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3004 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3005 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3006 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3007 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3008 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3009 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3010 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3011 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3012 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3013 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3014 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3015 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3016 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3017 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3018 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3019 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3020 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3021 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3022 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3023 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3024 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3025 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3026 * sysdeps/x86_64/strcmp.S: Likewise.
3028 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3030 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3031 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3032 * elf/rtld-Rules: Likewise.
3033 * elf/setup-vdso.h: Likewise.
3034 * include/assert.h: Likewise.
3035 * include/bits/stdlib-float.h: Likewise.
3036 * include/errno.h: Likewise.
3037 * include/sys/stat.h: Likewise.
3038 * include/unistd.h: Likewise.
3039 * sysdeps/aarch64/setjmp.S: Likewise.
3040 * sysdeps/alpha/setjmp.S: Likewise.
3041 * sysdeps/arm/__longjmp.S: Likewise.
3042 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3043 * sysdeps/arm/setjmp.S: Likewise.
3044 * sysdeps/arm/sysdep.h: Likewise.
3045 * sysdeps/generic/_itoa.h: Likewise.
3046 * sysdeps/generic/dl-sysdep.h: Likewise.
3047 * sysdeps/generic/ldsodefs.h: Likewise.
3048 * sysdeps/i386/dl-tls.h: Likewise.
3049 * sysdeps/i386/setjmp.S: Likewise.
3050 * sysdeps/m68k/setjmp.c: Likewise.
3051 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3052 * sysdeps/mach/hurd/opendir.c: Likewise.
3053 * sysdeps/posix/getcwd.c: Likewise.
3054 * sysdeps/posix/opendir.c: Likewise.
3055 * sysdeps/posix/profil.c: Likewise.
3056 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3057 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3058 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3059 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3060 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3061 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3062 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3063 * sysdeps/s390/dl-tls.h: Likewise.
3064 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3065 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3066 * sysdeps/sh/sh3/setjmp.S: Likewise.
3067 * sysdeps/sh/sh4/setjmp.S: Likewise.
3068 * sysdeps/unix/alpha/sysdep.h: Likewise.
3069 * sysdeps/unix/arm/sysdep.S: Likewise.
3070 * sysdeps/unix/i386/sysdep.S: Likewise.
3071 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3072 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3073 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3074 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3075 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3076 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3077 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3078 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3079 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3080 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3081 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3082 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3083 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3086 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3087 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3088 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3089 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3090 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3091 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3092 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3093 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3094 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3095 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3096 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3098 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3099 * sysdeps/x86_64/setjmp.S: Likewise.
3101 * include/math.h: Use IS_IN instead of IS_IN_libm.
3102 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3103 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3104 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3105 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3106 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3107 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3108 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3109 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3110 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3111 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3112 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3113 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3114 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3115 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3116 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3117 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3118 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3119 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3120 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3121 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3122 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3123 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3124 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3125 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3126 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3127 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3128 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3129 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3130 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3131 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3132 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3133 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3134 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3145 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3146 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3147 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3148 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3149 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3150 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3156 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3157 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3158 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3159 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3160 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3161 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3162 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3163 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3164 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3165 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3166 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3167 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3168 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3169 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3171 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3173 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3174 * nptl/pthreadP.h: Likewise.
3175 * nptl_db/structs.def: Likewise.
3176 * sysdeps/arm/sysdep.h: Likewise.
3177 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3178 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3179 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3180 * sysdeps/unix/alpha/sysdep.h: Likewise.
3181 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3182 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3183 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3184 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3185 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3186 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3187 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3188 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3189 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3190 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3191 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3192 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3193 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3194 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3197 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3198 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3199 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3201 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3202 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3203 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3204 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3205 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3206 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3208 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3209 * nptl/pthreadP.h: Likewise.
3210 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3211 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3212 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3213 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3214 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3215 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3216 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3217 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3218 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3219 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3220 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3221 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3226 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3227 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3228 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3230 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3231 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3232 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3233 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3235 * dlfcn/dladdr.c: Use IS_IN.
3236 * dlfcn/dladdr1.c: Likewise.
3237 * dlfcn/dlclose.c: Likewise.
3238 * dlfcn/dlerror.c: Likewise.
3239 * dlfcn/dlinfo.c: Likewise.
3240 * dlfcn/dlmopen.c: Likewise.
3241 * dlfcn/dlopen.c: Likewise.
3242 * dlfcn/dlsym.c: Likewise.
3243 * dlfcn/dlvsym.c: Likewise.
3245 * include/ifaddrs.h: Use IS_IN.
3246 * inet/check_pf.c: Likewise.
3247 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3248 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3250 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3252 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3253 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3255 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3256 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3259 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3261 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3262 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3263 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3264 * include/libc-symbols.h (IS_IN_LIB): New macro.
3265 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3266 * include/netdb.h: Likewise.
3267 * include/stap-probe.h: Remove all uses of IN_LIB.
3269 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3270 instead of IN_MODULE.
3271 * include/libc-symbols.h (IN_MODULE): Define using
3273 (PASTE_NAME, PASTE_NAME1): New macros.
3274 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3276 (STAP_PROBE_ASM): Likewise.
3278 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3280 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3281 __mach_init in dlopened libc.
3283 2014-11-22 Mike Frysinger <vapier@gentoo.org>
3285 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3286 * sysdeps/arm/preconfigure: Regenerate.
3288 2014-11-21 Roland McGrath <roland@hack.frob.com>
3290 * nptl/pthread_create.c (__pthread_create_2_1): Set
3291 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3292 when copying values from IATTR into PD.
3294 2014-11-21 Will Newton <will.newton@linaro.org>
3295 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3297 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3298 Refactor inline-asm. Also add comment.
3300 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3301 ElfW macro instead of hardcoded Elf64 types.
3302 (la_aarch64_gnu_pltenter): Likewise.
3303 * sysdeps/aarch64/dl-machine.h
3304 (elf_machine_runtime_setup): Use ElfW(Addr).
3306 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3307 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3308 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3309 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3310 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3311 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3312 (R_AARCH64_TLS_DTPMOD): This.
3313 (R_AARCH64_TLS_DTPREL64): Rename to ...
3314 (R_AARCH64_TLS_DTPREL): This.
3315 (R_AARCH64_TLS_TPREL64): Rename to ...
3316 (R_AARCH64_TLS_TPREL): This.
3317 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3318 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3319 R_AARCH64_TLS_TPREL64.
3320 (elf_machine_rela): Likewise.
3322 2014-11-21 Torvald Riegel <triegel@redhat.com>
3324 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3325 by setting it to 0. 64b atomics are not supported currently.
3327 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3330 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3331 search domain names.
3333 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3337 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3339 * posix/tst-getaddrinfo5.c: New.
3340 * posix/Makefile (tests): Add it.
3342 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3346 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3347 after parsing line but before break_if_match.
3348 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3349 if there is a protocol mismatch.
3351 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3353 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3354 because the potential race is on the user-supplied stream.
3356 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3358 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3359 string literal if not passed a buffer.
3360 * manual/job.texi (ctermid): Update reasoning, note deviation
3361 from posix, suggest mtasurace when not passed a buffer, for
3362 future non-preliminary safety notes.
3364 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3366 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3367 of not passing it a buffer.
3368 Reported by Peng Haitao.
3370 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3372 * manual/Makefile ($(objpfx)stamp-summary): Require
3373 check-safety.sh to pass.
3374 * manual/check-safety.sh: Wish for verification that every
3375 @deftypefn and @deftypefun is followed by a @safety remark.
3377 2014-11-20 Roland McGrath <roland@hack.frob.com>
3379 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3381 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3382 PTHREAD_CANCEL_ASYNCHRONOUS.
3383 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3386 * nptl/default-sched.h: New file.
3387 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3388 * nptl/pthread_create.c: Include it.
3389 (__pthread_create_2_1): Use collect_default_sched instead of making
3390 Linux syscalls here directly.
3392 2014-11-20 Torvald Riegel <triegel@redhat.com>
3394 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3395 __pthread_once): Use C11 atomics.
3397 2014-11-20 Torvald Riegel <triegel@redhat.com>
3399 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3401 2014-11-20 Torvald Riegel <triegel@redhat.com>
3403 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3404 atomic_thread_fence_acquire, atomic_thread_fence_release,
3405 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3406 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3407 atomic_compare_exchange_weak_relaxed,
3408 atomic_compare_exchange_weak_acquire,
3409 atomic_compare_exchange_weak_release,
3410 atomic_exchange_acquire, atomic_exchange_release,
3411 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3412 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3413 atomic_fetch_and_acquire,
3414 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3416 2014-11-20 Torvald Riegel <triegel@redhat.com>
3418 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3419 USE_ATOMIC_COMPILER_BUILTINS): Define.
3420 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3421 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3422 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3423 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3424 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3425 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3426 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3427 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3428 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3429 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3430 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3431 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3432 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3433 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3434 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3435 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3436 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3437 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3438 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3439 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3440 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3441 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3442 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3443 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3444 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3445 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3446 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3447 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3448 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3449 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3450 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3451 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3452 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3453 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3454 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3455 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3456 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3457 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3458 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3459 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3461 2014-11-19 Roland McGrath <roland@hack.frob.com>
3463 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3464 the sched_priority value here. It was already checked when the user
3465 called pthread_attr_setschedparam.
3467 * nptl/tst-bad-schedattr.c: New file.
3468 * nptl/Makefile (tests): Add it.
3470 2014-11-19 Carlos O'Donell <carlos@redhat.com>
3471 Florian Weimer <fweimer@redhat.com>
3472 Joseph Myers <joseph@codesourcery.com>
3473 Adam Conrad <adconrad@0c3.net>
3474 Andreas Schwab <schwab@suse.de>
3475 Brooks <bmoses@google.com>
3478 * wordexp-test.c (__dso_handle): Add prototype.
3479 (__register_atfork): Likewise.
3480 (__app_register_atfork): New function.
3481 (registered_forks): New global.
3482 (register_fork): New function.
3483 (test_case): Add 3 new tests for WRDE_CMDSUB.
3484 (main): Call __app_register_atfork.
3485 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3486 fork count is non-zero fail the test.
3487 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3489 (parse_dollars): Remove check for WRDE_NOCMD.
3490 (parse_dquote): Likewise.
3492 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3494 * Makeconfig (built-modules): List non-library modules to be
3496 (module-cppflags): Include libc-modules.h for
3497 everything except shlib-versions.v.i.
3499 (before-compile): Add libc-modules.h.
3500 ($(common-objpfx)libc-modules.h,
3501 $(common-objpfx)libc-modules.stmp): New targets.
3502 (common-generated): Add libc-modules.h and libc-modules.stmp.
3503 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3504 * include/libc-symbols.h: Don't include libc-modules.h.
3505 * include/libc-modules.h: Remove file.
3506 * scripts/gen-libc-modules.awk: New script to generate
3508 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3509 Depend on libc-modules.stmp.
3511 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3513 * Makeconfig (in-module): Get value of libof set for the
3515 (CPPFLAGS): Use $(in-module).
3516 * Makerules: Don't suffix routine names for nonlib.
3517 * include/libc-modules.h: New file.
3518 * include/libc-symbols.h: Include libc-modules.h
3519 (IS_IN): New macro to replace IS_IN_* macros.
3520 * elf/Makefile: Set libof-* for each routine.
3521 * elf/rtld-Rules: Likewise.
3522 * extra-modules.mk: Likewise.
3523 * iconv/Makefile: Likewise.
3524 * iconvdata/Makefile: Likewise.
3525 * locale/Makefile: Likewise.
3526 * malloc/Makefile: Likewise.
3527 * nss/Makefile: Likewise.
3528 * sysdeps/gnu/Makefile: Likewise.
3529 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3530 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3531 * sysdeps/s390/s390-64/Makefile: Likewise.
3532 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3533 CPPFLAGS for nscd instead of nonlib.
3535 2014-11-18 Roland McGrath <roland@hack.frob.com>
3537 * nptl/createthread.c: New file.
3539 * nptl/createthread.c: Moved ...
3540 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3542 * nptl/createthread.c: Add proper top-line comment.
3543 (do_clone): Folded into ...
3544 (create_thread): ... here. Take new arguments STOPPED_START and
3545 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3546 increment __nptl_threads, do event-reporting logic, do
3547 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3548 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3549 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3550 just send SIGCANCEL.
3551 * nptl/pthread_create.c: Forward-declare create_thread before
3552 including createthread.c.
3553 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3554 declaration, and new macro START_THREAD_SELF to replace argument.
3555 Remove return statement.
3556 (report_thread_creation): New function.
3557 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3558 synchronization logic, and __nptl_nthreads increment here, around
3559 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3560 PD->parent_cancelhandling here, before create_thread. When
3561 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3562 __deallocate_stack, and ENOMEM translation here.
3564 2014-11-18 Joseph Myers <joseph@codesourcery.com>
3567 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3568 (mptwo): Rename to __mptwo.
3569 (__inv): Use __mptwo instead of mptwo.
3570 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3571 (mptwo): Rename to __mptwo.
3572 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3573 of mpone and __mptwo instead of mptwo.
3574 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3576 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3577 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3578 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3579 of mpone and __mptwo instead of mptwo.
3580 (__mpranred): Use __mpone instead of mpone.
3581 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3583 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3584 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3585 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3586 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3587 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3588 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3589 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3590 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3591 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3592 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3593 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3594 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3595 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3596 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3597 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3598 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3599 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3600 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3601 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3603 2014-11-18 Tom de Vries <tom@codesoucery.com>
3605 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3606 replace BSD Handler xref with BSD Signal Handling.
3608 2014-11-17 Richard Henderson <rth@redhat.com>
3610 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3611 (_FP_PACK_RAW_2): Remove.
3612 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3613 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3614 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3615 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3616 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3617 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3618 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3619 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3620 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3621 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3622 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3623 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3624 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3625 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3626 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3627 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3629 2014-11-14 Roland McGrath <roland@hack.frob.com>
3631 * signal/signal.h [__USE_MISC]
3632 (struct sigvec): Remove type.
3633 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3634 (sigvec): Remove declaration.
3635 * sysdeps/posix/sigvec.c: Moved ...
3636 * signal/sigvec.c: ... here, replacing old file.
3637 (struct sigvec): New type, copied from old signal.h definition.
3638 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3639 (__sigvec): Convert definition to prototype.
3640 (sigvec): Replace weak_alias with compat_symbol.
3641 * signal/Versions (libc: GLIBC_2.21): New version set.
3642 * include/signal.h: Remove __sigvec declaration.
3643 * sysdeps/unix/bsd/sigvec.c: Remove file.
3644 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3645 * manual/signal.texi (BSD Handler): Remove subsection.
3646 Move siginterrupt up to ...
3647 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3648 (Blocking in BSD): Fold subsection into its parent.
3649 * NEWS: Mention sigvec removal.
3651 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3653 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3654 (DLA_FMS): Make definition conditional only on [__FMA4__].
3655 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3658 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3659 Make definition conditional only on [PROF].
3660 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3662 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3663 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3665 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3667 * include/signal.h (__sigpause): Move declaration above call to
3669 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3671 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3672 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3674 2014-11-14 David S. Miller <davem@davemloft.net>
3676 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3677 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3679 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3681 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3682 * configure: Regenerated.
3683 * manual/install.texi (Tools for Compilation): Document a
3684 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3685 compiler verified to work.
3686 * INSTALL: Regenerated.
3688 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3689 redeclare with asm name.
3690 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3691 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3692 including <string.h>.
3693 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3694 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3695 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3696 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3697 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3698 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3699 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3701 2014-11-13 Joseph Myers <joseph@codesourcery.com>
3703 * stdlib/strtol.c (__strtol): Use prototype definition.
3706 * stdlib/strtol.c (SYM__): New macro.
3708 (__strtol): Likewise.
3709 (strtol): Rename to __strtol and define as weak alias of
3710 __strtol. Use libc_hidden_weak.
3712 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3714 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3715 Use numbered labels in inline assembly.
3717 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3719 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3720 Add setjmp LIBC_PROBE.
3721 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3723 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3724 Add longjmp, longjmp_target LIBC_PROBE.
3725 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3728 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3730 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3731 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3732 to get rid of unused variable warning.
3734 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3736 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3737 Check for unwind_backtrace == NULL only in SHARED case.
3738 (__backchain_backtrace): Compile only in SHARED case.
3739 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3741 (__backchain_backtrace): Declare as static.
3743 2014-11-12 Roland McGrath <roland@hack.frob.com>
3745 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3746 (__libc_multiple_threads_ptr): Variable moved ...
3747 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3749 2014-11-12 Joseph Myers <joseph@codesourcery.com>
3751 * conform/GlibcConform.pm: New file.
3752 * conform/conformtest.pl: Use GlibcConform module.
3753 * conform/linknamespace.pl: New file.
3754 * conform/list-header-symbols.pl: Likewise.
3755 * conform/Makefile (linknamespace-symlists-base): New variable.
3756 (linknamespace-symlists-tests): Likewise.
3757 (linknamespace-header-base): Likewise.
3758 (linknamespace-header-tests): Likewise.
3759 (tests-special): Add new tests.
3760 ($(linknamespace-symlists-tests)): New rule.
3761 (linknamespace-libs): New variable.
3762 ($(objpfx)symlist-stdlibs): New rule.
3763 ($(linknamespace-header-tests)): Likewise.
3764 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3765 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3766 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3767 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3768 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3769 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3770 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3771 (test-xfail-ISO/math.h/linknamespace): Likewise.
3772 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3773 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3774 (test-xfail-ISO/time.h/linknamespace): Likewise.
3775 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3776 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3777 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3778 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3779 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3780 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3781 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3782 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3783 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3784 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3785 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3786 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3787 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3788 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3789 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3790 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3791 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3792 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3793 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3794 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3795 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3796 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3797 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3798 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3799 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3800 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3801 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3802 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3803 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3804 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3805 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3806 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3807 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3808 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3809 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3810 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3811 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3812 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3813 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3814 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3815 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3816 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3817 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3818 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3819 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3820 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3821 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3822 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3823 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3824 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3825 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3826 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3827 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3828 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3829 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3830 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3831 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3832 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3833 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3834 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3835 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3836 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3837 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3838 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3839 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3840 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3841 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3842 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3843 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3844 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3845 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3846 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3847 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3848 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3849 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3850 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3851 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3852 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3853 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3854 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3855 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3856 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3857 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3858 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3859 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3860 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3861 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3862 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3863 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3864 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3865 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3866 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3867 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3868 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3869 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3870 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3871 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3872 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3873 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3874 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3875 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3876 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3877 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3878 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3879 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3880 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3881 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3882 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3883 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3884 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3885 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3886 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3887 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3888 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3889 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3890 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3891 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3892 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3893 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3894 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3895 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3896 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3897 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3898 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3899 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3900 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3901 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3902 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3903 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3904 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3905 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3906 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3907 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3908 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3909 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3910 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3911 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3912 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3913 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3914 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3915 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3916 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3917 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3918 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3919 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3920 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3921 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3922 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3923 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3924 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3927 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3931 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3932 (memmem): Rename to __memmem and define as weak alias of
3933 __memmem. Use libc_hidden_weak.
3934 (__memmem): Use libc_hidden_def.
3935 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3936 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3940 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3941 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3942 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3943 and define as weak alias of __fgets_unlocked. Use
3945 (__fgets_unlocked): Use libc_hidden_def.
3946 * include/stdio.h (__fgets_unlocked): Declare. Use
3948 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3949 __fgets_unlocked instead of fgets_unlocked.
3950 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3951 (GET_NPROCS_CONF_PARSER): Likewise.
3952 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3953 (GET_NPROCS_CONF_PARSER): Likewise.
3956 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3957 weak alias of __wmemset. Use libc_hidden_weak.
3958 (__wmemset): Use libc_hidden_def.
3959 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3960 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3964 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3965 with asm name __mempcpy.
3966 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3969 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3970 and define as weak alias of __rawmemchr.
3971 (__rawmemchr): Do not define as strong alias of rawmemchr.
3974 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3976 (qsort): Call __qsort_r instead of qsort_r.
3977 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3978 (__qsort_r): Declare. Call libc_hidden_proto.
3979 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3981 * nscd/gai.c (__qsort_r): Define to qsort_r.
3982 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3983 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3984 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3987 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3988 define as weak alias of __malloc_info.
3991 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3992 as weak alias of __rewinddir. Don't use libc_hidden_def.
3993 (__rewinddir): Use libc_hidden_def.
3994 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3995 as weak alias of __rewinddir. Don't use libc_hidden_def.
3996 (__rewinddir): Use libc_hidden_def.
3997 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3998 weak alias of __rewinddir. Don't use libc_hidden_def.
3999 (__rewinddir): Use libc_hidden_def.
4000 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4001 (__rewinddir): Use libc_hidden_proto.
4002 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4004 (__getcwd): Use __rewinddir instead of rewinddir.
4007 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4008 alias of __fileno. Use libc_hidden_weak.
4009 (__fileno): Use libc_hidden_def.
4010 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4011 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4013 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4015 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4016 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4018 (fread_unlocked): Don't use libc_hidden_ver.
4019 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4020 and define as weak alias of __fread_unlocked. Don't use
4022 (__fread_unlocked): Use libc_hidden_def.
4023 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4024 (ftello): Don't use libc_hidden_proto.
4025 (__ftello): Declare. Use libc_hidden_proto.
4026 (fread_unlocked): Don't use libc_hidden_proto.
4027 (__fread_unlocked): Declare. Use libc_hidden_proto.
4028 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4029 and __ftello instead of fileno, fread_unlocked and ftello.
4031 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4033 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4035 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4037 (_dl_start_user): Likewise.
4038 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4040 2014-11-12 Carlos O'Donell <carlos@redhat.com>
4041 Siddhesh Poyarekar <siddhesh@redhat.com>
4043 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4044 Move argv and envp down instead of moving argc up.
4045 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4047 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
4050 * test-skeleton.c (main): Return successful if one of
4051 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4052 * string/tst-strcoll-overflow.c: Define expected status.
4054 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4057 * locale/iso-639.def: Define Bhili and Tulu language codes.
4059 2014-11-11 Alan Hayward <alan.hayward@arm.com>
4061 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4063 2014-11-10 Renlin Li <Renlin.Li@arm.com>
4066 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4068 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4070 * configure.ac: Updated check of minimal required version to
4072 * manual/install.texi (Tools for Compilation): Updated version
4074 * configure: Regenerated.
4075 * INSTALL: Likewise.
4077 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4079 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4082 2014-11-07 Joseph Myers <joseph@codesourcery.com>
4084 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4085 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4086 (__waitpid): Don't define as alias. Use libc_hidden_def not
4088 (waitpid): Define as alias of __waitpid.
4089 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4091 (__waitpid): Don't define as alias. Use libc_hidden_def not
4093 (waitpid): Define as alias of __waitpid.
4094 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4095 __libc_waitpid alias.
4096 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4097 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4099 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4100 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4101 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4103 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4105 (__waitpid): Don't define as alias. Use libc_hidden_def not
4107 (waitpid): Define as alias of __waitpid.
4109 2014-11-06 Carlos O'Donell <carlos@redhat.com>
4111 * manual/llio.texi: Add comment that write safety has been
4114 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4115 (localplt-build-dso): Add elf/ld.so.
4116 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4117 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4120 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4125 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4126 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4127 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4128 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4129 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4130 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4131 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4132 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4133 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4134 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4135 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4137 2014-11-05 Joseph Myers <joseph@codesourcery.com>
4140 * include/libc-symbols.h (INTUSE): Remove macro.
4142 (INTVARDEF): Likewise.
4143 (_INTVARDEF): Likewise.
4144 (INTDEF2): Likewise.
4145 (INTVARDEF2): Likewise.
4146 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4147 rtld_hidden_def instead of INTVARDEF.
4148 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4149 (_dl_starting_up_internal): Remove declaration.
4150 (_dl_starting_up): Use rtld_hidden_proto.
4151 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4153 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4154 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4156 * elf/dl-writev.h (_dl_writev): Likewise.
4157 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4158 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4159 _dl_starting_up_internal.
4161 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4163 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4166 2014-11-05 Will Newton <will.newton@linaro.org>
4168 * benchtests/Makefile: (bench-malloc): Add malloc thread
4169 scalability benchmark.
4170 * benchtests/bench-malloc-threads.c: New file.
4172 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
4174 * sysdeps/aarch64/strchrnul.S: New file.
4176 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4178 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4180 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4182 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4184 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4186 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4188 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4191 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
4193 * catgets/test-gencat.c: Use test-skeleton.c.
4194 * catgets/tst-catgets.c: Likewise.
4195 * csu/tst-empty.c: Likewise.
4196 * elf/tst-audit2.c: Likewise.
4197 * elf/tst-global1.c: Likewise.
4198 * elf/tst-pathopt.c: Likewise.
4199 * elf/tst-piemod1.c: Likewise.
4200 * elf/tst-tls10.c: Likewise.
4201 * elf/tst-tls11.c: Likewise.
4202 * elf/tst-tls12.c: Likewise.
4203 * gnulib/tst-gcc.c: Likewise.
4204 * iconvdata/tst-e2big.c: Likewise.
4205 * iconvdata/tst-loading.c: Likewise.
4206 * iconv/tst-iconv1.c: Likewise.
4207 * iconv/tst-iconv2.c: Likewise.
4208 * inet/test-inet6_opt.c: Likewise.
4209 * inet/tst-gethnm.c: Likewise.
4210 * inet/tst-network.c: Likewise.
4211 * inet/tst-ntoa.c: Likewise.
4212 * intl/tst-codeset.c: Likewise.
4213 * intl/tst-gettext2.c: Likewise.
4214 * intl/tst-gettext3.c: Likewise.
4215 * intl/tst-ngettext.c: Likewise.
4216 * intl/tst-translit.c: Likewise.
4217 * io/test-stat.c: Likewise.
4218 * libio/test-fmemopen.c: Likewise.
4219 * libio/tst-freopen.c: Likewise.
4220 * libio/tst-sscanf.c: Likewise.
4221 * libio/tst-ungetwc1.c: Likewise.
4222 * libio/tst-ungetwc2.c: Likewise.
4223 * libio/tst-widetext.c: Likewise.
4224 * localedata/tst-ctype.c: Likewise.
4225 * localedata/tst-digits.c: Likewise.
4226 * localedata/tst-leaks.c: Likewise.
4227 * localedata/tst-mbswcs1.c: Likewise.
4228 * localedata/tst-mbswcs2.c: Likewise.
4229 * localedata/tst-mbswcs3.c: Likewise.
4230 * localedata/tst-mbswcs4.c: Likewise.
4231 * localedata/tst-mbswcs5.c: Likewise.
4232 * localedata/tst-setlocale.c: Likewise.
4233 * localedata/tst-trans.c: Likewise.
4234 * localedata/tst-wctype.c: Likewise.
4235 * localedata/tst-xlocale1.c: Likewise.
4236 * login/tst-grantpt.c: Likewise.
4237 * malloc/tst-calloc.c: Likewise.
4238 * malloc/tst-malloc.c: Likewise.
4239 * malloc/tst-mallocstate.c: Likewise.
4240 * malloc/tst-mcheck.c: Likewise.
4241 * malloc/tst-mtrace.c: Likewise.
4242 * malloc/tst-obstack.c: Likewise.
4243 * math/atest-exp2.c: Likewise.
4244 * math/atest-exp.c: Likewise.
4245 * math/atest-sincos.c: Likewise.
4246 * math/test-matherr.c: Likewise.
4247 * math/test-misc.c: Likewise.
4248 * math/test-powl.c: Likewise.
4249 * math/tst-definitions.c: Likewise.
4250 * misc/tst-dirname.c: Likewise.
4251 * misc/tst-efgcvt.c: Likewise.
4252 * misc/tst-fdset.c: Likewise.
4253 * misc/tst-hsearch.c: Likewise.
4254 * misc/tst-mntent2.c: Likewise.
4255 * nptl/tst-sem7.c: Likewise.
4256 * nptl/tst-sem8.c: Likewise.
4257 * nptl/tst-sem9.c: Likewise.
4258 * nss/test-netdb.c: Likewise.
4259 * posix/tst-fnmatch.c: Likewise.
4260 * posix/tst-getlogin.c: Likewise.
4261 * posix/tst-gnuglob.c: Likewise.
4262 * posix/tst-mmap.c: Likewise.
4263 * pwd/tst-getpw.c: Likewise.
4264 * resolv/tst-inet_ntop.c: Likewise.
4265 * rt/tst-timer.c: Likewise.
4266 * stdio-common/test-fseek.c: Likewise.
4267 * stdio-common/test-popen.c: Likewise.
4268 * stdio-common/test-vfprintf.c: Likewise.
4269 * stdio-common/tst-cookie.c: Likewise.
4270 * stdio-common/tst-fileno.c: Likewise.
4271 * stdio-common/tst-gets.c: Likewise.
4272 * stdio-common/tst-obprintf.c: Likewise.
4273 * stdio-common/tst-perror.c: Likewise.
4274 * stdio-common/tst-sprintf2.c: Likewise.
4275 * stdio-common/tst-sprintf3.c: Likewise.
4276 * stdio-common/tst-sprintf.c: Likewise.
4277 * stdio-common/tst-swprintf.c: Likewise.
4278 * stdio-common/tst-tmpnam.c: Likewise.
4279 * stdio-common/tst-unbputc.c: Likewise.
4280 * stdio-common/tst-wc-printf.c: Likewise.
4281 * stdlib/tst-environ.c: Likewise.
4282 * stdlib/tst-fmtmsg.c: Likewise.
4283 * stdlib/tst-limits.c: Likewise.
4284 * stdlib/tst-rand48-2.c: Likewise.
4285 * stdlib/tst-rand48.c: Likewise.
4286 * stdlib/tst-random2.c: Likewise.
4287 * stdlib/tst-random.c: Likewise.
4288 * stdlib/tst-strtol.c: Likewise.
4289 * stdlib/tst-strtoll.c: Likewise.
4290 * stdlib/tst-tls-atexit.c: Likewise.
4291 * stdlib/tst-xpg-basename.c: Likewise.
4292 * string/test-ffs.c: Likewise.
4293 * string/tst-bswap.c: Likewise.
4294 * string/tst-inlcall.c: Likewise.
4295 * string/tst-strtok.c: Likewise.
4296 * string/tst-strxfrm.c: Likewise.
4297 * sysdeps/x86_64/tst-audit10.c: Likewise.
4298 * sysdeps/x86_64/tst-audit3.c: Likewise.
4299 * sysdeps/x86_64/tst-audit4.c: Likewise.
4300 * sysdeps/x86_64/tst-audit5.c: Likewise.
4301 * time/tst-ftime_l.c: Likewise.
4302 * time/tst-getdate.c: Likewise.
4303 * time/tst-mktime3.c: Likewise.
4304 * time/tst-mktime.c: Likewise.
4305 * time/tst-posixtz.c: Likewise.
4306 * time/tst-strptime2.c: Likewise.
4307 * time/tst-strptime3.c: Likewise.
4308 * wcsmbs/tst-btowc.c: Likewise.
4309 * wcsmbs/tst-mbrtowc.c: Likewise.
4310 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4311 * wcsmbs/tst-wchar-h.c: Likewise.
4312 * wcsmbs/tst-wcpncpy.c: Likewise.
4313 * wcsmbs/tst-wcrtomb.c: Likewise.
4314 * wcsmbs/tst-wcsnlen.c: Likewise.
4315 * wcsmbs/tst-wcstof.c: Likewise.
4317 2014-11-04 Joseph Myers <joseph@codesourcery.com>
4320 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4322 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4324 (_dl_mcount): Use rtld_hidden_proto.
4325 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4327 * elf/rtld.c (_rtld_global_ro): Likewise.
4330 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4331 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4332 of _dl_init_internal.
4333 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4334 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4335 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4336 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4337 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4338 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4339 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4340 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4341 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4342 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4343 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4344 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4345 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4346 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4347 * sysdeps/tile/dl-start.S (_start): Likewise.
4348 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4349 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4352 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4353 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4354 (rtld_progname): Make macro definition unconditional.
4355 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4357 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4358 (dl_main): Likewise.
4359 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4360 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4361 instead of _dl_argv_internal.
4362 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4363 __GI__dl_argv instead of INTUSE(_dl_argv).
4364 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4365 __GI__dl_argv instead of _dl_argv_internal.
4367 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4368 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4370 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4371 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4373 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4374 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4376 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4377 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4379 2014-11-04 Andreas Schwab <schwab@suse.de>
4381 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4383 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4385 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4386 mtvsrd instruction in binary form.
4388 2014-11-03 Andreas Schwab <schwab@suse.de>
4391 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4392 for less than MB_LEN_MAX use a local buffer of that size.
4393 * libio/tst-fputws.c: New file.
4394 * libio/Makefile (tests): Add tst-fputws.
4396 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4398 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4399 the size of the fpu_fr.fpu_dregs[] array.
4401 2014-11-01 Joseph Myers <joseph@codesourcery.com>
4403 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4404 (__nanosleep): Do not define as alias.
4405 (nanosleep): Define as alias of __nanosleep.
4406 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4407 __libc_nanosleep name.
4409 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4411 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4412 install.texi in comment.
4414 2014-10-31 Torvald Riegel <triegel@redhat.com>
4416 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4417 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4418 ... add here and use lwsync or sync ...
4419 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4420 ... and add here using lwsync.
4422 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4424 * elf/dl-machine-reject-phdr.h: New file.
4425 * elf/dl-load.c: #include that.
4426 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4427 if that returned true.
4429 2014-10-31 Roland McGrath <roland@hack.frob.com>
4432 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4433 gen-as-const-headers chunk. Add a big scare comment after the last
4434 safe place to touch before-compile.
4436 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4438 * manual/install.texi (Tools for Compilation): Update autoconf
4439 version requirements.
4440 * INSTALL: Regenerated.
4442 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4443 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4444 (__libc_pselect): Likewise.
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4452 2014-10-31 Torvald Riegel <triegel@redhat.com>
4454 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4455 correct barrier instruction.
4456 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4458 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4461 2014-10-30 Roland McGrath <roland@hack.frob.com>
4463 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4464 after defining inlines. Instead, just use parens to defeat macro
4465 expansion of __isctype in its declaration.
4467 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4469 * include/sys/uio.h (__libc_readv): Remove declaration.
4470 (__libc_writev): Likewise.
4471 * misc/readv.c (__libc_readv): Rename to __readv.
4472 (__readv): Do not define as alias.
4473 (readv): Define as alias of __readv.
4474 * misc/writev.c (__libc_writev): Rename to __writev.
4475 (__writev): Do not define as alias.
4476 (writev): Define as alias of __writev.
4477 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4478 (__readv): Do not define as alias.
4479 (readv): Define unconditionally as alias of __readv.
4480 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4481 (__writev): Do not define as alias.
4482 (writev): Define unconditionally as alias of __writev.
4483 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4485 (writev): Do not define __libc_writev name.
4487 2014-10-30 Roland McGrath <roland@hack.frob.com>
4489 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4490 (convert_charseq): New function, broken out of ...
4491 (use_from_charmap): ... here. Call it.
4492 (use_to_charmap): Use convert_charseq and free instead of duplicating
4493 its code with a variable-length stack struct.
4495 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4497 * include/fcntl.h (__libc_creat): Remove declaration.
4498 * io/creat.c (__libc_creat): Rename to creat.
4499 (creat): Do not define as alias.
4500 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4501 of creat instead of __libc_creat.
4502 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4504 (creat): Do not define as alias.
4505 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4507 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4509 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4512 2014-10-29 Carlos O'Donell <carlos@redhat.com>
4514 * manual/llio.texi: Add comments discussing why write() may be
4515 considered MT-unsafe on Linux.
4517 2014-10-28 Carlos O'Donell <carlos@redhat.com>
4519 * dl-load.c (local_strdup): Remove.
4520 (expand_dynamic_string_token): Use __strdup.
4521 (decompose_rpath): Likewise.
4522 (_dl_map_object): Likewise.
4524 2014-10-28 Joseph Myers <joseph@codesourcery.com>
4527 * sysdeps/generic/unwind-dw2-fde.c
4528 (__register_frame_info_bases_internal): Do not declare.
4529 (__register_frame_info_table_bases_internal): Likewise.
4530 (__deregister_frame_info_bases_internal): Likewise.
4531 (__register_frame_info_bases): Declare and use hidden_proto before
4532 definition. Use hidden_def instead of INTDEF.
4533 (__register_frame_info_table_bases): Likewise.
4534 (__deregister_frame_info_bases): Likewise.
4535 (__register_frame_info): Do not use INTUSE.
4536 (__register_frame): Likewise.
4537 (__register_frame_info_table): Likewise.
4538 (__register_frame_table): Likewise.
4539 (__deregister_frame_info): Likewise.
4540 (__deregister_frame): Likewise.
4542 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4544 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4545 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4547 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4549 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4552 2014-10-27 Joseph Myers <joseph@codesourcery.com>
4555 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4556 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4557 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4558 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4559 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4560 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4561 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4562 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4563 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4564 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4565 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4566 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4567 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4569 (setfsuid): Likewise.
4570 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4571 (setfsuid): Likewise.
4572 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4573 (setfsuid): Likewise.
4574 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4576 (setfsuid): Likewise.
4577 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4578 (setfsuid): Likewise.
4579 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4581 (setfsuid): Likewise.
4583 2014-10-27 Andreas Schwab <schwab@suse.de>
4586 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4587 check for Slow_SSE4_2 feature bit.
4588 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4589 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4590 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4591 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4593 2014-10-24 Roland McGrath <roland@hack.frob.com>
4595 * configure.ac: Validate compiler version with a empirical test of
4596 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4598 * configure: Regenerated.
4600 * inet/htons.c (htons): Prototypify.
4601 * inet/htonl.c (htonl): Likewise.
4603 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4605 * string/strncat.c (strncat): Improve performance by using strlen.
4607 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4609 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4611 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4613 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4614 Call libc_fetestexcept_aarch64.
4616 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4618 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4619 Call libc_feholdexcept_aarch64.
4621 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4623 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4624 Call get_rounding_mode.
4626 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4628 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4631 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4633 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4636 2014-10-24 Joseph Myers <joseph@codesourcery.com>
4639 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4640 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4641 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4642 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4643 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4644 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4645 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4646 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4647 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4648 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4649 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4650 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4651 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4652 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4653 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4654 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4655 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4656 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4657 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4658 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4659 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4660 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4661 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4662 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4663 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4664 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4665 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4666 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4667 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4668 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4669 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4670 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4671 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4672 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4673 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4674 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4675 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4676 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4677 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4678 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4679 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4681 (geteuid): Likewise.
4684 (getresgid): Likewise.
4685 (getresuid): Likewise.
4686 (getgroups): Likewise.
4687 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4688 (geteuid): Likewise.
4691 (getresgid): Likewise.
4692 (getresuid): Likewise.
4693 (getgroups): Likewise.
4694 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4695 (geteuid): Likewise.
4698 (getresgid): Likewise.
4699 (getresuid): Likewise.
4700 (getgroups): Likewise.
4701 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4703 (geteuid): Likewise.
4706 (getresgid): Likewise.
4707 (getresuid): Likewise.
4708 (getgroups): Likewise.
4709 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4710 (geteuid): Likewise.
4713 (getresgid): Likewise.
4714 (getresuid): Likewise.
4715 (getgroups): Likewise.
4716 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4718 (geteuid): Likewise.
4721 (getgroups): Likewise.
4724 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4725 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4726 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4727 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4728 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4729 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4730 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4731 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4732 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4733 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4734 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4735 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4736 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4738 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4741 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4745 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4748 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4753 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4755 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4758 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4760 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4763 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4765 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4766 Remove unused include.
4768 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4770 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4771 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4772 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4773 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4775 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4776 Helge Deller <deller@gmx.de>
4779 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4780 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4781 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4783 2014-10-23 Joseph Myers <joseph@codesourcery.com>
4786 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4787 Remove macro definition.
4788 (__ashrdi3_v_glibc20): Likewise.
4789 (__lshrdi3_v_glibc20): Likewise.
4790 (__cmpdi2_v_glibc20): Likewise.
4791 (__ucmpdi2_v_glibc20): Likewise.
4792 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4793 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4794 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4795 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4796 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4797 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4799 2014-10-22 Roland McGrath <roland@hack.frob.com>
4801 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4802 old GNU extension [0] syntax.
4803 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4804 alloca rather than an array member with variable length.
4805 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4806 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4807 (parse_opt): ... here. Likewise use alloca there.
4808 Validate the -i argument before checking for rootness.
4809 (send_shutdown): New function, broken out of ...
4810 (parse_opt): ... here.
4812 2014-10-22 Roland McGrath <roland@hack.frob.com>
4814 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4815 macro to get at the _rt_local_ro field.
4816 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4817 ([PIC] case) or _dl_hwcap ([!PIC] case).
4818 * sysdeps/arm/setjmp.S: Likewise.
4820 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4821 * sysdeps/arm/configure.ac: New check to define it.
4822 * sysdeps/arm/configure: Regenerated.
4823 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4824 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4825 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4826 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4827 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4828 Use move/movt pair instead of a load.
4829 (LDST_GLOBAL): Macro removed.
4830 (LDR_GLOBAL): New macro replaces it.
4831 (LDR_HIDDEN): New macro.
4832 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4833 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4835 * setjmp/tst-setjmp-static.c: New file.
4836 * setjmp/Makefile (tests): Add it.
4837 (tests-static): New variable.
4839 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4842 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4844 2014-10-21 Joseph Myers <joseph@codesourcery.com>
4847 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4849 2014-10-21 Roland McGrath <roland@hack.frob.com>
4851 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4853 2014-10-20 Roland McGrath <roland@hack.frob.com>
4855 * io/fts.c (dirent_not_directory): New function.
4856 (fts_build): Call it.
4858 2014-10-20 Roland McGrath <roland@hack.frob.com>
4860 * nptl/version.c (__nptl_main): Use normal __write rather than
4862 (banner): Update copyright years.
4864 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4866 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4867 * nptl/pthread_cond_timedwait.c: Likewise.
4868 * nptl/pthread_mutex_timedlock.c: Likewise.
4869 * nptl/sem_timedwait.c: Likewise.
4871 * sysdeps/nptl/bits/libc-lock.h
4872 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4873 (__libc_lock_init_recursive): Return void, not 0.
4874 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4875 (__libc_rwlock_init): Likewise.
4876 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4878 2014-10-20 Torvald Riegel <triegel@redhat.com>
4881 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4882 (__pthread_once_slow): ... here.
4883 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4884 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4886 2014-10-20 Torvald Riegel <triegel@redhat.com>
4889 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4890 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4891 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4892 * nptl/pthread_once.c (__pthread_once): Likewise.
4895 2014-10-20 Joseph Myers <joseph@codesourcery.com>
4898 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4900 (writev): Use __libc_writev as strong name.
4901 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4902 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4904 2014-10-17 Roland McGrath <roland@hack.frob.com>
4906 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4908 * sysdeps/i386/nptl/tls.h
4909 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4910 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4912 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4913 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4914 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4915 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4916 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4917 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4919 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4920 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4922 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4924 (__pthread_mutex_init): ... here. Call it.
4925 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4926 Conditionalize PI cases on [__NR_futex].
4927 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4928 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4929 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4931 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4932 conditional on [SIGSETXID].
4933 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4934 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4935 is defined. Likewise for SIGSETXID.
4936 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4937 Conditionalize definitions on [SIGSETXID].
4938 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4939 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4940 unblocking on [SIGCANCEL].
4942 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4943 [__NR_set_robust_list].
4945 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4947 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4948 (do_compare): Likewise.
4950 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
4953 * string/strcoll_l.c: Don't include stdio.h.
4954 (coll_seq): Remove members idxarr and rulearr.
4955 (get_next_seq_cached): Remove function.
4956 (get_next_seq): Likewise.
4957 (get_next_seq_nocache): Rename to get_next_seq.
4958 (do_compare): Remove function.
4959 (do_compare_nocache): Rename to do_compare.
4960 (STRCOLL): Remove weight and rules cache.
4962 2014-10-16 Roland McGrath <roland@hack.frob.com>
4964 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4965 * sysdeps/arm/sfp-machine.h: ... to here.
4966 * sysdeps/arm/Implies: Remove arm/soft-fp.
4968 2014-10-14 Joseph Myers <joseph@codesourcery.com>
4970 * conform/data/sys/utsname.h-data (*_t): Allow.
4971 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4972 [POSIX] (WEXITED): Do not expect constant.
4973 [POSIX] (WSTOPPED): Likewise.
4974 [POSIX] (WNOHANG): Likewise.
4975 [POSIX] (WNOWAIT): Likewise.
4976 [POSIX] (siginfo_t): Do not expect type or elements.
4977 [POSIX] (pid_t): Do not expect type.
4978 [POSIX] (signal.h): Do not allow header.
4979 [POSIX] (sys/resource.h): Likewise.
4980 [POSIX] (si_*): Do not allow pattern.
4981 [POSIX] (W*): Likewise.
4982 [POSIX] (P_*): Likewise.
4983 [POSIX] (BUS_*): Likewise.
4984 [POSIX] (CLD_*): Likewise.
4985 [POSIX] (FPE_*): Likewise.
4986 [POSIX] (ILL_*): Likewise.
4987 [POSIX] (POLL_*): Likewise.
4988 [POSIX] (SEGV_*): Likewise.
4989 [POSIX] (SI_*): Likewise.
4990 [POSIX] (TRAP_*): Likewise.
4991 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4994 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4997 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4998 infinite loop when __recvmsg returns 0.
5000 2014-10-10 Joseph Myers <joseph@codesourcery.com>
5002 * CANCEL-FCT-WAIVE: Remove file.
5003 * CANCEL-FILE-WAIVE: Likewise.
5006 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5007 instead of INTVARDEF.
5008 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5009 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5010 rtld_hidden_data_def instead of INTVARDEF.
5011 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5012 * elf/dl-deps.c (expand_dst): Likewise.
5013 * elf/dl-load.c (_dl_dst_count): Likewise.
5014 (_dl_dst_substitute): Likewise.
5015 (decompose_rpath): Likewise.
5016 (_dl_init_paths): Likewise.
5017 (open_path): Likewise.
5018 (_dl_map_object): Likewise.
5019 * elf/rtld.c (dl_main): Likewise.
5020 (process_dl_audit): Likewise.
5021 (process_envvars): Likewise.
5022 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5024 (__libc_enable_secure): Use rtld_hidden_proto.
5026 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5029 (add_path): New function broken out of _dl_rtld_di_serinfo.
5030 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5032 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5034 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5035 parentheses around macro arguments.
5036 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5037 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5038 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5039 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5040 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5041 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5042 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5043 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5044 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5045 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5046 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5047 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5048 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5049 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5050 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5051 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5052 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5053 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5054 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5055 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5056 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5057 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5058 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5059 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5060 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5061 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5062 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5063 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5064 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5065 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5066 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5067 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5068 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5069 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5070 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5071 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5073 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5074 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5075 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5076 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5077 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5078 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5079 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5080 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5081 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5082 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5083 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5084 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5085 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5086 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5087 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5088 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5089 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5090 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5091 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5092 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5093 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5094 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5095 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5096 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5097 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5098 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5099 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5100 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5101 (_FP_FRAC_SRS_1): Likewise.
5102 (_FP_FRAC_CLZ_1): Likewise.
5103 (_FP_MUL_MEAT_1_imm): Likewise.
5104 (_FP_MUL_MEAT_1_wide): Likewise.
5105 (_FP_MUL_MEAT_1_hard): Likewise.
5106 (_FP_SQRT_MEAT_1): Likewise.
5107 (_FP_FRAC_ASSEMBLE_1): Likewise.
5108 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5109 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5110 (__FP_CLZ_2): Likewise.
5111 (_FP_MUL_MEAT_2_wide): Likewise.
5112 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5113 (_FP_MUL_MEAT_2_gmp): Likewise.
5114 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5115 (_FP_SQRT_MEAT_2): Likewise.
5116 (_FP_FRAC_ASSEMBLE_2): Likewise.
5117 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5118 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5119 (_FP_FRAC_CLZ_4): Likewise.
5120 (_FP_MUL_MEAT_4_wide): Likewise.
5121 (_FP_MUL_MEAT_4_gmp): Likewise.
5122 (_FP_SQRT_MEAT_4): Likewise.
5123 (_FP_FRAC_ASSEMBLE_4): Likewise.
5124 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5125 * soft-fp/op-common.h (_FP_CMP): Likewise.
5126 (_FP_CMP_EQ): Likewise.
5127 (_FP_CMP_UNORD): Likewise.
5128 (_FP_TO_INT): Likewise.
5129 (_FP_FROM_INT): Likewise.
5130 [!__FP_CLZ] (__FP_CLZ): Likewise.
5131 (_FP_DIV_HELP_imm): Likewise.
5132 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5134 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5135 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5136 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5137 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5138 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5139 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5140 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5141 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5142 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5143 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5144 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5145 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5146 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5147 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5148 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5149 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5150 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5151 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5152 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5153 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5154 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5155 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5156 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5157 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5158 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5159 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5160 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5161 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5162 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5163 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5164 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5165 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5166 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5167 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5168 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5169 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5170 (FP_UNPACK_RAW_SP): Likewise.
5171 (FP_PACK_RAW_S): Likewise.
5172 (FP_PACK_RAW_SP): Likewise.
5173 (FP_UNPACK_S): Likewise.
5174 (FP_UNPACK_SP): Likewise.
5175 (FP_UNPACK_SEMIRAW_S): Likewise.
5176 (FP_UNPACK_SEMIRAW_SP): Likewise.
5177 (FP_PACK_S): Likewise.
5178 (FP_PACK_SP): Likewise.
5179 (FP_PACK_SEMIRAW_S): Likewise.
5180 (FP_PACK_SEMIRAW_SP): Likewise.
5181 (_FP_SQRT_MEAT_S): Likewise.
5182 (FP_CMP_S): Likewise.
5183 (FP_CMP_EQ_S): Likewise.
5184 (FP_CMP_UNORD_S): Likewise.
5185 (FP_TO_INT_S): Likewise.
5186 (FP_FROM_INT_S): Likewise.
5188 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5190 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5191 (FP_EX_INVALID_IMZ): Likewise.
5192 (FP_EX_INVALID_IMZ_FMA): Likewise.
5193 (FP_EX_INVALID_ISI): Likewise.
5194 (FP_EX_INVALID_ZDZ): Likewise.
5195 (FP_EX_INVALID_IDI): Likewise.
5196 (FP_EX_INVALID_SQRT): Likewise.
5197 (FP_EX_INVALID_CVI): Likewise.
5198 (FP_EX_INVALID_VC): Likewise.
5199 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5200 "invalid" exceptions.
5201 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5202 (_FP_ADD_INTERNAL): Likewise.
5203 (_FP_MUL): Likewise.
5204 (_FP_FMA): Likewise.
5205 (_FP_DIV): Likewise.
5206 (_FP_CMP_CHECK_NAN): Likewise.
5207 (_FP_SQRT): Likewise.
5208 (_FP_TO_INT): Likewise.
5209 (FP_EXTEND): Likewise.
5211 2014-10-09 Allan McRae <allan@archlinux.org>
5213 * po/fr.po: Update French translation from translation project.
5215 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5218 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5220 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5221 (__cxa_atexit): Use libc_hidden_proto.
5222 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5225 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5227 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5228 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5229 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5230 [!_ISOMAC] (__iswctype_internal): Likewise.
5231 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5232 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5234 (fcntl): Remove __fcntl_internal alias.
5235 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5236 __connect_internal alias.
5237 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5240 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5241 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5243 (_FP_CHECK_FLUSH_ZERO): New macro.
5244 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5245 (_FP_CMP): Likewise.
5246 (_FP_CMP_EQ): Likewise.
5247 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5249 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5250 (FP_TRUNC): Likewise.
5252 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5253 treated as invalid conversion, not as normal exponent.
5255 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5256 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5257 (_FP_CMP_EQ): Likewise.
5258 (_FP_CMP_UNORD): Likewise.
5259 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5260 (FP_CMP_EQ_D): Likewise.
5261 (FP_CMP_UNORD_D): Likewise.
5262 * soft-fp/extended.h (FP_CMP_E): Likewise.
5263 (FP_CMP_EQ_E): Likewise.
5264 (FP_CMP_UNORD_E): Likewise.
5265 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5266 (FP_CMP_EQ_Q): Likewise.
5267 (FP_CMP_UNORD_Q): Likewise.
5268 * soft-fp/single.h (FP_CMP_S): Likewise.
5269 (FP_CMP_EQ_S): Likewise.
5270 (FP_CMP_UNORD_S): Likewise.
5271 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5272 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5273 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5274 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5275 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5276 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5277 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5278 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5279 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5280 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5281 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5282 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5283 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5285 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5287 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5288 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5290 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5292 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5293 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5294 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5295 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5297 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5299 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5300 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5302 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5304 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5305 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5306 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5307 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5310 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5311 a subnormal result, set the underflow exception if trapping on
5312 underflow is enabled.
5313 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5314 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5315 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5317 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5318 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5319 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5320 * soft-fp/extendxftf2.c (__extendxftf2): Use
5321 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5323 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5324 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5325 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5326 FP_HANDLE_EXCEPTIONS.
5327 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5328 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5329 FP_HANDLE_EXCEPTIONS.
5330 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5331 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5332 FP_HANDLE_EXCEPTIONS.
5333 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5334 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5335 FP_HANDLE_EXCEPTIONS.
5337 2014-10-08 Joseph Myers <joseph@codesourcery.com>
5340 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5341 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5343 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5344 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5346 (__adjtimex): Define using libc_hidden_ver.
5347 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5349 (ntp_gettime): Call __adjtimex directly.
5350 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5352 (ntp_gettimex): Call __adjtimex directly.
5353 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5354 __adjtimex_internal alias.
5356 2014-10-08 Roland McGrath <roland@hack.frob.com>
5359 * nscd/nscd.c (more_help): Rewrite list of tables collection
5360 using xstrdup and asprintf.
5362 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5364 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5365 Roland McGrath <roland@hack.frob.com>
5367 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5368 (do_lookup_unique): ... local function 'enter' here; update callers.
5370 2014-10-06 Joseph Myers <joseph@codesourcery.com>
5372 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5373 compat_symbol calls on [SHARED].
5374 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5375 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5377 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5378 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5379 (oldsetrlimit): Remove.
5380 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5382 (lchown): New syscall entry.
5383 (oldsetrlimit): Remove.
5384 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5386 (oldsetrlimit): Remove.
5387 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5390 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5391 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5392 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5393 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5394 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5395 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5397 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5402 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5404 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5405 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5406 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5407 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5408 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5410 (__old_sem_post): Likewise.
5412 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
5414 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5415 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5416 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5417 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5418 Use INLINE_VSYSCALL macro.
5419 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5420 __vdso_clock_gettime.
5421 * sysdeps/unix/sysv/linux/tile/init-first.c
5422 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5423 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5424 __vdso_clock_gettime.
5426 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5427 to set up frame more cleanly.
5429 * sysdeps/tile/memcmp.c: New file.
5431 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5433 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5434 * sysdeps/tile/tilegx/strcasestr.c: New file.
5435 * sysdeps/tile/tilegx/strnlen.c: New file.
5436 * sysdeps/tile/tilegx/strstr.c: New file.
5438 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5440 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
5442 * nptl/tst-setuid3.c: Write errors to stdout.
5444 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5447 (preload): New functions broken out of _dl_map_object_deps.
5448 (_dl_map_object_deps): Remove a nested function. Update call sites.
5450 2014-10-01 Joseph Myers <joseph@codesourcery.com>
5453 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5454 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5456 2014-10-01 Steve Ellcey <sellcey@mips.com>
5458 * sysdeps/mips/strcmp.S: New.
5460 2014-09-30 Joseph Myers <joseph@codesourcery.com>
5463 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5465 (mkdirat): Likewise.
5466 (readlinkat): Likewise.
5467 (renameat): Likewise.
5468 (symlinkat): Likewise.
5469 (unlinkat): Likewise.
5470 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5471 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5472 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5473 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5474 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5475 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5476 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5478 2014-09-30 Will Newton <will.newton@linaro.org>
5480 * math/math.h: Define long double math functions if
5481 _LIBC_TEST is defined.
5482 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5484 * localedata/Makefile: Move assignment to tests-special
5485 into an ifdef testing run-built-tests.
5486 * timezone/Makefile: Likewise.
5488 2014-09-29 Joseph Myers <joseph@codesourcery.com>
5490 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5491 with $(BASH) not $(SHELL).
5493 2014-09-29 Carlos O'Donell <carlos@redhat.com>
5494 Matthew LeGendre <legendre1@llnl.gov>
5497 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5500 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5502 * stdio-common/printf_fp.c
5503 (hack_digit): New function, broken out of ...
5504 (__printf_fp): ... local function here. Update call sites.
5505 hack_digit now takes an additional parameter that is a pointer
5506 to a struct of the referenced locals. Those locals moved inside
5507 the struct and references updated.
5509 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5511 * aclocal.m4: Require autoconf 2.69.
5512 * configure: Regenerated.
5513 * sysdeps/aarch64/configure: Likewise.
5514 * sysdeps/alpha/configure: Likewise.
5515 * sysdeps/arm/armv7/configure: Likewise.
5516 * sysdeps/arm/configure: Likewise.
5517 * sysdeps/ia64/configure: Likewise.
5518 * sysdeps/mach/configure: Likewise.
5519 * sysdeps/mips/configure: Likewise.
5520 * sysdeps/s390/configure: Likewise.
5521 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5524 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5526 * sysdeps/ia64/configure.ac: Likewise.
5528 2014-09-26 Joseph Myers <joseph@codesourcery.com>
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5531 specify symbol version for ld.so. Do not include entry for
5533 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5534 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5535 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5538 * Makeconfig [$(build-shared) = yes]
5539 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5541 [$(build-shared) = yes && $(soversions.mk-done) = t]
5542 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5543 [$(build-shared) = yes && $(soversions.mk-done) = t]
5544 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5546 [$(build-shared) = yes && $(soversions.mk-done) = t]
5547 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5549 [$(build-shared) = yes && $(soversions.mk-done) = t]
5550 (common-generated): Don't append gnu/lib-names.h and
5551 gnu/lib-names.stmp here.
5552 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5553 (lib-names-h-abi): New variable.
5554 [$(build-shared) = yes && $(soversions.mk-done) = t]
5555 (lib-names-stmp-abi): Likewise.
5556 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5557 abi-variants] (before-compile): Append
5558 $(common-objpfx)$(lib-names-h-abi).
5559 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5560 abi-variants] (common-generated): Append gnu/lib-names.h.
5561 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5562 abi-variants] (install-others-nosubdir): Depend on
5563 $(inst_includedir)/$(lib-names-h-abi).
5564 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5565 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5566 [$(build-shared) = yes && $(soversions.mk-done) = t]
5567 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5568 [$(build-shared) = yes && $(soversions.mk-done) = t]
5569 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5570 [$(build-shared) = yes && $(soversions.mk-done) = t]
5571 (common-generated): Append $(lib-names-h-abi) and
5572 $(lib-names-stmp-abi).
5573 * scripts/lib-names.awk: Do not handle multi being set.
5574 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5576 (abi-lp64_be-ld-soname): Likewise.
5577 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5579 (abi-hard-ld-soname): Likewise.
5580 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5581 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5583 (abi-o32_hard-ld-soname): Likewise.
5584 (abi-o32_soft_2008-ld-soname): Likewise.
5585 (abi-o32_hard_2008-ld-soname): Likewise.
5586 (abi-n32_soft-ld-soname): Likewise.
5587 (abi-n32_hard-ld-soname): Likewise.
5588 (abi-n32_soft_2008-ld-soname): Likewise.
5589 (abi-n32_hard_2008-ld-soname): Likewise.
5590 (abi-n64_soft-ld-soname): Likewise.
5591 (abi-n64_hard-ld-soname): Likewise.
5592 (abi-n64_soft_2008-ld-soname): Likewise.
5593 (abi-n64_hard_2008-ld-soname): Likewise.
5594 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5596 (abi-64-v2-ld-soname): Likewise.
5597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5599 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5601 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5603 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5605 (abi-64-ld-soname): Likewise.
5606 (abi-x32-ld-soname): Likewise.
5607 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5609 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5611 2014-09-23 Joseph Myers <joseph@codesourcery.com>
5614 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5615 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5616 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5617 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5618 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5619 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5620 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5621 syscall entry for GLIBC_2.2 symbol version.
5622 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5625 (setrlimit): Likewise.
5626 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5629 2014-09-23 Will Newton <will.newton@linaro.org>
5631 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5632 _LINUX_ARM_SYSDEP_H include guard too.
5633 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5636 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5638 * sysdeps/unix/sysv/linux/eventfd.c:
5639 Make first argument unsigned.
5640 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5641 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5643 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
5645 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5646 * socket/sys/socket.h: Likewise
5647 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5649 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5651 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5653 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
5655 * time/tst-ftime.c: New test.
5656 * time/Makefile (tests): Add tst-ftime.
5658 2014-09-17 Joseph Myers <joseph@codesourcery.com>
5660 * soft-fp/extended.h: Fix comment formatting.
5661 * soft-fp/op-1.h: Likewise.
5662 * soft-fp/op-2.h: Likewise.
5663 * soft-fp/op-4.h: Likewise.
5664 * soft-fp/op-8.h: Likewise.
5665 * soft-fp/op-common.h: Likewise.
5666 * soft-fp/soft-fp.h: Likewise.
5668 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5670 2014-09-16 Joseph Myers <joseph@codesourcery.com>
5673 * Makeconfig (soversions-default-setname): Remove variable.
5674 ($(common-objpfx)soversions.i): Don't pass default_setname to
5676 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5677 oldest_abi to abi-versions.awk.
5678 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5679 * config.make.in (oldest-abi): Remove variable.
5680 * configure.ac (--enable-oldest-abi): Remove configure option.
5681 * configure: Regenerated.
5682 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5684 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5685 * scripts/soversions.awk: Do not handle default_setname variable.
5686 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5688 * sysdeps/mach/hurd/configure: Regenerated.
5689 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5691 * sysdeps/unix/sysv/linux/configure: Regenerated.
5693 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5695 * elf/Makefile (CFLAGS-interp.c): Remove.
5696 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5698 * elf/interp.c: Include generated runtime-linker.h
5700 * Makerules (lib%.so): Don't include $(+interp) in
5702 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5703 * dlfcn/eval.c: Remove file.
5705 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5709 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5713 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5715 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5716 Jakub Jelinek <jakub@redhat.com>
5719 * libio/stdio.h: Check definition of __fortify_function
5720 instead of __extern_always_inline to include bits/stdio2.h.
5721 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5722 check if __extern_always_inline is defined.
5723 [__USE_MISC || __USE_XOPEN]: Likewise.
5724 [__USE_ISOC99] Likewise.
5725 * misc/sys/cdefs.h (__fortify_function): Define only if
5726 __extern_always_inline is defined.
5727 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5728 __extern_always_inline and __extern_inline only for g++-4.3
5729 and newer or a compatible gcc.
5731 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5734 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5735 last change to handle zero prefix length.
5737 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5739 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5742 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5745 2014-09-13 Allan McRae <allan@archlinux.org>
5747 * po/ru.po: Update Russian translation from translation project.
5749 2014-09-12 Roland McGrath <roland@hack.frob.com>
5751 * locale/programs/locale.c (show_locale_vars): Inline local function
5752 into its sole call site. Clean up some style nits.
5753 (print_item): New function, broken out of ...
5754 (show_info): ... local function here. Clean up style nits.
5756 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5758 (set_class_defaults): ... local function set_default here.
5759 Define set_default as a macro locally to pass constant parameters.
5760 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5761 rather than a shared local.
5763 * stdlib/rpmatch.c (try): New function, broken out of ...
5764 (rpmatch): ... local function here. Also, prototypify definition.
5766 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5768 * scripts/soversions.awk: Do not handle configuration names.
5769 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5770 vendor and os variables to soversions.awk.
5771 * configure.ac: Do not modify gnu-* host_os.
5772 * configure: Regenerated
5773 * shlib-versions: Remove first column with configuration names.
5774 * nptl/shlib-versions: Likewise.
5775 * nptl_db/shlib-versions: Likewise.
5776 * sysdeps/hppa/shlib-versions: Likewise.
5777 * sysdeps/m68k/shlib-versions: Likewise.
5778 * sysdeps/mach/hurd/shlib-versions: Likewise.
5779 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5780 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5781 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5782 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5783 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5784 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5785 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5786 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5789 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5790 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5791 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5792 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5793 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5794 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5795 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5796 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5799 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5802 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5804 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5806 * shlib-versions: Remove OS-specific entries. Moved to files in
5808 * sysdeps/mach/hurd/shlib-versions: New file.
5809 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5811 * nptl/shlib-versions: Remove architecture-specific entries.
5812 Moved to files in sysdeps.
5813 * shlib-versions: Likewise.
5814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5816 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5817 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5818 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5819 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5821 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5822 (UDP_NO_CHECK6_RX): Likewise.
5824 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5826 * sysdeps/posix/sysconf.c (__sysconf): Spell
5827 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5829 2014-08-12 Florian Weimer <fweimer@redhat.com>
5831 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5833 * iconv/Versions (__gconv_transliterate): Export for use from
5835 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5836 (struct __gconv_trans_data, __gconv_trans_fct,
5837 __gconv_trans_context_fct, __gconv_trans_query_fct,
5838 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5840 (struct __gconv_step_data): Remove __trans member.
5841 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5842 longer hidden. Remove unused trans_data argument.
5843 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5844 (__gconv_translit_find): Remove declaration.
5845 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5847 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5848 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5849 trans_data argument. Add hidden definition.
5850 (__gconv_translit_find): Remove.
5851 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5852 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5853 * iconv/skeleton.c: Remove transliteration initialization.
5854 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5855 __gconv_step_data initialization.
5856 * libio/iofwide.c (__libio_translit_): Remove.
5857 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5858 * wcsmbs/btowc.c (__btowc): Likewise.
5859 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5860 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5861 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5862 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5863 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5864 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5865 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5866 * wcsmbs/wctob.c (wctob): Likewise.
5868 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5871 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5872 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5874 * sysdeps/x86/Makefile: Adjust.
5876 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5877 Roland McGrath <roland@hack.frob.com>
5879 * locale/weight.h: Add include guard.
5880 (findidx): Make static rather than auto; take new parameters
5881 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5882 * locale/weightwc.h: Likewise.
5883 * posix/fnmatch_loop.c
5884 (FCT): Change type of EXTRA from int32_t to wint_t.
5885 Don't include either header inside the function.
5886 Call FINDIDX rather than findidx, and pass new arguments.
5887 #undef FINDIDX at the end of the file.
5888 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5889 FINDIDX before including fnmatch_loop.c for the non-wide version.
5890 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5891 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5892 for the wide version.
5893 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5894 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5895 Pass new arguments to findidx.
5896 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5897 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5898 Don't #include it inside the function. Pass new arguments to findidx.
5899 * posix/regex_internal.h
5900 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5901 (re_string_elem_size_at): Don't #include it inside the function.
5902 Pass new arguments to findidx.
5903 * string/strcoll_l.c: #include WEIGHT_H at top level.
5904 (get_next_seq): Don't #include it inside the function.
5905 Pass new arguments to findidx.
5906 (get_next_seq_nocache): Likewise.
5907 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5908 (STRXFRM): Don't #include it inside the function.
5909 Pass new arguments to findidx.
5911 2014-09-11 Florian Weimer <fweimer@redhat.com>
5914 * malloc/malloc.c (unlink): Turn asserts into a call to
5917 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
5920 * libio/wfileops (do_ftell_wide): Free OUT.
5922 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5924 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5926 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5929 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5930 group if the current group is empty.
5932 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5934 * benchtests/bench-memset.c (test_main): Add more test from size
5935 from 32 to 512 bytes.
5936 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5937 Add POWER8 memset object.
5938 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5939 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5940 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5942 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5944 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5945 multiarch POWER8 memset optimization.
5946 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5947 POWER8 memset optimization.
5949 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5950 Remove bzero multiarch objects.
5951 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5952 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5953 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5954 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5956 [__bzero]: Redefine to specific name.
5957 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5958 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5959 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5961 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5962 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5964 2014-09-10 Florian Weimer <fweimer@redhat.com>
5966 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5967 warnings into errors.
5969 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5970 __cxa_thread_atexit_impl prototype.
5972 2014-09-09 Steve Ellcey <sellcey@mips.com>
5974 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5975 Fix capitalization of error message.
5977 2014-09-09 Steve Ellcey <sellcey@mips.com>
5979 * sysdeps/mips/preconfigure: Modify ABI tests.
5981 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5983 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5985 2014-09-07 Roland McGrath <roland@hack.frob.com>
5986 Carlos O'Donell <carlos@systemhalted.org>
5988 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5989 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5990 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5991 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5992 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5993 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5994 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5995 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5996 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5997 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5998 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5999 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6000 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6001 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6002 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6003 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6004 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6005 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6006 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6007 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6008 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6009 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6010 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6011 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6012 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6013 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6014 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6015 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6016 Deconditionalize the code that was previously under [RESET_PID].
6017 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6018 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6019 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6020 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6023 2014-09-08 Allan McRae <allan@archlinux.org>
6025 * version.h (RELEASE): Set to "development".
6026 (VERSION): Set to "2.20.90"
6028 2014-09-07 Allan McRae <allan@archlinux.org
6030 * version.h (RELEASE): Set to "stable".
6031 (VERSION): Set to "2.20"
6032 * include/features.h (__GLIBC_MINOR__): Set to 20.
6034 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6037 * po/ko.po: Update Korean translation from translation project.
6039 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6042 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6043 macro for handling signed relocations.
6045 2014-09-03 Florian Weimer <fweimer@redhat.com>
6048 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6049 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6051 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6052 * iconvdata/ibm935.c (BODY): Likewise.
6053 * iconvdata/ibm937.c (BODY): Likewise.
6054 * iconvdata/ibm939.c (BODY): Likewise.
6055 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6057 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6059 * iconvdata/run-iconv-test.sh: New test loop for checking for
6062 2014-09-02 Khem Raj <raj.khem@gmail.com>
6064 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6067 2014-09-01 Allan McRae <allan@archlinux.org>
6069 * po/eo.po: Update Esperanto translation from translation project.
6071 * po/ca.po: Update Catalan translation from translation project.
6073 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6075 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6078 2014-08-27 Mark Wielaard <mjw@redhat.com>
6081 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6082 to call set_thread_area instead of hand written asm.
6083 (__NR_set_thread_area): Removed define.
6084 (TLS_FLAG_WRITABLE): Likewise.
6085 (__ASSUME_SET_THREAD_AREA): Remove check.
6086 (TLS_EBX_ARG): Remove define.
6087 (TLS_LOAD_EBX): Likewise.
6089 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6091 Simplify atomicity of socket creation in bind.
6093 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6094 looking up the name after linking the file.
6096 2014-08-27 Allan McRae <allan@archlinux.org>
6098 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6100 2014-08-26 Florian Weimer <fweimer@redhat.com>
6103 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6104 trans_compare, open_translit, __gconv_translit_find):
6105 Remove module loading code.
6107 2014-08-26 Allan McRae <allan@archlinux.org>
6109 * po/vi.po: Update Vietnamese translation from translation project.
6111 * po/uk.po: Update Ukrainian translation from translation project.
6113 * po/fr.po: Update French translation from translation project.
6115 * po/ru.po: Update Russian translation from translation project.
6117 * po/pl.po: Update Polish translation from translation project.
6119 * po/cs.po: Update Czech translation from translation project.
6121 * po/de.po: Update German translation from translation project.
6123 * po/bg.po: Update Bulgarian translation from translation project.
6125 * po/sv.po: Update Sweedish translation from translation project.
6127 * po/nl.po: Update Dutch translation from translation project.
6129 * po/es.po: Update Spanish translation from translation project.
6131 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6133 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6135 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6136 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6137 (CPPFLAGS-iconvconfig): Likewise.
6138 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6140 * include/libc-symbols.h: Remove unnecessary check for
6142 * nptl/pthreadP.h: Likewise.
6143 * sysdeps/aarch64/setjmp.S: Likewise.
6144 * sysdeps/alpha/setjmp.S: Likewise.
6145 * sysdeps/arm/sysdep.h: Likewise.
6146 * sysdeps/i386/setjmp.S: Likewise.
6147 * sysdeps/m68k/setjmp.c: Likewise.
6148 * sysdeps/posix/getcwd.c: Likewise.
6149 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6150 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6151 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6152 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6153 * sysdeps/sh/sh3/setjmp.S: Likewise.
6154 * sysdeps/sh/sh4/setjmp.S: Likewise.
6155 * sysdeps/unix/alpha/sysdep.h: Likewise.
6156 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6157 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6158 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6159 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6162 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6163 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6164 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6166 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6167 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6169 * sysdeps/x86_64/setjmp.S: Likewise.
6171 2014-08-13 Joseph Myers <joseph@codesourcery.com>
6174 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6176 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6177 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6179 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6181 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6184 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6185 and __x86_64__ when disabling x87 inline functions.
6187 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6190 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6191 asm statement with __cpuid_count.
6193 2014-08-12 Mike Frysinger <vapier@gentoo.org>
6195 * configure.ac: Change __ehdr_start code to dereference the struct.
6196 Run readelf on the output to look for relocations.
6197 * configure: Regenerated.
6199 2014-08-12 Joseph Myers <joseph@codesourcery.com>
6202 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6204 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6206 2014-08-12 Roland McGrath <roland@hack.frob.com>
6208 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6210 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6213 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6214 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6216 2014-08-12 Sean Anderson <seanga2@gmail.com>
6218 * malloc/malloc.c: Fix typo in comment.
6220 2014-08-09 Allan McRae <allan@archlinux.org>
6222 * Regenerate libc.po.
6224 2014-08-08 Mike Frysinger <vapier@gentoo.org>
6226 * intl/tst-gettext2.sh: Check every lang file for creation.
6228 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6230 * sysdeps/aarch64/fpu/math_private.h
6231 (libc_feholdsetround_noex_aarch64_ctx): New function.
6233 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6235 * sysdeps/arm/armv6/strcpy.S (strcpy):
6236 Fix performance issue in misaligned cases.
6238 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6240 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6241 Move definition from termios.h.
6242 (struct termio): Likewise.
6243 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6244 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6245 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6246 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6248 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6249 Move definition to ioctl-types.h
6250 (struct termio): Likewise.
6251 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6252 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6253 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6254 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6257 2014-08-05 Richard Henderson <rth@redhat.com>
6259 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6261 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6263 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6264 Use __feraiseexcept.
6265 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6266 Protect libm symbols with IS_IN_libm.
6268 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6270 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6272 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6274 2014-08-04 Will Newton <will.newton@linaro.org>
6276 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6279 2014-08-04 Mike Frysinger <vapier@gentoo.org>
6281 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6282 variants for each function.
6284 2014-08-04 Roland McGrath <roland@hack.frob.com>
6286 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6288 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6289 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6291 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6292 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6293 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6294 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6295 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6296 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6297 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6298 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6299 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6300 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6301 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6302 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6303 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6304 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6305 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6306 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6307 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6308 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6309 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6310 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6311 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6312 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6313 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6314 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6315 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6316 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6317 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6318 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6319 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6320 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6321 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6322 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6323 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6324 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6325 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6326 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6327 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6328 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6329 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6330 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6331 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6332 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6333 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6334 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6335 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6336 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6337 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6338 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6339 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6340 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6341 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6342 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6343 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6345 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6346 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6348 2014-08-04 Roland McGrath <roland@hack.frob.com>
6350 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6351 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6352 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6353 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6354 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6355 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6357 2014-08-04 Roland McGrath <roland@hack.frob.com>
6359 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6360 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6361 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6362 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6364 2014-08-04 Roland McGrath <roland@hack.frob.com>
6366 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6367 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6368 (__libc_vfork): Define function under this name.
6369 (__vfork): Define as an alias.
6370 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6371 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6373 2014-08-04 Roland McGrath <roland@hack.frob.com>
6375 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6376 that was previously under [RESET_PID].
6377 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6379 2014-08-04 Andreas Schwab <schwab@suse.de>
6381 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6383 2014-08-03 Mike Frysinger <vapier@gentoo.org>
6385 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6388 2014-08-01 Roland McGrath <roland@hack.frob.com>
6390 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6392 2014-08-01 Richard Henderon <rth@redhat.com>
6394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6395 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6396 typo in exact zero test.
6397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6398 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6401 2014-08-01 Roland McGrath <roland@hack.frob.com>
6403 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6404 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6405 * sysdeps/arm/sysdep.h: ... here.
6406 [!__ASSEMBLER__]: Include <stdint.h>.
6408 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6410 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6411 (HAVE_WCTYPE_H): Likewise.
6412 (HAVE_ISWCTYPE): Likewise.
6413 (ENABLE_NLS): Likewise.
6414 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6415 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6417 * posix/regex_internal.c: Check if DEBUG is defined and is
6420 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6421 (HAVE_MBSRTOWCS): Likewise.
6422 * posix/fnmatch.c: Include string.h unconditionally.
6424 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6426 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6429 2014-07-31 Roland McGrath <roland@hack.frob.com>
6431 * sysdeps/generic/safe-fatal.h: New file.
6432 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6433 * nptl/forward.c: Include it.
6434 (__pthread_unwind): Use __safe_fatal as default action, rather
6435 than a bogus use of INTERNAL_SYSCALL that could never work.
6437 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6438 * configure.ac (libc_cv_builtin_trap): New test.
6439 * configure: Regenerated.
6440 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6441 (ABORT_INSTRUCTION): Define using __builtin_trap.
6443 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6444 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6445 * sysdeps/nptl/nptl-signals.h: New file.
6446 * nptl/pthreadP.h: Include <nptl-signals.h>.
6448 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6450 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6451 (ONE_DIRECTION): Define.
6452 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6453 (ONE_DIRECTION): Define.
6454 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6455 (ONE_DIRECTION): Define.
6457 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6459 * sysdeps/s390/Makefile: Delete file.
6460 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6461 * sysdeps/s390/__longjmp.c: Delete file.
6462 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6463 Remove fields __flags and __reserved.
6464 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6466 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6467 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6468 * sysdeps/s390/rtld-setjmp.S: Likewise.
6469 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6470 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6471 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6472 * sysdeps/s390/s390-32/setjmp.S: ... here.
6474 (__sigsetjmp): Remove setting __flags field.
6475 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6476 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6477 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6478 * sysdeps/s390/s390-64/setjmp.S: ... here.
6480 (__sigsetjmp): Remove setting __flags field.
6481 * sysdeps/s390/setjmp.S: Delete file.
6482 * sysdeps/s390/sigjmp.c: Likewise.
6483 * sysdeps/s390/v1-longjmp.c: Likewise.
6484 * sysdeps/s390/v1-setjmp.h: Likewise.
6485 * sysdeps/s390/v1-sigjmp.c: Likewise.
6486 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6487 Remove v1-longjmp_chk.
6488 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6489 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6490 Include debug/longjmp_chk.c and add versioning.
6491 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6492 Include nptl/pt-longjmp.c and add versioning.
6493 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6494 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6495 Include __longjmp.c.
6496 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6498 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6499 (__getcontext): Remove setting __flags field.
6501 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6502 Don't restore upper high grps.
6503 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6505 (__swapcontext): Remove setting uc_flags field.
6506 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6508 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6509 Include __longjmp.c.
6510 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6512 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6513 (__getcontext): Remove setting __flags field.
6515 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6516 (__swapcontext): Remove setting uc_flags field.
6517 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6518 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6519 Remove fields uc_high_gprs and __reserved.
6520 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6521 New file with reverted content.
6522 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6523 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6525 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6528 2014-07-31 Andreas Schwab <schwab@suse.de>
6530 * config.h.in (HAVE_IFUNC): Define to 0.
6531 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6534 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6537 memmove-avx-unaligned, memcpy-avx-unaligned and
6538 mempcpy-avx-unaligned.
6539 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6540 Add tests for AVX memcpy functions.
6541 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6542 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6544 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6545 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6547 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6548 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6550 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6551 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6552 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6554 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6557 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6560 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
6563 * manual/llio.texi: Add section about open file description locks.
6564 * manual/examples/ofdlocks.c: Example of open file description
6566 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6567 F_OFD_SETLK, and F_OFD_SETLKW.
6569 2014-07-23 Allan McRae <allan@archlinux.org>
6571 * po/es.po: Update Spanish translation from translation project.
6573 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6575 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6577 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6580 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6581 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6582 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6584 2014-07-17 Joseph Myers <joseph@codesourcery.com>
6587 * math/fesetenv.c (__fesetenv)
6588 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6589 * math/feupdateenv.c (__feupdateenv)
6590 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6592 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6593 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6594 (__ASSUME_SOCKETCALL): Do not define.
6596 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6597 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6598 (__ASSUME_SOCKETCALL): Do not define.
6599 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6600 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6601 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6602 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6603 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6604 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6605 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6606 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6608 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6609 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6610 (__ASSUME_SOCKETCALL): Do not define.
6611 (__ASSUME_IPC64): Define unconditionally.
6612 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6613 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6614 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6615 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6616 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6617 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6618 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6621 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6622 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6623 (__ASSUME_SOCKETCALL): Do not define.
6624 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6625 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6626 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6627 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6628 (__ASSUME_REQUEUE_PI): Define unconditionally.
6629 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6630 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6631 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6632 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6633 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6634 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6636 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6637 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6638 (__ASSUME_SOCKETCALL): Do not define.
6639 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6640 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6641 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6642 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6643 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6644 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6646 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6647 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6648 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6649 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6650 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6651 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6652 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6653 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6654 (__ASSUME_GETCPU_SYSCALL): Likewise.
6656 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6657 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6658 cases for individual architectures.
6659 * sysdeps/gnu/configure: Regenerated.
6660 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6661 LIBC_SLIBDIR_RTLDDIR.
6662 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6663 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6664 LIBC_SLIBDIR_RTLDDIR.
6665 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6667 LIBC_SLIBDIR_RTLDDIR.
6668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6670 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6671 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6673 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6674 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6676 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6677 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6678 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6679 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6681 * sysdeps/aarch64/shlib-versions: Move to ...
6682 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6683 * sysdeps/alpha/shlib-versions: Move to ...
6684 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6685 * sysdeps/arm/shlib-versions: Move to ...
6686 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6687 * sysdeps/hppa/shlib-versions: Move all contents except for
6688 libgcc_s entry to ...
6689 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6691 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6692 * sysdeps/ia64/shlib-versions: Move to ...
6693 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6695 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6696 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6697 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6698 * sysdeps/microblaze/shlib-versions: Move to ...
6699 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6700 * sysdeps/mips/shlib-versions: Move to ...
6701 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6703 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6704 * sysdeps/tile/shlib-versions: Move to ...
6705 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6706 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6708 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6709 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6711 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6713 2014-07-17 Will Newton <will.newton@linaro.org>
6715 * sysdeps/arm/bits/atomic.h
6716 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6717 (__arch_compare_and_exchange_bool_16_int): Likewise.
6718 (__arch_compare_and_exchange_bool_64_int): Likewise.
6720 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6721 into an #else block.
6723 2014-07-16 Roland McGrath <roland@hack.frob.com>
6725 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6726 just Linux configurations. Test empirically that the compiler sets
6727 __ARM_EABI__, rather than using the tuple to decide.
6728 * sysdeps/arm/preconfigure: Regenerated.
6729 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6730 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6731 contents appended ...
6732 * sysdeps/arm/configure.ac: ... here.
6733 * sysdeps/arm/configure: Regenerated.
6735 2014-07-15 Roland McGrath <roland@hack.frob.com>
6737 * nptl/pthread_kill.c: New file.
6738 * nptl/pthread_sigmask.c: New file.
6739 * nptl/pthread_sigqueue.c: New file.
6741 * sysdeps/nptl/lowlevellock.h: New file.
6742 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6743 * sysdeps/nptl/lowlevellock-futex.h: New file.
6745 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6746 Remove dead declarations.
6748 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6750 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6751 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6753 * sysdeps/x86_64/configure.ac: Likewise.
6754 * sysdeps/i386/configure: Regenerated.
6755 * sysdeps/x86_64/configure: Likewise.
6756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6757 memset-avx2 only if config-cflags-avx2 is yes.
6758 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6759 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6761 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6762 only if HAVE_AVX2_SUPPORT is defined.
6763 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6765 2014-07-14 Alan Modra <amodra@gmail.com>
6768 * elf/elf.h (DT_PPC64_NUM): Correct value.
6769 * NEWS: Add to fixed bug list.
6771 2014-07-13 Jim Meyering <meyering@fb.com>
6774 regex: don't deref NULL upon heap allocation failure
6775 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6776 failure in one more place.
6777 To trigger the segfault, configure grep -with-included-regex,
6778 build it, and run these commands:
6779 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6781 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6783 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6785 2014-07-11 Richard Henderson <rth@redhat.com>
6787 * sysdeps/aarch64/libm-test-ulps: Update.
6789 2014-07-10 Florian Weimer <fweimer@redhat.com>
6792 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6793 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6794 (__nptl_setxid): Initialize error member. Call
6795 __nptl_setxid_error.
6796 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6797 * nptl/descr.h (struct xid_command): Add error member.
6798 * nptl/tst-setuid3.c: New file.
6799 * nptl/Makefile (tests): Add it.
6801 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6803 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6805 (__lll_trylock): Use __lll_base_trylock.
6806 (__lll_cond_trylock): Likewise.
6808 2014-07-10 Roland McGrath <roland@hack.frob.com>
6810 * nptl/pthread_create.c (start_thread): Use atomic_or and
6811 lll_futex_wake directly rather than lll_robust_dead.
6812 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6813 (lll_robust_dead): Macro removed.
6814 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6815 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6816 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6817 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6818 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6819 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6820 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6821 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6822 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6823 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6824 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6825 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6826 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6827 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6828 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6830 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6831 Use atomic_compare_and_exchange_val_acq directly rather than
6833 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6834 (__lll_robust_trylock, lll_robust_trylock): Removed.
6835 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6836 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6837 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6838 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6839 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6840 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6841 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6842 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6843 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6844 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6845 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6846 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6847 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6848 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6850 2014-07-02 Florian Weimer <fweimer@redhat.com>
6852 * manual/locale.texi (Locale Names): New section documenting
6853 locale name syntax. Adjust menu and node chaining accordingly.
6854 (Choosing Locale): Reference Locale Names, Locale Categories.
6855 Mention setting LC_ALL=C. Reflect that name syntax is now
6857 (Locale Categories): New section title. Reference Locale Names.
6858 LC_ALL is an environment variable, but not a category.
6859 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6860 description, now in Locale Name. Reference that section. Locale
6861 name syntax is now documented.
6863 2014-07-02 Florian Weimer <fweimer@redhat.com>
6866 * locale/findlocale.c (name_present, valid_locale_name): New
6868 (_nl_find_locale): Use the loc_name variable to store name
6869 candidates. Call name_present and valid_locale_name to check and
6870 validate locale names. Return an error if the locale is invalid.
6872 2014-07-02 Florian Weimer <fweimer@redhat.com>
6874 * locale/setlocale.c (setlocale): Use strdup for allocating
6875 composite name copy.
6877 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6879 Sync up with gnulib.
6880 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6881 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6882 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6883 and _GL_ARG_NONNULL.
6884 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6885 [!_LIBC]: Include code for Windows and Cygwin.
6886 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6887 Include prototype for int strerror_r.
6888 [!_LIBC] (is_open): New function.
6889 (flush_stdout): New function.
6890 (print_errno_message): Use it.
6892 (error_at_line): Likewise.
6893 (error_tail) Add function attribute macros. Use
6896 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6898 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6900 * io/ftw.c: Include sys/param.h unconditionally.
6902 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6905 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6907 (freecache): New function to free CACHE on exit.
6909 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6912 2014-07-09 David S. Miller <davem@davemloft.net>
6914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6916 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6917 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6918 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6919 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6920 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6921 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6922 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6923 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6924 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6925 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6926 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6927 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6928 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6930 2014-07-09 Andreas Schwab <schwab@suse.de>
6932 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6934 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6935 (do_test): Likewise.
6937 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6939 2014-07-09 Will Newton <will.newton@linaro.org>
6941 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6942 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6943 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6944 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6945 * sysdeps/hppa/start.S (_start): Likewise.
6947 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6949 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6951 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6954 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6956 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6957 after checking that it is non-NULL.
6959 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6961 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6963 * sysdeps/powerpc/memmove.c: Remove file.
6964 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6965 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6966 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6967 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6969 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6970 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6971 string memmove instead of removed powerpc one.
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6974 [weak_alias]: Fix compiler warning due trailing data.
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6976 [weak_alias]: Likewise.
6977 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6978 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6980 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6981 (__libc_ifunc_impl_list): Add memmove functions.
6983 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6985 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6987 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6989 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6991 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6993 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6995 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6997 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6999 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7001 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7003 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7005 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7007 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7009 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7011 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7013 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7015 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7017 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7020 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7022 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7023 to avoid alignment traps in non-cacheable memory.
7024 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7028 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7029 file: multiarch power7 memmove.
7030 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7031 multiarch default memmove.
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7033 multiarch memove for powerpc32/power4.
7035 * string/bcopy.c: Use full path to include memmove.c.
7036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7038 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7039 bcopy for powerpc64.
7040 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7041 bcopy for powerpc64.
7042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7043 and memmove implementations.
7044 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7045 optimized multiarch memmove for POWER7/powerpc64.
7046 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7047 default multiarch memmove for powerpc64.
7048 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7049 multiarch for powerpc64.
7050 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7051 for POWER7/powerpc64.
7052 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7053 memmove for POWER7/powerpc64.
7055 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7058 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7059 __ELF_NATIVE_CLASS equal to 64.
7061 2014-07-07 Roland McGrath <roland@hack.frob.com>
7063 * sysdeps/nptl/lowlevellock.h: File removed.
7065 * NEWS: NPTL is no longer an add-on!
7066 * nptl/internaltypes.h: Moved ...
7067 * sysdeps/nptl/internaltypes.h: ... here.
7068 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7069 * sysdeps/nptl/fork.c: Likewise.
7070 * sysdeps/nptl/gai_misc.h: Likewise.
7071 * sysdeps/nptl/librt-cancellation.c: Likewise.
7072 * sysdeps/nptl/jmp-unwind.c: Likewise.
7073 * sysdeps/nptl/setxid.h: Likewise.
7074 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7075 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7076 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7077 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7078 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7079 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7080 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7081 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7082 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7083 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7084 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7085 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7086 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7087 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7088 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7089 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7090 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7091 * nptl/Makeconfig: Moved ...
7092 * sysdeps/nptl/Makeconfig: ... here.
7093 * nptl/configure: File removed.
7094 * nptl/ANNOUNCE: File removed.
7095 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7096 * sysdeps/unix/sysv/linux/configure: Regenerated.
7098 * nptl/Makefile (routines): Add libc_pthread_init,
7099 libc_multiple_threads, register-atfork and unregister-atfork.
7100 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7101 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7102 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7103 pthread-pi-defines.sym, structsem.sym.
7104 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7105 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7106 [$(subdir) = nptl] (tests): Add tst-setgetname.
7107 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7108 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7109 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7110 [!LIBC_SIGACTION]: Remove aliases.
7111 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7112 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7113 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7114 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7115 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7116 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7117 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7118 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7119 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7120 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7121 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7122 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7123 __libc_allocate_rtsig_private.
7124 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7125 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7126 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7127 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7128 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7129 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7130 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7131 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7132 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7133 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7134 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7135 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7136 * nptl/internaltypes.h: ... here.
7137 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7138 * sysdeps/nptl/jmp-unwind.c: ... here.
7139 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7140 * nptl/libc-lowlevellock.c: ... here.
7141 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7142 * nptl/libc_multiple_threads.c: ... here.
7143 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7144 * nptl/libc_pthread_init.c: ... here.
7145 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7146 * nptl/lowlevelbarrier.sym: ... here.
7147 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7148 * nptl/lowlevelcond.sym: ... here.
7149 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7150 * nptl/lowlevellock.c: ... here.
7151 * nptl/lowlevellock.h: Moved ...
7152 * sysdeps/nptl/lowlevellock.h: ... here.
7153 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7154 * nptl/lowlevelrobustlock.c: ... here.
7155 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7156 * nptl/lowlevelrobustlock.sym: ... here.
7157 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7158 * nptl/lowlevelrwlock.sym: ... here.
7159 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7160 * nptl/pt-fork.c: ... here.
7161 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7162 * nptl/pthread-pi-defines.sym: ... here.
7163 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7164 * nptl/pthread_attr_getaffinity.c: ... here.
7165 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7166 * nptl/pthread_attr_setaffinity.c: ... here.
7167 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7168 * nptl/pthread_mutex_cond_lock.c: ... here.
7169 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7171 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7172 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7173 * nptl/pthread_once.c: ... here, replacing old file.
7174 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7175 * nptl/pthread_yield.c: ... here.
7176 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7177 * nptl/register-atfork.c: ... here.
7178 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7179 * nptl/sem_post.c: ... here.
7180 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7181 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7182 * nptl/sem_timedwait.c: ... here.
7183 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7184 * nptl/sem_trywait.c: ... here.
7185 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7186 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7187 * nptl/sem_wait.c: ... here.
7188 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7189 * nptl/structsem.sym: ... here.
7190 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7191 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7192 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7193 * nptl/unregister-atfork.c: ... here.
7194 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7195 * nptl/unwindbuf.sym: ... here.
7196 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7197 * sysdeps/nptl/fork.c: ... here.
7198 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7199 * sysdeps/nptl/fork.h: ... here.
7200 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7201 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7202 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7203 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7204 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7205 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7206 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7207 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7208 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7209 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7210 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7211 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7212 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7213 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7214 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7215 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7216 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7217 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7218 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7219 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7220 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7221 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7222 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7223 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7224 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7225 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7226 * sysdeps/unix/sysv/linux/raise.c: ... here.
7227 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7228 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7229 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7230 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7231 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7232 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7233 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7234 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7235 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7236 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7237 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7238 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7239 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7240 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7241 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7243 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7245 * sysdeps/generic/memcopy.h: Add comment for
7246 MEMCPY_OK_FOR_FWD_MEMMOVE.
7248 2014-07-04 Will Newton <will.newton@linaro.org>
7250 * string/memchr.c: Merge from gnulib.
7251 [_LIBC]: Remove conditionals.
7252 (__ptr_t): Remove define.
7253 (LONG_MAX_32_BITS): Likewise.
7254 (LONG_MAX): Likewise.
7255 (MEMCHR): Use ANSI prototype and optimize algorithm.
7257 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7259 2014-07-03 Roland McGrath <roland@hack.frob.com>
7261 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7262 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7264 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7265 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7266 in a bare environment with no <stdlib.h> installed.
7267 * sysdeps/nptl/configure: Regenerated.
7269 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7271 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7272 AC_EGREP_CPP for kernel header checks, so they only succeed if
7273 including <linux/version.h> actually works right.
7274 * sysdeps/unix/sysv/linux/configure: Regenerated.
7276 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7277 value so it's not diagnosed as unused.
7279 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7280 thing) with "ifeq ($(subdir),rt)".
7282 2014-07-03 Richard Henderson <rth@redhat.com>
7284 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7285 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7286 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7288 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7289 (math_force_eval): New.
7291 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7292 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7294 * sysdeps/alpha/fpu/s_round.c: Remove file.
7295 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7297 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7298 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7299 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7300 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7301 (_dl_start, print_statistics): Likewise.
7302 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7303 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7305 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7306 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7307 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7308 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7309 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7310 (HP_SMALL_TIMING_AVAIL): Define.
7311 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7312 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7313 (HP_SMALL_TIMING_AVAIL): Define.
7314 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7315 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7317 * sysdeps/aarch64/hp-timing.h: New file.
7319 * sysdeps/generic/hp-timing.h: Remove dead comment.
7320 * sysdeps/generic/hp-timing-common.h: New file.
7321 * sysdeps/alpha/hp-timing.h: Include it.
7322 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7323 * sysdeps/i386/i686/hp-timing.h: Likewise.
7324 * sysdeps/ia64/hp-timing.h: Likewise.
7325 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7326 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7327 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7328 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7329 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7330 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7333 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7334 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7335 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7336 * elf/rtld.c (_dl_start_final): Likewise.
7337 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7338 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7339 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7340 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7341 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7342 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7343 (HP_TIMING_DIFF_INIT): Remove.
7344 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7345 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7346 (HP_TIMING_DIFF_INIT): Remove.
7347 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7348 * sysdeps/i386/i686/hp-timing.c: Remove file.
7349 * sysdeps/x86_64/hp-timing.c: Remove file.
7350 * sysdeps/ia64/hp-timing.c: Remove file.
7351 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7352 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7353 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7354 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7356 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7357 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7358 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7359 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7360 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7361 (HP_TIMING_ACCUM): Remove.
7362 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7363 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7364 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7366 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7367 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7368 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7369 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7370 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7371 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7372 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7373 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7375 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7377 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7379 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7381 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7383 Sync up with gettext.
7384 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7385 [_MSC_VER]: Include malloc.h
7386 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7387 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7388 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7389 TEMP_FAILURE_RETRY. Cast return of alloca.
7390 [!_LIBC] Call gl_rwlock_init.
7391 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7393 2014-07-02 Roland McGrath <roland@hack.frob.com>
7395 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7396 before checking its value.
7398 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7400 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7402 * debug/memcpy_chk.c: Don't include pagecopy.h.
7403 * debug/mempcpy_chk.c: Likewise.
7404 * string/memcpy.c: Likewise.
7405 * string/memmove.c: Likewise.
7406 * sysdeps/powerpc/memmove.c: Likewise.
7407 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7408 definition of PAGE_COPY_FWD_MAYBE here...
7409 * sysdeps/generic/pagecopy.h: ... from here.
7410 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7412 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7413 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7415 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7419 (__libc_ifunc_impl_list): Likewise.
7420 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7421 multiarch strcat for PPC64.
7422 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7423 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7425 2014-07-02 Roland McGrath <roland@hack.frob.com>
7427 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7429 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7431 * intl/loadmsgcat.c: Remove declaration of
7432 get_sysdep_segment_value.
7433 (get_sysdep_segment_value): Use ISO C style.
7434 (_nl_load_domain): Use ISO C style. Get rid of redundant
7435 semicolon. Fix typo and formatting in comment.
7436 (_nl_unload_domain): Use ISO C style.
7438 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7440 2014-07-02 Will Newton <will.newton@linaro.org>
7442 * malloc/obstack.c: Merge from gnulib master.
7443 [HAVE_CONFIG_H]: Remove conditional code.
7444 [!_LIBC]: Include config.h.
7445 [!ELIDE_CODE]: Don't include inttypes.h, include
7446 stdint.h unconditionally.
7447 (print_and_abort): Mark as _Noreturn.
7448 (_obstack_allocated_p): Mark as __attribute_pure__.
7449 (obstack_free): Rename to __obstack_free.
7450 [!__attribute__]: Remove conditional code.
7451 * malloc/obstack.h: Merge from gnulib master.
7452 [__cplusplus]: Move conditional down.
7453 [!__attribute_pure__]: Define __attribute_pure__ here
7454 if it is not already defined.
7455 (_obstack_memory_used): Mark as __attribute_pure__.
7456 [!__obstack_free]: Define as obstack_free.
7457 [__GNUC__]: Remove check for ancient NeXT gcc.
7459 2014-07-02 Will Newton <will.newton@linaro.org>
7460 Paul Eggert <eggert@cs.ucla.edu>
7462 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7464 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7466 * resolv/gethnamaddr.c: Add comment warning that the file is
7469 2014-07-01 Carlos O'Donell <carlos@redhat.com>
7471 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7474 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7475 entry for aio_cancel and aio_cancel64.
7476 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7477 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7478 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7479 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7480 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7481 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7482 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7483 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7484 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7485 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7486 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7487 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7488 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7490 2014-07-01 Roland McGrath <roland@hack.frob.com>
7492 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7493 * nptl/pthread_mutex_lock.c: Likewise.
7494 * nptl/pthread_mutex_timedlock.c: Likewise.
7495 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7497 2014-07-01 Richard henderson <rth@redhat.com>
7499 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7500 (__isnan, __isnanl): Remove.
7501 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7503 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7505 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7507 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7509 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7511 * resolv/nss_dns/dns-host.c (getanswer_r)
7512 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7514 2014-07-01 Joseph Myers <joseph@codesourcery.com>
7516 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7517 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7519 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7520 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7522 2014-07-01 Roland McGrath <roland@hack.frob.com>
7524 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7525 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7527 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7528 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7530 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7531 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7533 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7534 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7536 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7537 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7538 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7539 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7541 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7542 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7543 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7544 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7545 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7547 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7549 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7550 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7551 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7552 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7553 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7554 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7555 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7556 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7557 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7558 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7559 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7560 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7561 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7562 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7563 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7564 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7565 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7566 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7567 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7568 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7570 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7571 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7572 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7573 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7574 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7575 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7576 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7577 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7579 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7581 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7582 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7583 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7586 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7590 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7592 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7593 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7595 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7597 * sysdeps/arm/libm-test-ulps: Regenerated.
7599 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7600 Roland McGrath <roland@hack.frob.com>
7602 * test-skeleton.c (signal_handler): Kill the whole process group
7603 before killing the child individually.
7604 (main): Report any failure on `setpgid'.
7606 2014-06-30 Roland McGrath <roland@hack.frob.com>
7608 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7609 from _TLS_H to _ARM_NPTL_TLS_H.
7610 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7611 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7613 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7616 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7617 (__expm1l): Return argument unchanged when small but not
7620 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7622 (_FP_UNPACK_RAW_1_P): Likewise.
7623 (_FP_PACK_RAW_1): Likewise.
7624 (_FP_PACK_RAW_1_P): Likewise.
7625 (_FP_MUL_MEAT_1_wide): Likewise.
7626 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7627 (_FP_MUL_MEAT_1_hard): Likewise.
7628 (_FP_DIV_MEAT_1_imm): Likewise.
7629 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7630 (_FP_DIV_MEAT_1_udiv): Likewise.
7631 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7632 (_FP_UNPACK_RAW_2): Likewise.
7633 (_FP_UNPACK_RAW_2_P): Likewise.
7634 (_FP_PACK_RAW_2): Likewise.
7635 (_FP_PACK_RAW_2_P): Likewise.
7636 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7637 (_FP_MUL_MEAT_2_wide): Likewise.
7638 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7639 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7640 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7641 (_FP_MUL_MEAT_2_gmp): Likewise.
7642 (_FP_DIV_MEAT_2_udiv): Likewise.
7643 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7644 (_FP_FRAC_SRL_4): Likewise.
7645 (_FP_FRAC_SRST_4): Likewise.
7646 (_FP_FRAC_SRS_4): Likewise.
7647 (_FP_UNPACK_RAW_4): Likewise.
7648 (_FP_UNPACK_RAW_4_P): Likewise.
7649 (_FP_PACK_RAW_4): Likewise.
7650 (_FP_PACK_RAW_4_P): Likewise.
7651 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7652 (_FP_MUL_MEAT_4_wide): Likewise.
7653 (_FP_MUL_MEAT_4_gmp): Likewise.
7654 (umul_ppppmnnn): Likewise.
7655 (_FP_DIV_MEAT_4_udiv): Likewise.
7656 (__FP_FRAC_ADD_4): Likewise.
7657 (__FP_FRAC_SUB_3): Likewise.
7658 (__FP_FRAC_SUB_4): Likewise.
7659 (__FP_FRAC_DEC_3): Likewise.
7660 (__FP_FRAC_DEC_4): Likewise.
7661 (__FP_FRAC_ADDI_4): Likewise.
7662 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7663 (_FP_FRAC_SRL_8): Likewise.
7664 (_FP_FRAC_SRS_8): Likewise.
7666 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7668 (FP_UNPACK_RAW_EP): Likewise.
7669 (FP_PACK_RAW_E): Likewise.
7670 (FP_PACK_RAW_EP): Likewise.
7671 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7672 (_FP_ISSIGNAN): Likewise.
7673 (_FP_ADD_INTERNAL): Likewise.
7674 (_FP_FMA): Likewise.
7675 (_FP_CMP): Likewise.
7676 (_FP_SQRT): Likewise.
7677 (_FP_TO_INT): Likewise.
7678 (_FP_FROM_INT): Likewise.
7679 (FP_EXTEND): Likewise.
7680 (_FP_DIV_MEAT_N_loop): Likewise.
7682 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7684 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7687 2014-06-29 Joseph Myers <joseph@codesourcery.com>
7690 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7691 result with correct sign in case of exponents that produce
7692 overflow except for X very close to 1.
7694 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7696 mktime: merge #if/#ifdef usage from glibc
7697 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7698 as that works with both Glibc's and Gnulib's style.
7699 See thread starting at Siddhesh Poyarekar's bug report at:
7700 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7702 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7704 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7705 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7706 * sysdeps/tile/tilegx/memmove.c: Remove file.
7708 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7710 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7711 abi-name definition.
7712 * scripts/soversions.awk: Do not handle or generate ABI lines.
7713 * shlib-versions: Remove ABI entries.
7714 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7715 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7717 2014-06-27 Roland McGrath <roland@hack.frob.com>
7719 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7720 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7721 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7722 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7723 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7724 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7725 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7727 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7729 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7730 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7731 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7732 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7733 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7734 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7735 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7736 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7737 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7738 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7739 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7740 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7741 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7743 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7744 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7745 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7746 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7747 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7748 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7750 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7751 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7753 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7754 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7755 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7756 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7758 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7759 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7760 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7761 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7762 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7763 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7764 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7765 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7767 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7768 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7769 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7770 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7772 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7773 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7775 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7776 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7777 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7778 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7780 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7782 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7783 Identical file removed.
7784 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7786 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7787 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7788 Identical file removed.
7789 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7790 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7791 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7793 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7794 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7795 Identical file removed.
7796 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7797 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7798 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7799 Identical file removed.
7800 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7801 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7802 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7803 Identical file removed.
7804 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7805 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7806 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7807 Identical file removed.
7808 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7810 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7811 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7812 Identical file removed.
7813 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7815 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7816 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7817 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7818 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7819 Identical file removed.
7820 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7822 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7824 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7825 Identical file removed.
7826 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7828 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7829 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7830 Identical file removed.
7831 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7833 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7834 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7835 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7836 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7837 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7838 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7840 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7841 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7842 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7844 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7845 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7846 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7847 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7848 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7850 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
7853 * nscd/nscd.c (monitor_child): Return exit status of child
7854 instead of return value from wait syscall.
7856 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7858 * configure.ac (libc_commonpagesize): Remove variable.
7859 (libc_relro_required): Likewise.
7860 (libc_cv_z_relro): Remove configure test.
7861 * configure: Regenerated.
7862 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7864 (libc_relro_required): Likewise.
7865 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7866 (libc_relro_required): Likewise.
7867 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7868 (libc_relro_required): Likewise.
7869 * sysdeps/arm/preconfigure: Regenerated.
7870 * sysdeps/ia64/preconfigure: Remove file.
7871 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7873 (libc_relro_required): Likewise.
7877 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7878 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7879 recompute overflowing results in original rounding mode.
7880 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7881 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7882 recompute overflowing results in original rounding mode.
7883 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7884 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7885 recompute overflowing results in original rounding mode.
7886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7887 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7888 recompute overflowing results in original rounding mode.
7889 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7890 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7891 recompute overflowing results in original rounding mode.
7892 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7893 (libc_feholdsetround_ctx): New macro.
7894 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7895 * sysdeps/i386/fpu/libm-test-ulps: Update.
7896 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7898 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7900 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7901 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7902 corresponding .cpsetup call.
7904 2014-06-26 Roland McGrath <roland@hack.frob.com>
7906 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7907 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7908 * sysdeps/arm/Makefile [$(subdir) = csu]
7909 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7910 (static-only-routines): Add aeabi_read_tp here.
7911 (shared-only-routines): Add libc-aeabi_read_tp here.
7912 (CFLAGS-libc-start.c): Add -fexceptions here.
7913 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7914 (sysdep_routines, static-only-routines, shared-only-routines):
7915 Don't add to these here.
7916 (CFLAGS-libc-start.c): Likewise.
7918 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7919 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7920 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7921 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7922 * sysdeps/arm/Makefile [$(subdir) = rt]
7923 (librt-sysdep_routines, librt-shared-only-routines):
7924 Append rt-aeabi_unwind_cpp_pr1 here.
7925 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7926 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7927 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7928 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7929 Append nptl-aeabi_unwind_cpp_pr1 here.
7930 (tests): Filter out tst-cleanupx4 here.
7931 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7932 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7933 Don't do those here.
7935 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7937 * scripts/list-sources.sh: Do not handle ports specially.
7939 2014-06-26 Roland McGrath <roland@hack.frob.com>
7941 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7942 * sysdeps/arm/feupdateenv.c: Likewise.
7944 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7946 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7948 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7949 trailing whitespace removed.
7950 * scripts/config.guess: Update to version 2014-03-23.
7951 * scripts/config.sub: Update to version 2014-05-01
7952 * scripts/install-sh: Update to version 2013-12-25.23.
7953 * scripts/move-if-change: Update from gnulib.
7955 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7957 * debug/memmove_chk.c: Remove pagecopy.h include.
7959 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7961 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7962 identical to gnulib mktime.
7964 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7966 * configure.ac: Do not test for machine being rs6000. Do not test
7968 * configure: Regenerated.
7970 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7972 * configure: Regenerated.
7973 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7974 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7975 Remove configure test.
7976 * sysdeps/arm/configure: Regenerated.
7977 * sysdeps/nptl/configure.ac: Do not check
7978 libc_cv_asm_cfi_directives.
7979 * sysdeps/nptl/configure: Regenerated.
7980 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7981 * sysdeps/x86_64/nptl/configure: Remove generated file.
7982 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7984 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7986 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7988 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7989 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7990 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7993 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7994 instead of whether it is defined.
7995 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7996 * sysdeps/hppa/dl-machine.h: Likewise.
7997 * sysdeps/ia64/dl-machine.h: Likewise.
7998 * sysdeps/m68k/dl-machine.h: Likewise.
7999 * sysdeps/microblaze/dl-machine.h: Likewise.
8000 * sysdeps/mips/dl-machine.: Likewise.
8001 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8002 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8003 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8004 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8005 * sysdeps/sh/dl-machine.h: Likewise.
8006 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8007 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8008 * sysdeps/tile/dl-machine.h: Likewise.
8009 * sysdeps/x86_64/dl-machine.h: Likewise.
8011 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8013 (verify_persistent_db): Likewise.
8015 2014-06-26 Roland McGrath <roland@hack.frob.com>
8017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8018 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8020 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8023 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8026 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8028 Identical file removed.
8029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8030 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8032 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8034 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8036 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8038 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8041 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8043 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8045 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8048 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8050 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8052 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8054 Identical file removed.
8055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8056 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8058 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8061 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8064 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8066 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8068 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8070 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8072 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8075 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8078 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8080 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8083 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8085 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8087 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8089 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8090 * sysdeps/unix/sysv/linux/s390/Versions
8091 (libpthread: GLIBC_2.19): New version set.
8092 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8093 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8094 (librt: GLIBC_2.3.3): New version set.
8095 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8096 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8097 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8098 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8099 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8100 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8101 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8102 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8103 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8104 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8105 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8106 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8107 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8108 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8109 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8110 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8111 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8112 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8113 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8114 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8115 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8116 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8117 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8118 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8119 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8120 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8121 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8122 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8123 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8124 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8125 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8126 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8127 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8128 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8129 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8130 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8131 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8132 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8133 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8134 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8135 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8136 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8137 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8138 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8139 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8141 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8142 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8143 (__libc_vfork): Define the function under this name.
8144 [!NOT_IN_libc] (__vfork): Make this an alias.
8145 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8146 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8147 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8148 (__libc_vfork): Define the function under this name.
8149 [!NOT_IN_libc] (__vfork): Make this an alias.
8150 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8151 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8152 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8153 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8154 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8155 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8157 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8158 code that was previously under [RESET_PID].
8159 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8160 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8161 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8163 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8164 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8165 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8166 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8167 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8168 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8169 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8170 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8171 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8172 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8173 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8175 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8176 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8177 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8178 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8179 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8180 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8181 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8182 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8183 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8184 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8185 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8186 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8187 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8188 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8189 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8190 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8191 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8192 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8193 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8194 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8195 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8196 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8197 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8198 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8199 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8200 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8201 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8202 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8203 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8205 2014-06-25 Roland McGrath <roland@hack.frob.com>
8207 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8208 that was previously under [RESET_PID].
8209 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8211 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8213 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8214 not undefine and redefine.
8215 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8216 [O_CLOEXEC]: Make code unconditional.
8217 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8218 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8219 <kernel-features.h>.
8220 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8221 conditional variable definition.
8222 (shm_open) [O_CLOEXEC]: Make code unconditional.
8223 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8226 * configure.ac (USE_REGPARMS): Don't define here.
8227 * configure: Regenerated.
8228 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8229 * sysdeps/i386/configure: Regenerated.
8231 * nptl/createthread.c: Don't include kernel-features.h.
8232 * nptl/pthread_cancel.c: Likewise.
8233 * nptl/pthread_condattr_setclock.c: Likewise.
8234 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8235 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8236 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8237 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8238 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8239 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8240 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8241 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8242 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8243 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8244 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8245 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8246 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8247 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8248 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8249 * nscd/gai.c: Likewise.
8250 * nss/nss_db/db-open.c: Likewise.
8251 * sysdeps/generic/ldsodefs.h: Likewise.
8252 * sysdeps/sh/nptl/tls.h: Likewise.
8253 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8254 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8255 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8256 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8257 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8258 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8259 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8260 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8261 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8262 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8263 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8264 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8265 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8266 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8267 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8268 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8269 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8270 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8271 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8272 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8273 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8274 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8275 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8276 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8277 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8278 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8279 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8280 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8281 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8282 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8283 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8284 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8285 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8286 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8287 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8288 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8289 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8290 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8291 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8292 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8293 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8294 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8295 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8296 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8297 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8298 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8299 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8300 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8301 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8302 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8303 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8304 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8305 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8306 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8307 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8308 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8309 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8310 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8333 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8334 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8335 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8336 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8337 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8338 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8339 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8340 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8341 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8342 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8343 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8344 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8345 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8346 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8347 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8348 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8349 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8350 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8351 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8352 * sysdeps/unix/sysv/linux/system.c: Likewise.
8353 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8354 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8355 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8356 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8357 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8358 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8359 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8361 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8362 * configure: Regenerated.
8363 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8365 * configure.ac (base_machine): Do not set specially for particular
8367 * configure: Regenerated.
8368 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8369 settings from configure.ac.
8370 * sysdeps/i386/preconfigure: New file.
8371 * sysdeps/s390/preconfigure: Likewise.
8372 * sysdeps/sh/preconfigure: Likewise.
8373 * sysdeps/sparc/preconfigure: Likewise.
8375 2014-06-25 Roland McGrath <roland@hack.frob.com>
8377 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8378 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8379 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8380 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8381 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8382 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8383 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8384 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8385 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8386 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8387 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8388 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8389 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8390 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8391 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8392 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8393 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8394 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8395 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8397 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8398 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8399 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8400 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8401 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8402 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8403 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8404 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8405 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8406 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8407 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8408 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8409 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8410 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8411 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8412 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8413 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8414 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8415 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8416 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8417 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8418 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8419 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8420 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8421 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8422 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8423 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8424 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8425 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8426 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8427 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8428 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8429 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8430 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8431 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8432 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8433 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8434 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8437 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8439 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8442 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8445 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8447 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8450 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8452 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8454 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8456 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8459 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8462 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8464 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8467 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8469 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8471 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8473 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8475 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8478 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8481 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8483 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8486 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8488 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8490 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8492 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8495 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8498 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8500 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8503 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8505 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8507 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8509 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8511 * timezone/checktab.awk: Update from tzcode 2014e.
8512 * timezone/private.h: Likewise.
8513 * timezone/tzfile.h: Likewise.
8514 * timezone/zdump.c: Likewise.
8515 * timezone/zic.c: Likewise.
8517 * sysdeps/unix/sysv/linux/kernel-features.h
8518 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8519 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8520 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8521 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8522 Remove conditional code.
8524 2014-06-25 Will Newton <will.newton@linaro.org>
8526 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8527 (_dl_arm_cap_flags): Add HWCAP2 values.
8528 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8529 (_DL_HWCAP_COUNT): Increase to 37.
8530 (_DL_HWCAP_LAST): New define.
8531 (_DL_HWCAP2_LAST): New define.
8532 (_dl_procinfo): Add support for printing
8534 (_dl_string_hwcap): Use _dl_hwcap_string.
8536 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8540 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8542 * README: Do not mention ports directory.
8544 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8546 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8547 <kernel-features.h>.
8548 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8549 conditional variable definition.
8550 (__futimes): Update comment.
8551 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8552 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8555 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8556 arguments close to 0.
8557 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8559 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8561 * math/auto-libm-test-in: Add more tests of exp10.
8562 * math/auto-libm-test-out: Regenerated.
8563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8565 * sysdeps/unix/sysv/linux/kernel-features.h
8566 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8567 * sysdeps/unix/sysv/linux/readv.c: Do not include
8568 <kernel-features.h>.
8569 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8570 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8571 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8573 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8575 * sysdeps/unix/sysv/linux/writev.c: Do not include
8576 <kernel-features.h>.
8577 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8578 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8579 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8581 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8584 2014-06-25 Will Newton <will.newton@linaro.org>
8586 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8587 comment changes throughout the file. Remove checks
8588 for HAVE_*_H definitions that are not required.
8589 (__gen_tempname): Call abort if an unknown kind value is
8592 2014-06-25 Andreas Schwab <schwab@suse.de>
8595 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8596 scalbln, scalblnf, scalblnl in libc.
8598 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8601 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8602 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8603 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8605 2014-06-24 Roland McGrath <roland@hack.frob.com>
8607 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8608 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8609 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8610 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8612 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8613 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8615 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8616 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8617 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8618 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8619 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8620 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8621 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8622 * sysdeps/x86/bits/semaphore.h: ... here.
8623 * sysdeps/x86/nptl/elide.h: Moved ...
8624 * sysdeps/x86/elide.h: ... here.
8625 * sysdeps/x86_64/nptl/Implies: File removed.
8626 * sysdeps/i386/nptl/Implies: File removed.
8628 2014-06-24 Joseph Myers <joseph@codesourcery.com>
8631 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8632 return the argument for normal arguments with exponent below -64.
8633 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8635 * math/auto-libm-test-in: Add another test of expm1.
8636 * math/auto-libm-test-out: Regenerated.
8639 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8640 calling __erfcl for arguments at least 16.
8641 * math/auto-libm-test-in: Add more tests of erf.
8642 * math/auto-libm-test-out: Regenerated.
8644 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8645 individual architectures.
8646 * sysdeps/unix/sysv/linux/configure: Regenerated.
8647 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8648 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8649 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8650 (ldd_rewrite_script): Define variable.
8651 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8656 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8657 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8658 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8659 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8660 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8661 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8662 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8663 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8665 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8668 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8669 Rename member __data.d to __data.__elision_data.
8671 2014-06-24 Wilco <wdijkstr@arm.com>
8673 * NEWS: Add 16918 to fixed bug list.
8675 2014-06-24 Wilco <wdijkstr@arm.com>
8677 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8679 2014-06-24 Wilco <wdijkstr@arm.com>
8681 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8682 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8683 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8684 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8685 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8686 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8687 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8690 2014-06-24 Wilco <wdijkstr@arm.com>
8692 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8694 2014-06-24 Wilco <wdijkstr@arm.com>
8696 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8697 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8698 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8699 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8701 2014-06-24 Wilco <wdijkstr@arm.com>
8704 * sysdeps/arm/feupdateenv.c (feupdateenv):
8705 Rewrite to reduce FPSCR accesses and fix return value.
8707 2014-06-24 Wilco <wdijkstr@arm.com>
8709 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8710 Optimize to avoid unnecessary FPSCR writes.
8711 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8712 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8713 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8714 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8716 2014-06-24 Wilco <wdijkstr@arm.com>
8718 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8719 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8720 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8721 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8722 Call libc_fetestexcept_vfp.
8723 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8724 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8725 __SOFTFP__ ifdef so that they can be built for softfp.
8727 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8729 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8730 argument type signed char.
8732 * Makerules (check-abi): Dump diff of symlist if the test
8735 2014-06-23 Roland McGrath <roland@hack.frob.com>
8737 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8740 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8741 Remove unused variable ST.
8743 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8747 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8748 small arguments before calling __expm1.
8749 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8750 small arguments before calling __expm1f.
8751 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8752 small arguments before calling __expm1l.
8753 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8755 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8756 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8757 spurious underflow for some cosh tests.
8758 * math/auto-libm-test-out: Regenerated.
8759 * sysdeps/i386/fpu/libm-test-ulps: Update.
8762 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8763 (__ieee754_y1): Set errno if return value overflows.
8764 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8765 (__ieee754_y1f): Set errno if return value overflows.
8766 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8767 (__ieee754_y1l): Set errno if return value overflows.
8768 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8769 (__ieee754_y1l): Set errno if return value overflows.
8770 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8771 * math/auto-libm-test-out: Regenerated.
8773 * math/gen-auto-libm-tests.c: Document use of
8774 ignore-zero-inf-sign.
8775 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8776 (input_flags): Add ignore-zero-inf-sign.
8777 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8778 * math/gen-libm-test.pl (generate_testfile): Handle
8779 ignore-zero-inf-sign.
8780 * math/auto-libm-test-in: Mark some cpow tests with
8781 ignore-zero-inf-sign and some with xfail-rounding.
8782 * math/auto-libm-test-out: Regenerated.
8783 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8784 * sysdeps/i386/fpu/libm-test-ulps: Update.
8785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8788 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8789 overflowing or underflowing operations take place with sign of
8791 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8792 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8793 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8794 (__ieee754_pow): Recompute overflowing and underflowing results in
8795 original rounding mode.
8796 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8797 (__powl_helper): Allow negative argument X and scale negated value
8798 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8799 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8800 overflowing or underflowing operations take place with sign of
8802 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8804 * math/auto-libm-test-in: Add more tests of pow.
8805 * math/auto-libm-test-out: Regenerated.
8806 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8807 (pow_tonearest_test_data): Remove.
8808 (pow_test_tonearest): Likewise.
8809 (pow_towardzero_test_data): Likewise.
8810 (pow_test_towardzero): Likewise.
8811 (pow_downward_test_data): Likewise.
8812 (pow_test_downward): Likewise.
8813 (pow_upward_test_data): Likewise.
8814 (pow_test_upward): Likewise.
8815 (main): Don't call removed functions.
8816 * sysdeps/i386/fpu/libm-test-ulps: Update.
8817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8819 2014-06-23 Roland McGrath <roland@hack.frob.com>
8821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8995 2014-06-23 Will Newton <will.newton@linaro.org>
8996 Wilco <wdijkstr@arm.com>
8998 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8999 implementation. Include get-rounding-mode.h.
9000 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9001 [!libc_feholdsetround_noex_ctx]: Define
9002 libc_feholdsetround_noex_ctx.
9003 [!libc_feholdsetround_noexf_ctx]: Define
9004 libc_feholdsetround_noexf_ctx.
9005 [!libc_feholdsetround_noexl_ctx]: Define
9006 libc_feholdsetround_noexl_ctx.
9007 (libc_feholdsetround_ctx): New function.
9008 (libc_feresetround_ctx): New function.
9009 (libc_feholdsetround_noex_ctx): New function.
9010 (libc_feresetround_noex_ctx): New function.
9012 2014-06-23 Roland McGrath <roland@hack.frob.com>
9014 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9015 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9016 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9017 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9018 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9019 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9021 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9022 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9023 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9024 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9025 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9026 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9027 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9028 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9029 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9030 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9031 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9033 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9035 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9036 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9037 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9038 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9039 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9041 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9042 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9043 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9044 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9045 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9046 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9047 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9048 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9050 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9051 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9053 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9054 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9055 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9056 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9058 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9059 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9060 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9061 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9062 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9063 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9064 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9065 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9066 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9067 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9069 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9071 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9072 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9073 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9074 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9075 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9076 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9077 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9078 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9079 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9080 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9081 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9082 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9083 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9085 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9086 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9087 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9088 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9089 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9090 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9092 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9093 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9094 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9095 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9096 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9098 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9099 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9100 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9101 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9102 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9103 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9104 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9105 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9106 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9107 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9108 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9109 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9110 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9111 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9112 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9113 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9114 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9115 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9116 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9117 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9118 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9119 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9120 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9121 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9122 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9123 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9124 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9125 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9127 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9129 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9130 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9131 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9132 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9133 (IPV6_PMTUDISC_INTERFACE): Likewise.
9134 (IPV6_PMTUDISC_OMIT): Likewise.
9136 2014-06-23 Andreas Schwab <schwab@suse.de>
9138 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9139 Remove unused errout label.
9141 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9143 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9144 macro: hardware supports Vector Crypto instructions.
9146 2014-06-23 Will Newton <will.newton@linaro.org>
9148 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9149 rather than __builtin_expect.
9151 * elf/dl-lookup.c (undefined_msg): Remove variable.
9152 (_dl_lookup_symbol_x): Replace undefined_msg with string
9155 * elf/dl-lookup.c (do_lookup_unique): New function.
9156 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9157 to a separate function.
9159 2014-06-23 Andreas Schwab <schwab@suse.de>
9162 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9163 before reading the next line.
9165 2014-06-23 Will Newton <will.newton@linaro.org>
9167 * test-skeleton.c (signal_handler): Use printf and %m
9168 rather than perror. Use printf rather than fprintf to
9169 stderr. Use puts rather than fputs to stderr.
9172 2014-06-22 Ludovic Courtès <ludo@gnu.org>
9174 * nscd/nscd.c (thread_info_t): Remove typedef.
9175 (thread_info): Remove variable.
9177 2014-06-21 Allan McRae <allan@archlinux.org>
9179 * NEWS: Mention CVE-2014-4043.
9181 2014-06-20 Roland McGrath <roland@hack.frob.com>
9183 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9184 * nptl/smp.h: ... here.
9186 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9188 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9189 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9190 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9191 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9193 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9194 * nptl/stack-aliasing.h: New file.
9195 * sysdeps/i386/i686/stack-aliasing.h: New file.
9196 * sysdeps/i386/i686/nptl/Makefile: File removed.
9197 * sysdeps/x86_64/stack-aliasing.h: New file.
9198 * sysdeps/x86_64/nptl/Makefile
9199 (CFLAGS-pthread_create.c): Variable removed.
9201 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9202 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9204 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9205 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9208 2014-06-21 Joseph Myers <joseph@codesourcery.com>
9210 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9211 (__ASSUME_SIGFRAME_V2): Remove macro.
9212 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9213 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9214 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9215 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9216 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9217 Declare as function. Remove conditional macro definitions.
9218 (__default_rt_sa_restorer): Likewise.
9219 (__default_sa_restorer_v1): Remove declaration.
9220 (__default_sa_restorer_v2): Likewise.
9221 (__default_rt_sa_restorer_v1): Likewise.
9222 (__default_rt_sa_restorer_v2): Likewise.
9223 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9224 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9225 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9227 2014-06-20 Roland McGrath <roland@hack.frob.com>
9229 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9230 (libpthread-routines): Add sysdep.
9231 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9232 * sysdeps/unix/sysv/linux/sparc/Versions
9233 (libpthread: GLIBC_2.3.3): New version set.
9234 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9235 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9236 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9237 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9238 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9239 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9241 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9242 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9243 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9244 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9245 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9246 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9247 * sysdeps/sparc/nptl/sem_init.c: ... here.
9248 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9249 * sysdeps/sparc/nptl/sem_post.c: ... here.
9250 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9251 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9252 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9253 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9254 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9255 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9256 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9257 (libpthread-routines): Add cpu_relax.
9258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9260 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9261 (librt: GLIBC_2.3.3): New version set.
9262 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9263 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9264 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9265 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9267 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9268 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9271 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9272 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9273 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9274 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9275 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9277 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9279 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9280 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9282 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9284 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9286 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9288 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9290 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9292 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9294 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9296 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9298 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9300 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9302 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9304 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9305 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9306 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9307 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9308 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9310 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9311 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9312 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9313 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9314 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9316 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9317 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9318 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9319 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9320 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9322 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9324 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9325 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9326 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9327 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9328 * nscd/nscd.c: Likewise.
9329 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9330 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9331 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9332 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9334 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9335 <kernel-features.h>.
9336 (init_mq_netlink): Remove conditional have_sock_cloexec
9337 definitions. Remove code conditional on have_sock_cloexec < 0.
9338 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9339 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9340 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9341 <kernel-features.h>.
9342 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9343 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9345 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9347 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9348 Add tests for memset_chk and memset.
9350 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9353 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9356 * elf/tst-dl-iter-static.c: New file.
9357 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9359 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9362 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9364 * sysdeps/unix/sysv/linux/kernel-features.h
9365 (__ASSUME_F_GETOWN_EX): Remove macro.
9366 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9367 <kernel-features.h>.
9368 (miss_F_GETOWN_EX): Remove variable or macro.
9369 (do_fcntl): Do not check miss_F_GETOWN_EX.
9370 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9372 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9374 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9375 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9376 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9378 * sysdeps/unix/sysv/linux/kernel-features.h
9379 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9380 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9381 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9382 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9384 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9387 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9388 Fix calculation of the symbol's value.
9389 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9390 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9391 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9392 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9393 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9394 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9395 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9396 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9397 (modules-names): Add `tst-armtlsdescmod',
9398 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9399 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9400 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9401 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9402 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9403 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9404 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9405 ($(objpfx)tst-armtlsdescloc): New dependency.
9406 ($(objpfx)tst-armtlsdescextnow): Likewise.
9407 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9408 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9410 * sysdeps/arm/configure: Regenerate.
9412 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9414 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9415 (__atfct_seterrno_2): Likewise.
9416 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9417 <kernel-features.h>.
9418 (__ASSUME_ATFCTS): Do not undefine and redefine.
9419 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9420 (__have_atfcts): Remove conditional definition.
9421 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9422 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9423 unreachable if [__ASSUME_ATFCTS].
9424 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9425 not undefine and redefine.
9426 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9427 <kernel-features.h>.
9428 (faccessat) [__NR_faccessat]: Make code unconditional.
9429 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9430 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9431 <kernel-features.h>.
9432 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9433 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9434 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9435 <kernel-features.h>.
9436 (fchownat) [__NR_fchownat]: Make code unconditional.
9437 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9438 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9439 <kernel-features.h>.
9440 (futimesat) [__NR_futimesat]: Make code unconditional.
9441 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9442 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9443 <kernel-features.h>.
9444 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9445 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9446 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9447 <kernel-features.h>.
9448 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9449 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9450 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9451 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9452 <kernel-features.h>.
9453 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9454 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9455 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9456 <kernel-features.h>.
9457 (linkat) [__NR_linkat]: Make code unconditional.
9458 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9459 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9460 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9461 <kernel-features.h>.
9462 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9463 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9464 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9465 <kernel-features.h>.
9466 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9467 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9468 * sysdeps/unix/sysv/linux/openat.c: Do not include
9469 <kernel-features.h>.
9470 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9471 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9472 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9473 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9474 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9475 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9476 <kernel-features.h>.
9477 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9478 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9479 result of INLINE_SYSCALL directly, not via int variable.
9480 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9481 <kernel-features.h>.
9482 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9483 (renameat) [__NR_renameat]: Make code unconditional.
9484 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9485 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9486 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9487 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9488 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9489 (__ASSUME_ATFCTS): Do not undefine and redefine.
9490 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9491 <kernel-features.h>.
9492 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9493 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9494 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9495 <kernel-features.h>.
9496 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9497 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9498 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9499 (__ASSUME_ATFCTS): Do not undefine and redefine.
9500 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9501 <kernel-features.h>.
9502 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9503 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9504 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9505 <kernel-features.h>.
9506 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9507 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9509 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9511 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9513 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9516 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9517 constructed tree before returning error.
9518 * posix/bug-regexp36.c: Expand test case.
9520 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9523 * math/libm-test.inc (scalbln_test_date):
9524 Add errno expectations.
9525 * math/w_scalblnf.c: New File.
9526 Add wrapper which checks for setting errno to ERANGE.
9527 Add weak_alias for corresponding scalbln function.
9528 * math/w_scalbln.c: Likewise.
9529 * math/w_scalblnl.c: Likewise.
9530 * math/Makefile (libm-calls): Add w_scalbln.
9531 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9532 Remove weak_alias for corresponding scalbln function.
9533 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9534 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9535 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9537 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9538 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9539 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9540 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9541 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9542 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9543 Remove long_double_symbol for scalblnl function in libm, libc.
9544 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9545 Add wrapper which checks for setting errno to ERANGE.
9546 Add long_double_symbol for scalblnl function in libm, libc.
9547 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9548 Remove long_double_symbol for scalblnl in libm.
9549 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9550 Add wrapper which checks for setting errno to ERANGE.
9551 Add long_double_symbol for scalblnl function in libm.
9552 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9553 Do not use wrapper because of own implementation.
9555 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9557 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9558 3 bytes for __pad1 for x32.
9559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9561 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9562 H.J. Lu <hongjiu.lu@intel.com>
9564 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9565 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9566 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9567 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9568 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9570 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9573 * posix/regcomp.c (parse_expression): Deallocate partially
9574 constructed tree before returning error.
9575 * posix/Makefile.c (tests): Add bug-regex36.
9576 (generated): Add bug-regex36.mtrace.
9577 (tests-special): Add $(objpfx)bug-regex36-mem.out
9578 (bug-regex36-ENV): New variable.
9579 ($(objpfx)bug-regex36-mem.out): New rule.
9580 * posix/bug-regex36.c: New file.
9582 2014-06-19 Will Newton <will.newton@linaro.org>
9584 * malloc/malloc.c (systrim): If extra is zero then return
9587 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9589 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9591 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
9593 * sysdeps/aarch64/strchr.S: New file.
9595 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9598 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9599 from arguments -2 or below.
9600 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9601 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9603 2014-06-18 Andreas Schwab <schwab@suse.de>
9606 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9607 of a bracket expr not to run off the end of the string.
9608 * posix/Makefile (tests): Add tst-fnmatch3.
9609 * posix/tst-fnmatch3.c: New file.
9611 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9613 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9614 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9615 [$(cross-compiling) = no]: Likewise.
9616 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9617 [$(cross-compiling) = no]: Likewise.
9619 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9622 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9623 double, adjusted for any remainder from the high double.
9624 * math/libm-test.inc (nearbyint): Add tests.
9627 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9629 * nptl/sysdeps/powerpc/Makefile: Moved ...
9630 * sysdeps/powerpc/nptl/Makefile: ... here.
9631 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9632 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9633 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9634 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9635 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9636 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9637 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9638 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9639 * nptl/sysdeps/powerpc/tls.h: Moved ...
9640 * sysdeps/powerpc/nptl/tls.h: ... here.
9642 2014-06-16 Joseph Myers <joseph@codesourcery.com>
9645 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9646 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9647 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9648 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9649 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9650 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9651 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9652 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9653 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9655 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9657 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9659 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9661 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9664 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9667 2014-06-16 Florian Weimer <fweimer@redhat.com>
9670 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9671 non-executed part of the test.
9673 2014-06-16 Andreas Schwab <schwab@suse.de>
9675 * string/bits/string2.h (strdup, strndup): Update feature guard.
9677 2014-06-14 David S. Miller <davem@davemloft.net>
9679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9681 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9683 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9684 that was previously under [RESET_PID].
9685 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9687 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9688 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9689 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9690 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9691 (__libc_vfork): New strong alias.
9692 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9694 2014-06-14 Andi Kleen <ak@linux.intel.com>
9696 * sysdeps/generic/elide.h: New file.
9698 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9700 * Makefile (installed-headers): Adjust path of pthread.h header.
9702 2014-06-13 Roland McGrath <roland@hack.frob.com>
9704 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9705 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9706 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9707 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9709 * nptl/sysdeps/s390/Makefile: Moved ...
9710 * sysdeps/s390/nptl/Makefile: ... here.
9711 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9712 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9713 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9714 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9715 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9716 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9717 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9718 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9719 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9720 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9721 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9722 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9723 * nptl/sysdeps/s390/tls.h: Moved ...
9724 * sysdeps/s390/nptl/tls.h: ... here.
9726 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9727 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9729 2014-06-13 David S. Miller <davem@davemloft.net>
9731 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9734 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9735 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9737 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9738 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9739 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9740 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9741 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9742 Remove RESET_PID cpp guards.
9743 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9744 Remove RESET_PID cpp guards.
9745 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9747 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9749 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9752 2014-06-13 Andi Kleen <ak@linux.intel.com>
9754 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9755 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9756 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9757 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9758 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9759 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9760 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9761 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9762 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9763 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9764 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9765 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9766 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9767 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9768 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9769 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9770 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9771 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9772 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9773 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9775 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9776 (pthread_rwlock_rdlock): Add elision.
9777 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9778 (pthread_rwlock_wrlock): Add elision.
9779 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9780 (pthread_rwlock_trywrlock): Add elision.
9781 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9782 (pthread_rwlock_tryrdlock): Add elision.
9783 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9784 (pthread_rwlock_tryrdlock): Add elision unlock.
9785 * nptl/sysdeps/pthread/pthread.h:
9786 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9787 (PTHREAD_RWLOCK_INITIALIZER,
9788 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9789 Handle new elision field.
9790 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9791 * sysdeps/arm/nptl/bits/pthreadtypes.h
9792 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9793 * sysdeps/sh/nptl/bits/pthreadtypes.h
9794 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9795 * sysdeps/tile/nptl/bits/pthreadtypes.h
9796 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9797 * sysdeps/a/nptl/bits/pthreadtypes.h
9798 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9799 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9800 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9801 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9802 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9803 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9804 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9805 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9806 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9807 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9808 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9809 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9810 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9811 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9812 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9813 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9814 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9815 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9816 (elision_init): Set try_xbegin to zero when no RTM.
9817 * sysdeps/x86/nptl/bits/pthreadtypes.h
9818 (pthread_rwlock_t): Change __pad1 to __rwelision.
9819 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9821 2014-06-13 Andi Kleen <ak@linux.intel.com>
9823 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9824 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9825 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9826 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9828 2014-06-13 Meador Inge <meadori@codesourcery.com>
9831 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9832 that the cached result has been set before returning it.
9834 2014-06-12 Roland McGrath <roland@hack.frob.com>
9836 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9837 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9838 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9839 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9840 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9841 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9843 * nptl/sysdeps/sparc/Makefile: Moved ...
9844 * sysdeps/sparc/nptl/Makefile: ... here.
9845 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9846 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9847 * nptl/sysdeps/sparc/tls.h: Moved ...
9848 * sysdeps/sparc/nptl/tls.h: ... here.
9849 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9850 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9851 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9852 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9853 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9854 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9855 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9856 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9857 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9858 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9859 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9860 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9861 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9862 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9863 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9864 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9865 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9866 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9868 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9869 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9871 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9872 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9874 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9875 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9878 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9880 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9881 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9883 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9884 (struct list_links): Type removed.
9885 (struct thread_node, struct timer_node): Replace struct list_links
9886 with struct list_head.
9887 (list_unlink_ip): Likewise.
9888 * sysdeps/pthread/timer_routines.c
9889 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9890 (list_append, list_insbefore): Likewise.
9891 (list_init): Function removed.
9892 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9893 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9894 * sysdeps/pthread/Makefile: ... here, new file.
9896 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9897 * sysdeps/nptl/Implies: ... here.
9898 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9899 * nptl/sysdeps/pthread/list.h: Moved ...
9900 * include/list.h: ... here.
9901 * nptl/sysdeps/pthread/createthread.c: Moved ...
9902 * nptl/createthread.c: ... here.
9903 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9904 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9905 * nptl/pt-longjmp.c: ... here.
9906 * nptl/sysdeps/pthread/Makefile: Moved ...
9907 * sysdeps/nptl/Makefile: ... here.
9908 * nptl/sysdeps/pthread/Subdirs: Moved ...
9909 * sysdeps/nptl/Subdirs: ... here.
9910 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9911 * sysdeps/nptl/aio_misc.h: ... here.
9912 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9913 * sysdeps/nptl/bits/libc-lock.h: ... here.
9914 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9915 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9916 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9917 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9918 * nptl/sysdeps/pthread/configure: Moved ...
9919 * sysdeps/nptl/configure: ... here.
9920 * nptl/sysdeps/pthread/configure.ac: Moved ...
9921 * sysdeps/nptl/configure.ac: ... here.
9922 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9923 * sysdeps/nptl/gai_misc.h: ... here.
9924 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9925 * sysdeps/nptl/librt-cancellation.c: ... here.
9926 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9927 * sysdeps/nptl/malloc-machine.h: ... here.
9928 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9929 * sysdeps/nptl/pthread-functions.h: ... here.
9930 * nptl/sysdeps/pthread/pthread.h: Moved ...
9931 * sysdeps/nptl/pthread.h: ... here.
9932 * nptl/sysdeps/pthread/setxid.h: Moved ...
9933 * sysdeps/nptl/setxid.h: ... here.
9934 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9935 * sysdeps/nptl/sigfillset.c: ... here.
9936 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9937 * sysdeps/nptl/tcb-offsets.h: ... here.
9938 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9939 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9940 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9941 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9942 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9943 * sysdeps/pthread/allocalim.h: ... here.
9944 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9945 * sysdeps/pthread/bits/sigthread.h: ... here.
9946 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9947 * sysdeps/pthread/flockfile.c: ... here.
9948 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9949 * sysdeps/pthread/ftrylockfile.c: ... here.
9950 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9951 * sysdeps/pthread/funlockfile.c: ... here.
9952 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9953 * sysdeps/pthread/posix-timer.h: ... here.
9954 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9955 * sysdeps/pthread/timer_create.c: ... here.
9956 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9957 * sysdeps/pthread/timer_delete.c: ... here.
9958 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9959 * sysdeps/pthread/timer_getoverr.c: ... here.
9960 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9961 * sysdeps/pthread/timer_gettime.c: ... here.
9962 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9963 * sysdeps/pthread/timer_routines.c: ... here.
9964 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9965 * sysdeps/pthread/timer_settime.c: ... here.
9966 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9967 * sysdeps/pthread/tst-timer.c: ... here.
9968 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9969 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9971 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9972 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9974 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9975 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9976 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9977 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9978 Update #include target.
9979 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9980 * sysdeps/i386/i686/nptl/Makefile: ... here.
9981 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9982 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9983 Update #include target.
9984 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9985 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9986 * nptl/sysdeps/i386/Makefile: Moved ...
9987 * sysdeps/i386/nptl/Makefile: ... here.
9988 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9989 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9990 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9991 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9992 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9993 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9994 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9995 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9996 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9997 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9998 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9999 * nptl/sysdeps/i386/tls.h: Moved ...
10000 * sysdeps/i386/nptl/tls.h: ... here.
10002 * sysdeps/sh/Makefile [$(subdir) = csu]
10003 (gen-as-const-headers): Add tcb-offsets.sym.
10004 * nptl/sysdeps/sh/Makefile: File removed.
10005 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10006 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10007 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10008 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10009 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10010 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10011 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10012 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10013 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10014 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10015 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10016 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10017 * nptl/sysdeps/sh/tls.h: Moved ...
10018 * sysdeps/sh/nptl/tls.h: ... here.
10019 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10020 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10021 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10022 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10023 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10024 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10025 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10026 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10027 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10028 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10029 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10030 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10031 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10032 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10033 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10034 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10035 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10036 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10037 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10038 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10039 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10040 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10041 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10042 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10043 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10045 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10046 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10048 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10049 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10050 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10051 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10052 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10053 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10054 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10055 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10056 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10057 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10058 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10059 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10060 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10061 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10062 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10063 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10064 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10065 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10066 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10068 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10070 * posix/spawn_faction_addopen.c: Include string.h.
10072 2014-06-11 Roland McGrath <roland@hack.frob.com>
10074 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10075 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10076 * nptl/sysdeps/x86_64/Makefile: Moved ...
10077 * sysdeps/x86_64/nptl/Makefile: ... here.
10078 * nptl/sysdeps/x86_64/configure: Moved ...
10079 * sysdeps/x86_64/nptl/configure: ... here.
10080 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10081 * sysdeps/x86_64/nptl/configure.ac: ... here.
10082 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10083 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10084 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10085 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10086 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10087 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10088 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10089 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10090 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10091 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10092 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10093 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10094 * nptl/sysdeps/x86_64/tls.h: Moved ...
10095 * sysdeps/x86_64/nptl/tls.h: ... here.
10096 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10097 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10098 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10099 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10101 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10103 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10107 2014-06-11 Joseph Myers <joseph@codesourcery.com>
10109 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10111 [POSIX] (off_t): Likewise.
10112 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10113 [POSIX] (S_ISBLK): Require macro.
10114 [POSIX] (S_ISCHR): Likewise.
10115 [POSIX] (S_ISDIR): Likewise.
10116 [POSIX] (S_ISFIFO): Likewise.
10117 [POSIX] (S_ISREG): Likewise.
10118 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10120 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10122 [POSIX] (time_t): Likewise.
10123 [POSIX] (timer_t): Likewise.
10125 2014-06-11 Florian Weimer <fweimer@redhat.com>
10128 * posix/spawn_int.h (struct __spawn_action): Make the path string
10129 non-const to support deallocation.
10130 * posix/spawn_faction_addopen.c
10131 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10132 * posix/spawn_faction_destroy.c
10133 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10134 path in all spawn_do_open actions.
10135 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10136 posix_spawn_file_actions_addopen.
10138 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10140 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10141 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10142 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10143 conditional code always true.
10144 (__libc_vfork): New alias.
10146 2014-06-11 Roland McGrath <roland@hack.frob.com>
10148 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10149 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10151 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10153 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10154 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10156 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10157 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10159 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10160 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10162 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10164 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10165 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10166 multiarch strcmp for PPC64.
10167 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10168 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10170 multiarch optimizations.
10171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10172 (__libc_ifunc_impl_list): Likewise.
10174 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10176 * benchtests/scripts/validate_benchout.py: New script.
10177 * benchtests/Makefile (bench-func): Call it.
10178 * benchtests/scripts/benchout.schema.json: New file.
10180 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10182 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10183 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10184 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10185 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10186 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10187 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10188 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10189 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10190 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10191 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10192 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10193 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10194 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10195 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10196 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10197 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10301 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10302 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10303 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10304 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10305 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10307 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10309 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10310 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10311 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10312 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10313 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10314 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10315 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10316 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10317 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10318 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10319 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10320 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10321 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10323 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10324 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10326 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10327 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10328 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10329 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10331 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10332 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10333 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10334 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10335 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10336 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10337 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10339 2014-06-10 Wilco <wdijkstr@arm.com>
10341 * math/test-fenv-return.c: New file.
10342 * math/Makefile: Add new test test-fenv-return.
10344 2014-06-10 Joseph Myers <joseph@codesourcery.com>
10347 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10348 when x - 1 is zero.
10349 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10350 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10351 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10352 0.0L for an argument of 1.0L.
10353 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10355 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10356 value when x - 1 is zero.
10357 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10358 * sysdeps/i386/fpu/libm-test-ulps: Update.
10359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10361 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10364 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10366 2014-06-09 Roland McGrath <roland@hack.frob.com>
10368 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10369 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10371 2014-06-09 Roland McGrath <roland@hack.frob.com>
10373 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10374 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10376 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10377 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10379 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10380 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10382 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10383 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10385 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10386 if not already defined.
10387 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10388 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10389 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10390 (TLS_INIT_TP): Use it.
10391 (TLS_DEFINE_INIT_TP): New macro.
10392 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10394 2014-06-09 Joseph Myers <joseph@codesourcery.com>
10396 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10398 [POSIX] (IXANY): Likewise.
10399 [POSIX] (OLCUC): Likewise.
10400 [POSIX || POSIX2008] (CBAUD): Do not allow.
10401 [POSIX || POSIX2008] (DEFECHO): Likewise.
10402 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10403 [POSIX || POSIX2008] (ECHOKE): Likewise.
10404 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10405 [POSIX || POSIX2008] (EXTA): Likewise.
10406 [POSIX || POSIX2008] (EXTB): Likewise.
10407 [POSIX || POSIX2008] (FLUSHO): Likewise.
10408 [POSIX || POSIX2008] (LOBLK): Likewise.
10409 [POSIX || POSIX2008] (PENDIN): Likewise.
10410 [POSIX || POSIX2008] (SWTCH): Likewise.
10411 [POSIX || POSIX2008] (VDISCARD): Likewise.
10412 [POSIX || POSIX2008] (VDSUSP): Likewise.
10413 [POSIX || POSIX2008] (VLNEXT): Likewise.
10414 [POSIX || POSIX2008] (VREPRINT): Likewise.
10415 [POSIX || POSIX2008] (VSTATUS): Likewise.
10416 [POSIX || POSIX2008] (VWERASE): Likewise.
10417 (B*): Change to B[0123456789]*.
10418 * conform/data/time.h-data [POSIX || UNIX98]
10419 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10420 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10421 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10422 [POSIX] (tm_*): Do not allow.
10424 2014-06-07 Joseph Myers <joseph@codesourcery.com>
10426 * Makefile (install): Don't set LANGUAGE.
10427 * Makefile.in (install): Likewise.
10428 * assert/Makefile (test-assert-ENV): Remove variable.
10429 (test-assert-perr-ENV): Likewise.
10430 * elf/Makefile (neededtest4-ENV): Likewise.
10431 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10432 [$(cross-compiling) = no]: Don't set LANGUAGE.
10433 * io/ftwtest-sh (LANG): Remove variable.
10434 * libio/Makefile (tst-widetext-ENV): Likewise.
10435 * manual/install.texi (Running make install): Don't refer to
10436 environment settings for make install.
10437 * INSTALL: Regenerated.
10438 * nptl/tst-tls6.sh: Don't set LANG.
10439 * posix/globtest.sh (LANG): Remove variable.
10440 * string/Makefile (tester-ENV): Likewise.
10441 (inl-tester-ENV): Likewise.
10442 (noinl-tester-ENV): Likewise.
10443 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10444 [$(cross-compiling) = no]: Don't set LANGUAGE.
10445 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10446 without explicit environment settings.
10448 2014-06-06 Roland McGrath <roland@hack.frob.com>
10450 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10451 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10452 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10453 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10455 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10457 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10458 other files in the crypt directory.
10459 * crypt/crypt.c: Remove duplicate includes.
10460 * crypt/crypt-entry.c: Likewise.
10461 * crypt/crypt_util.c: Likewise.
10463 2014-06-06 Joseph Myers <joseph@codesourcery.com>
10465 * Makeconfig (run-program-env): New variable.
10466 (run-program-prefix-before-env): Likewise.
10467 (run-program-prefix-after-env): Likewise.
10468 (run-program-prefix): Define in terms of new variables.
10469 (built-program-cmd-before-env): New variable.
10470 (built-program-cmd-after-env): Likewise.
10471 (built-program-cmd): Define in terms of new variables.
10472 (test-program-prefix-before-env): New variable.
10473 (test-program-prefix-after-env): Likewise.
10474 (test-program-prefix): Define in terms of new variables.
10475 (test-program-cmd-before-env): New variable.
10476 (test-program-cmd-after-env): Likewise.
10477 (test-program-cmd): Define in terms of new variables.
10478 * Rules (make-test-out): Use $(run-program-env).
10479 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10480 (help): Do not mention environment variables. Mention
10481 --timeoutfactor option.
10482 (timeoutfactor): New variable.
10483 (blacklist_exports): Remove function.
10484 (exports): Remove variable.
10485 (command): Do not include ${exports}.
10486 * manual/install.texi (Configuring and compiling): Do not mention
10487 test wrappers preserving environment variables. Mention that last
10488 assignment to a variable must take precedence.
10489 * INSTALL: Regenerated.
10490 * benchtests/Makefile (run-bench): Use $(run-program-env).
10491 * catgets/Makefile ($(objpfx)test1.cat): Use
10492 $(built-program-cmd-before-env), $(run-program-env) and
10493 $(built-program-cmd-after-env).
10494 ($(objpfx)test2.cat): Do not specify environment variables
10496 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10497 $(run-program-env) and $(built-program-cmd-after-env).
10498 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10499 $(run-program-env) and $(test-program-cmd-after-env).
10500 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10502 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10503 run_program_env and test_program_cmd_after_env arguments.
10504 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10505 * elf/tst-pathopt.sh: Use run_program_env argument.
10506 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10507 $(test-wrapper-env) and $(run-program-env).
10508 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10509 run_program_env arguments.
10510 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10511 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10512 $(test-program-prefix-before-env), $(run-program-env) and
10513 $(test-program-prefix-after-env).
10514 ($(objpfx)tst-gettext2.out): Likewise.
10515 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10516 run_program_env and test_program_prefix_after_env arguments.
10517 * intl/tst-gettext2.sh: Likewise.
10518 * intl/tst-gettext4.sh: Do not set environment variables
10520 * intl/tst-gettext6.sh: Likewise.
10521 * intl/tst-translit.sh: Likewise.
10522 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10523 $(test-program-prefix-before-env), $(run-program-env) and
10524 $(test-program-prefix-after-env).
10525 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10526 run_program_env and test_program_prefix_after_env arguments.
10527 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10528 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10529 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10530 explicitly with each use of ${test_wrapper_env}.
10531 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10532 $(test-program-prefix-before-env), $(run-program-env) and
10533 $(test-program-prefix-after-env).
10534 * posix/tst-getconf.sh: Do not set environment variables
10536 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10537 run_program_env and test_program_prefix_after_env arguments.
10538 * stdio-common/tst-printf.sh: Do not set environment variables
10540 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10541 $(test-program-prefix-before-env), $(run-program-env) and
10542 $(test-program-prefix-after-env).
10543 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10544 run_program_env and test_program_prefix_after_env arguments.
10545 Split $test calls into $test_pre and $test.
10546 * timezone/Makefile (build-testdata): Use
10547 $(built-program-cmd-before-env), $(run-program-env) and
10548 $(built-program-cmd-after-env).
10550 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10552 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10553 strlen for non SHARED builds.
10555 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10557 * nptl/allocatestack.c (check_list): Inlined function...
10558 (__reclaim_stacks): ... here.
10560 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10563 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10566 2014-06-05 Joseph Myers <joseph@codesourcery.com>
10568 * Rules (make-test-out): Include
10569 LOCPATH=$(common-objpfx)localedata in default environment.
10570 * debug/Makefile (tst-chk1-ENV): Remove variable.
10571 (tst-chk2-ENV): Likewise.
10572 (tst-chk3-ENV): Likewise.
10573 (tst-chk4-ENV): Likewise.
10574 (tst-chk5-ENV): Likewise.
10575 (tst-chk6-ENV): Likewise.
10576 (tst-lfschk1-ENV): Likewise.
10577 (tst-lfschk2-ENV): Likewise.
10578 (tst-lfschk3-ENV): Likewise.
10579 (tst-lfschk4-ENV): Likewise.
10580 (tst-lfschk5-ENV): Likewise.
10581 (tst-lfschk6-ENV): Likewise.
10582 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10583 (tst-iconv7-ENV): Likewise.
10584 * intl/Makefile (LOCPATH-ENV): Likewise.
10585 (tst-codeset-ENV): Likewise.
10586 (tst-gettext3-ENV): Likewise.
10587 (tst-gettext5-ENV): Likewise.
10588 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10589 (tst-fopenloc-ENV): Likewise.
10590 (tst-fgetws-ENV): Remove variable.
10591 (tst-ungetwc1-ENV): Likewise.
10592 (tst-ungetwc2-ENV): Likewise.
10593 (bug-ungetwc2-ENV): Likewise.
10594 (tst-swscanf-ENV): Likewise.
10595 (bug-ftell-ENV): Likewise.
10596 (tst-fgetwc-ENV): Likewise.
10597 (tst-fseek-ENV): Likewise.
10598 (tst-ftell-partial-wide-ENV): Likewise.
10599 (tst-ftell-active-handler-ENV): Likewise.
10600 (tst-ftell-append-ENV): Likewise.
10601 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10602 (tst-regexloc-ENV): Likewise.
10603 (bug-regex1-ENV): Likewise.
10604 (tst-regex-ENV): Likewise.
10605 (tst-regex2-ENV): Likewise.
10606 (bug-regex5-ENV): Likewise.
10607 (bug-regex6-ENV): Likewise.
10608 (bug-regex17-ENV): Likewise.
10609 (bug-regex18-ENV): Likewise.
10610 (bug-regex19-ENV): Likewise.
10611 (bug-regex20-ENV): Likewise.
10612 (bug-regex22-ENV): Likewise.
10613 (bug-regex23-ENV): Likewise.
10614 (bug-regex25-ENV): Likewise.
10615 (bug-regex26-ENV): Likewise.
10616 (bug-regex30-ENV): Likewise.
10617 (bug-regex32-ENV): Likewise.
10618 (bug-regex33-ENV): Likewise.
10619 (bug-regex34-ENV): Likewise.
10620 (bug-regex35-ENV): Likewise.
10621 (tst-rxspencer-ENV): Likewise.
10622 (tst-rxspencer-no-utf8-ENV): Likewise.
10623 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10624 (tst-sscanf-ENV): Likewise.
10625 (tst-swprintf-ENV): Likewise.
10626 (tst-swscanf-ENV): Likewise.
10627 (test-vfprintf-ENV): Likewise.
10628 (scanf13-ENV): Likewise.
10629 (bug14-ENV): Likewise.
10630 (tst-grouping-ENV): Likewise.
10631 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10632 (tst-strtod3-ENV): Likewise.
10633 (tst-strtod4-ENV): Likewise.
10634 (tst-strtod5-ENV): Likewise.
10635 (testmb2-ENV): Likewise./
10636 * string/Makefile (tst-strxfrm-ENV): Likewise.
10637 (tst-strxfrm2-ENV): Likewise.
10638 (bug-strcoll1-ENV): Likewise.
10639 (test-strcasecmp-ENV): Likewise.
10640 (test-strncasecmp-ENV): Likewise.
10641 * time/Makefile (tst-strptime-ENV): Likewise.
10642 (tst-ftime_l-ENV): Likewise.
10643 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10644 (tst-mbrtowc-ENV): Likewise.
10645 (tst-wcrtomb-ENV): Likewise.
10646 (tst-mbrtowc2-ENV): Likewise.
10647 (tst-c16c32-1-ENV): Likewise.
10648 (tst-mbsnrtowcs-ENV): Likewise.
10650 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10652 * manual/resource.texi (How to get information about the memory
10653 subsystem?): Fix typo.
10654 Reported by Peon de la Parra Ivan <peon@keba.com>
10656 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10659 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10660 (pthread_spin_lock): Branch out of spin loop to proper location.
10661 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10662 (pthread_spin_lock): Likewise.
10664 * nptl/tst-spin4.c: New test.
10665 * nptl/Makefile (tests): Add tst-spin4.
10667 2014-06-03 Andreas Schwab <schwab@suse.de>
10670 * resolv/res_send.c (send_dg): Reload file descriptor after
10673 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10675 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10677 2014-06-03 Richard Henderson <rth@redhat.com>
10679 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10680 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10681 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10682 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10683 in the SAVE_PID block.
10684 (__libc_vfork): New alias.
10685 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10687 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10688 child in registers, not on the stack. Remove RESET_PID conditionals.
10689 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10691 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10693 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10695 2014-06-03 Wilco <wdijkstr@arm.com>
10697 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10698 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10699 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10700 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10701 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10704 2014-06-03 Wilco <wdijkstr@arm.com>
10706 * sysdeps/aarch64/fpu/math_private.h
10707 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10708 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10709 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10710 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10713 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10715 * crypt/crypt-private.h: Include ufc-crypt.h.
10716 (__b64_from_24bit): Declare extern.
10717 * crypt/crypt_util.c(__b64_from_24bit): New function.
10718 (b64t): New static const variable.
10719 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10720 (b64t): Remove variable.
10721 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10722 * crypt/sha256-crypt.c: Include crypt-private.h.
10723 (b64t): Remove variable.
10724 (__sha256_crypt_r): Remove b64_from_24bit and replace
10725 with __b64_from_24bit.
10726 * crypt/sha512-crypt.c: Likewise.
10728 2014-06-02 Roland McGrath <roland@hack.frob.com>
10730 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10731 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10732 Label the code __libc_vfork rather than __vfork.
10733 [!NOT_IN_libc] (vfork): Define as weak alias.
10734 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10735 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10736 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10738 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10740 * malloc/malloc.c (malloc_info): Fix format specifier for
10743 2014-06-02 Wilco <wdijkstr@arm.com>
10745 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10748 2014-06-02 Wilco <wdijkstr@arm.com>
10751 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10752 Rewrite to reduce FPCR/FPSR accesses.
10754 2014-06-01 David S. Miller <davem@davemloft.net>
10756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10758 2014-05-31 David S. Miller <davem@davemloft.net>
10760 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10761 to occur in round to nearest mode when |x| >= 2.0
10763 2014-05-30 Richard Henderson <rth@twiddle.net>
10765 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10766 (PSEUDO_RET_NOERRNO): Remove.
10767 (ret): Don't redefine.
10768 (ret_NOERRNO): Define in terms of ret.
10769 (ret_ERRVAL): Likewise.
10771 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10772 use of PSEUDO_RET; perform the error check directly.
10774 2014-05-30 Marko Myllynen <myllynen@redhat.com>
10776 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10779 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10781 * malloc/malloc (malloc_info): Fix formatting.
10783 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10784 Roland McGrath <roland@hack.frob.com>
10786 * malloc/malloc (malloc_info): Also print mmapped statistics.
10788 2014-05-30 Roland McGrath <roland@hack.frob.com>
10790 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10791 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10793 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
10795 * malloc/malloc.c (malloc_info): Inline mi_arena.
10797 2014-05-29 Richard Henderson <rth@twiddle.net>
10799 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10800 Remove comma before expanding ASM_ARGS_##nr.
10801 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10802 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10804 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10805 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10806 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10807 (ASM_ARGS_1): Add leading comma.
10809 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10810 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10811 to __errno_location.
10812 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10813 Remove the expected plt for __errno_location.
10815 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10816 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10819 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10820 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10821 it and break it down.
10822 (DOCARGS_0, DOCARGS_1): Do nothing.
10823 (DOCARGS_2): Update to store into the new stack frame.
10824 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10825 (UNDOCARGS_1): Update to restore from the new stack frame.
10826 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10827 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10829 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10830 (SINGLE_THREAD_P): New parameter for result regno.
10831 (PSEUDO): Update to match; use cbz instead of beq.
10833 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10834 Use ENTRY to define the _nocancel entry point. Share the syscall
10835 and syscall error check paths with the cancel path.
10838 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10839 whitespace; tabs before and after asm mnemonics.
10841 2014-05-29 Eric Wong <normalperson@yhbt.net>
10844 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10845 Call fstat64 or stat64 internally, depending on arguments passed.
10846 Replace stat buffer argument with file descriptor argument.
10847 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10848 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10849 Pass fd to __internal_statvfs instead of calling fstat64.
10850 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10851 Pass fd to __internal_statvfs64 instead of calling fstat64.
10852 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10853 Pass -1 to __internal_statvfs instead of calling stat64.
10854 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10855 Pass -1 to __internal_statvfs64 instead of calling stat64.
10857 2014-05-28 Roland McGrath <roland@hack.frob.com>
10859 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10860 that was previously under [RESET_PID].
10861 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10863 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10864 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10866 2014-05-27 Roland McGrath <roland@hack.frob.com>
10868 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10870 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10871 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10873 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
10875 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10877 2014-05-27 Andreas Schwab <schwab@suse.de>
10879 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10881 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10882 * elf/rtld.c (init_tls, dl_main): Likewise.
10883 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10884 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10885 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10886 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10887 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10888 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10889 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10890 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10891 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10892 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10893 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10894 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10895 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10896 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10897 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10898 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10899 * sysdeps/generic/tls.h: Update description.
10901 2014-05-27 Will Newton <will.newton@linaro.org>
10904 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10905 and restore r2 rather than just restoring.
10907 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10910 * libio/tst-ftell-append.c: New test case.
10911 * libio/Makefile (tests): Add test case.
10912 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10914 * libio/wfileops.c (do_ftell_wide): Likewise.
10916 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10920 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10924 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10925 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10926 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10927 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10928 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10929 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10930 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10933 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10936 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10937 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10938 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10939 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10940 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10942 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10943 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10945 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10947 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10949 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10950 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10951 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10953 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10954 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10955 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10956 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10958 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10961 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10964 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10967 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10971 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10974 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10979 conditional [RESET_PID].
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10981 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10983 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10988 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10989 (__libc_vfork): New strong alias.
10990 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10992 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10997 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10998 (__libc_vfork): New strong alias.
10999 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11001 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11004 2014-05-26 Carlos O'Donell <carlos@redhat.com>
11006 * malloc/malloc.c (mi_arena): New function.
11007 (malloc_info): Remove nested function mi_arena. Call non-nosted
11010 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11012 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11014 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11015 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11016 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11017 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11018 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11019 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11020 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11022 2014-05-26 Andreas Schwab <schwab@suse.de>
11025 * locale/programs/repertoire.c (repertoire_read): Add slash
11026 between I18NPATH element and file name.
11027 * locale/programs/locfile.c (locfile_read): Likewise.
11029 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11031 * nptl/pthread_mutexattr_settype.c
11032 (__pthread_mutexattr_settype):
11033 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11035 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11037 * nptl/tst-mutex5 (do_test):
11038 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11040 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11042 * benchtests/README: Document 'init' directive.
11043 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11045 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11046 (parse_file): Recognize 'init' directive.
11048 2014-05-26 Kyle McMartin <kyle@redhat.com>
11051 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11052 alignment of struct pthread.
11054 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11057 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11058 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11059 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11060 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11062 2014-05-25 Richard Henderson <rth@twiddle.net>
11064 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11065 (SINGLE_THREAD_P_PIC): Remove.
11066 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11067 (SINGLE_THREAD_P_PIC): Remove.
11069 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11070 branch to syscall error ...
11071 (PSEUDO): ... here.
11072 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11073 from __local_syscall_error to .Lsyscall_error.
11074 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11075 (SYSCALL_ERROR): Update label name.
11077 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11078 Do not use DOARGS/UNDOARGS.
11079 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11080 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11081 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11082 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11083 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11085 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11088 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11089 define if !NOT_IN_libc.
11090 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11091 define with non-default symbol versions.
11093 2014-05-23 Richard Henderson <rth@twiddle.net>
11095 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11096 (vfork, __vfork): Define via compat_symbol.
11098 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11099 [!HAVE_IFUNC] (vfork_compat): Remove.
11100 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11102 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11105 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11106 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11109 2014-05-23 Richard Henderson <rth@twiddle.net>
11111 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11112 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11113 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11114 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11116 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11117 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11118 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11119 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11120 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11121 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11122 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11123 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11124 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11125 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11126 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11127 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11128 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11129 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11130 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11131 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11132 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11133 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11134 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11135 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11136 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11137 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11138 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11139 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11140 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11141 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11142 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11143 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11144 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11145 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11146 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11147 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11148 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11149 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11150 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11151 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11152 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11153 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11154 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11155 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11156 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11157 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11158 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11159 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11160 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11161 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11162 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11163 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11164 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11165 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11166 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11167 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11168 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11169 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11170 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11171 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11173 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11174 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11175 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11176 before exiting on error.
11177 (__libc_vfork): New strong alias.
11178 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11179 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11181 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11182 that was previously under [RESET_PID].
11183 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11185 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11187 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11190 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11191 value when x - 1 is zero.
11192 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11193 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11194 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11195 0.0L for an argument of 1.0L.
11196 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11198 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11199 value when x - 1 is zero.
11200 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11201 * sysdeps/i386/fpu/libm-test-ulps: Update.
11202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11204 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11206 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11207 alphasort and versionsort.
11209 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11211 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11213 [copysignf]: Likewise.
11215 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11217 * crypt/md5-crypt.c: Fix formatting.
11219 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11221 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11222 (b64_from_24bit): New function.
11224 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11226 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11227 libc_hidden_builtin_def to ifunc.
11228 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11229 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11231 2014-05-21 Roland McGrath <roland@hack.frob.com>
11233 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11234 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11236 2014-05-21 Joseph Myers <joseph@codesourcery.com>
11238 * nscd/Depend (linuxthreads): Remove.
11240 * resolv/Depend (linuxthreads): Remove.
11241 * rt/Depend (linuxthreads): Remove.
11243 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11244 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11245 $(common-objpfx)elf/.
11246 (link-libc-before-gnulib): Likewise.
11247 (elfobjdir): Remove variable.
11248 * Makefile (install): Use $(elf-objpfx) instead of
11249 $(common-objpfx)elf/.
11250 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11252 (link-libc-deps): Likewise.
11253 ($(common-objpfx)libc.so): Likewise.
11254 ($(common-objpfx)linkobj/libc.so): Likewise.
11255 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11256 instead of $(common-objpfx)elf/.
11257 (symbolic-link-list): Likewise.
11258 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11259 [$(cross-compiling) = no]: Likewise.
11260 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11262 (static-gnulib-arch): Likewise.
11263 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11264 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11265 $(common-objpfx)elf/.
11267 2014-05-21 Richard Henderson <rth@redhat.com>
11269 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11270 (SINGLE_THREAD_P): Use the correct width load. Fold
11271 into the ldr offset.
11273 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11274 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11276 2014-05-20 Joseph Myers <joseph@codesourcery.com>
11278 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11279 (libgcc_s_resume): Use __attribute_used__.
11280 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11283 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11285 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11286 optimization when used with float constants.
11288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11290 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11293 * locale/nl_langinfo_l.c: Make direct reference to every
11294 _nl_current_CATEGORY symbol.
11295 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11296 (tests-static): Add tst-langinfo-static.
11297 (tests-special): Add tst-langinfo-static.out.
11298 ($(objpfx)tst-langinfo.out): Redirect output.
11299 ($(objpfx)tst-langinfo-static.out): New.
11300 * localedata/tst-langinfo.sh: Send output to stdout.
11301 * localedata/tst-langinfo-static.c: New file.
11304 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11305 when the shift amount is modulo the limb size.
11307 2014-05-20 Richard Henderson <rth@redhat.com>
11310 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11311 Change type of sa_flags from unsigned int to int.
11314 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11316 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11318 2014-05-20 Will Newton <will.newton@linaro.org>
11320 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11321 Test the return value of the system call in the nocancel case.
11323 2014-05-20 Will Newton <will.newton@linaro.org>
11324 Yvan Roux <yvan.roux@linaro.org>
11326 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11327 #include of asm/ptrace.h.
11328 (PTRACE_GET_THREAD_AREA): Remove #undef.
11329 (PTRACE_GETHBPREGS): Likewise.
11330 (PTRACE_SETHBPREGS): Likewise.
11331 (struct user_regs_struct): New structure.
11332 (struct user_fpsimd_struct): New structure.
11333 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11334 #include of asm/ptrace.h and second #include of sys/user.h.
11335 (PTRACE_GET_THREAD_AREA): Remove #undef.
11336 (PTRACE_GETHBPREGS): Likewise.
11337 (PTRACE_SETHBPREGS): Likewise.
11338 (ELF_NGREG): Use new struct user_regs_struct.
11339 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11341 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11343 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11344 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11346 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11349 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11350 membar to avoid block loads/stores to overlap previous stores.
11352 2014-05-17 Richard Henderson <rth@redhat.com>
11354 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11355 Create the __##syscall_name##_nocancel entry point.
11356 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11357 Remove; let the sysdep-cancel.h code create it.
11359 2014-05-17 David S. Miller <davem@davemloft.net>
11361 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11362 Protect with __USE_GNU.
11363 (TIOCSET_TEMPT): Likewise.
11364 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11365 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11366 these are already provided in bits/ioctl-types.h
11368 2014-05-16 Roland McGrath <roland@hack.frob.com>
11370 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11371 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11373 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11374 Use wait4 regardless of [__NR_waitpid].
11376 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11379 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11380 (_FP_NANSIGN_Q): Set the quiet bit.
11382 2014-05-16 Joseph Myers <joseph@codesourcery.com>
11384 * benchtests/Makefile
11385 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11386 not $(common-objpfx)math/libm.so.
11387 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11388 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11389 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11390 $(common-objpfx)dlfcn/libdl.so.
11391 ($(objpfx)tst-audit8): Depend on $(libm), not
11392 $(common-objpfx)math/libm.so.
11393 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11394 not $(common-objpfx)dlfcn/libdl.so.
11396 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11397 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11398 [$(build-shared) = yes].
11399 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11400 $(common-objpfx)nptl/libpthread.so.
11401 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11402 $(common-objpfx)math/libm.so$(libm.so-version) or
11403 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11404 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11405 $(common-objpfx)dlfcn/libdl.so.
11406 * setjmp/Makefile (link-libm): Remove variable.
11407 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11408 * stdio-common/Makefile (link-libm): Remove variable.
11409 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11410 * stdlib/Makefile (link-libm): Remove variable.
11411 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11412 ($(objpfx)tst-strtod-round): Likewise.
11413 ($(objpfx)tst-tininess): Likewise.
11414 ($(objpfx)tst-strtod-underflow): Likewise.
11415 ($(objpfx)tst-strtod6): Likewise.
11416 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11417 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11418 $(common-objpfx)dlfcn/libdl.so.
11420 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11422 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11423 BSD terminal modes definitions.
11425 2014-05-16 Roland McGrath <roland@hack.frob.com>
11427 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11428 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11430 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11431 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11432 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11433 Don't do #include_next.
11434 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11435 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11436 Don't do #include_next.
11437 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11438 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11439 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11440 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11442 2014-05-16 Allan McRae <allan@archlinux.org>
11444 * po/sv.po: Update Swedish translation from translation project.
11446 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11449 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11452 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11453 errno if the TIOCGPTN ioctl fails with an error different than
11455 * login/tst-ptsname.c: New file.
11456 * login/Makefile (tests): Add tst-ptsname.
11459 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11462 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11466 herrno to return EAI_AGAIN.
11468 2014-05-14 Roland McGrath <roland@hack.frob.com>
11470 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11471 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11472 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11473 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11474 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11475 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11476 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11477 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11478 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11479 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11480 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11481 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11482 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11483 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11484 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11485 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11486 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11487 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11488 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11489 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11490 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11491 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11492 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11493 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11494 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11495 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11496 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11497 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11498 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11499 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11501 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11503 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11506 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11508 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11510 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11512 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11514 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11516 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11518 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11520 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11522 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11524 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11526 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11528 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11530 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11532 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11535 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11537 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11539 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11541 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11543 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11545 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11547 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11549 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11551 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11553 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11556 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11558 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11560 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11561 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11562 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11563 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11564 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11565 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11566 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11567 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11568 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11569 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11570 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11571 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11572 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11573 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11574 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11575 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11576 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11577 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11578 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11579 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11580 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11581 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11582 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11583 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11584 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11585 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11586 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11587 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11588 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11589 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11590 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11592 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11593 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11595 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11596 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11597 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11598 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11599 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11600 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11602 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11603 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11605 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11606 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11608 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11609 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11611 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11612 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11613 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11614 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11616 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11617 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11618 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11619 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11620 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11621 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11622 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11623 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11625 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11626 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11628 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11630 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11631 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11632 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11633 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11634 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11636 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11638 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11640 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11641 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11642 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11643 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11644 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11645 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11647 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11648 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11650 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11651 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11653 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11654 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11656 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11657 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11658 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11659 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11661 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11662 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11663 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11664 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11665 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11666 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11667 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11668 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11670 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11671 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11673 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11675 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11676 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11677 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11678 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11679 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11681 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11683 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11685 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11686 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11687 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11688 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11689 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11690 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11691 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11692 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11693 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11694 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11696 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11697 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11699 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11700 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11702 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11703 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11705 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11706 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11707 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11708 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11709 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11710 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11712 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11713 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11714 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11715 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11716 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11717 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11718 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11719 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11721 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11722 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11724 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11726 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11727 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11728 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11729 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11730 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11732 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11734 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11736 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11737 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11738 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11739 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11740 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11741 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11742 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11743 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11744 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11745 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11746 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11748 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11749 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11751 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11752 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11754 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11755 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11756 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11757 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11758 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11759 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11760 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11761 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11762 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11763 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11764 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11765 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11766 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11767 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11768 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11769 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11770 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11771 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11773 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11774 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11775 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11776 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11778 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11779 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11780 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11781 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11782 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11783 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11784 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11785 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11787 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11788 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11790 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11791 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11792 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11793 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11794 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11795 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11796 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11797 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11798 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11799 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11800 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11801 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11802 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11803 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11804 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11805 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11806 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11808 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11809 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11810 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11811 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11812 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11814 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11815 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11816 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11817 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11818 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11819 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11820 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11821 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11822 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11823 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11825 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11826 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11828 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11829 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11830 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11831 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11832 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11833 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11834 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11835 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11836 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11837 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11838 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11839 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11840 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11841 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11842 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11844 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11846 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11848 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11850 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11852 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11854 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11856 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11860 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11862 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11864 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11865 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11866 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11867 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11868 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11869 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11870 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11871 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11872 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11873 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11874 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11875 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11876 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11878 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11879 that was previously under [RESET_PID].
11880 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11881 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11882 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11884 * sysdeps/i386/nptl/Implies: New file.
11885 * sysdeps/x86_64/nptl/Implies: New file.
11886 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11887 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11888 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11889 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11891 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11892 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11893 (__libc_vfork): New strong alias.
11894 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11895 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11897 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11898 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11899 (__libc_vfork): New strong alias.
11900 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11901 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11903 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11904 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11905 (__libc_vfork): New strong alias.
11906 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11907 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11908 * nptl/pt-vfork.c: New file.
11909 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11910 (libpthread: GLIBC_2.20): New version set (empty).
11912 2014-05-14 Will Newton <will.newton@linaro.org>
11914 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11917 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11920 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11921 arguments with exponent 65 or above.
11922 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11923 arguments 0x1p113L or above.
11924 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11925 to arguments 0x1p107L or above.
11926 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11927 positive arguments with exponent 65 or above.
11928 * math/auto-libm-test-in: Add more tests of log1p.
11929 * math/auto-libm-test-out: Regenerated.
11932 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11933 non-finite arguments is +0.
11934 * math/s_cacosf.c (__cacosf): Likewise.
11935 * math/s_cacosl.c (__cacosl): Likewise.
11936 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11937 * sysdeps/i386/fpu/libm-test-ulps: Update.
11938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11941 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11943 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11944 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11945 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11946 for explicit high bit of mantissa when testing for argument equal
11948 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11949 * sysdeps/i386/fpu/libm-test-ulps: Update.
11950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11953 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11954 (__erf): Scale by 16 instead of 8 in potentially underflowing
11955 case. Ensure exception if result actually underflows.
11956 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11957 (__erff): Scale by 16 instead of 8 in potentially underflowing
11958 case. Ensure exception if result actually underflows.
11959 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11960 (efx8): Remove variable.
11961 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11962 case. Ensure exception if result actually underflows.
11963 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11964 (efx8): Remove variable.
11965 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11966 case. Ensure exception if result actually underflows.
11967 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11968 (efx8): Remove variable.
11969 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11970 case. Ensure exception if result actually underflows.
11971 * math/auto-libm-test-in: Add more tests of erf.
11972 * math/auto-libm-test-out: Regenerated.
11974 2014-05-14 Andreas Schwab <schwab@suse.de>
11976 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11977 Remove code conditionalized on USE___THREAD.
11979 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11980 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11983 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11985 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11986 Define unconditionally.
11987 (__ASSUME_O_CLOEXEC): Likewise.
11988 (__ASSUME_SOCK_CLOEXEC): Likewise.
11989 (__ASSUME_IN_NONBLOCK): Likewise.
11990 (__ASSUME_PIPE2): Likewise.
11991 (__ASSUME_EVENTFD2): Likewise.
11992 (__ASSUME_SIGNALFD4): Likewise.
11993 (__ASSUME_DUP3): Likewise.
11994 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11995 (__ASSUME_DUP3): Do not define.
11996 (__ASSUME_EVENTFD2): Likewise.
11997 (__ASSUME_IN_NONBLOCK): Likewise.
11998 (__ASSUME_O_CLOEXEC): Likewise.
11999 (__ASSUME_PIPE2): Likewise.
12000 (__ASSUME_SIGNALFD4): Likewise.
12001 (__ASSUME_SOCK_CLOEXEC): Likewise.
12002 (__ASSUME_UTIMES): Undefine.
12003 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12004 (__ASSUME_UTIMES): Do not define.
12005 (__ASSUME_O_CLOEXEC): Likewise.
12006 (__ASSUME_SOCK_CLOEXEC): Likewise.
12007 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12008 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12010 (__ASSUME_PIPE2): Likewise.
12011 (__ASSUME_EVENTFD2): Likewise.
12012 (__ASSUME_SIGNALFD4): Likewise.
12013 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12014 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12016 (__ASSUME_EVENTFD2): Likewise.
12017 (__ASSUME_SIGNALFD4): Likewise.
12018 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12019 (__ASSUME_32BITUIDS): Likewise.
12020 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12021 (__ASSUME_IPC64): Likewise.
12022 (__ASSUME_ST_INO_64_BIT): Likewise.
12023 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12024 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12025 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12026 (__ASSUME_UTIMES): Do not define.
12027 (__ASSUME_PSELECT): Likewise.
12028 (__ASSUME_PPOLL): Likewise.
12029 (__ASSUME_O_CLOEXEC): Likewise.
12030 (__ASSUME_SOCK_CLOEXEC): Likewise.
12031 (__ASSUME_IN_NONBLOCK): Likewise.
12032 (__ASSUME_PIPE2): Likewise.
12033 (__ASSUME_EVENTFD2): Likewise.
12034 (__ASSUME_SIGNALFD4): Likewise.
12035 (__ASSUME_DUP3): Likewise.
12036 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12037 (__ASSUME_UTIMES): Likewise.
12038 (__ASSUME_O_CLOEXEC): Likewise.
12039 (__ASSUME_SOCK_CLOEXEC): Likewise.
12040 (__ASSUME_IN_NONBLOCK): Likewise.
12041 (__ASSUME_PIPE2): Likewise.
12042 (__ASSUME_EVENTFD2): Likewise.
12043 (__ASSUME_SIGNALFD4): Likewise.
12044 (__ASSUME_DUP3): Likewise.
12045 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12046 (__ASSUME_UTIMES): Likewise.
12047 (__ASSUME_O_CLOEXEC): Likewise.
12048 (__ASSUME_SOCK_CLOEXEC): Likewise.
12049 (__ASSUME_IN_NONBLOCK): Likewise.
12050 (__ASSUME_PIPE2): Likewise.
12051 (__ASSUME_EVENTFD2): Likewise.
12052 (__ASSUME_SIGNALFD4): Likewise.
12053 (__ASSUME_DUP3): Likewise.
12054 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12056 (__ASSUME_UTIMES): Likewise.
12057 (__ASSUME_EVENTFD2): Likewise.
12058 (__ASSUME_SIGNALFD4): Likewise.
12059 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12060 (__ASSUME_O_CLOEXEC): Likewise.
12061 (__ASSUME_SOCK_CLOEXEC): Likewise.
12062 (__ASSUME_IN_NONBLOCK): Likewise.
12063 (__ASSUME_PIPE2): Likewise.
12064 (__ASSUME_EVENTFD2): Likewise.
12065 (__ASSUME_SIGNALFD4): Likewise.
12066 (__ASSUME_DUP3): Likewise.
12067 (__ASSUME_UTIMES): Undefine.
12069 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12070 feclearexcept. Remove symbol versioning code.
12071 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12072 symbol versioning code.
12073 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12074 symbol versioning code.
12075 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12076 feupdateenv. Remove symbol versioning code.
12077 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12078 fegetexceptflag. Remove symbol versioning code.
12079 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12080 fesetexceptflag. Remove symbol versioning code.
12081 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12082 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12083 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12084 (__posix_fadvise64_l32): Remove prototype.
12085 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12088 2014-05-13 Roland McGrath <roland@hack.frob.com>
12090 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12091 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12092 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12093 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12095 2014-05-13 Sami Kerola <kerolasa@iki.fi>
12097 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12098 current working directory
12100 2014-05-13 Roland McGrath <roland@hack.frob.com>
12102 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12103 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12104 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12105 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12106 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12107 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12108 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12109 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12110 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12111 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12112 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12113 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12114 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12115 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12116 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12117 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12118 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12119 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12120 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12121 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12122 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12123 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12124 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12125 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12126 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12127 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12128 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12129 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12130 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12131 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12132 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12133 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12134 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12135 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12136 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12137 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12138 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12139 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12140 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12141 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12142 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12143 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12145 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12146 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12148 * sysdeps/unix/sysv/linux/arm/Makefile
12149 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12150 Add rt-aeabi_unwind_cpp_pr1.
12151 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12152 Add nptl-aeabi_unwind_cpp_pr1.
12153 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12154 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12155 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12156 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12157 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12158 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12160 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12161 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12162 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12163 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12165 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12166 Deconditionalize the code that was previously under [RESET_PID].
12167 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12169 * sysdeps/generic/exit-thread.h: New file.
12170 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12171 * include/unistd.h (__exit_thread): Remove declaration.
12172 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12173 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12174 * csu/libc-start.c: Include <exit-thread.h>.
12175 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12176 * nptl/pthread_create.c: Include <exit-thread.h>.
12177 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12178 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12179 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12180 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12181 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12182 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12183 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12184 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12185 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12186 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12187 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12188 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12189 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12190 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12191 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12192 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12193 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12195 2014-05-13 Andreas Schwab <schwab@suse.de>
12197 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12199 2014-05-12 Joseph Myers <joseph@codesourcery.com>
12201 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12202 (__ASSUME_UTIMES): Do not condition on kernel version.
12203 (__ASSUME_PSELECT): Define unconditionally.
12204 (__ASSUME_PPOLL): Likewise.
12205 (__ASSUME_ATFCTS): Likewise.
12206 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12207 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12208 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12209 (__ASSUME_UTIMENSAT): Define unconditionally.
12210 (__ASSUME_PRIVATE_FUTEX): Likewise.
12211 (__ASSUME_FALLOCATE): Likewise.
12212 (__ASSUME_O_CLOEXEC): Likewise.
12213 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12214 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12215 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12216 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12217 (__ASSUME_IN_NONBLOCK): Likewise.
12218 (__ASSUME_PIPE2): Likewise.
12219 (__ASSUME_EVENTFD2): Likewise.
12220 (__ASSUME_SIGNALFD4): Likewise.
12221 (__ASSUME_DUP3): Likewise.
12222 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12223 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12224 (__ASSUME_AT_RANDOM): Likewise.
12225 (__ASSUME_PREADV): Likewise.
12226 (__ASSUME_PWRITEV): Likewise.
12227 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12228 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12229 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12230 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12231 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12232 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12233 (__ASSUME_O_CLOEXEC): Define unconditionally.
12234 (__ASSUME_PSELECT): Do not undefine conditionally.
12235 (__ASSUME_PPOLL): Likewise.
12236 (__ASSUME_ATFCTS): Likewise.
12237 (__ASSUME_SET_ROBUST_LIST): Likewise.
12238 (__ASSUME_UTIMENSAT): Likewise.
12239 (__ASSUME_FDATASYNC): Define unconditionally.
12240 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12241 (__ASSUME_SIGFRAME_V2): Likewise.
12242 )__ASSUME_EVENTFD2): Likewise.
12243 (__ASSUME_SIGNALFD4): Likewise.
12244 (__ASSUME_PSELECT): Do not undefine conditionally.
12245 (__ASSUME_PPOLL): Likewise.
12246 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12247 (__ASSUME_PSELECT): Define unconditionally.
12248 (__ASSUME_PPOLL): Likewise.
12249 (__ASSUME_O_CLOEXEC): Likewise.
12250 (__ASSUME_SOCK_CLOEXEC): Likewise.
12251 (__ASSUME_IN_NONBLOCK): Likewise.
12252 (__ASSUME_PIPE2): Likewise.
12253 (__ASSUME_EVENTFD2): Likewise.
12254 (__ASSUME_SIGNALFD4): Likewise.
12255 (__ASSUME_DUP3): Likewise.
12256 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12257 (__ASSUME_O_CLOEXEC): Likewise.
12258 (__ASSUME_SOCK_CLOEXEC): Likewise.
12259 (__ASSUME_IN_NONBLOCK): Likewise.
12260 (__ASSUME_PIPE2): Likewise.
12261 (__ASSUME_EVENTFD2): Likewise.
12262 (__ASSUME_SIGNALFD4): Likewise.
12263 (__ASSUME_DUP3): Likewise.
12264 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12265 (__ASSUME_EVENTFD2): Likewise.
12266 (__ASSUME_SIGNALFD4): Likewise.
12267 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12269 2014-05-12 Andreas Schwab <schwab@suse.de>
12272 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12273 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12274 than maximum RPC packet size.
12275 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12276 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12277 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12278 (_nss_nis_getservbyport_r): Likewise.
12280 2014-05-12 Will Newton <will.newton@linaro.org>
12282 * malloc/Makefile (tests): Add tst-mallopt.
12283 * malloc/tst-mallopt.c: New file.
12285 2014-05-09 Roland McGrath <roland@hack.frob.com>
12287 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12288 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12290 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12292 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12293 (tst-tlsmod6.so): Likewise.
12295 2014-05-09 Roland McGrath <roland@hack.frob.com>
12297 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12299 2014-05-09 Joseph Myers <joseph@codesourcery.com>
12302 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12303 and <dl-procinfo.h>.
12304 (__fegetenv): Save SSE state in envp->__eip if supported.
12305 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12306 envp->__eip if supported.
12307 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12308 and <dl-procinfo.h>.
12309 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12310 __data_offset and __data_selector in environment to 0. Set SSE
12311 state if supported.
12312 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12314 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12316 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12318 2014-05-09 Will Newton <will.newton@linaro.org>
12320 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12321 and libc_relro_required for ARM.
12322 * sysdeps/arm/preconfigure: Regenerate.
12324 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12325 Stefan Liebler <stli@linux.vnet.ibm.com>
12327 * config.make.in (enable-lock-elision): New Makefile variable.
12328 * configure.ac: Likewise.
12329 * configure: Regenerate.
12330 * sysdeps/s390/configure.ac:
12331 Add check for gcc transactions support.
12332 * sysdeps/s390/configure: Regenerate.
12333 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12334 Build elision files if enabled.
12335 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12336 Add lock elision support for s390.
12337 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12338 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12339 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12340 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12341 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12342 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12343 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12345 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12347 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12349 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12351 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12352 (__lll_timedlock_elision, __lll_lock_elision)
12353 (__lll_unlock_elision, __lll_trylock_elision)
12354 (lll_timedlock_elision, lll_lock_elision)
12355 (lll_unlock_elision, lll_trylock_elision): Add.
12356 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12357 (pthread_mutex_t): Add lock elision support for s390.
12359 2014-05-14 Wilco <wdijkstr@arm.com>
12361 * sysdeps/arm/fclrexcpt.c: Cleanup.
12362 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12363 * sysdeps/arm/feenablxcpt.c: Cleanup.
12364 * sysdeps/arm/fegetenv.c: Cleanup.
12365 * sysdeps/arm/fegetexcept.c: Cleanup.
12366 * sysdeps/arm/fegetround.c: Cleanup.
12367 * sysdeps/arm/feholdexcpt.c: Cleanup.
12368 * sysdeps/arm/fesetenv.c: Cleanup.
12369 * sysdeps/arm/fesetround.c: Cleanup.
12370 * sysdeps/arm/feupdateenv.c: Cleanup.
12371 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12372 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12373 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12374 * sysdeps/arm/ftestexcept.c: Cleanup.
12375 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12376 * sysdeps/arm/setfpucw.c: Cleanup.
12378 2014-05-09 Will Newton <will.newton@linaro.org>
12380 * sysdeps/arm/armv7/strcmp.S: New file.
12381 * NEWS: Mention addition of ARMv7 optimized strcmp.
12383 2014-05-08 Roland McGrath <roland@hack.frob.com>
12385 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12386 look for %.ac rather than %.in.
12388 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12389 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12390 * sysdeps/mach/hurd/configure: Regenerated.
12391 * sysdeps/unix/sysv/linux/configure: Regenerated.
12393 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12395 2014-05-07 Steve Ellcey <sellcey@mips.com>
12398 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12402 2014-05-07 Andreas Schwab <schwab@suse.de>
12404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12405 when skipping over non-matching result from nscd.
12407 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
12410 * nptl/sockperf.c (client): Check socket return value.
12413 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12414 nscd security class.
12416 2014-05-06 Roland McGrath <roland@hack.frob.com>
12418 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12419 * sysdeps/arm/unwind.h: ... here.
12421 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12424 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12427 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12429 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12430 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12431 multiarch strncpy for PPC64.
12432 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12433 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12435 multiarch optimizations.
12436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12437 (__libc_ifunc_impl_list): Likewise.
12438 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12439 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12440 multiarch stpncpy for PPC64.
12441 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12442 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12444 2014-05-06 Andreas Schwab <schwab@suse.de>
12447 * gmon/mcount.c (_MCOUNT_DECL): Use
12448 atomic_compare_and_exchange_bool_acq instead of
12449 catomic_compare_and_exchange_bool_acq.
12451 2014-05-05 Roland McGrath <roland@hack.frob.com>
12453 * elf/Makefile (others, install-bin): Remove pldd.
12454 (pldd-modules): Variable removed.
12455 ($(objpfx)pldd): Target removed.
12456 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12457 (others, install-bin): Append pldd here.
12458 ($(objpfx)pldd): New target.
12460 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12461 to 0, so the first #if test emitted later doesn't see it undefined.
12462 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12463 * sysdeps/gnu/errlist.c: Regenerated.
12465 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12467 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12468 [libc_hidden_builtin_def]: Define to empty value.
12469 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12470 [libc_hidden_builtin_def]: Likewise.
12471 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12472 [libc_hidden_builtin_def]: Likewise.
12473 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12474 [libc_hidden_builtin_def]: Likewise.
12475 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12476 __redirect_memcpy and define ifunc as default hidden symbol.
12477 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12478 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12480 2014-05-04 Adam Conrad <adconrad@0c3.net>
12482 * locale/iso-4217.def: Reintroduce XDR currency.
12484 2014-05-04 Allan McRae <allan@archlinux.org>
12486 * po/eo.po: Update Esperanto translation from translation project.
12488 2014-05-02 Carlos O'Donell <carlos@redhat.com>
12490 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12491 and FEATURE_INDEX_MAX to 1.
12492 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12494 2014-05-01 Steve Ellcey <sellcey@mips.com>
12496 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12497 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12498 * iconvdata/big5.c (ONE_DIRECTION): Define.
12499 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12500 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12501 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12502 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12503 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12504 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12505 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12506 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12507 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12508 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12509 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12510 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12511 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12512 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12513 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12514 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12515 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12516 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12517 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12518 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12519 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12520 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12521 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12522 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12523 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12524 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12525 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12526 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12527 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12528 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12529 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12530 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12531 * iconvdata/johab.c (ONE_DIRECTION): Define.
12532 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12533 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12534 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12535 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12536 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12537 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12538 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12539 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12540 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12541 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12543 2014-05-01 Roland McGrath <roland@hack.frob.com>
12545 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12546 (_IO_JUMPS_OFFSET): Define to 0.
12548 * nptl/sysdeps/pthread/bits/libc-lock.h
12549 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12550 (__libc_lock_define_initialized_recursive): Always define using
12551 initializer. Modern compilers treat uninitialized (implicit zero) and
12552 explicit zero initializers the same (i.e. put the datum in bss).
12554 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12556 * nscd/nscd-client.h: Include <string.h>.
12558 2014-05-01 David S. Miller <davem@davemloft.net>
12561 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12562 multiple zero bytes exist at the end of a string.
12563 Reported by Aurelien Jarno <aurelien@aurel32.net>
12565 * string/test-strcmp.c (check): Add explicit test for situations where
12566 there are multiple zero bytes after the first.
12568 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12571 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12572 when compiling wprintf.
12573 * stdio-common/tstdiomisc.c (t3): New function.
12576 2014-05-01 Steve Ellcey <sellcey@mips.com>
12578 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12579 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12580 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12581 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12583 2014-05-01 Steve Ellcey <sellcey@mips.com>
12585 * stdlib/longlong.h: Updated from GCC.
12587 2014-05-01 Will Newton <will.newton@linaro.org>
12588 Bernard Ogden <bernie.ogden@linaro.org>
12590 * NEWS: Update fixed bug list.
12593 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12595 2014-04-30 David S. Miller <davem@davemloft.net>
12597 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12598 (libc_feholdexcept_setround_sparc_ctx): New function.
12599 (libc_fesetenv_sparc_ctx): Likewise.
12600 (libc_feupdateenv_sparc_ctx): Likewise.
12601 (libc_feholdsetround_sparc_ctx): Likewise.
12602 (libc_feholdexcept_setround_ctx): Define.
12603 (libc_feholdexcept_setroundf_ctx): Likewise.
12604 (libc_feholdexcept_setroundl_ctx): Likewise.
12605 (libc_fesetenv_ctx): Likewise.
12606 (libc_fesetenvf_ctx): Likewise.
12607 (libc_fesetenvl_ctx): Likewise.
12608 (libc_feupdateenv_ctx): Likewise.
12609 (libc_feupdateenvf_ctx): Likewise.
12610 (libc_feupdateenvl_ctx): Likewise.
12611 (libc_feresetround_ctx): Likewise.
12612 (libc_feresetroundf_ctx): Likewise.
12613 (libc_feresetroundl_ctx): Likewise.
12614 (libc_feholdsetround_ctx): Likewise.
12615 (libc_feholdsetroundf_ctx): Likewise.
12616 (libc_feholdsetroundl_ctx): Likewise.
12618 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12619 with __USE_GNU instead of XOPEN cpp guards.
12621 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12624 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12625 with XOPEN cpp guards.
12627 2014-04-30 Julian Brown <julian@codesourcery.com>
12630 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12633 2014-04-30 Joseph Myers <joseph@codesourcery.com>
12636 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12638 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12639 * sysdeps/unix/sysv/linux/configure: Regenerated.
12640 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12641 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12642 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12643 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12644 * README: Update reference to required Linux kernel version.
12645 * manual/install.texi (Linux): Update reference to required Linux
12646 kernel headers version.
12647 * INSTALL: Regenerated.
12649 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12651 [POSIX] (limits.h): Likewise.
12652 [POSIX] (math.h): Likewise.
12653 [POSIX] (sys/wait.h): Likewise.
12654 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12656 [POSIX] (stddef.h): Do not allow header inclusion.
12658 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12660 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12662 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12664 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12665 Return immediately after lll_futex_wake.
12667 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12670 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12672 (datahead_init_pos): Call datahead_init_common early.
12673 (datahead_init_neg): Likewise.
12675 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12676 datahead_init_neg): New functions.
12677 * nscd/aicache.c (addhstaiX): Use them.
12678 * nscd/grpcache.c (cache_addgr): Likewise.
12679 * nscd/hstcache.c (cache_addhst): Likewise.
12680 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12681 * nscd/netgroupcache.c (do_notfound): Likewise.
12682 (addgetnetgrentX): Likewise.
12683 (addinnetgrX): Likewise.
12684 * nscd/pwdcache.c (cache_addpw): Likewise.
12685 * nscd/servicescache.c (cache_addserv): Likewise.
12687 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12688 Atsushi Onoe <atsushi@onoe.org>
12693 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12694 one response is valid.
12695 * resolv/res_send.c (send_dg): Check for validity of other
12696 response if the current response is a referral.
12698 2014-04-29 Steve Ellcey <sellcey@mips.com>
12700 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12702 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12705 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12706 Always divide by positive zero when computing -Inf result.
12707 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12708 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12710 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12712 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12713 FPSCR if value do not change.
12714 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12715 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12716 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12717 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12718 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12719 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12722 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12724 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12725 * sysdeps/unix/sysv/linux/hppa: Move directory from
12726 ports/systeps/unix/sysv/linux/hppa.
12727 * README: Update listing for hppa-*-linux-gnu.
12729 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
12732 * manual/stdio.texi (Hook functions): Fix types of stream hook
12735 * socket/sys/socket.h: Fix typo in comment.
12737 2014-04-28 Wilco <wdijkstr@arm.com>
12739 * sysdeps/arm/fenv_private.h: New file.
12740 * sysdeps/arm/math_private.h: New file.
12741 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12743 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12745 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12747 (La_x86_64_retval): Likewise.
12749 2014-04-24 Ian Bolton <ian.bolton@arm.com>
12751 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12752 fpsr if value didn't change.
12753 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12754 to fpcr if value didn't change.
12755 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12756 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12757 fpsr or fpcr if value didn't change.
12758 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12759 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12760 fpcr if value didn't change.
12761 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12762 to fpsr if value didn't change.
12764 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12766 * nptl/tst-sem3.c: Use test-skeleton.c
12767 (main): Rename to do_test. Use return instead of
12769 * nptl/tst-sem4.c: Use test-skeleton.c
12770 (main): Rename to do_test.
12772 2014-04-22 David S. Miller <davem@davemloft.net>
12774 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12775 (struct sigaction): New struct member __glibc_reserved0, change
12776 type of sa_flags to int.
12778 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12780 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12781 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12783 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12785 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12786 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12788 2014-04-22 Will Newton <will.newton@linaro.org>
12789 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12791 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12792 (__longjmp): Add longjmp and longjmp_target SystemTap
12794 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12795 (__sigsetjmp): Add setjmp SystemTap probe.
12797 2014-04-17 Carlos O'Donell <carlos@redhat.com>
12799 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12800 match manual order.
12802 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12804 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12806 * sysdeps/powerpc/fpu/fenv_private.h
12807 (libc_feholdexcept_setroundl_ctx): Define to
12808 libc_feholdexcept_setround_ppc_ctx.
12809 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12810 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12811 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12812 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12814 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12816 * sysdeps/aarch64/math-tests.h: New file.
12818 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12820 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12823 Check and set bit_AVX2_Usable.
12824 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12826 (bit_AVX2): Likewise.
12827 (index_AVX2_Usable): Likewise.
12828 (CPUID_AVX2): Likewise.
12829 (HAS_AVX2): Likewise.
12831 2014-04-17 Will Newton <will.newton@linaro.org>
12833 * manual/setjmp.texi (System V contexts): Add note that
12834 calling setcontext on a context created by a call to a
12835 signal handler is undefined. Update text to note that
12836 setcontext from a signal handler is possible but not
12840 * stdlib/tst-setcontext.c: Include signal.h.
12841 (main): Check that the signal stack before and
12842 after swapcontext is the same.
12844 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12845 Re-implement to restore registers in user code and avoid
12846 rt_sigreturn system call.
12848 2014-04-17 Wilco <wdijkstr@arm.com>
12850 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12851 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12852 * math/test-fenv.c: Skip exception trap tests on targets which only
12853 support non-stop mode.
12855 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12856 Wilco Dijkstra <wilco.dijkstra@arm.com>
12858 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12859 (libc_feholdsetround_aarch64_ctx)
12860 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12861 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12862 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12863 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12864 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12865 (libc_feresetround_noexl_ctx): Define.
12867 2014-04-16 Richard Henderson <rth@redhat.com>
12869 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12871 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12874 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12875 const from the non-libc, non-ldso copy.
12877 * sysdeps/alpha/libm-test-ulps: Regenerate.
12879 2014-04-16 Ian Bolton <ian.bolton@arm.com>
12880 Wilco Dijkstra <wilco.dijkstra@arm.com>
12882 * sysdeps/aarch64/fpu/math_private.h: New file.
12884 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12886 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12888 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12891 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12892 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12893 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12894 Intel MPX bound registers before _dl_profile_fixup.
12895 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12896 registers after _dl_profile_fixup. Save and restore bound
12897 registers bnd0/bnd1 when calling _dl_call_pltexit.
12898 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12899 (LR_BND_OFFSET): Likewise.
12900 (LRV_BND0_OFFSET): Likewise.
12901 (LRV_BND1_OFFSET): Likewise.
12903 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12905 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12907 * sysdeps/mach/hurd/i386/tls.h: ... here.
12908 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12909 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12912 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12914 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12916 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12918 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12920 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12923 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12924 * sysdeps/s390/configure: Regenerate.
12927 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12928 Set round-to-nearest internally to reduce error accumulation.
12930 2014-04-16 Alan Modra <amodra@gmail.com>
12934 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12935 * math/libm-test.inc (frexp_test_data): Add tests.
12936 * NEWS: Update fixed bug list.
12938 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12940 * benchtests/Makefile: Depend on libraries in build directory.
12941 (bench-math): Separate out math tests.
12942 (bench-pthread): Separate out pthread tests.
12943 (bench): Include math and pthread tests.
12945 2014-04-14 Carlos O'Donell <carlos@redhat.com>
12948 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12949 _dl_debug_initialize.
12951 * configure.ac: Remove SELinux header check.
12952 * configure: Regenerate.
12953 * nscd/selinux.c (perms): Array of const char* to permission names.
12954 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12955 default policy. Call string_to_security_class and string_to_av_perm to
12956 translate strings. Enforce default policy and call avs_has_perm with
12957 results of translated strings.
12959 2014-04-13 David S. Miller <davem@davemloft.net>
12961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12963 2014-04-12 Allan McRae <allan@archlinux.org>
12966 * manual/string.texi (Collation Functions): Fix qsort argument
12968 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12970 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12972 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12973 Make the test a no-op if there are no exceptions defined.
12975 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12977 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12978 enable-hardcoded-path-in-tests
12980 2014-04-11 Will Newton <will.newton@linaro.org>
12982 * benchtests/Makefile (extra-objs): Add json-lib.o.
12983 (bench-func): Tidy up JSON output.
12984 * benchtests/bench-skeleton.c: Include json-lib.h.
12985 (main): Use JSON library functions to do output of
12987 * benchtests/bench-timing-type.c (main): Output the
12988 timing type simply, leaving formatting to the user.
12989 * benchtests/json-lib.c: New file.
12990 * benchtests/json-lib.h: Likewise.
12992 2014-04-11 Torvald Riegel <triegel@redhat.com>
12995 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12996 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12997 memory barriers. Add comments.
12998 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12999 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13000 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13001 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13002 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13003 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13005 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13007 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13008 * sysdeps/s390/s390-64/configure.ac: ... this ...
13009 * sysdeps/s390/configure.ac: ... to here.
13010 * sysdeps/s390/s390-32/configure: Delete file.
13011 * sysdeps/s390/s390-64/configure: Delete file.
13012 * sysdeps/s390/configure: Regenerate.
13014 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13016 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13018 2014-04-11 Will Newton <will.newton@linaro.org>
13020 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13021 to zero if it is not defined elsewhere. (mtrim): Test
13022 the value of MALLOC_DEBUG with #if rather than #ifdef.
13024 2014-04-10 Torvald Riegel <triegel@redhat.com>
13026 * benchtests/pthread_once-inputs: New file.
13027 * benchtests/pthread_once-source.c: New file.
13028 * benchtests/README: Update documentation.
13030 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13031 H.J. Lu <hongjiu.lu@intel.com>
13034 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13035 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13036 * sysdeps/x86_64/configure: Regenerated.
13037 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13039 (REGISTER_SAVE_RAX): Likewise.
13040 (REGISTER_SAVE_RCX): Likewise.
13041 (REGISTER_SAVE_RDX): Likewise.
13042 (REGISTER_SAVE_RSI): Likewise.
13043 (REGISTER_SAVE_RDI): Likewise.
13044 (REGISTER_SAVE_R8): Likewise.
13045 (REGISTER_SAVE_R9): Likewise.
13046 (REGISTER_SAVE_BND0): Likewise.
13047 (REGISTER_SAVE_BND1): Likewise.
13048 (REGISTER_SAVE_BND2): Likewise.
13049 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13050 bound registers when calling _dl_fixup.
13052 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13054 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13055 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13057 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13058 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13059 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13060 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13061 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13062 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13063 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13065 2014-04-09 Peter Brett <peter@peter-b.co.uk>
13068 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13069 pathconf(_PC_NAME_MAX).
13071 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13073 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13074 Remove macro usage.
13075 (__PTHREAD_SPINS): Move definition to ...
13076 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13077 (__PTHREAD_SPINS): ... here.
13078 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13079 (__PTHREAD_SPIN): Likewise.
13080 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13081 (__PTHREAD_SPIN): Likewise.
13082 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13083 (__PTHREAD_SPIN): Likewise.
13084 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13085 (__PTHREAD_SPIN): Likewise.
13086 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13087 (__PTHREAD_SPIN): Likewise.
13088 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13089 (__PTHREAD_SPIN): Likewise.
13090 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13091 (__PTHREAD_SPIN): Likewise.
13092 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13093 (__PTHREAD_SPIN): Likewise.
13094 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13095 (__PTHREAD_SPIN): Likewise.
13096 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13097 (__PTHREAD_SPIN): Likewise.
13098 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13099 (__PTHREAD_SPIN): Likewise.
13100 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13101 (__PTHREAD_SPIN): Likewise.
13103 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13104 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13105 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13106 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13108 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13109 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13110 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13111 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13112 correct imply path.
13113 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13114 strlen symbol for non multi-arch builds.
13115 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13116 missing hidden_def and weak_alias.
13118 2014-04-08 Carlos O'Donell <carlos@redhat.com>
13120 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13122 2014-04-07 Will Newton <will.newton@linaro.org>
13124 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13125 and contents. [!_LIBC] Remove #ifndef and contents.
13126 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13127 * string/memccpy.c (__memccpy): Use ANSI prototype.
13128 * string/memfrob.c (memfrob): Likewise.
13129 * string/strcoll.c (STRCOLL): Likewise.
13130 * string/strlen.c (strlen): Likewise.
13131 * string/strtok.c (STRTOK): Likewise.
13132 * string/strcat.c: Remove unused #include of memcopy.h.
13133 (strcat): Use ANSI prototype.
13134 * string/strchr.c: Remove unused #include of memcopy.h.
13135 (strchr): Use ANSI prototype.
13136 * string/strcmp.c: Remove unused #include of memcopy.h.
13137 (strcmp): Use ANSI prototype.
13138 * string/strcpy.c: Remove unused #include of memcopy.h.
13139 (strcpy): Use ANSI prototype.
13141 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13143 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13144 * config.make.in (config-extra-cppflags): Set it from
13145 libc_extra_cppflags.
13146 * configure.ac (libc_extra_cflags): Make it accumulate over
13147 configure fragments.
13148 (libc_extra_cppflags): New flag.
13149 * configure. Regenerate.
13150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13151 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13152 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13156 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13157 result for FE_DOWNWARD rounding mode.
13158 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13162 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13164 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13165 in function argument name.
13167 2014-04-03 David Svoboda <svoboda@cert.org>
13170 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13173 2014-04-03 Roland McGrath <roland@hack.frob.com>
13175 * elf/dl-unmap-segments.h: New file.
13176 * sysdeps/generic/ldsodefs.h
13177 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13178 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13179 * elf/dl-fptr.c: Likewise.
13180 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13181 * sysdeps/aarch64/tlsdesc.c: Likewise.
13182 * sysdeps/arm/tlsdesc.c: Likewise.
13183 * sysdeps/i386/tlsdesc.c: Likewise.
13184 * sysdeps/tile/dl-runtime.c: Likewise.
13185 * sysdeps/x86_64/tlsdesc.c: Likewise.
13186 * elf/dl-load.h: New file.
13187 * elf/dl-load.c: Include it.
13188 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13189 Macros moved to dl-load.h.
13190 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13191 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13192 Use _dl_unmap_segments in place of __munmap.
13193 Break out segment-mapping loop into ...
13194 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13196 2014-04-03 Will Newton <will.newton@linaro.org>
13198 * elf/dl-lookup.c (do_lookup_x): Remove comment
13199 referring to nested function and move variable
13200 declarations down to before first use.
13202 2014-04-02 Joseph Myers <joseph@codesourcery.com>
13206 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13208 * math/s_catanf.c (__catanf): Likewise.
13209 * math/s_catanh.c (__catanh): Likewise.
13210 * math/s_catanhf.c (__catanhf): Likewise.
13211 * math/s_catanhl.c (__catanhl): Likewise.
13212 * math/s_catanl.c (__catanl): Likewise.
13213 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13214 by positive zero when computing -Inf result.
13215 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13216 (catanh_test): Likewise.
13217 * sysdeps/i386/fpu/libm-test-ulps: Update.
13218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13221 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13222 instead of using underflowing value in computing result.
13223 * math/s_clog10.c (__clog10): Likewise.
13224 * math/s_clog10f.c (__clog10f): Likewise.
13225 * math/s_clog10l.c (__clog10l): Likewise.
13226 * math/s_clogf.c (__clogf): Likewise.
13227 * math/s_clogl.c (__clogl): Likewise.
13228 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13229 (clog10_test): Likewise.
13230 * sysdeps/i386/fpu/libm-test-ulps: Update.
13231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13233 2014-04-02 Alan Modra <amodra@gmail.com>
13236 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13237 output when value is near a power of two. Use int64_t for lx and
13238 remove casts. Use decimal rather than hex exponent constants.
13239 Don't use long double multiplication when double will suffice.
13240 * math/libm-test.inc (nextafter_test_data): Add tests.
13241 * NEWS: Add 16739 and 16786 to bug list.
13243 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13245 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13247 2014-04-01 Will Newton <will.newton@linaro.org>
13249 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13250 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13252 2014-04-01 Florian Weimer <fweimer@redhat.com>
13255 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13256 * nptl/tst-setuid2.c: New file.
13257 * nptl/Makefile (xtests): Add tst-setuid2.
13259 2014-04-01 Alan Modra <amodra@gmail.com>
13262 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13264 2014-03-31 Joseph Myers <joseph@codesourcery.com>
13268 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13269 set errno as appropriate.
13270 * math/w_scalbf.c (__scalbf): Likewise.
13271 * math/w_scalbl.c (__scalbl): Likewise.
13272 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13273 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13274 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13275 Add more NaN tests.
13278 * math/w_atan2.c: Include <errno.h>.
13279 (__atan2): Set errno for result underflowing to zero.
13280 * math/w_atan2f.c: Include <errno.h>.
13281 (__atan2f): Set errno for result underflowing to zero.
13282 * math/w_atan2l.c: Include <errno.h>.
13283 (__atan2l): Set errno for result underflowing to zero.
13284 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13286 * math/auto-libm-test-out: Regenerated.
13288 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13290 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13291 Encode instruction correctly in little endian.
13292 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13294 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13296 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13298 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13301 2014-03-31 Joseph Myers <joseph@codesourcery.com>
13304 * sysdeps/unix/sysv/linux/kernel-features.h
13305 [__sparc__ && !__arch64__ && !__sparc_v9__]
13306 (__ASSUME_SET_ROBUST_LIST): Do not define.
13307 [__sparc__ && !__arch64__ && !__sparc_v9__]
13308 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13309 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13311 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13312 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13313 (__ASSUME_REQUEUE_PI): Likewise.
13314 (__ASSUME_SET_ROBUST_LIST): Likewise.
13315 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13316 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13318 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13319 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13321 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13323 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13325 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13326 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13328 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13329 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13333 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13334 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13335 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13337 2014-03-31 Will Newton <will.newton@linaro.org>
13339 * benchtests/Makefile (bench): Add ffs and ffsll to list
13341 * benchtests/ffs-inputs: New file.
13342 * benchtests/ffsll-inputs: Likewise.
13344 2014-03-29 Joseph Myers <joseph@codesourcery.com>
13347 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13348 too large before casting to int.
13349 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13350 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13351 * math/libm-test.inc (scalb_test_data): Add more tests.
13353 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13355 * benchtests/Makefile (DETAILED_OPT): New make option.
13356 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13358 * benchtests/bench-skeleton.c: Include stdbool.h.
13359 (main): Store and print timings per input.
13360 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13361 member to each argument value.
13362 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13363 (_print_arg_data): Initialize per-input timing to 0.
13365 * benchtests/Makefile (timing-type): New binary.
13366 (bench-clean): Also remove bench-timing-type.
13367 (bench): New target for timing-type.
13368 (bench-func): Print output in JSON format.
13369 * benchtests/bench-skeleton.c (main): Print output in JSON
13371 * benchtests/bench-timing-type.c: New file.
13372 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13373 (TIMING_PRINT_STATS): Remove.
13374 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13377 * benchtests/bench-modf.c: Remove.
13378 * benchtests/modf-inputs: New inputs file.
13380 2014-03-28 Joseph Myers <joseph@codesourcery.com>
13383 * math/s_clog10.c (M_PI_LOG10E): New macro.
13384 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13385 imaginary parts are 0.
13386 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13387 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13388 imaginary parts are 0.
13389 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13390 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13391 imaginary parts are 0.
13392 * math/libm-test.inc (clog10_test_data): Update expected results
13393 for when real and imaginary parts are 0.
13395 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13397 * elf/dl-load.c: Finish conversion of __builtin_expect into
13398 __glibc_{un}likely.
13400 2014-03-27 Joseph Myers <joseph@codesourcery.com>
13403 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13404 1+x for argument with exponent below -67.
13405 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13407 * math/auto-libm-test-in: Add more tests of exp.
13408 * math/auto-libm-test-out: Regenerated.
13410 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13413 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13414 (nscd_getnetgrent): Use it.
13417 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13420 2014-03-27 Andi Kleen <ak@linux.intel.com>
13422 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13423 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13424 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13425 (lll_robust_unlock): Remove out of line section. Use cfi
13427 (LLL_STUB_UNWIND_INFO*): Remove.
13428 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13429 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13430 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13431 (lll_robust_unlock): Remove out of line section. Use cfi
13433 (LLL_STUB_UNWIND_INFO*): Remove.
13435 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13438 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13441 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13443 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13445 2014-03-26 Joseph Myers <joseph@codesourcery.com>
13448 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13450 * math/test-fenv-preserve.c: New file.
13451 * math/Makefile (tests): Add test-fenv-preserve.
13453 2014-03-26 Will Newton <will.newton@linaro.org>
13455 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13457 2014-03-25 Roland McGrath <roland@hack.frob.com>
13459 * scripts/versionlist.awk: Partition the version sets and emit all
13460 GLIBC_* (sorted) before all others (sorted).
13462 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13464 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13465 GLIBC_2.2.5 version.
13467 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13469 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13472 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13477 2014-03-25 Andreas Schwab <schwab@suse.de>
13479 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13480 label to be used after in6ailist is initialized.
13482 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13484 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13485 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13487 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13491 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13493 (fp_formats): Update initializers.
13494 (init_fp_formats): Initialize new field.
13495 (output_for_one_input_case): Allow underflow for results up to
13497 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13498 * math/auto-libm-test-in: Don't mark some underflows from asin and
13500 * math/auto-libm-test-out: Regenerated.
13501 * sysdeps/i386/fpu/libm-test-ulps: Update.
13502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13504 2014-03-25 Andreas Schwab <schwab@suse.de>
13506 * libio/Makefile (tst-ftell-partial-wide-ENV)
13507 (tst-ftell-active-handler-ENV): Define.
13509 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13511 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13513 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13515 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13517 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13519 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13520 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13521 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13523 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13526 * elf/dl-load.c (open_verify): Add mode parameter.
13527 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13528 (open_path): Change from boolean 'secure' to complete flag 'mode'
13529 (_dl_map_object): Adjust.
13530 * elf/Makefile (tests): Add tst-dlopen-aout.
13531 * elf/tst-dlopen-aout.c: New test.
13533 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13536 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13537 (struct stat): Rename member pad0 to __glibc_reserved0.
13540 * sysdeps/s390/s390-32/bits/wordsize.h
13541 (__WORDSIZE32_SIZE_ULONG): New define.
13542 * sysdeps/s390/s390-64/bits/wordsize.h
13543 (__WORDSIZE32_SIZE_ULONG): Likewise.
13544 * sysdeps/generic/stdint.h (SIZE_MAX):
13545 Define as UL if __WORDSIZE32_SIZE_ULONG.
13548 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13549 (__glibc_reserved0): New variable.
13550 (sa_flags): Change type to int.
13552 * posix/Makefile (before-compile): Use += before-compile instead
13555 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13556 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13558 2014-03-20 Andreas Schwab <schwab@suse.de>
13561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13562 non-matching result from nscd.
13564 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13566 * scripts/bench.py: Moved to ...
13567 * benchtests/scripts/bench.py: ... here.
13568 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13570 2014-03-24 Andreas Schwab <schwab@suse.de>
13573 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13574 alloca_account and account alloca use for struct in6ailist.
13576 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13579 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13580 rounding mode to recompute results that overflow to infinity or
13582 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13584 * math/auto-libm-test-out: Regenerated.
13585 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13586 (ccosh_test): Likewise.
13587 (csin_test_data): Use plus_oflow.
13588 (csin_test): Use ALL_RM_TEST.
13589 (csinh_test_data): Use plus_oflow.
13590 (csinh_test): Use ALL_RM_TEST.
13591 * sysdeps/i386/fpu/libm-test-ulps: Update.
13592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13594 2014-03-21 Joseph Myers <joseph@codesourcery.com>
13596 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13597 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13598 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13601 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13602 when x - 1 is zero.
13603 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13604 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13605 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13606 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13608 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13609 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13611 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13612 * sysdeps/i386/fpu/libm-test-ulps: Update.
13613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13615 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13617 * scripts/bench.pl: Remove file.
13618 * scripts/bench.py: New benchmark script.
13619 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13620 * benchtests/README: Mention python dependency.
13621 * scripts/pylintrc: New file.
13622 * scripts/pylint: New file.
13624 * bits/mathdef.h: Use #ifdef instead of #if.
13625 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13626 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13627 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13628 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13629 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13630 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13632 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13633 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13635 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13637 and strpbrk-ppc64 objects.
13638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13639 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13640 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13641 multiarch strpbrk for POWER7.
13642 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13643 multiarch strpbrk for PPC64.
13644 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13646 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13647 strpbrk for POWER7.
13649 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13651 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13652 (atan_test): Likewise.
13653 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13654 (atanh_test): Use ALL_RM_TEST.
13655 (atan2_test_data): Likewise.
13656 (cabs_test): Likewise.
13657 (cacosh_test): Likewise.
13658 (carg_test): Likewise.
13659 (casin_test): Likewise.
13660 (casinh_test): Likewise.
13661 (cbrt_test): Likewise.
13662 (csqrt_test): Likewise.
13663 (erf_test): Likewise.
13664 (erfc_test): Likewise.
13665 (pow10_test): Likewise.
13666 (exp2_test): Likewise.
13667 (hypot_test): Likewise.
13668 (j0_test): Likewise.
13669 (j1_test): Likewise.
13670 (lgamma_test): Likewise.
13671 (gamma_test): Likewise.
13672 (sincos_test): Likewise.
13673 (tanh_test): Likewise.
13674 (y0_test): Likewise.
13675 (y1_test): Likewise.
13676 * sysdeps/i386/fpu/libm-test-ulps: Update.
13677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13679 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13681 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13683 and strcspn-ppc64 objects.
13684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13685 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13686 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13687 multiarch strcspn for POWER7.
13688 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13689 multiarch strcspn for PPC64.
13690 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13692 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13693 strcspn for POWER7.
13695 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13697 * math/gen-libm-test.pl (generate_testfile): Expect only function
13698 name as argument to AUTO_TESTS_* and pass results for all rounding
13699 modes to parse_args.
13700 (parse_auto_input): Separate inputs of automatic tests from
13701 outputs before storing in %auto_tests.
13702 * math/libm-test.inc (acos_test_data): Update call to
13704 (acos_test): Use ALL_RM_TEST.
13705 (acos_tonearest_test_data): Remove.
13706 (acos_test_tonearest): Likewise.
13707 (acos_towardzero_test_data): Likewise.
13708 (acos_test_towardzero): Likewise.
13709 (acos_downward_test_data): Likewise.
13710 (acos_test_downward): Likewise.
13711 (acos_upward_test_data): Likewise.
13712 (acos_test_upward): Likewise.
13713 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13714 (asin_test_data): Likewise.
13715 (asin_test): Use ALL_RM_TEST.
13716 (asin_tonearest_test_data): Remove.
13717 (asin_test_tonearest): Likewise.
13718 (asin_towardzero_test_data): Likewise.
13719 (asin_test_towardzero): Likewise.
13720 (asin_downward_test_data): Likewise.
13721 (asin_test_downward): Likewise.
13722 (asin_upward_test_data): Likewise.
13723 (asin_test_upward): Likewise.
13724 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13725 (atan_test_data): Likewise.
13726 (atanh_test_data): Likewise.
13727 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13728 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13729 (carg_test_data): Likewise.
13730 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13731 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13732 (ccosh_test_data): Likewise.
13733 (cexp_test_data): Likewise.
13734 (clog_test_data): Likewise.
13735 (clog10_test_data): Likewise.
13736 (cos_test_data): Update call to AUTO_TESTS_f_f.
13737 (cos_test): Use ALL_RM_TEST.
13738 (cos_tonearest_test_data): Remove.
13739 (cos_test_tonearest): Likewise.
13740 (cos_towardzero_test_data): Likewise.
13741 (cos_test_towardzero): Likewise.
13742 (cos_downward_test_data): Likewise.
13743 (cos_test_downward): Likewise.
13744 (cos_upward_test_data): Likewise.
13745 (cos_test_upward): Likewise.
13746 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13747 (cosh_test): Use ALL_RM_TEST.
13748 (cosh_tonearest_test_data): Remove.
13749 (cosh_test_tonearest): Likewise.
13750 (cosh_towardzero_test_data): Likewise.
13751 (cosh_test_towardzero): Likewise.
13752 (cosh_downward_test_data): Likewise.
13753 (cosh_test_downward): Likewise.
13754 (cosh_upward_test_data): Likewise.
13755 (cosh_test_upward): Likewise.
13756 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13757 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13758 (ctan_test_data): Likewise.
13759 (ctan_test): Use ALL_RM_TEST.
13760 (ctan_tonearest_test_data): Remove.
13761 (ctan_test_tonearest): Likewise.
13762 (ctan_towardzero_test_data): Likewise.
13763 (ctan_test_towardzero): Likewise.
13764 (ctan_downward_test_data): Likewise.
13765 (ctan_test_downward): Likewise.
13766 (ctan_upward_test_data): Likewise.
13767 (ctan_test_upward): Likewise.
13768 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13769 (ctanh_test): Use ALL_RM_TEST.
13770 (ctanh_tonearest_test_data): Remove.
13771 (ctanh_test_tonearest): Likewise.
13772 (ctanh_towardzero_test_data): Likewise.
13773 (ctanh_test_towardzero): Likewise.
13774 (ctanh_downward_test_data): Likewise.
13775 (ctanh_test_downward): Likewise.
13776 (ctanh_upward_test_data): Likewise.
13777 (ctanh_test_upward): Likewise.
13778 (erf_test_data): Update call to AUTO_TESTS_f_f.
13779 (erfc_test_data): Likewise.
13780 (exp_test_data): Likewise.
13781 (exp_test): Use ALL_RM_TEST.
13782 (exp_tonearest_test_data): Remove.
13783 (exp_test_tonearest): Likewise.
13784 (exp_towardzero_test_data): Likewise.
13785 (exp_test_towardzero): Likewise.
13786 (exp_downward_test_data): Likewise.
13787 (exp_test_downward): Likewise.
13788 (exp_upward_test_data): Likewise.
13789 (exp_test_upward): Likewise.
13790 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13791 (exp10_test): Use ALL_RM_TEST.
13792 (exp10_tonearest_test_data): Remove.
13793 (exp10_test_tonearest): Likewise.
13794 (exp10_towardzero_test_data): Likewise.
13795 (exp10_test_towardzero): Likewise.
13796 (exp10_downward_test_data): Likewise.
13797 (exp10_test_downward): Likewise.
13798 (exp10_upward_test_data): Likewise.
13799 (exp10_test_upward): Likewise.
13800 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13801 (expm1_test_data): Likewise.
13802 (expm1_test): Use ALL_RM_TEST.
13803 (expm1_tonearest_test_data): Remove.
13804 (expm1_test_tonearest): Likewise.
13805 (expm1_towardzero_test_data): Likewise.
13806 (expm1_test_towardzero): Likewise.
13807 (expm1_downward_test_data): Likewise.
13808 (expm1_test_downward): Likewise.
13809 (expm1_upward_test_data): Likewise.
13810 (expm1_test_upward): Likewise.
13811 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13812 (fma_test): Use ALL_RM_TEST.
13813 (fma_towardzero_test_data): Remove.
13814 (fma_test_towardzero): Likewise.
13815 (fma_downward_test_data): Likewise.
13816 (fma_test_downward): Likewise.
13817 (fma_upward_test_data): Likewise.
13818 (fma_test_upward): Likewise.
13819 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13820 (j0_test_data): Update call to AUTO_TESTS_f_f.
13821 (j1_test_data): Likewise.
13822 (jn_test_data): Update call to AUTO_TESTS_if_f.
13823 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13824 (log_test_data): Update call to AUTO_TESTS_f_f.
13825 (log10_test_data): Likewise.
13826 (log1p_test_data): Likewise.
13827 (log2_test_data): Likewise.
13828 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13829 (pow_tonearest_test_data): Likewise.
13830 (sin_test_data): Update call to AUTO_TESTS_f_f.
13831 (sin_test): Use ALL_RM_TEST.
13832 (sin_tonearest_test_data): Remove.
13833 (sin_test_tonearest): Likewise.
13834 (sin_towardzero_test_data): Likewise.
13835 (sin_test_towardzero): Likewise.
13836 (sin_downward_test_data): Likewise.
13837 (sin_test_downward): Likewise.
13838 (sin_upward_test_data): Likewise.
13839 (sin_test_upward): Likewise.
13840 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13841 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13842 (sinh_test): Use ALL_RM_TEST.
13843 (sinh_tonearest_test_data): Remove.
13844 (sinh_test_tonearest): Likewise.
13845 (sinh_towardzero_test_data): Likewise.
13846 (sinh_test_towardzero): Likewise.
13847 (sinh_downward_test_data): Likewise.
13848 (sinh_test_downward): Likewise.
13849 (sinh_upward_test_data): Likewise.
13850 (sinh_test_upward): Likewise.
13851 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13852 (sqrt_test): Use ALL_RM_TEST.
13853 (sqrt_tonearest_test_data): Remove.
13854 (sqrt_test_tonearest): Likewise.
13855 (sqrt_towardzero_test_data): Likewise.
13856 (sqrt_test_towardzero): Likewise.
13857 (sqrt_downward_test_data): Likewise.
13858 (sqrt_test_downward): Likewise.
13859 (sqrt_upward_test_data): Likewise.
13860 (sqrt_test_upward): Likewise.
13861 (tan_test_data): Update call to AUTO_TESTS_f_f.
13862 (tan_test): Use ALL_RM_TEST.
13863 (tan_tonearest_test_data): Remove.
13864 (tan_test_tonearest): Likewise.
13865 (tan_towardzero_test_data): Likewise.
13866 (tan_test_towardzero): Likewise.
13867 (tan_downward_test_data): Likewise.
13868 (tan_test_downward): Likewise.
13869 (tan_upward_test_data): Likewise.
13870 (tan_test_upward): Likewise.
13871 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13872 (tgamma_test_data): Likewise.
13873 (y0_test_data): Likewise.
13874 (y1_test_data): Likewise.
13875 (yn_test_data): Update call to AUTO_TESTS_if_f.
13876 (main): Do not call removed functions.
13878 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13880 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13881 (ldexp_test_data): Remove.
13882 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13884 (scalb_test): Use ALL_RM_TEST.
13886 2014-03-19 Andreas Schwab <schwab@suse.de>
13888 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13890 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13893 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13894 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13895 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13896 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13897 (__ASSUME_PREADV): Undefine.
13898 (__ASSUME_PWRITEV): Likewise.
13900 2014-03-18 Roland McGrath <roland@hack.frob.com>
13902 * bits/mman-linux.h: Add comment about non-Linux use.
13903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13904 bits/mman-linux.h resting place.
13906 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13907 * bits/mman-linux.h: ... here.
13909 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13911 * conform/conformtest.pl: Add standard definition when calling C
13912 preprocessor on data files.
13913 (checknamespace): Remove unused variable.
13915 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13917 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13918 minus_oflow, plus_uflow and minus_uflow in expected results.
13919 * math/libm-test.inc (scalbn_test_data): Add more tests of
13920 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13922 (scalbn_test): Use ALL_RM_TEST.
13923 (scalbln_test_data): Add more tests of negative arguments. Use
13924 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13925 (scalbln_test): Use ALL_RM_TEST.
13927 2014-03-18 Roland McGrath <roland@hack.frob.com>
13929 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13931 2014-03-18 Will Newton <will.newton@linaro.org>
13933 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13934 inaccurate comment.
13936 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13938 * Makerules [!subdir] (check-abi): Exit with error status if a
13941 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13943 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13944 for rint. Include results for all rounding modes.
13945 (nearbyint_test): Use ALL_RM_TEST.
13946 (rint_test_data): Include all tests used for nearbyint.
13948 2014-03-17 Will Newton <will.newton@linaro.org>
13950 * nptl/sysdeps/pthread/pthread.h: Revert previous
13953 * sysdeps/generic/ldsodefs.h: Revert previous
13956 * libio/genops.c: Revert previous change.
13957 * libio/libioP.h: Likewise.
13958 * stdio-common/vfprintf.c: Likewise.
13960 * sysdeps/generic/math_private.h: Revert previous
13963 * sysdeps/generic/math_private.h: Check whether
13964 HAVE_RM_CTX is defined with #ifdef rather
13967 * argp/argp-fmtstream.h: Check whether
13968 __STRICT_ANSI__ is defined with #ifdef rather
13970 * argp/argp.h: Likewise.
13972 * libio/genops.c: Check whether
13973 _IO_JUMPS_OFFSET is defined with #ifdef rather
13975 * libio/libioP.h: Likewise.
13976 * stdio-common/vfprintf.c: Likewise.
13978 * sysdeps/generic/ldsodefs.h: Check whether
13979 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13982 * nptl/sysdeps/pthread/pthread.h: Check
13983 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13986 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13988 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13990 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13994 * libio/fileops.c (_IO_file_open): Seek to end of file but
13995 don't cache the offset.
13996 (get_file_offset): Remove function.
13997 (do_ftell): Use cached offset when available.
13998 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13999 don't cache the offset.
14000 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14002 (do_one_test): Call it.
14003 (do_ftell_test): Fix up expected old offset for a+ mode.
14004 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14007 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14008 up test status with function return status.
14009 (do_write_test): Likewise.
14010 (do_append_test): Likewise.
14012 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14013 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14016 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14018 * math/gen-libm-test.pl (parse_args): Handle results specified for
14019 each rounding mode separately.
14020 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14021 tests and results from lrint_tonearest_test_data,
14022 lrint_towardzero_test_data, lrint_downward_test_data and
14023 lrint_upward_test_data.
14024 (lrint_test): Use ALL_RM_TEST.
14025 (lrint_tonearest_test_data): Remove.
14026 (lrint_test_tonearest): Likewise.
14027 (lrint_towardzero_test_data): Likewise.
14028 (lrint_test_towardzero): Likewise.
14029 (lrint_downward_test_data): Likewise.
14030 (lrint_test_downward): Likewise.
14031 (lrint_upward_test_data): Likewise.
14032 (lrint_test_upward): Likewise.
14033 (llrint_test_data): Merge in per-rounding-mode tests and results
14034 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14035 llrint_downward_test_data and llrint_upward_test_data.
14036 (llrint_test): Use ALL_RM_TEST.
14037 (llrint_tonearest_test_data): Remove.
14038 (llrint_test_tonearest): Likewise.
14039 (llrint_towardzero_test_data): Likewise.
14040 (llrint_test_towardzero): Likewise.
14041 (llrint_downward_test_data): Likewise.
14042 (llrint_test_downward): Likewise.
14043 (llrint_upward_test_data): Likewise.
14044 (llrint_test_upward): Likewise.
14045 (rint_test_data): Merge in per-rounding-mode tests and results
14046 from rint_tonearest_test_data, rint_towardzero_test_data,
14047 rint_downward_test_data and rint_upward_test_data. Add
14048 per-rounding-mode results for tests not in those arrays.
14049 (rint_test): Use ALL_RM_TEST.
14050 (rint_tonearest_test_data): Remove.
14051 (rint_test_tonearest): Likewise.
14052 (rint_towardzero_test_data): Likewise.
14053 (rint_test_towardzero): Likewise.
14054 (rint_downward_test_data): Likewise.
14055 (rint_test_downward): Likewise.
14056 (rint_upward_test_data): Likewise.
14057 (rint_test_upward): Likewise.
14058 (main): Don't call removed functions.
14060 2014-03-14 Roland McGrath <roland@hack.frob.com>
14062 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14063 "Compiled on ..." crapola. It is anti-useful.
14065 2014-03-14 Joseph Myers <joseph@codesourcery.com>
14067 * scripts/evaluate-test.sh: Handle fourth argument to determine
14068 whether test run should stop on failure.
14069 * Makeconfig (stop-on-test-failure): New variable.
14070 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14071 $(stop-on-test-failure).
14072 * Makefile (tests): Give a summary of results from testing and
14073 exit with failure status if they include an ERROR or FAIL.
14074 (xtests): Likewise.
14075 * manual/install.texi (Configuring and compiling): Mention
14076 stop-on-test-failure=y.
14077 * INSTALL: Regenerated.
14079 2014-03-14 Roland McGrath <roland@hack.frob.com>
14081 * scripts/versionlist.awk: New file.
14082 * Makerules [$(build-shared) = yes]
14083 (postclean-generated): Add Versions.def, not Versions.def.v and
14085 ($(common-objpfx)Versions.def.v.i): Target removed.
14086 ($(common-objpfx)Versions.def): New target.
14087 ($(common-objpfx)Versions.all): Depend on that rather that
14088 $(common-objpfx)Versions.def.v.
14089 * Versions.def: File removed.
14091 * Makeconfig (+gccwarn): Add -Wundef.
14092 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14093 a dl-sysdep.h breaking its contract.
14094 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14095 * include/stackinfo.h: New file.
14096 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14097 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14098 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14099 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14100 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14101 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14102 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14103 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14104 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14105 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14106 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14107 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14108 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14109 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14110 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14112 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14115 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14117 * math/libm-test.inc (round_test_data): Add more tests.
14120 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14122 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14125 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14127 * math/libm-test.inc (ceil_test_data): Add more tests.
14129 * math/libm-test.inc (trunc_test_data): Add more tests related to
14132 2014-03-14 Roland McGrath <roland@hack.frob.com>
14134 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14135 with #if rather than #ifdef.
14136 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14138 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14140 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14141 first. Disable AVX-512 GCC support if assembler doesn't support
14143 * sysdeps/x86_64/configure: Regenerated.
14145 2014-03-13 Carlos O'Donell <carlos@redhat.com>
14147 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14148 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14149 (__old_pthread_attr_setstack): Likewise.
14150 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14151 [!_STACK_GROWS_DOWN]: Likewise.
14153 2014-03-13 Mike Frysinger <vapier@gentoo.org>
14155 * config.make.in (have-bash2): Delete.
14156 * configure.ac (libc_cv_have_bash2): Delete.
14157 * configure: Regenerate.
14158 * elf/Makefile (common-ldd-rewrite): Rename to ...
14159 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14160 (sh-ldd-rewrite): Delete.
14161 (bash-ldd-rewrite): Delete.
14162 (have-bash2): Delete checks.
14163 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14166 * config.make.in (have-ksh): Delete.
14168 * configure.ac (libc_cv_have_ksh): Delete.
14169 * configure: Regenerate.
14171 * elf/Makefile: Delete $(have-ksh) check.
14172 ($(objpfx)sotruss): Change KSH to BASH.
14173 * elf/sotruss.ksh: Rename to ...
14174 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14175 function style to match POSIX. Drop ksh vim mode setting.
14177 * manual/time.texi (Specifying the Time Zone with TZ): Change
14178 Tuesday to Thursday.
14180 * debug/tst-longjmp_chk2.c: Update header comment.
14181 (stackoverflow_handler): Add comment. Call assert on pass value.
14183 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14186 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14187 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14188 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14189 (La_x86_64_vector): Add zmm.
14190 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14191 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14192 ($(objpfx)tst-audit10): New target.
14193 ($(objpfx)tst-audit10.out): Likewise.
14194 (tst-audit10-ENV): New.
14195 (AVX512-CFLAGS): Likewise.
14196 (CFLAGS-tst-audit10.c): Likewise.
14197 (CFLAGS-tst-auditmod10a.c): Likewise.
14198 (CFLAGS-tst-auditmod10b.c): Likewise.
14199 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14200 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14201 * sysdeps/x86_64/configure: Regenerated.
14202 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14203 AVX-512 zmm register support.
14204 (_dl_x86_64_save_sse): Likewise.
14205 (_dl_x86_64_restore_sse): Likewise.
14206 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14207 size vector registers.
14208 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14209 (ZMM_SIZE): Likewise.
14210 * sysdeps/x86_64/tst-audit10.c: New file.
14211 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14212 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14214 2014-03-13 Roland McGrath <roland@hack.frob.com>
14216 * configure.ac (HAVE_EHDR_START): New check.
14217 * configure: Regenerated.
14218 * config.h.in (HAVE_EHDR_START): New #undef.
14219 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14220 assuming the lowest-addressed segment maps the start of the file.
14222 2014-03-13 Joseph Myers <joseph@codesourcery.com>
14224 * INSTALL: Regenerated.
14226 2014-03-13 Will Newton <will.newton@linaro.org>
14228 * manual/setjmp.texi (System V contexts): Improve
14229 clarity and grammar of documentation.
14231 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14234 * elf/Makefile (tests): Add tst-pie2.
14235 (tests-pie): Add tst-pie2.
14236 * elf/tst-pie2.c: New file.
14237 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14239 * elf/rtld.c (map_doit): Load executable as lt_executable.
14240 (dl_main): Likewise.
14242 2014-03-12 Joseph Myers <joseph@codesourcery.com>
14245 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14246 (__ASSUME_PSELECT): Undefine.
14248 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14251 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14252 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14254 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14255 selector for static builds.
14257 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14260 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14263 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14265 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14266 IFUNC selector for static builds.
14268 2014-03-11 Joseph Myers <joseph@codesourcery.com>
14270 * sysdeps/mips/math_private.h [__mips_hard_float]
14271 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14272 libc_feresetround_mips_ctx.
14273 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14274 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14275 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14278 * math/s_nextafter.c (__nextafter): Do not return value from
14279 overflowing computation.
14280 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14281 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14282 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14284 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14286 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14287 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14289 2014-03-11 Roland McGrath <roland@hack.frob.com>
14291 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14292 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14293 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14294 the new mov targetting sp.
14296 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14299 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14300 Define it for static builds as well.
14301 (NO_BZERO_IMPL): Likewise.
14303 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14305 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14306 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14307 multiarch strspn for PPC64.
14308 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14309 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14311 (__libc_ifunc_impl_list): Likewise.
14312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14313 multiarch optimizations
14314 * string/strspn.c (strspn): Using macro to redefine symbol name.
14316 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14317 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14319 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14320 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14321 multiarch strncat for PPC64.
14322 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14323 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14325 (__libc_ifunc_impl_list): Likewise.
14326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14327 multiarch optimizations
14329 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14332 * nscd/nscd.service: Make service type forking.
14334 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14336 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14337 sign in non default rounding modes.
14338 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14340 2014-03-08 Joseph Myers <joseph@codesourcery.com>
14342 * math/libm-test.inc (ALL_RM_TEST): New macro.
14343 (ceil_test): Use ALL_RM_TEST.
14344 (cimag_test): Likewise.
14345 (conj_test): Likewise.
14346 (copysign_test): Likewise.
14347 (cproj_test): Likewise.
14348 (creal_test): Likewise.
14349 (fabs_test): Likewise.
14350 (floor_test): Likewise.
14351 (fmax_test): Likewise.
14352 (fmin_test): Likewise.
14353 (fmod_test): Likewise.
14354 (fpclassify_test): Likewise.
14355 (frexp_test): Likewise.
14356 (ilogb_test): Likewise.
14357 (isfinite_test): Likewise.
14358 (finite_test): Likewise.
14359 (isgreater_test): Likewise.
14360 (isgreaterequal_test): Likewise.
14361 (isinf_test): Likewise.
14362 (isless_test): Likewise.
14363 (islessequal_test): Likewise.
14364 (islessgreater_test): Likewise.
14365 (isnan_test): Likewise.
14366 (isnormal_test): Likewise.
14367 (issignaling_test): Likewise.
14368 (isunordered_test): Likewise.
14369 (logb_test): Likewise.
14370 (logb_downward_test_data): Remove.
14371 (logb_test_downward): Likewise.
14372 (lround_test): Use ALL_RM_TEST.
14373 (llround_test): Likewise.
14374 (modf_test): Likewise.
14375 (nexttoward_test): Likewise.
14376 (remainder_test): Likewise.
14377 (drem_test): Likewise.
14378 (remainder_tonearest_test_data): Likewise.
14379 (remainder_test_tonearest): Likewise.
14380 (drem_test_tonearest): Likewise.
14381 (remainder_towardzero_test_data): Likewise.
14382 (remainder_test_towardzero): Likewise.
14383 (drem_test_towardzero): Likewise.
14384 (remainder_downward_test_data): Likewise.
14385 (remainder_test_downward): Likewise.
14386 (drem_test_downward): Likewise.
14387 (remainder_upward_test_data): Likewise.
14388 (remainder_test_upward): Likewise.
14389 (drem_test_upward): Likewise.
14390 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14391 (round_test): Use ALL_RM_TEST.
14392 (signbit_test): Likewise.
14393 (trunc_test): Likewise.
14394 (significand_test): Likewise.
14395 (main): Don't call removed functions.
14397 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14400 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14401 || __USE_XOPEN2K8].
14402 (ILL_ILLOPN): Likewise.
14403 (ILL_ILLADR): Likewise.
14404 (ILL_ILLTRP): Likewise.
14405 (ILL_PRVOPC): Likewise.
14406 (ILL_PRVREG): Likewise.
14407 (ILL_COPROC): Likewise.
14408 (ILL_BADSTK): Likewise.
14409 (FPE_INTDIV): Likewise.
14410 (FPE_INTOVF): Likewise.
14411 (FPE_FLTDIV): Likewise.
14412 (FPE_FLTOVF): Likewise.
14413 (FPE_FLTUND): Likewise.
14414 (FPE_FLTRES): Likewise.
14415 (FPE_FLTINV): Likewise.
14416 (FPE_FLTSUB): Likewise.
14417 (SEGV_MAPERR): Likewise.
14418 (SEGV_ACCERR): Likewise.
14419 (BUS_ADRALN): Likewise.
14420 (BUS_ADRERR): Likewise.
14421 (BUS_OBJERR): Likewise.
14422 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14423 (TRAP_TRACE): Likewise.
14424 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14426 (CLD_KILLED): Likewise.
14427 (CLD_DUMPED): Likewise.
14428 (CLD_TRAPPED): Likewise.
14429 (CLD_STOPPED): Likewise.
14430 (CLD_CONTINUED): Likewise.
14431 (POLL_IN): Likewise.
14432 (POLL_OUT): Likewise.
14433 (POLL_MSG): Likewise.
14434 (POLL_ERR): Likewise.
14435 (POLL_PRI): Likewise.
14436 (POLL_HUP): Likewise.
14437 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14439 (ILL_ILLOPN): Likewise.
14440 (ILL_ILLADR): Likewise.
14441 (ILL_ILLTRP): Likewise.
14442 (ILL_PRVOPC): Likewise.
14443 (ILL_PRVREG): Likewise.
14444 (ILL_COPROC): Likewise.
14445 (ILL_BADSTK): Likewise.
14446 (FPE_INTDIV): Likewise.
14447 (FPE_INTOVF): Likewise.
14448 (FPE_FLTDIV): Likewise.
14449 (FPE_FLTOVF): Likewise.
14450 (FPE_FLTUND): Likewise.
14451 (FPE_FLTRES): Likewise.
14452 (FPE_FLTINV): Likewise.
14453 (FPE_FLTSUB): Likewise.
14454 (SEGV_MAPERR): Likewise.
14455 (SEGV_ACCERR): Likewise.
14456 (BUS_ADRALN): Likewise.
14457 (BUS_ADRERR): Likewise.
14458 (BUS_OBJERR): Likewise.
14459 (BUS_MCEERR_AR): Likewise.
14460 (BUS_MCEERR_AO): Likewise.
14461 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14462 (TRAP_TRACE): Likewise.
14463 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14465 (CLD_KILLED): Likewise.
14466 (CLD_DUMPED): Likewise.
14467 (CLD_TRAPPED): Likewise.
14468 (CLD_STOPPED): Likewise.
14469 (CLD_CONTINUED): Likewise.
14470 (POLL_IN): Likewise.
14471 (POLL_OUT): Likewise.
14472 (POLL_MSG): Likewise.
14473 (POLL_ERR): Likewise.
14474 (POLL_PRI): Likewise.
14475 (POLL_HUP): Likewise.
14476 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
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 (BUS_MCEERR_AR): Likewise.
14498 (BUS_MCEERR_AO): Likewise.
14499 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14500 (TRAP_TRACE): Likewise.
14501 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14503 (CLD_KILLED): Likewise.
14504 (CLD_DUMPED): Likewise.
14505 (CLD_TRAPPED): Likewise.
14506 (CLD_STOPPED): Likewise.
14507 (CLD_CONTINUED): Likewise.
14508 (POLL_IN): Likewise.
14509 (POLL_OUT): Likewise.
14510 (POLL_MSG): Likewise.
14511 (POLL_ERR): Likewise.
14512 (POLL_PRI): Likewise.
14513 (POLL_HUP): Likewise.
14514 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14516 (ILL_ILLOPN): Likewise.
14517 (ILL_ILLADR): Likewise.
14518 (ILL_ILLTRP): Likewise.
14519 (ILL_PRVOPC): Likewise.
14520 (ILL_PRVREG): Likewise.
14521 (ILL_COPROC): Likewise.
14522 (ILL_BADSTK): Likewise.
14523 (ILL_BADIADDR): Likewise.
14524 (ILL_BREAK): Likewise.
14525 (FPE_INTDIV): Likewise.
14526 (FPE_INTOVF): Likewise.
14527 (FPE_FLTDIV): Likewise.
14528 (FPE_FLTOVF): Likewise.
14529 (FPE_FLTUND): Likewise.
14530 (FPE_FLTRES): Likewise.
14531 (FPE_FLTINV): Likewise.
14532 (FPE_FLTSUB): Likewise.
14533 (FPE_DECOVF): Likewise.
14534 (FPE_DECDIV): Likewise.
14535 (FPE_DECERR): Likewise.
14536 (FPE_INVASC): Likewise.
14537 (FPE_INVDEC): Likewise.
14538 (SEGV_MAPERR): Likewise.
14539 (SEGV_ACCERR): Likewise.
14540 (SEGV_PSTKOVF): Likewise.
14541 (BUS_ADRALN): Likewise.
14542 (BUS_ADRERR): Likewise.
14543 (BUS_OBJERR): Likewise.
14544 (BUS_MCEERR_AR): Likewise.
14545 (BUS_MCEERR_AO): Likewise.
14546 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14547 (TRAP_TRACE): Likewise.
14548 (TRAP_BRANCH): Likewise.
14549 (TRAP_HWBKPT): Likewise.
14550 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14552 (CLD_KILLED): Likewise.
14553 (CLD_DUMPED): Likewise.
14554 (CLD_TRAPPED): Likewise.
14555 (CLD_STOPPED): Likewise.
14556 (CLD_CONTINUED): Likewise.
14557 (POLL_IN): Likewise.
14558 (POLL_OUT): Likewise.
14559 (POLL_MSG): Likewise.
14560 (POLL_ERR): Likewise.
14561 (POLL_PRI): Likewise.
14562 (POLL_HUP): Likewise.
14563 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14564 (ILL_ILLOPN): Likewise.
14565 (ILL_ILLADR): Likewise.
14566 (ILL_ILLTRP): Likewise.
14567 (ILL_PRVOPC): Likewise.
14568 (ILL_PRVREG): Likewise.
14569 (ILL_COPROC): Likewise.
14570 (ILL_BADSTK): Likewise.
14571 (FPE_INTDIV): Likewise.
14572 (FPE_INTOVF): Likewise.
14573 (FPE_FLTDIV): Likewise.
14574 (FPE_FLTOVF): Likewise.
14575 (FPE_FLTUND): Likewise.
14576 (FPE_FLTRES): Likewise.
14577 (FPE_FLTINV): Likewise.
14578 (FPE_FLTSUB): Likewise.
14579 (SEGV_MAPERR): Likewise.
14580 (SEGV_ACCERR): Likewise.
14581 (BUS_ADRALN): Likewise.
14582 (BUS_ADRERR): Likewise.
14583 (BUS_OBJERR): Likewise.
14584 (BUS_MCEERR_AR): Likewise.
14585 (BUS_MCEERR_AO): Likewise.
14586 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14587 (TRAP_TRACE): Likewise.
14588 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14590 (CLD_KILLED): Likewise.
14591 (CLD_DUMPED): Likewise.
14592 (CLD_TRAPPED): Likewise.
14593 (CLD_STOPPED): Likewise.
14594 (CLD_CONTINUED): Likewise.
14595 (POLL_IN): Likewise.
14596 (POLL_OUT): Likewise.
14597 (POLL_MSG): Likewise.
14598 (POLL_ERR): Likewise.
14599 (POLL_PRI): Likewise.
14600 (POLL_HUP): Likewise.
14601 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14602 (ILL_ILLOPN): Likewise.
14603 (ILL_ILLADR): Likewise.
14604 (ILL_ILLTRP): Likewise.
14605 (ILL_PRVOPC): Likewise.
14606 (ILL_PRVREG): Likewise.
14607 (ILL_COPROC): Likewise.
14608 (ILL_BADSTK): Likewise.
14609 (FPE_INTDIV): Likewise.
14610 (FPE_INTOVF): Likewise.
14611 (FPE_FLTDIV): Likewise.
14612 (FPE_FLTOVF): Likewise.
14613 (FPE_FLTUND): Likewise.
14614 (FPE_FLTRES): Likewise.
14615 (FPE_FLTINV): Likewise.
14616 (FPE_FLTSUB): Likewise.
14617 (SEGV_MAPERR): Likewise.
14618 (SEGV_ACCERR): Likewise.
14619 (BUS_ADRALN): Likewise.
14620 (BUS_ADRERR): Likewise.
14621 (BUS_OBJERR): Likewise.
14622 (BUS_MCEERR_AR): Likewise.
14623 (BUS_MCEERR_AO): Likewise.
14624 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14625 (TRAP_TRACE): Likewise.
14626 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14628 (CLD_KILLED): Likewise.
14629 (CLD_DUMPED): Likewise.
14630 (CLD_TRAPPED): Likewise.
14631 (CLD_STOPPED): Likewise.
14632 (CLD_CONTINUED): Likewise.
14633 (POLL_IN): Likewise.
14634 (POLL_OUT): Likewise.
14635 (POLL_MSG): Likewise.
14636 (POLL_ERR): Likewise.
14637 (POLL_PRI): Likewise.
14638 (POLL_HUP): Likewise.
14639 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14640 (ILL_ILLOPN): Likewise.
14641 (ILL_ILLADR): Likewise.
14642 (ILL_ILLTRP): Likewise.
14643 (ILL_PRVOPC): Likewise.
14644 (ILL_PRVREG): Likewise.
14645 (ILL_COPROC): Likewise.
14646 (ILL_BADSTK): Likewise.
14647 (FPE_INTDIV): Likewise.
14648 (FPE_INTOVF): Likewise.
14649 (FPE_FLTDIV): Likewise.
14650 (FPE_FLTOVF): Likewise.
14651 (FPE_FLTUND): Likewise.
14652 (FPE_FLTRES): Likewise.
14653 (FPE_FLTINV): Likewise.
14654 (FPE_FLTSUB): Likewise.
14655 (SEGV_MAPERR): Likewise.
14656 (SEGV_ACCERR): Likewise.
14657 (BUS_ADRALN): Likewise.
14658 (BUS_ADRERR): Likewise.
14659 (BUS_OBJERR): Likewise.
14660 (BUS_MCEERR_AR): Likewise.
14661 (BUS_MCEERR_AO): Likewise.
14662 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14663 (TRAP_TRACE): Likewise.
14664 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14666 (CLD_KILLED): Likewise.
14667 (CLD_DUMPED): Likewise.
14668 (CLD_TRAPPED): Likewise.
14669 (CLD_STOPPED): Likewise.
14670 (CLD_CONTINUED): Likewise.
14671 (POLL_IN): Likewise.
14672 (POLL_OUT): Likewise.
14673 (POLL_MSG): Likewise.
14674 (POLL_ERR): Likewise.
14675 (POLL_PRI): Likewise.
14676 (POLL_HUP): Likewise.
14677 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14678 (ILL_ILLOPN): Likewise.
14679 (ILL_ILLADR): Likewise.
14680 (ILL_ILLTRP): Likewise.
14681 (ILL_PRVOPC): Likewise.
14682 (ILL_PRVREG): Likewise.
14683 (ILL_COPROC): Likewise.
14684 (ILL_BADSTK): Likewise.
14685 (ILL_DBLFLT): Likewise.
14686 (ILL_HARDWALL): Likewise.
14687 (FPE_INTDIV): Likewise.
14688 (FPE_INTOVF): Likewise.
14689 (FPE_FLTDIV): Likewise.
14690 (FPE_FLTOVF): Likewise.
14691 (FPE_FLTUND): Likewise.
14692 (FPE_FLTRES): Likewise.
14693 (FPE_FLTINV): Likewise.
14694 (FPE_FLTSUB): Likewise.
14695 (SEGV_MAPERR): Likewise.
14696 (SEGV_ACCERR): Likewise.
14697 (BUS_ADRALN): Likewise.
14698 (BUS_ADRERR): Likewise.
14699 (BUS_OBJERR): Likewise.
14700 (BUS_MCEERR_AR): Likewise.
14701 (BUS_MCEERR_AO): Likewise.
14702 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14703 (TRAP_TRACE): Likewise.
14704 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14706 (CLD_KILLED): Likewise.
14707 (CLD_DUMPED): Likewise.
14708 (CLD_TRAPPED): Likewise.
14709 (CLD_STOPPED): Likewise.
14710 (CLD_CONTINUED): Likewise.
14711 (POLL_IN): Likewise.
14712 (POLL_OUT): Likewise.
14713 (POLL_MSG): Likewise.
14714 (POLL_ERR): Likewise.
14715 (POLL_PRI): Likewise.
14716 (POLL_HUP): Likewise.
14717 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14718 (ILL_ILLOPN): Likewise.
14719 (ILL_ILLADR): Likewise.
14720 (ILL_ILLTRP): Likewise.
14721 (ILL_PRVOPC): Likewise.
14722 (ILL_PRVREG): Likewise.
14723 (ILL_COPROC): Likewise.
14724 (ILL_BADSTK): Likewise.
14725 (FPE_INTDIV): Likewise.
14726 (FPE_INTOVF): Likewise.
14727 (FPE_FLTDIV): Likewise.
14728 (FPE_FLTOVF): Likewise.
14729 (FPE_FLTUND): Likewise.
14730 (FPE_FLTRES): Likewise.
14731 (FPE_FLTINV): Likewise.
14732 (FPE_FLTSUB): Likewise.
14733 (SEGV_MAPERR): Likewise.
14734 (SEGV_ACCERR): Likewise.
14735 (BUS_ADRALN): Likewise.
14736 (BUS_ADRERR): Likewise.
14737 (BUS_OBJERR): Likewise.
14738 (BUS_MCEERR_AR): Likewise.
14739 (BUS_MCEERR_AO): Likewise.
14740 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14741 (TRAP_TRACE): Likewise.
14742 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14744 (CLD_KILLED): Likewise.
14745 (CLD_DUMPED): Likewise.
14746 (CLD_TRAPPED): Likewise.
14747 (CLD_STOPPED): Likewise.
14748 (CLD_CONTINUED): Likewise.
14749 (POLL_IN): Likewise.
14750 (POLL_OUT): Likewise.
14751 (POLL_MSG): Likewise.
14752 (POLL_ERR): Likewise.
14753 (POLL_PRI): Likewise.
14754 (POLL_HUP): Likewise.
14755 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14756 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14759 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14760 before #include of <time.h>.
14761 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14762 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14763 (test-xfail-UNIX98/sched.h/conform): Likewise.
14765 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14767 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14768 error absence of trapping exception support.
14769 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14771 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14773 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14774 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14775 * timezone/Makefile (testdata): Move definition above include of
14777 (test-zones): New variable.
14778 (tests-special): Add zone files.
14779 (build-testdata): Use $(evaluate-test).
14781 * elf/Makefile (tests-special): Rename tests to end with .out.
14782 ($(objpfx)noload-mem): Likewise.
14783 ($(objpfx)tst-leaks1-mem): Likewise.
14784 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14785 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14786 $(objpfx)test-iconvconfig.out.
14787 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14788 set -e inside subshell and redirect output to file.
14789 * iconvdata/Makefile (generated): Rename tests to end with .out.
14791 (tests-special): Rename tests to end with .out.
14792 ($(objpfx)mtrace-tst-loading): Likewise.
14793 * intl/Makefile (generated): Likewise.
14794 (tests-special): Likewise.
14795 ($(objpfx)mtrace-tst-gettext): Likewise.
14796 * misc/Makefile (generated): Likewise.
14797 (tests-special): Likewise.
14798 ($(objpfx)tst-error1-mem): Likewise.
14799 * nptl/Makefile (tests-special): Likewise.
14800 ($(objpfx)tst-stack3-mem): Likewise.
14801 (generated): Likewise.
14802 * posix/Makefile (generated): Likewise.
14803 (tests-special): Likewise.
14804 (xtests-special): Likewise.
14805 ($(objpfx)tst-fnmatch-mem): Likewise.
14806 ($(objpfx)bug-regex2-mem): Likewise.
14807 ($(objpfx)bug-regex14-mem): Likewise.
14808 ($(objpfx)bug-regex21-mem): Likewise.
14809 ($(objpfx)bug-regex31-mem): Likewise.
14810 ($(objpfx)tst-vfork3-mem): Likewise.
14811 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14812 ($(objpfx)tst-pcre-mem): Likewise.
14813 ($(objpfx)tst-boost-mem): Likewise.
14814 ($(objpfx)bug-ga2-mem): Likewise.
14815 ($(objpfx)bug-glob2-mem): Likewise.
14816 * resolv/Makefile (generate): Likewise.
14817 (tests-special): Likewise.
14818 (xtests-special): Likewise.
14819 (generated): Likewise.
14820 ($(objpfx)mtrace-tst-leaks): Likewise.
14821 ($(objpfx)mtrace-tst-leaks2): Likewise.
14823 * scripts/merge-test-results.sh: New file.
14824 * Makefile (tests-special-notdir): New variable.
14825 (tests): Run merge-test-results.sh.
14826 (xtests): Likewise.
14827 * Rules (tests-special-notdir): New variable.
14828 (xtests-special-notdir): Likewise.
14829 (tests): Run merge-test-results.sh
14830 (xtests): Likewise.
14832 * Makeconfig (test-xfail-name): New variable.
14833 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14834 compute variable name for expected failures.
14835 * conform/Makefile (conformtest-headers-data): New variable.
14836 (conformtest-standards): Likewise.
14837 (conformtest-headers-ISO): Likewise.
14838 (conformtest-headers-ISO99): Likewise.
14839 (conformtest-headers-ISO11): Likewise.
14840 (conformtest-headers-POSIX): Likewise.
14841 (conformtest-headers-XPG3): Likewise.
14842 (conformtest-headers-XPG4): Likewise.
14843 (conformtest-headers-UNIX98): Likewise.
14844 (conformtest-headers-XOPEN2K): Likewise.
14845 (conformtest-headers-POSIX2008): Likewise.
14846 (conformtest-headers-XOPEN2K8): Likewise.
14847 (conformtest-header-list-base): Likewise.
14848 (conformtest-header-list-tests): Likewise.
14849 (conformtest-header-base): Likewise.
14850 (conformtest-header-tests): Likewise.
14851 (tests-special): Add $(conformtest-header-list-tests). If
14852 [$(fast-check) && !$(cross-compiling)], add
14853 $(conformtest-header-tests) instead of
14854 $(objpfx)run-conformtest.out.
14855 (generated): Add $(conformtest-header-list-base). If
14856 [$(fast-check) && !$(cross-compiling)], add
14857 $(conformtest-header-base). Remove previous setting.
14858 ($(conformtest-header-list-tests)): New target.
14859 (test-xfail-run-conformtest): Remove variable.
14860 ($(objpfx)run-conformtest.out): Remove target.
14861 (test-xfail-ISO11/complex.h/conform): New variable.
14862 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14863 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14864 (test-xfail-XPG3/varargs.h/conform): Likewise.
14865 (test-xfail-XPG4/varargs.h/conform): Likewise.
14866 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14867 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14868 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14869 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14870 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14871 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14872 (test-xfail-XPG3/ftw.h/conform): Likewise.
14873 (test-xfail-XPG3/grp.h/conform): Likewise.
14874 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14875 (test-xfail-XPG3/limits.h/conform): Likewise.
14876 (test-xfail-XPG3/pwd.h/conform): Likewise.
14877 (test-xfail-XPG3/search.h/conform): Likewise.
14878 (test-xfail-XPG3/signal.h/conform): Likewise.
14879 (test-xfail-XPG3/stdio.h/conform): Likewise.
14880 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14881 (test-xfail-XPG3/string.h/conform): Likewise.
14882 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14883 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14884 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14885 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14886 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14887 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14888 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14889 (test-xfail-XPG3/termios.h/conform): Likewise.
14890 (test-xfail-XPG3/time.h/conform): Likewise.
14891 (test-xfail-XPG3/unistd.h/conform): Likewise.
14892 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14893 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14894 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14895 (test-xfail-XPG4/netdb.h/conform): Likewise.
14896 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14897 (test-xfail-XPG4/signal.h/conform): Likewise.
14898 (test-xfail-XPG4/stdio.h/conform): Likewise.
14899 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14900 (test-xfail-XPG4/stropts.h/conform): Likewise.
14901 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14902 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14903 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14904 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14905 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14906 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14907 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14908 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14909 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14910 (test-xfail-XPG4/termios.h/conform): Likewise.
14911 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14912 (test-xfail-XPG4/unistd.h/conform): Likewise.
14913 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14914 (test-xfail-POSIX/sched.h/conform): Likewise.
14915 (test-xfail-POSIX/signal.h/conform): Likewise.
14916 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14917 (test-xfail-POSIX/tar.h/conform): Likewise.
14918 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14919 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14920 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14921 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14922 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14923 (test-xfail-UNIX98/sched.h/conform): Likewise.
14924 (test-xfail-UNIX98/signal.h/conform): Likewise.
14925 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14926 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14927 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14928 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14929 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14930 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14931 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14932 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14933 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14934 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14935 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14936 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14937 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14938 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14939 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14940 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14941 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14942 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14943 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14944 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14945 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14946 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14947 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14948 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14949 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14950 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14951 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14952 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14953 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14954 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14955 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14956 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14957 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14958 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14959 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14960 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14961 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14962 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14963 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14964 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14965 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14966 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14967 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14968 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14969 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14970 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14971 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14972 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14973 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14974 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14975 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14976 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14977 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14978 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14979 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14980 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14981 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14982 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14983 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14984 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14985 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14986 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14987 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14988 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14989 (conformtest-cc-flags): Likewise.
14990 ($(conformtest-header-tests): New target.
14991 * conform/check-header-lists.sh: New file.
14992 * conform/run-conformtest.sh: Remove.
14994 * conform/conformtest.pl: Allow ' and \ in values given for
14996 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14998 [POSIX] (sys/types.h): Likewise.
14999 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15001 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15003 * conform/data/signal.h-data (SIGIO): Remove expectation.
15004 [XPG3] (SIGBUS): Do not expect.
15005 [POSIX || XPG3] (SIGPOLL): Likewise.
15006 [POSIX || XPG3] (SIGPROF): Likewise.
15007 [POSIX || XPG3] (SIGSYS): Likewise.
15008 [XPG3] (SIGTRAP): Likewise.
15009 [POSIX || XPG3] (SIGURG): Likewise.
15010 [POSIX || XPG3] (SIGVTALRM): Likewise.
15011 [POSIX || XPG3] (SIGXCPU): Likewise.
15012 [POSIX || XPG3] (SIGXFSZ): Likewise.
15013 [POSIX] (SA_SIGINFO): Expect.
15014 [XPG3] (siginfo_t): Do not expect type or contents.
15015 [POSIX] (si_pid): Do not expect element.
15016 [POSIX] (si_uid): Likewise.
15017 [POSIX] (si_addr): Likewise.
15018 [POSIX] (si_status): Likewise.
15019 [POSIX] (si_band): Likewise.
15020 [XPG4] (si_value): Likewise.
15021 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15022 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15023 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15024 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15025 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15026 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15027 [POSIX || XPG3] (ILL_COPROC): Likewise.
15028 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15029 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15030 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15031 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15032 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15033 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15034 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15035 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15036 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15037 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15038 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15039 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15040 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15041 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15042 [POSIX || XPG3] (CLD_EXITED): Likewise.
15043 [POSIX || XPG3] (CLD_KILLED): Likewise.
15044 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15045 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15046 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15047 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15048 [POSIX || XPG3] (POLL_IN): Likewise.
15049 [POSIX || XPG3] (POLL_OUT): Likewise.
15050 [POSIX || XPG3] (POLL_MSG): Likewise.
15051 [POSIX || XPG3] (POLL_ERR): Likewise.
15052 [POSIX || XPG3] (POLL_PRI): Likewise.
15053 [POSIX || XPG3] (POLL_HUP): Likewise.
15054 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15055 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15056 (SIG*): Do not allow.
15057 [XPG3] (si_*): Likewise.
15058 [XPG3] (SI_*): Likewise.
15059 [XPG3 || XPG4] (sigev_*): Likewise.
15060 [XPG3 || XPG4] (SIGEV_*): Likewise.
15061 [XPG3 || XPG4] (sival_*): Likewise.
15062 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15063 [POSIX || XPG3] (BUS_*): Likewise.
15064 [POSIX || XPG3] (CLD_*): Likewise.
15065 [POSIX || XPG3] (FPE_*): Likewise.
15066 [POSIX || XPG3] (ILL_*): Likewise.
15067 [POSIX || XPG3] (POLL_*): Likewise.
15068 [POSIX || XPG3] (SEGV_*): Likewise.
15069 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15070 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15071 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15072 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15073 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15074 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15075 Specify type and value.
15076 (TVERSLEN): Likewise.
15077 (REGTYPE): Likewise.
15078 (AREGTYPE): Likewise.
15079 (LNKTYPE): Likewise.
15080 (SYMTYPE): Likewise.
15081 (CHRTYPE): Likewise.
15082 (BLKTYPE): Likewise.
15083 (DIRTYPE): Likewise.
15084 (FIFOTYPE): Likewise.
15085 (CONTTYPE): Likewise.
15089 (TUREAD): Likewise.
15090 (TUWRITE): Likewise.
15091 (TUEXEC): Likewise.
15092 (TGREAD): Likewise.
15093 (TGWRITE): Likewise.
15094 (TGEXEC): Likewise.
15095 (TOREAD): Likewise.
15096 (TOWRITE): Likewise.
15097 (TOEXEC): Likewise.
15098 [POSIX] (TSVTX): Expect constant.
15100 2014-03-06 Joseph Myers <joseph@codesourcery.com>
15102 * Makefile (tests): Change dependencies to ....
15103 (tests-special): ... additions to this variable.
15104 (tests): Depend on $(tests-special).
15105 * Makerules (check-abi-list): New variable.
15106 (check-abi): Depend on $(check-abi-list).
15107 [$(subdir) = elf] (tests-special): Add
15108 $(objpfx)check-abi-libc.out.
15109 [$(build-shared) = yes && subdir] (tests-special): Add
15111 [$(build-shared) = yes && subdir] (tests): Do not depend on
15113 * Rules (tests): Depend on $(tests-special).
15114 (xtests): Depend on $(xtests-special).
15115 * catgets/Makefile (tests): Change dependencies to ....
15116 (tests-special): ... additions to this variable.
15117 * conform/Makefile (tests): Change dependencies to ....
15118 (tests-special): ... additions to this variable.
15119 * elf/Makefile (tests): Change dependencies to ....
15120 (tests-special): ... additions to this variable.
15121 * grp/Makefile (tests): Change dependencies to ....
15122 (tests-special): ... additions to this variable.
15123 * iconv/Makefile (xtests): Change dependencies to ....
15124 (xtests-special): ... additions to this variable.
15125 * iconvdata/Makefile (tests): Change dependencies to ....
15126 (tests-special): ... additions to this variable.
15127 * intl/Makefile (tests): Change dependencies to ....
15128 (tests-special): ... additions to this variable. Also add
15129 $(objpfx)tst-gettext.out.
15130 * io/Makefile (tests): Change dependencies to ....
15131 (tests-special): ... additions to this variable.
15132 * libio/Makefile (tests): Change dependencies to ....
15133 (tests-special): ... additions to this variable.
15134 * malloc/Makefile (tests): Change dependencies to ....
15135 (tests-special): ... additions to this variable.
15136 * misc/Makefile (tests): Change dependencies to ....
15137 (tests-special): ... additions to this variable.
15138 * nptl/Makefile (tests): Change dependencies to ....
15139 (tests-special): ... additions to this variable.
15140 * nptl_db/Makefile (tests): Change dependencies to ....
15141 (tests-special): ... additions to this variable.
15142 * posix/Makefile (tests): Change dependencies to ....
15143 (tests-special): ... additions to this variable.
15144 (xtests): Change dependencies to ....
15145 (xtests-special): ... additions to this variable.
15146 * resolv/Makefile (tests): Change dependencies to ....
15147 (tests-special): ... additions to this variable.
15148 (xtests): Change dependencies to ....
15149 (xtests-special): ... additions to this variable.
15150 * stdio-common/Makefile (tests): Change dependencies to ....
15151 (tests-special): ... additions to this variable.
15152 (do-tst-unbputc): Remove target.
15153 (do-tst-printf): Likewise.
15154 * stdlib/Makefile (tests): Change dependencies to ....
15155 (tests-special): ... additions to this variable.
15156 * string/Makefile (tests): Change dependencies to ....
15157 (tests-special): ... additions to this variable.
15158 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15159 (tests-special): ... additions to this variable.
15161 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15163 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15165 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15166 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15168 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15169 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15170 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15171 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15172 * conform/data/libgen.h-data [XPG3]: Likewise.
15173 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15174 * conform/data/ndbm.h-data [XPG3]: Likewise.
15175 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15176 * conform/data/netdb.h-data [XPG3]: Likewise.
15177 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15178 * conform/data/poll.h-data [XPG3]: Likewise.
15179 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15180 * conform/data/strings.h-data [XPG3]: Likewise.
15181 * conform/data/stropts.h-data [XPG3]: Likewise.
15182 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15183 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15184 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15186 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15187 * conform/data/sys/time.h-data [XPG3]: Likewise.
15188 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15189 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15190 * conform/data/sys/un.h-data [XPG3]: Likewise.
15191 * conform/data/syslog.h-data [XPG3]: Likewise.
15192 * conform/data/ucontext.h-data [XPG3]: Likewise.
15193 * conform/data/utmpx.h-data [XPG3]: Likewise.
15194 * conform/data/varargs.h-data [UNIX98]: Enable file.
15196 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15198 * math/libm-test.inc (struct test_f_f_data): Move expected results
15199 into structure for each rounding mode.
15200 (struct test_ff_f_data): Likewise.
15201 (struct test_ff_f_data_nexttoward): Likewise.
15202 (struct test_fi_f_data): Likewise.
15203 (struct test_fl_f_data): Likewise.
15204 (struct test_if_f_data): Likewise.
15205 (struct test_fff_f_data): Likewise.
15206 (struct test_c_f_data): Likewise.
15207 (struct test_f_f1_data): Likewise.
15208 (struct test_fF_f1_data): Likewise.
15209 (struct test_ffI_f1_data): Likewise.
15210 (struct test_c_c_data): Likewise.
15211 (struct test_cc_c_data): Likewise.
15212 (struct test_f_i_data): Likewise.
15213 (struct test_ff_i_data): Likewise.
15214 (struct test_f_l_data): Likewise.
15215 (struct test_f_L_data): Likewise.
15216 (struct test_fFF_11_data): Likewise.
15218 (RM_FE_DOWNWARD): Likewise.
15219 (RM_FE_TONEAREST): Likewise.
15220 (RM_FE_TOWARDZERO): Likewise.
15221 (RM_FE_UPWARD): Likewise.
15222 (RUN_TEST_LOOP_f_f): Update references to expected results.
15223 (RUN_TEST_LOOP_2_f): Likewise.
15224 (RUN_TEST_LOOP_fff_f): Likewise.
15225 (RUN_TEST_LOOP_c_f): Likewise.
15226 (RUN_TEST_LOOP_f_f1): Likewise.
15227 (RUN_TEST_LOOP_fF_f1): Likewise.
15228 (RUN_TEST_LOOP_fI_f1): Likewise.
15229 (RUN_TEST_LOOP_ffI_f1): Likewise.
15230 (RUN_TEST_LOOP_c_c): Likewise.
15231 (RUN_TEST_LOOP_cc_c): Likewise.
15232 (RUN_TEST_LOOP_f_i): Likewise.
15233 (RUN_TEST_LOOP_f_i_tg): Likewise.
15234 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15235 (RUN_TEST_LOOP_f_b): Likewise.
15236 (RUN_TEST_LOOP_f_b_tg): Likewise.
15237 (RUN_TEST_LOOP_f_l): Likewise.
15238 (RUN_TEST_LOOP_f_L): Likewise.
15239 (RUN_TEST_LOOP_fFF_11): Likewise.
15240 * math/gen-libm-test.pl (parse_args): Output four copies of
15241 expected results for each test.
15243 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15244 (__ASSUME_UTIMES): Remove.
15245 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15246 (__ASSUME_UTIMES): Likewise.
15248 * math/gen-auto-libm-tests.c: Update comment on output format.
15249 (output_for_one_input_case): Generate before-rounding and
15250 after-rounding information as conditions on output flags not
15251 floating-point format.
15252 * math/auto-libm-test-out: Regenerated.
15253 * math/gen-libm-test.pl (cond_value): New function.
15254 (or_cond_value): Use cond_value.
15255 (generate_testfile): Handle conditional exceptions.
15257 2014-03-05 Joseph Myers <joseph@codesourcery.com>
15259 * math/libm-test.inc (max_valid_error): New variable.
15260 (init_max_error): Take new argument specifying whether function
15261 results are exactly determined. Set max_valid_error and bound
15262 other variables for errors based on this argument.
15263 (set_max_error): Do not record results above max_valid_error.
15264 (check_float_internal): Only accept errors of up to 0.5ulps if
15265 also at most max_valid_error.
15266 (START): Take new argument EXACT and pass it to init_max_error.
15267 (acos_test): Update call to START.
15268 (acos_test_tonearest): Likewise.
15269 (acos_test_towardzero): Likewise.
15270 (acos_test_downward): Likewise.
15271 (acos_test_upward): Likewise.
15272 (acosh_test): Likewise.
15273 (asin_test): Likewise.
15274 (asin_test_tonearest): Likewise.
15275 (asin_test_towardzero): Likewise.
15276 (asin_test_downward): Likewise.
15277 (asin_test_upward): Likewise.
15278 (asinh_test): Likewise.
15279 (atan_test): Likewise.
15280 (atanh_test): Likewise.
15281 (atan2_test): Likewise.
15282 (cabs_test): Likewise.
15283 (cacos_test): Likewise.
15284 (cacosh_test): Likewise.
15285 (carg_test): Likewise.
15286 (casin_test): Likewise.
15287 (casinh_test): Likewise.
15288 (catan_test): Likewise.
15289 (catanh_test): Likewise.
15290 (cbrt_test): Likewise.
15291 (ccos_test): Likewise.
15292 (ccosh_test): Likewise.
15293 (ceil_test): Likewise.
15294 (cexp_test): Likewise.
15295 (cimag_test): Likewise.
15296 (clog_test): Likewise.
15297 (clog10_test): Likewise.
15298 (conj_test): Likewise.
15299 (copysign_test): Likewise.
15300 (cos_test): Likewise.
15301 (cos_test_tonearest): Likewise.
15302 (cos_test_towardzero): Likewise.
15303 (cos_test_downward): Likewise.
15304 (cos_test_upward): Likewise.
15305 (cosh_test): Likewise.
15306 (cosh_test_tonearest): Likewise.
15307 (cosh_test_towardzero): Likewise.
15308 (cosh_test_downward): Likewise.
15309 (cosh_test_upward): Likewise.
15310 (cpow_test): Likewise.
15311 (cproj_test): Likewise.
15312 (creal_test): Likewise.
15313 (csin_test): Likewise.
15314 (csinh_test): Likewise.
15315 (csqrt_test): Likewise.
15316 (ctan_test): Likewise.
15317 (ctan_test_tonearest): Likewise.
15318 (ctan_test_towardzero): Likewise.
15319 (ctan_test_downward): Likewise.
15320 (ctan_test_upward): Likewise.
15321 (ctanh_test): Likewise.
15322 (ctanh_test_tonearest): Likewise.
15323 (ctanh_test_towardzero): Likewise.
15324 (ctanh_test_downward): Likewise.
15325 (ctanh_test_upward): Likewise.
15326 (erf_test): Likewise.
15327 (erfc_test): Likewise.
15328 (exp_test): Likewise.
15329 (exp_test_tonearest): Likewise.
15330 (exp_test_towardzero): Likewise.
15331 (exp_test_downward): Likewise.
15332 (exp_test_upward): Likewise.
15333 (exp10_test): Likewise.
15334 (exp10_test_tonearest): Likewise.
15335 (exp10_test_towardzero): Likewise.
15336 (exp10_test_downward): Likewise.
15337 (exp10_test_upward): Likewise.
15338 (pow10_test): Likewise.
15339 (exp2_test): Likewise.
15340 (expm1_test): Likewise.
15341 (expm1_test_tonearest): Likewise.
15342 (expm1_test_towardzero): Likewise.
15343 (expm1_test_downward): Likewise.
15344 (expm1_test_upward): Likewise.
15345 (fabs_test): Likewise.
15346 (fdim_test): Likewise.
15347 (floor_test): Likewise.
15348 (fma_test): Likewise.
15349 (fma_test_towardzero): Likewise.
15350 (fma_test_downward): Likewise.
15351 (fma_test_upward): Likewise.
15352 (fmax_test): Likewise.
15353 (fmin_test): Likewise.
15354 (fmod_test): Likewise.
15355 (fpclassify_test): Likewise.
15356 (frexp_test): Likewise.
15357 (hypot_test): Likewise.
15358 (ilogb_test): Likewise.
15359 (isfinite_test): Likewise.
15360 (finite_test): Likewise.
15361 (isgreater_test): Likewise.
15362 (isgreaterequal_test): Likewise.
15363 (isinf_test): Likewise.
15364 (isless_test): Likewise.
15365 (islessequal_test): Likewise.
15366 (islessgreater_test): Likewise.
15367 (isnan_test): Likewise.
15368 (isnormal_test): Likewise.
15369 (issignaling_test): Likewise.
15370 (isunordered_test): Likewise.
15371 (j0_test): Likewise.
15372 (j1_test): Likewise.
15373 (jn_test): Likewise.
15374 (ldexp_test): Likewise.
15375 (lgamma_test): Likewise.
15376 (gamma_test): Likewise.
15377 (lrint_test): Likewise.
15378 (lrint_test_tonearest): Likewise.
15379 (lrint_test_towardzero): Likewise.
15380 (lrint_test_downward): Likewise.
15381 (lrint_test_upward): Likewise.
15382 (llrint_test): Likewise.
15383 (llrint_test_tonearest): Likewise.
15384 (llrint_test_towardzero): Likewise.
15385 (llrint_test_downward): Likewise.
15386 (llrint_test_upward): Likewise.
15387 (log_test): Likewise.
15388 (log10_test): Likewise.
15389 (log1p_test): Likewise.
15390 (log2_test): Likewise.
15391 (logb_test): Likewise.
15392 (logb_test_downward): Likewise.
15393 (lround_test): Likewise.
15394 (llround_test): Likewise.
15395 (modf_test): Likewise.
15396 (nearbyint_test): Likewise.
15397 (nextafter_test): Likewise.
15398 (nexttoward_test): Likewise.
15399 (pow_test): Likewise.
15400 (pow_test_tonearest): Likewise.
15401 (pow_test_towardzero): Likewise.
15402 (pow_test_downward): Likewise.
15403 (pow_test_upward): Likewise.
15404 (remainder_test): Likewise.
15405 (drem_test): Likewise.
15406 (remainder_test_tonearest): Likewise.
15407 (drem_test_tonearest): Likewise.
15408 (remainder_test_towardzero): Likewise.
15409 (drem_test_towardzero): Likewise.
15410 (remainder_test_downward): Likewise.
15411 (drem_test_downward): Likewise.
15412 (remainder_test_upward): Likewise.
15413 (drem_test_upward): Likewise.
15414 (remquo_test): Likewise.
15415 (rint_test): Likewise.
15416 (rint_test_tonearest): Likewise.
15417 (rint_test_towardzero): Likewise.
15418 (rint_test_downward): Likewise.
15419 (rint_test_upward): Likewise.
15420 (round_test): Likewise.
15421 (scalb_test): Likewise.
15422 (scalbn_test): Likewise.
15423 (scalbln_test): Likewise.
15424 (signbit_test): Likewise.
15425 (sin_test): Likewise.
15426 (sin_test_tonearest): Likewise.
15427 (sin_test_towardzero): Likewise.
15428 (sin_test_downward): Likewise.
15429 (sin_test_upward): Likewise.
15430 (sincos_test): Likewise.
15431 (sinh_test): Likewise.
15432 (sinh_test_tonearest): Likewise.
15433 (sinh_test_towardzero): Likewise.
15434 (sinh_test_downward): Likewise.
15435 (sinh_test_upward): Likewise.
15436 (sqrt_test): Likewise.
15437 (sqrt_test_tonearest): Likewise.
15438 (sqrt_test_towardzero): Likewise.
15439 (sqrt_test_downward): Likewise.
15440 (sqrt_test_upward): Likewise.
15441 (tan_test): Likewise.
15442 (tan_test_tonearest): Likewise.
15443 (tan_test_towardzero): Likewise.
15444 (tan_test_downward): Likewise.
15445 (tan_test_upward): Likewise.
15446 (tanh_test): Likewise.
15447 (tgamma_test): Likewise.
15448 (trunc_test): Likewise.
15449 (y0_test): Likewise.
15450 (y1_test): Likewise.
15451 (yn_test): Likewise.
15452 (significand_test): Likewise.
15454 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15455 individual tests in comment.
15456 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15457 (prev_max_error): New variable.
15458 (prev_real_max_error): Likewise.
15459 (prev_imag_max_error): Likewise.
15460 (compare_ulp_data): Don't refer to test names in comment.
15461 (find_test_ulps): Remove function.
15462 (find_function_ulps): Likewise.
15463 (find_complex_function_ulps): Likewise.
15464 (init_max_error): Take function name as argument. Look up ulps
15466 (print_ulps): Remove function.
15467 (print_max_error): Use prev_max_error instead of calling
15468 find_function_ulps.
15469 (print_complex_max_error): Use prev_real_max_error and
15470 prev_imag_max_error instead of calling find_complex_function_ulps.
15471 (check_float_internal): Take max_ulp parameter instead of calling
15472 find_test_ulps. Don't call print_ulps.
15473 (check_float): Update call to check_float_internal.
15474 (check_complex): Update calls to check_float_internal.
15475 (START): Pass argument to init_max_error.
15476 * math/gen-libm-test.pl (%results): Don't include "kind"
15478 (parse_ulps): Don't handle ulps of individual tests.
15479 (print_ulps_file): Likewise.
15480 (output_ulps): Likewise.
15481 * math/README.libm-test: Update.
15482 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15484 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15485 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15486 * sysdeps/arm/libm-test-ulps: Likewise.
15487 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15488 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15489 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15490 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15491 * sysdeps/microblaze/libm-test-ulps: Likewise.
15492 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15493 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15494 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15495 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15496 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15497 * sysdeps/sh/libm-test-ulps: Likewise.
15498 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15499 * sysdeps/tile/libm-test-ulps: Likewise.
15500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15502 2014-03-04 Joseph Myers <joseph@codesourcery.com>
15504 * math/libm-test.inc (print_complex_max_error): Check separately
15505 whether real and imaginary errors are within allowed range and
15506 pass 0 to print_complex_function_ulps instead of value within
15509 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15511 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15513 (get_handles_fopen): Likewise.
15514 (do_write_test): Likewise.
15516 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15518 * libio/fileops.c (do_ftell): Use cached offset when
15520 * libio/iofwide.c (do_ftell_wide): Likewise.
15521 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15523 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15526 * libio/libioP.h (get_file_offset): New function.
15527 * libio/fileops.c (get_file_offset): Likewise.
15528 (do_ftell): Likewise.
15529 (_IO_new_file_seekoff): Split out ftell logic.
15530 * libio/wfileops.c (do_ftell_wide): Likewise.
15531 (_IO_wfile_seekoff): Split out ftell logic.
15532 * libio/tst-ftell-active-handler.c: New test case.
15533 * libio/Makefile (tests): Add it.
15535 2014-03-03 Roland McGrath <roland@hack.frob.com>
15537 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15538 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15540 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15543 * nscd/connections.c (nscd_init): Call do_exit.
15544 (start_threads): Call do_exit and notify_parent.
15545 (begin_drop_privileges): Call do_exit.
15546 (finish_drop_privileges): Likewise.
15547 * nscd/selinux.c (preserve_capabilities): Likewise.
15548 (install_real_capabilities): Likewise.
15549 (nscd_selinux_enabled): Likewise.
15550 (avc_create_thread): Likewise.
15551 (avc_alloc_lock): Likewise.
15552 (nscd_avc_init): Likewise.
15553 * nscd/nscd.c (parent_fd): New static variable.
15554 (main): Create a pipe between parent and child processes.
15555 Skip closing parent_fd.
15556 (monitor_child): New function.
15557 (do_exit): Likewise.
15558 (notify_parent): Likewise.
15559 * nscd/nscd.h (notify_parent): Likewise.
15560 (do_exit): Likewise.
15562 2014-03-03 Carlos O'Donell <carlos@redhat.com>
15564 * malloc/malloc.c (__libc_calloc): Revert last change.
15566 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15570 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15572 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15576 (__libc_ifunc_impl_list): Likewise.
15577 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15578 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15579 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15580 * string/strrchr.c: Define STRRCHR.
15582 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
15584 * benchtest/bench-strtok.c (simple_strtok): Delete.
15585 (strtok_string): Use as benchmark.
15586 * string/strtok (STRTOK): New macro.
15588 2014-02-28 Carlos O'Donell <carlos@redhat.com>
15590 * manual/threads.texi: Add header and standard comments to all
15593 * elf/dl-lookup.c (check_match): New function.
15594 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15595 (do_lookup_x): Remove nested function check_match. Use non-nested
15596 function check_match.
15598 2014-02-28 Roland McGrath <roland@hack.frob.com>
15600 * csu/Makefile (generated, before-compile): Use += rather than =.
15601 * catgets/Makefile (generated, generated-dirs): Likewise.
15602 * debug/Makefile (generated): Likewise.
15603 * dlfcn/Makefile (generated): Likewise.
15604 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15605 * iconvdata/Makefile (before-compile, generated): Likewise.
15606 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15607 * libio/Makefile (generated): Likewise.
15608 * malloc/Makefile (generated): Likewise.
15609 * manual/Makefile (generated, generated-dirs): Likewise.
15610 * misc/Makefile (generated): Likewise.
15611 * posix/Makefile (generated): Likewise.
15612 * resolv/Makefile (generated): Likewise.
15613 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15614 * timezone/Makefile (generated, generated-dirs): Likewise.
15616 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15618 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15620 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15621 power8 implementation.
15622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15623 file: POWER8 llround ifunc implementation.
15624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15625 (__lllround): Add POWER8 implementation.
15626 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15627 POWER8 llround implementation.
15629 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15630 power8 implementation.
15631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15632 file: POWER8 llrint ifunc implementation.
15633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15634 Add POWER8 implementation.
15635 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15636 POWER8 llrint implementation.
15638 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15639 power8 implementation.
15640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15641 file: POWER8 finite ifunc implementation.
15642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15643 Add POWER8 implementation.
15644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15646 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15647 POWER8 finite implementation.
15648 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15650 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15651 power8 implementation.
15652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15653 file: POWER8 isinf ifunc implementation.
15654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15655 POWER8 implementation.
15656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15658 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15659 isinf implementation.
15660 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15662 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15663 (INIT_ARCH): Add hwcap2 initialization.
15664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15665 power8 implementation.
15666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15667 file: POWER8 isnan ifunc implementation.
15668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15669 POWER8 implementation.
15670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15672 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15673 isnan implementation.
15674 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15676 2014-02-27 Joey Ye <joey.ye@arm.com>
15678 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15679 (_FP_NANFRAC_Q): Set to zero.
15681 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15684 * math/auto-libm-test-in: New test inputs.
15685 * math/auto-libm-test-out: Regenerate.
15686 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15689 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15691 2014-02-27 Joseph Myers <joseph@codesourcery.com>
15693 * scripts/evaluate-test.sh: Take new argument indicating whether
15694 failure is expected.
15695 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15696 indicating whether failure is expected.
15697 * conform/Makefile (test-xfail-run-conformtest): New variable.
15698 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15700 * posix/Makefile (test-xfail-annexc): New variable.
15701 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15703 2014-02-26 Joseph Myers <joseph@codesourcery.com>
15705 * argp/Makefile: Include Makeconfig immediately after defining
15707 * assert/Makefile: Likewise.
15708 * benchtests/Makefile: Likewise.
15709 * catgets/Makefile: Likewise.
15710 * conform/Makefile: Likewise.
15711 * crypt/Makefile: Likewise.
15712 * csu/Makefile: Likewise.
15713 (all): Remove target.
15714 * ctype/Makefile: Include Makeconfig immediately after defining
15716 * debug/Makefile: Likewise.
15717 * dirent/Makefile: Likewise.
15718 * dlfcn/Makefile: Likewise.
15719 * gmon/Makefile: Likewise.
15720 * gnulib/Makefile: Likewise.
15721 * grp/Makefile: Likewise.
15722 * gshadow/Makefile: Likewise.
15723 * hesiod/Makefile: Likewise.
15724 * hurd/Makefile: Likewise.
15725 (all): Remove target.
15726 * iconvdata/Makefile: Include Makeconfig immediately after
15728 * inet/Makefile: Likewise.
15729 * intl/Makefile: Likewise.
15730 * io/Makefile: Likewise.
15731 * libio/Makefile: Likewise.
15732 (all): Remove target.
15733 * locale/Makefile: Include Makeconfig immediately after defining
15735 * login/Makefile: Likewise.
15736 * mach/Makefile: Likewise.
15737 (all): Remove target.
15738 * malloc/Makefile: Include Makeconfig immediately after defining
15740 (all): Remove target.
15741 * manual/Makefile: Include Makeconfig immediately after defining
15743 * math/Makefile: Likewise.
15744 * misc/Makefile: Likewise.
15745 * nis/Makefile: Likewise.
15746 * nss/Makefile: Likewise.
15747 * po/Makefile: Likewise.
15748 (all): Remove target.
15749 * posix/Makefile: Include Makeconfig immediately after defining
15751 * pwd/Makefile: Likewise.
15752 * resolv/Makefile: Likewise.
15753 * resource/Makefile: Likewise.
15754 * rt/Makefile: Likewise.
15755 * setjmp/Makefile: Likewise.
15756 * shadow/Makefile: Likewise.
15757 * signal/Makefile: Likewise.
15758 * socket/Makefile: Likewise.
15759 * soft-fp/Makefile: Likewise.
15760 * stdio-common/Makefile: Likewise.
15761 * stdlib/Makefile: Likewise.
15762 * streams/Makefile: Likewise.
15763 * string/Makefile: Likewise.
15764 * sunrpc/Makefile: Likewise.
15765 (all): Remove target.
15766 * sysvipc/Makefile: Include Makeconfig immediately after defining
15768 * termios/Makefile: Likewise.
15769 * time/Makefile: Likewise.
15770 * timezone/Makefile: Likewise.
15771 (all): Remove target.
15772 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15774 * wctype/Makefile: Likewise.
15776 2014-02-26 Steve Ellcey <sellcey@mips.com>
15778 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15779 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15780 (libc_feholdexcept_setround_mips): Ditto.
15781 (libc_feholdsetround): New.
15782 (libc_feholdsetroundf): New.
15783 (libc_feholdsetroundl): New.
15784 (libc_feupdateenv_test_mips): New.
15785 (libc_feupdateenv_test): New.
15786 (libc_feupdateenv_testf): New.
15787 (libc_feupdateenv_testl): New.
15788 (libc_feresetround): New.
15789 (libc_feresetroundf): New.
15790 (libc_feresetroundl): New.
15791 (libc_fetestexcept_mips): New.
15792 (libc_fetestexcept): New.
15793 (libc_fetestexceptf): New.
15794 (libc_fetestexceptl): New.
15795 (HAVE_RM_CTX): New.
15796 (libc_feholdexcept_setround_mips_ctx): New.
15797 (libc_feholdexcept_setround_ctx): New.
15798 (libc_feholdexcept_setroundf_ctx): New.
15799 (libc_feholdexcept_setroundl_ctx): New.
15800 (libc_fesetenv_mips_ctx): New.
15801 (libc_fesetenv_ctx): New.
15802 (libc_fesetenv_ctxf): New.
15803 (libc_fesetenv_ctxl): New.
15804 (libc_feupdateenv_mips_ctx): New.
15805 (libc_feupdateenv_ctx): New.
15806 (libc_feupdateenvf_ctx): New.
15807 (libc_feupdateenvl_ctx): New.
15808 (libc_feholdsetround_mips_ctx): New.
15809 (libc_feholdsetround_ctx): New.
15810 (libc_feholdsetroundf_ctx): New.
15811 (libc_feholdsetroundl_ctx): New.
15812 (libc_feresetround_mips_ctx): New.
15813 (libc_feresetround_ctx): New.
15814 (libc_feresetroundf_ctx): New.
15815 (libc_feresetroundl_ctx): New.
15817 2014-02-26 Carlos O'Donell <carlos@redhat.com>
15819 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15821 * manual/ipc.texi: New file.
15822 * manual/Makefile (chapters): Add ipc.
15823 * manual/job.texi: Add "Inter-Process Communication" to next.
15824 * manual/process.texi: Add "Inter-Process Communication" to prev.
15826 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15830 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
15832 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15834 * manual/arith.texi: Fix spaces after sentences.
15835 * manual/charset.texi: Likewise.
15836 * manual/errno.texi: Likewise.
15837 * manual/install.texi: Likewise.
15838 * manual/llio.texi: Likewise.
15839 * manual/locale.texi: Likewise.
15840 * manual/maint.texi: Likewise.
15841 * manual/math.texi: Likewise.
15842 * manual/memory.texi: Likewise.
15843 * manual/message.texi: Likewise.
15844 * manual/probes.texi: Likewise.
15845 * manual/resource.texi: Likewise.
15846 * manual/signal.texi: Likewise.
15847 * manual/socket.texi: Likewise.
15848 * manual/stdio.texi: Likewise.
15849 * manual/string.texi: Likewise.
15850 * manual/time.texi: Likewise.
15851 * manual/users.texi: Likewise.
15853 2014-02-25 Carlos O'Donell <carlos@redhat.com>
15856 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15857 _DEFAULT_SOURCE is defined.
15859 2014-02-25 Ulrich Drepper <drepper@gmail.com>
15860 Carlos O'Donell <carlos@redhat.com>
15863 * elf/dl-tls.c (_dl_count_modids): New function.
15864 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15865 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15866 audit library and increment generation counter.
15867 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15868 * elf/tst-audit9.c: New file.
15869 * elf/tst-auditmod9a.c: New file.
15870 * elf/tst-auditmod9b.c: New file.
15871 * elf/Makefile: Add rules to build and run tst-audit9.
15873 2014-02-25 Florian Weimer <fweimer@redhat.com>
15876 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15878 2014-02-25 Will Newton <will.newton@linaro.org>
15880 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15881 (__longjmp): Restore sp and lr before restoring callee
15882 saved registers. Add longjmp and longjmp_target
15883 SystemTap probe point.
15884 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15885 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15886 Define to zero to match jmpbuf layout.
15887 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15888 (__sigsetjmp): Save sp and lr before saving callee
15889 saved registers. Add setjmp SystemTap probe point.
15891 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15893 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15895 2014-02-24 Andreas Schwab <schwab@suse.de>
15898 * elf/pldd.c (wait_for_ptrace_stop): New function.
15899 (main): Call it after attaching.
15901 2014-02-22 Roland McGrath <roland@hack.frob.com>
15903 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15904 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15905 Versions files is now verboten.
15906 * hurd/Versions (libc: GLIBC_2.0):
15907 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15908 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15909 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15910 * mach/Versions: Likewise.
15912 * csu/Versions: Remove unused %include.
15913 * resolv/Versions: Likewise.
15915 2014-02-21 Joseph Myers <joseph@codesourcery.com>
15917 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15918 ($(objpfx)check-local-headers.out): Likewise.
15919 ($(objpfx)begin-end-check.out): Likewise.
15920 * Makerules (check-abi-%.out): Likewise.
15921 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15922 ($(objpfx)test2.cat): Likewise.
15923 ($(objpfx)de/libc.cat): Likewise.
15924 ($(objpfx)test-gencat.out): Likewise.
15925 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15926 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15927 ($(objpfx)noload-mem): Likewise.
15928 ($(objpfx)tst-pathopt.out): Likewise.
15929 ($(objpfx)tst-rtld-load-self.out): Likewise.
15930 ($(objpfx)tst-array1-cmp.out): Likewise.
15931 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15932 ($(objpfx)tst-array2-cmp.out): Likewise.
15933 ($(objpfx)tst-array3-cmp.out): Likewise.
15934 ($(objpfx)tst-array4-cmp.out): Likewise.
15935 ($(objpfx)tst-array5-cmp.out): Likewise.
15936 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15937 ($(objpfx)check-textrel.out): Likewise.
15938 ($(objpfx)check-execstack.out): Likewise.
15939 ($(objpfx)check-localplt.out): Likewise.
15940 ($(objpfx)order2-cmp.out): Likewise.
15941 ($(objpfx)tst-leaks1-mem): Likewise.
15942 ($(objpfx)tst-leaks1-static-mem): Likewise.
15943 ($(objpfx)tst-initorder-cmp.out): Likewise.
15944 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15945 ($(objpfx)tst-unused-dep.out): Likewise.
15946 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15947 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15948 * iconv/Makefile (test-iconvconfig): Likewise.
15949 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15950 ($(objpfx)iconv-test.out): Likewise.
15951 ($(objpfx)tst-tables.out): Likewise.
15952 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15953 ($(objpfx)tst-gettext.out): Likewise.
15954 ($(objpfx)tst-translit.out): Likewise.
15955 ($(objpfx)tst-gettext2.out): Likewise.
15956 ($(objpfx)tst-gettext4.out): Likewise.
15957 ($(objpfx)tst-gettext6.out): Likewise.
15958 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15959 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15960 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15961 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15962 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15963 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15964 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15965 ($(objpfx)wordexp-tst.out): Likewise.
15966 ($(objpfx)annexc.out): Likewise.
15967 ($(objpfx)tst-fnmatch-mem): Likewise.
15968 ($(objpfx)bug-regex2-mem): Likewise.
15969 ($(objpfx)bug-regex14-mem): Likewise.
15970 ($(objpfx)bug-regex21-mem): Likewise.
15971 ($(objpfx)bug-regex31-mem): Likewise.
15972 ($(objpfx)tst-vfork3-mem): Likewise.
15973 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15974 ($(objpfx)tst-pcre-mem): Likewise.
15975 ($(objpfx)tst-boost-mem): Likewise.
15976 ($(objpfx)tst-getconf.out): Likewise.
15977 ($(objpfx)bug-ga2-mem): Likewise.
15978 ($(objpfx)bug-glob2-mem): Likewise.
15979 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15980 ($(objpfx)mtrace-tst-leaks2): Likewise.
15981 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15982 ($(objpfx)tst-printf.out): Likewise.
15983 ($(objpfx)tst-setvbuf1.out): Likewise.
15984 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15985 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15986 ($(objpfx)tst-fmtmsg.out): Likewise.
15987 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15988 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15990 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15991 * bits/sigaction.h [__USE_MISC]: Likewise.
15992 * bits/waitstatus.h: Update #endif comments.
15993 * ctype/ctype.h: Likewise.
15994 * dirent/dirent.h: Likewise.
15995 [__USE_MISC]: Remove redundant conditionals.
15996 * grp/grp.h: Update #endif comments.
15997 [__USE_GNU]: Remove redundant conditionals.
15998 [__USE_MISC]: Likewise.
15999 * inet/netinet/in.h [__USE_GNU]: Likewise.
16000 * io/sys/stat.h [__USE_MISC]: Likewise.
16001 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16002 * libio/bits/stdio.h: Update #endif comments.
16003 [__USE_MISC]: Remove redundant conditionals.
16004 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16005 * libio/stdio.h: Update #endif comments.
16006 [__USE_MISC]: Remove redundant conditionals.
16007 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16008 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16009 * math/math.h: Update #else and #endif comments.
16010 [__USE_MISC]: Remove redundant conditionals.
16011 * misc/sys/uio.h: Update #endif comments.
16012 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16013 * posix/glob.h [__USE_MISC]: Likewise.
16014 * posix/sys/types.h: Update #endif comments.
16015 [__USE_MISC]: Remove redundant conditionals.
16016 * posix/sys/wait.h: Update #endif comments.
16017 [__USE_MISC]: Remove redundant conditionals.
16018 * posix/unistd.h: Update #endif comments.
16019 [__USE_MISC]: Remove redundant conditionals.
16020 * pwd/pwd.h [__USE_GNU]: Likewise.
16021 [__USE_MISC]: Likewise.
16022 * resolv/netdb.h [__USE_GNU]: Likewise.
16023 * signal/signal.h: Update #endif comments.
16024 [__USE_MISC]: Remove redundant conditionals.
16025 * stdlib/stdlib.h: Update #else and #endif comments.
16026 [__USE_MISC]: Remove redundant conditionals.
16027 [__USE_GNU]: Likewise.
16028 * string/bits/string2.h [__USE_MISC]: Likewise.
16029 * string/string.h: Update #endif comments.
16030 [__USE_MISC]: Remove redundant conditionals.
16031 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16033 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16034 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16035 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16037 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16039 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16041 [__USE_MISC]: Remove redundant conditionals.
16042 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16043 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16044 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16045 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16046 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16048 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16049 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16051 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16052 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16054 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16056 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16057 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16059 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16061 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16062 * sysdeps/x86/bits/string.h: Update #endif comments.
16063 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16065 * time/sys/time.h: Update #endif comments.
16066 * time/time.h: Likewise.
16067 [__USE_MISC]: Remove redundant conditionals.
16069 2014-02-21 Yury Gribov <y.gribov@samsung.com>
16072 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16074 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16076 * Versions.def (librt): Add GLIBC_2.17.
16078 2014-02-21 Adam Conrad <adconrad@0c3.net>
16080 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16081 synonym for _SYS_AUXV_H to allow direct inclusion.
16082 * sysdeps/sparc/bits/hwcap.h: Likewise.
16083 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16084 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16085 * sysdeps/sparc/sysdep.h: Likewise.
16087 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16089 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16091 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16093 * benchtests/bench-strrchr.c: Print length instead of position.
16095 2014-02-20 Joseph Myers <joseph@codesourcery.com>
16098 * sysdeps/unix/sysv/linux/kernel-features.h
16099 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16100 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16101 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16102 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16104 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16105 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16106 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16107 (__ASSUME_SENDMMSG): Define instead of using previous
16108 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16109 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16110 (__ASSUME_SENDMMSG_SYSCALL): Define.
16111 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16112 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16114 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16115 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16117 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16118 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16120 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16121 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16122 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16123 [__ASSUME_SENDMMSG]: Change conditionals to
16124 [__ASSUME_SENDMMSG_SOCKETCALL].
16125 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16126 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16128 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16129 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16131 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16132 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16133 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16134 [!__ASSUME_SENDMMSG]: Change conditional to
16135 [!__ASSUME_SENDMMSG_SOCKETCALL].
16136 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16137 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16141 * sysdeps/unix/sysv/linux/kernel-features.h
16142 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16143 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16144 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16145 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16146 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16147 [__i386__ || __sparc__]
16148 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16149 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16150 (__ASSUME_RECVMMSG): Define instead of using previous
16151 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16152 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16153 (__ASSUME_RECVMMSG_SYSCALL): Define.
16154 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16155 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16157 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16158 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16160 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16161 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16163 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16164 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16165 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16166 [__ASSUME_RECVMMSG]: Change condition to
16167 [__ASSUME_RECVMMSG_SOCKETCALL].
16168 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16169 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16171 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16172 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16173 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16175 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16176 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16177 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16178 [!__ASSUME_RECVMMSG]: Change condition to
16179 [!__ASSUME_RECVMMSG_SOCKETCALL].
16180 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16181 (__ASSUME_RECVMMSG_SYSCALL): Define.
16184 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16185 __powerpc__ || __s390__ || __sh__ || __sparc__]
16186 (__ASSUME_SOCKETCALL): Define.
16187 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16188 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16189 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16190 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16191 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16192 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16193 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16194 (__ASSUME_ACCEPT4): Define instead of using previous
16195 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16196 __powerpc__ || __sparc__ || __s390__)] condition.
16197 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16198 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16199 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16200 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16201 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16202 [!__ASSUME_ACCEPT4]: Change condition to
16203 [!__ASSUME_ACCEPT4_SOCKETCALL].
16204 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16205 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16206 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16207 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16208 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16209 __ASSUME_ACCEPT4_SYSCALL.
16210 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16211 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16212 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16213 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16214 __ASSUME_ACCEPT4_SYSCALL.
16215 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16216 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16217 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16218 [__ASSUME_ACCEPT4]: Change condition to
16219 [__ASSUME_ACCEPT4_SOCKETCALL].
16220 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16221 (__ASSUME_SOCKETCALL): Define.
16222 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16223 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16224 (__ASSUME_SOCKETCALL): Define.
16225 (__ASSUME_ACCEPT4): Remove.
16226 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16228 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16229 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16231 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16232 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16234 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16236 (HWCAP_ARM_LPAE): Likewise.
16237 (HWCAP_ARM_EVTSTRM): Likewise.
16238 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16239 Add vpfd32, lpae and evtstrm.
16240 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16243 2014-02-19 Joseph Myers <joseph@codesourcery.com>
16245 * math/auto-libm-test-in: Add tests of clog10.
16246 * math/auto-libm-test-out: Regenerated.
16247 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16248 * sysdeps/i386/fpu/libm-test-ulps: Update.
16249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16251 2014-02-18 Andreas Schwab <schwab@suse.de>
16254 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16255 Store non-zero if the second buffer was newly allocated.
16256 (send_dg): Likewise.
16257 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16258 to send_vc and send_dg.
16259 (res_nsend): Pass NULL for ansp2_malloced.
16260 * resolv/res_query.c (__libc_res_nquery): Add parameter
16261 answerp2_malloced and pass it down to __libc_res_nsend.
16262 (res_nquery): Pass additional NULL to __libc_res_nquery.
16263 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16264 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16265 second answer buffer if answerp2_malloced was set.
16266 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16267 (__libc_res_nquerydomain): Add parameter
16268 answerp2_malloced and pass it down to __libc_res_nquery.
16269 (res_nquerydomain): Pass additional NULL to
16270 __libc_res_nquerydomain.
16271 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16272 additional NULL to __libc_res_nsend and __libc_res_nquery.
16273 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16274 additional NULL to __libc_res_nsearch.
16275 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16276 parameter of __libc_res_nsearch to check for separately allocated
16278 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16280 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16281 additional NULL to __libc_res_nquery.
16282 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16283 __libc_res_nsearch.
16284 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16285 * include/resolv.h: Update prototypes of __libc_res_nquery,
16286 __libc_res_nsearch, __libc_res_nsend.
16288 2014-02-18 Joseph Myers <joseph@codesourcery.com>
16290 * math/auto-libm-test-in: Add tests of fma.
16291 * math/auto-libm-test-out: Regenerated.
16292 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16293 (fma_towardzero_test_data): Likewise.
16294 (fma_downward_test_data): Likewise.
16295 (fma_upward_test_data): Likewise.
16296 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16298 (rounding_modes): Add values for new field.
16299 (func_calc_method): Add value mpfr_fff_f.
16300 (func_calc_desc): Add mpfr_fff_f union field.
16301 (test_function): Add field exact_args.
16302 (FUNC): Add macro argument EXACT_ARGS.
16303 (FUNC_mpfr_f_f): Update call to FUNC.
16304 (FUNC_mpfr_f_f): Likewise.
16305 (FUNC_mpfr_ff_f): Likewise.
16306 (FUNC_mpfr_if_f): Likewise.
16307 (FUNC_mpc_c_f): Likewise.
16308 (FUNC_mpc_c_c): Likewise.
16309 (test_functions): Add fma. Update calls to FUNC.
16310 (handle_input_arg): Add argument exact_args.
16311 (add_test): Update call to handle_input_arg.
16312 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16313 (output_for_one_input_case): Update call to calc_generic_results.
16314 Recalculate exact zero results in each rounding mode.
16316 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16317 non-negative before setting low bit.
16318 * math/auto-libm-test-in: Mark one asin test possibly having
16319 spurious underflow.
16320 * math/auto-libm-test-out: Regenerated.
16321 * sysdeps/i386/fpu/libm-test-ulps: Update.
16322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16324 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16326 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16327 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16328 ports/sysdeps/unix/sysv/linux/microblaze.
16329 * README: Add missing listing for microblaze*-*-linux-gnu.
16331 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
16333 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16336 2014-02-16 Mike Frysinger <vapier@gentoo.org>
16338 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16339 * sysdeps/unix/sysv/linux/ia64: Move directory from
16340 ports/sysdeps/unix/sysv/linux/ia64.
16341 * README: Update listing for ia64-*-linux-gnu.
16343 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16344 Joseph Myers <joseph@codesourcery.com>
16346 * Makeconfig (test-name): New variable.
16347 (evaluate-test): Likewise.
16348 * Makerules (do-test-clean): Remove .test-result files.
16349 (common-mostlyclean): Likewise.
16350 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16351 * scripts/evaluate-test.sh: New file.
16353 2014-02-14 Joseph Myers <joseph@codesourcery.com>
16355 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16356 separate $(objpfx)tst-fopenloc-cmp.out and
16357 $(objpfx)tst-fopenloc-mem.out targets.
16358 (tests): Update dependencies.
16359 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16360 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16361 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16362 (tst-rxspencer-no-utf8-ARGS): New variable.
16363 (tst-rxspencer-no-utf8-ENV): Likewise.
16364 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16365 instead of $(objpfx)tst-rxspencer-mem.
16366 ($(objpfx)tst-rxspencer-mem): Change target to
16367 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16368 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16369 * posix/tst-rxspencer-no-utf8.c: New file.
16371 * elf/Makefile ($(objpfx)order.out): Remove rule.
16372 [$(run-built-tests) = yes] (tests): Depend on
16373 $(objpfx)order-cmp.out.
16374 ($(objpfx)order-cmp.out): New rule.
16375 [$(run-built-tests) = yes] (tests): Depend on
16376 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16377 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16378 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16379 $(objpfx)tst-array5-static-cmp.out.
16380 ($(objpfx)tst-array1.out): Remove rule.
16381 ($(objpfx)tst-array1-cmp.out): New rule.
16382 ($(objpfx)tst-array1-static.out): Remove rule.
16383 ($(objpfx)tst-array1-static-cmp.out): New rule.
16384 ($(objpfx)tst-array2.out): Remove rule.
16385 ($(objpfx)tst-array2-cmp.out): New rule.
16386 ($(objpfx)tst-array3.out): Remove rule.
16387 ($(objpfx)tst-array3-cmp.out): New rule.
16388 ($(objpfx)tst-array4.out): Remove rule.
16389 ($(objpfx)tst-array4-cmp.out): New rule.
16390 ($(objpfx)tst-array5.out): Remove rule.
16391 ($(objpfx)tst-array5-cmp.out): New rule.
16392 ($(objpfx)tst-array5-static.out): Remove rule.
16393 ($(objpfx)tst-array5-static-cmp.out): New rule.
16394 [$(run-built-tests) = yes] (tests): Depend on
16395 $(objpfx)order2-cmp.out.
16396 ($(objpfx)order2.out): Remove rule.
16397 ($(objpfx)order2-cmp.out): New rule.
16398 ($(objpfx)tst-initorder.out): Remove rule.
16399 [$(run-built-tests) = yes] (tests): Depend on
16400 $(objpfx)tst-initorder-cmp.out.
16401 ($(objpfx)tst-initorder-cmp.out): New rule.
16402 ($(objpfx)tst-initorder2.out): Remove rule.
16403 [$(run-built-tests) = yes] (tests): Depend on
16404 $(objpfx)tst-initorder2-cmp.out.
16405 ($(objpfx)tst-initorder2-cmp.out): New rule.
16406 [$(run-built-tests) = yes] (tests): Depend on
16407 $(objpfx)tst-unused-dep-cmp.out.
16408 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16409 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16410 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16411 on $(objpfx)tst-setvbuf1-cmp.out.
16412 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16413 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16414 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16415 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16416 ($(objpfx)tst-svc.out): Remove rule.
16417 ($(objpfx)tst-svc-cmp.out): New rule.
16419 2014-02-13 Joseph Myers <joseph@codesourcery.com>
16421 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16422 * ctype/ctype.h [__USE_MISC]: Likewise.
16423 * dirent/dirent.h [__USE_MISC]: Likewise.
16424 * grp/grp.h [__USE_MISC]: Likewise.
16425 * io/fcntl.h [__USE_MISC]: Likewise.
16426 * io/sys/stat.h [__USE_MISC]: Likewise.
16427 * libio/stdio.h [__USE_MISC]: Likewise.
16428 * posix/unistd.h [__USE_MISC]: Likewise.
16429 * pwd/pwd.h [__USE_MISC]: Likewise.
16430 * stdlib.h [__USE_MISC]: Likewise.
16431 * string/bits/string2.h [__USE_MISC]: Likewise.
16432 * string/string.h [__USE_MISC]: Likewise.
16433 * time/time.h [__USE_MISC]: Likewise.
16435 2014-02-13 Andreas Schwab <schwab@suse.de>
16438 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16439 second answer buffer if it was separately allocated.
16441 2014-02-12 Joseph Myers <joseph@codesourcery.com>
16443 * sysdeps/mips/math-tests.h: Include <features.h>.
16444 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16445 (ROUNDING_TESTS_long_double): Do not define.
16446 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16447 (EXCEPTION_TESTS_long_double): Likewise.
16448 * sysdeps/mips/mips64/libm-test-ulps: Update.
16450 * include/features.h (__USE_BSD): Remove macro definitions.
16451 (__USE_SVID): Likewise.
16452 (_BSD_SOURCE): Likewise.
16453 (_SVID_SOURCE): Likewise.
16454 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16455 from definition of _DEFAULT_SOURCE.
16456 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16458 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16459 * bits/mman.h [__USE_BSD]: Likewise.
16460 * bits/termios.h [__USE_BSD]: Likewise.
16461 * bits/waitstatus.h [__USE_BSD]: Likewise.
16462 * ctype/ctype.h [__USE_SVID]: Likewise.
16463 * dirent/dirent.h [__USE_BSD]: Likewise.
16464 * grp/grp.h [__USE_SVID]: Likewise.
16465 [__USE_BSD]: Likewise.
16466 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16467 * io/fcntl.h [__USE_BSD]: Likewise.
16468 * io/ftw.h [__USE_BSD]: Likewise.
16469 * io/sys/stat.h [__USE_BSD]: Likewise.
16470 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16471 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16472 * libio/stdio.h [__USE_SVID]: Likewise.
16473 [__USE_BSD]: Likewise.
16474 * math/math.h [__USE_SVID]: Likewise.
16475 [__USE_BSD]: Likewise.
16476 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16477 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16478 * misc/search.h [__USE_SVID]: Likewise.
16479 * misc/sys/mman.h [__USE_BSD]: Likewise.
16480 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16481 * misc/sys/uio.h [__USE_BSD]: Likewise.
16482 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16483 * posix/glob.h [__USE_BSD]: Likewise.
16484 * posix/regex.h [__USE_BSD]: Likewise.
16485 * posix/sys/types.h [__USE_BSD]: Likewise.
16486 [__USE_SVID]: Likewise.
16487 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16488 * posix/sys/wait.h [__USE_BSD]: Likewise.
16489 [__USE_SVID]: Likewise.
16490 * posix/unistd.h [__USE_BSD]: Likewise.
16491 [__USE_SVID]: Likewise.
16492 * pwd/pwd.h [__USE_SVID]: Likewise.
16493 * resolv/netdb.h [__USE_BSD]: Likewise.
16494 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16495 * signal/signal.h [__USE_BSD]: Likewise.
16496 [__USE_SVID]: Likewise.
16497 * socket/sys/socket.h [__USE_BSD]: Likewise.
16498 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16499 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16500 [__USE_SVID]: Likewise.
16501 * string/bits/string2.h [__USE_BSD]: Likewise.
16502 [__USE_SVID]: Likewise.
16503 * string/bits/string3.h [__USE_BSD]: Likewise.
16504 * string/endian.h [__USE_BSD]: Likewise.
16505 * string/string.h [__USE_SVID]: Likewise.
16506 [__USE_BSD]: Likewise.
16507 * string/strings.h [__USE_BSD]: Likewise.
16508 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16509 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16510 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16511 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16512 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16513 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16515 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16517 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16518 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16520 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16521 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16523 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16525 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16526 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16527 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16529 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16531 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16532 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16533 * termios/termios.h [__USE_BSD]: Likewise.
16534 * time/sys/time.h [__USE_BSD]: Likewise.
16535 * time/time.h [__USE_BSD]: Likewise.
16536 [__USE_SVID]: Likewise.
16538 * Makefile (subdir_targets): Remove subdir_lint.out.
16540 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16541 (do-tst-printf): Likewise.
16542 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16543 $(objpfx)tst-printf.out.
16545 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16547 * Makerules (check-abi-%): Change target to
16548 $(objpfx)check-abi-%.out.
16549 (check-abi target): Update dependencies.
16550 (check-abi-pattern variable): Redirect output of diff to $@.
16551 (check-abi variable): Likewise.
16552 * elf/Makefile (check-abi): Update dependencies.
16554 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16556 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16557 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16559 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16560 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16561 value has largest subnormal exponent.
16562 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16563 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16564 * sysdeps/aarch64/soft-fp/sfp-machine.h
16565 (_FP_TININESS_AFTER_ROUNDING): New macro.
16566 * sysdeps/alpha/soft-fp/sfp-machine.h
16567 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16568 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16570 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16571 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16572 * sysdeps/mips/soft-fp/sfp-machine.h
16573 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16574 * sysdeps/powerpc/soft-fp/sfp-machine.h
16575 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16576 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16578 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16579 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16580 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16581 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16582 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16585 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
16588 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16591 2014-02-12 Richard Henderson <rth@redhat.com>
16593 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16594 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16595 * sysdeps/unix/sysv/linux/alpha: Move directory from
16596 ports/sysdeps/unix/sysv/linux/alpha.
16597 * README: Update listing for alpha-*-linux-gnu.
16599 2014-02-11 Joseph Myers <joseph@codesourcery.com>
16601 * include/features.h: Update comment documenting feature test
16603 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16605 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16606 (_SVID_SOURCE): Likewise.
16607 (_DEFAULT_SOURCE): Update description of default features.
16608 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16610 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16611 (S_ISVTX): Likewise.
16612 * manual/math.texi (Mathematical Constants): Likewise.
16613 * manual/signal.texi (Interrupted Primitives): Likewise.
16614 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16615 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16616 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16617 Don't refer to _SVID_SOURCE in warning text.
16619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16621 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16623 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16624 * sysdeps/mips/dl-lookup.c: Remove.
16625 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16627 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16630 * math/auto-libm-test-in: Add testcase for expl.
16631 * math/auto-libm-test-out: Regenerate.
16632 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16633 calculation of unsafe.
16634 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16636 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16638 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16639 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16640 ports/sysdeps/unix/sysv/linux/aarch64.
16641 * README: Update listing for aarch64*-*-linux-gnu.
16643 2014-02-11 Will Newton <will.newton@linaro.org>
16645 * manual/probes.texi (Mathematical Function Probes): Use
16646 "triggered" instead of "hit".
16648 * manual/probes.texi (Internal Probes): Add documentation
16649 of setjmp, longjmp and longjmp_target probes.
16651 * include/stap-probe.h: Add comment about probe argument
16654 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16655 definition. (tr_where, tr_freehook, tr_mallochook,
16656 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16658 2014-02-11 David S. Miller <davem@davemloft.net>
16660 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16661 processing int_tests.
16663 2014-02-10 Joseph Myers <joseph@codesourcery.com>
16665 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16666 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16667 * sysdeps/unix/sysv/linux/mips: Move directory from
16668 ports/sysdeps/unix/sysv/linux/mips.
16669 * README: Update listing for mips-*-linux-gnu and
16670 mips64-*-linux-gnu.
16672 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16674 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16675 * sysdeps/unix/sysv/linux/m68k: Move directory from
16676 ports/sysdeps/unix/sysv/linux/m68k.
16677 * README: Update listing for m68k-*-linux-gnu.
16679 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16681 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16682 * sysdeps/unix/sysv/linux/generic: Move directory from
16683 ports/sysdeps/unix/sysv/linux/generic.
16684 * sysdeps/unix/sysv/linux/tile: Move directory from
16685 ports/sysdeps/unix/sysv/linux/tile.
16686 * README: Update listing for tile*-*-linux-gnu.
16688 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
16690 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16692 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16693 * catgets/open_catalog.c (__open_catalog): Likewise.
16694 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16695 * debug/confstr_chk.c: Likewise.
16696 * debug/fread_chk.c (__fread_chk): Likewise.
16697 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16698 * debug/getgroups_chk.c: Likewise.
16699 * debug/mbsnrtowcs_chk.c: Likewise.
16700 * debug/mbsrtowcs_chk.c: Likewise.
16701 * debug/mbstowcs_chk.c: Likewise.
16702 * debug/memcpy_chk.c: Likewise.
16703 * debug/memmove_chk.c: Likewise.
16704 * debug/mempcpy_chk.c: Likewise.
16705 * debug/memset_chk.c: Likewise.
16706 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16707 * debug/strcat_chk.c (__strcat_chk): Likewise.
16708 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16709 * debug/strncat_chk.c (__strncat_chk): Likewise.
16710 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16711 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16712 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16713 * debug/wcpncpy_chk.c: Likewise.
16714 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16715 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16716 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16717 * debug/wcsncpy_chk.c: Likewise.
16718 * debug/wcsnrtombs_chk.c: Likewise.
16719 * debug/wcsrtombs_chk.c: Likewise.
16720 * debug/wcstombs_chk.c: Likewise.
16721 * debug/wmemcpy_chk.c: Likewise.
16722 * debug/wmemmove_chk.c: Likewise.
16723 * debug/wmempcpy_chk.c: Likewise.
16724 * debug/wmemset_chk.c: Likewise.
16725 * dirent/scandirat.c (SCANDIRAT): Likewise.
16726 * dlfcn/dladdr1.c (dladdr1): Likewise.
16727 * dlfcn/dladdr.c (dladdr): Likewise.
16728 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16729 * dlfcn/dlerror.c (__dlerror): Likewise.
16730 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16731 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16732 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16733 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16734 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16735 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16736 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16737 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16739 * elf/dl-conflict.c: Likewise.
16740 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16741 * elf/dl-dst.h: Likewise.
16742 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16743 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16744 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16745 * elf/dl-init.c (call_init, _dl_init): Likewise.
16746 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16747 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16748 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16750 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16752 * elf/dl-minimal.c (__libc_memalign): Likewise.
16753 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16754 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16755 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16756 * elf/dl-sym.c (do_sym): Likewise.
16757 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16758 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16759 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16760 * elf/dl-writev.h (_dl_writev): Likewise.
16761 * elf/ldconfig.c (search_dir): Likewise.
16762 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16763 (dl_main): Likewise.
16764 * elf/setup-vdso.h (setup_vdso): Likewise.
16765 * grp/compat-initgroups.c (compat_call): Likewise.
16766 * grp/fgetgrent.c (fgetgrent): Likewise.
16767 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16768 * grp/putgrent.c (putgrent): Likewise.
16769 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16771 * hurd/hurdinit.c: Likewise.
16772 * iconvdata/8bit-gap.c (struct): Likewise.
16773 * iconvdata/ansi_x3.110.c : Likewise.
16774 * iconvdata/big5.c : Likewise.
16775 * iconvdata/big5hkscs.c : Likewise.
16776 * iconvdata/cp1255.c: Likewise.
16777 * iconvdata/cp1258.c : Likewise.
16778 * iconvdata/cp932.c : Likewise.
16779 * iconvdata/euc-cn.c: Likewise.
16780 * iconvdata/euc-jisx0213.c : Likewise.
16781 * iconvdata/euc-jp.c: Likewise.
16782 * iconvdata/euc-jp-ms.c : Likewise.
16783 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16784 * iconvdata/gb18030.c : Likewise.
16785 * iconvdata/gbbig5.c (const): Likewise.
16786 * iconvdata/gbgbk.c: Likewise.
16787 * iconvdata/gbk.c : Likewise.
16788 * iconvdata/ibm1364.c : Likewise.
16789 * iconvdata/ibm930.c : Likewise.
16790 * iconvdata/ibm932.c: Likewise.
16791 * iconvdata/ibm933.c : Likewise.
16792 * iconvdata/ibm935.c : Likewise.
16793 * iconvdata/ibm937.c : Likewise.
16794 * iconvdata/ibm939.c : Likewise.
16795 * iconvdata/ibm943.c: Likewise.
16796 * iconvdata/iso_11548-1.c: Likewise.
16797 * iconvdata/iso-2022-cn.c : Likewise.
16798 * iconvdata/iso-2022-cn-ext.c : Likewise.
16799 * iconvdata/iso-2022-jp-3.c: Likewise.
16800 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16801 * iconvdata/iso-2022-kr.c : Likewise.
16802 * iconvdata/iso646.c (gconv_end): Likewise.
16803 * iconvdata/iso_6937-2.c : Likewise.
16804 * iconvdata/iso_6937.c : Likewise.
16805 * iconvdata/iso8859-1.c: Likewise.
16806 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16807 * iconvdata/shift_jisx0213.c : Likewise.
16808 * iconvdata/sjis.c : Likewise.
16809 * iconvdata/t.61.c : Likewise.
16810 * iconvdata/tcvn5712-1.c : Likewise.
16811 * iconvdata/tscii.c: Likewise.
16812 * iconvdata/uhc.c : Likewise.
16813 * iconvdata/unicode.c (gconv_end): Likewise.
16814 * iconvdata/utf-16.c (gconv_end): Likewise.
16815 * iconvdata/utf-32.c (gconv_end): Likewise.
16816 * iconvdata/utf-7.c (base64): Likewise.
16817 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16818 * iconv/gconv_close.c (__gconv_close): Likewise.
16819 * iconv/gconv_open.c (__gconv_open): Likewise.
16820 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16821 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16822 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16823 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16824 (ucs4le_internal_loop_single): Likewise.
16825 * iconv/iconv.c (iconv): Likewise.
16826 * iconv/iconv_close.c: Likewise.
16827 * iconv/loop.c (SINGLE): Likewise.
16828 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16829 * include/atomic.h: Likewise.
16830 * inet/inet6_option.c (option_alloc): Likewise.
16831 * intl/bindtextdom.c (set_binding_values): Likewise.
16832 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16833 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16834 * intl/localealias.c (read_alias_file): Likewise.
16835 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16836 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16837 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16838 * libio/fmemopen.c (fmemopen): Likewise.
16839 * libio/iofgets.c (_IO_fgets): Likewise.
16840 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16841 * libio/iofgetws.c (fgetws): Likewise.
16842 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16843 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16844 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16845 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16846 * locale/findlocale.c (_nl_find_locale): Likewise.
16847 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16848 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16850 * locale/setlocale.c (setlocale): Likewise.
16851 * login/programs/pt_chown.c (main): Likewise.
16852 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16853 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16854 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16855 (mmap, mmap64, mremap, munmap): Likewise.
16856 * math/e_exp2l.c: Likewise.
16857 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16858 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16859 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16860 * math/s_catan.c (__catan): Likewise.
16861 * math/s_catanf.c (__catanf): Likewise.
16862 * math/s_catanh.c (__catanh): Likewise.
16863 * math/s_catanhf.c (__catanhf): Likewise.
16864 * math/s_catanhl.c (__catanhl): Likewise.
16865 * math/s_catanl.c (__catanl): Likewise.
16866 * math/s_ccosh.c (__ccosh): Likewise.
16867 * math/s_ccoshf.c (__ccoshf): Likewise.
16868 * math/s_ccoshl.c (__ccoshl): Likewise.
16869 * math/s_cexp.c (__cexp): Likewise.
16870 * math/s_cexpf.c (__cexpf): Likewise.
16871 * math/s_cexpl.c (__cexpl): Likewise.
16872 * math/s_clog10.c (__clog10): Likewise.
16873 * math/s_clog10f.c (__clog10f): Likewise.
16874 * math/s_clog10l.c (__clog10l): Likewise.
16875 * math/s_clog.c (__clog): Likewise.
16876 * math/s_clogf.c (__clogf): Likewise.
16877 * math/s_clogl.c (__clogl): Likewise.
16878 * math/s_csin.c (__csin): Likewise.
16879 * math/s_csinf.c (__csinf): Likewise.
16880 * math/s_csinh.c (__csinh): Likewise.
16881 * math/s_csinhf.c (__csinhf): Likewise.
16882 * math/s_csinhl.c (__csinhl): Likewise.
16883 * math/s_csinl.c (__csinl): Likewise.
16884 * math/s_csqrt.c (__csqrt): Likewise.
16885 * math/s_csqrtf.c (__csqrtf): Likewise.
16886 * math/s_csqrtl.c (__csqrtl): Likewise.
16887 * math/s_ctan.c (__ctan): Likewise.
16888 * math/s_ctanf.c (__ctanf): Likewise.
16889 * math/s_ctanh.c (__ctanh): Likewise.
16890 * math/s_ctanhf.c (__ctanhf): Likewise.
16891 * math/s_ctanhl.c (__ctanhl): Likewise.
16892 * math/s_ctanl.c (__ctanl): Likewise.
16893 * math/w_pow.c: Likewise.
16894 * math/w_powf.c: Likewise.
16895 * math/w_powl.c: Likewise.
16896 * math/w_scalb.c (sysv_scalb): Likewise.
16897 * math/w_scalbf.c (sysv_scalbf): Likewise.
16898 * math/w_scalbl.c (sysv_scalbl): Likewise.
16899 * misc/error.c (error_tail): Likewise.
16900 * misc/pselect.c (__pselect): Likewise.
16901 * nis/nis_callback.c (__nis_create_callback): Likewise.
16902 * nis/nis_call.c (__nisfind_server): Likewise.
16903 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16904 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16905 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16906 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16907 * nis/nis_lookup.c (nis_lookup): Likewise.
16908 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16909 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16910 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16911 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16912 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16913 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16914 * nis/nss_compat/compat-initgroups.c (add_group)
16915 (internal_getgrent_r): Likewise.
16916 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16917 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16918 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16919 (internal_getspnam_r): Likewise.
16920 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16921 (_nss_nis_getaliasbyname_r): Likewise.
16922 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16923 (_nss_nis_getntohost_r): Likewise.
16924 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16925 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16926 (_nss_nis_getgrgid_r): Likewise.
16927 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16928 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16929 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16930 (_nss_nis_gethostbyname4_r): Likewise.
16931 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16932 (initgroups_netid): Likewise.
16933 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16934 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16935 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16936 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16937 (_nss_nis_getprotobynumber_r): Likewise.
16938 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16939 (_nss_nis_getsecretkey): Likewise.
16940 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16941 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16942 (_nss_nis_getpwuid_r): Likewise.
16943 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16944 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16945 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16946 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16947 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16948 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16949 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16951 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16952 (_nss_nisplus_getntohost_r): Likewise.
16953 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16954 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16955 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16956 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16958 * nis/nss_nisplus/nisplus-initgroups.c
16959 (_nss_nisplus_initgroups_dyn): Likewise.
16960 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16961 (_nss_nisplus_getnetbyaddr_r): Likewise.
16962 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16963 (_nss_nisplus_getprotobynumber_r): Likewise.
16964 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16965 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16966 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16968 * nis/nss_nisplus/nisplus-service.c
16969 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16970 (_nss_nisplus_getservbyport_r): Likewise.
16971 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16972 (_nss_nisplus_getspnam_r): Likewise.
16973 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16975 * nscd/aicache.c (addhstaiX): Likewise.
16976 * nscd/cache.c (cache_search, prune_cache): Likewise.
16977 * nscd/connections.c (register_traced_file, send_ro_fd)
16978 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16979 (main_loop_epoll): Likewise.
16980 * nscd/grpcache.c (addgrbyX): Likewise.
16981 * nscd/hstcache.c (addhstbyX): Likewise.
16982 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16983 * nscd/mem.c (gc, mempool_alloc): Likewise.
16984 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16985 (addinnetgrX): Likewise.
16986 * nscd/nscd-client.h (__nscd_acquire_maplock)
16987 (__nscd_drop_map_ref): Likewise.
16988 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16989 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16990 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16992 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16993 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16994 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16995 (__nscd_get_map_ref): Likewise.
16996 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16997 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16999 * nscd/pwdcache.c (addpwbyX): Likewise.
17000 * nscd/selinux.c (preserve_capabilities): Likewise.
17001 * nscd/servicescache.c (addservbyX): Likewise.
17002 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17003 * posix/fnmatch.c (fnmatch): Likewise.
17004 * posix/getopt.c (_getopt_internal_r): Likewise.
17005 * posix/glob.c (glob, glob_in_dir): Likewise.
17006 * posix/wordexp.c (exec_comm_child): Likewise.
17007 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17008 (getanswer_r, gaih_getanswer_slice): Likewise.
17009 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17010 * resolv/res_init.c: Likewise.
17011 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17012 * resolv/res_query.c (__libc_res_nquery): Likewise.
17013 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17015 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17016 * stdio-common/perror.c (perror): Likewise.
17017 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17018 * stdio-common/tmpnam.c (tmpnam): Likewise.
17019 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17020 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17021 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17023 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17024 * stdlib/putenv.c (putenv): Likewise.
17025 * stdlib/setenv.c (__add_to_environ): Likewise.
17026 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17027 * stdlib/strtol_l.c (INTERNAL): Likewise.
17028 * string/memmem.c (memmem): Likewise.
17029 * string/strerror.c (strerror): Likewise.
17030 * string/strnlen.c (__strnlen): Likewise.
17031 * string/test-memmem.c (simple_memmem): Likewise.
17032 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17033 * sunrpc/pm_getport.c (__get_socket): Likewise.
17034 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17035 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17036 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17037 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17039 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17040 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17041 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17042 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17043 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17044 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17046 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17048 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17049 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17050 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17051 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17052 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17054 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17055 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17056 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17057 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17058 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17059 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17061 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17063 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17065 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17066 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17067 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17068 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17069 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17070 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17071 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17072 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17073 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17074 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17075 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17076 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17077 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17078 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17080 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17082 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17084 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17086 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17088 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17089 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17090 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17092 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17093 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17094 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17095 * sysdeps/posix/sleep.c: Likewise.
17096 * sysdeps/posix/tempname.c: Likewise.
17097 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17098 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17100 * sysdeps/powerpc/powerpc32/dl-machine.h
17101 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17102 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17103 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17104 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17105 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17107 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17108 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17109 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17110 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17111 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17112 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17113 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17114 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17115 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17116 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17117 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17118 (elf_machine_lazy_rel): Likewise.
17119 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17120 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17121 (elf_machine_lazy_rel): Likewise.
17122 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17123 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17124 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17125 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17126 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17127 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17128 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17129 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17131 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17132 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17133 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17134 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17135 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17136 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17137 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17138 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17139 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17140 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17141 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17143 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17144 (__posix_fallocate64_l64): Likewise.
17145 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17146 (posix_fallocate): Likewise.
17147 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17149 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17150 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17151 (getifaddrs_internal): Likewise.
17152 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17153 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17154 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17155 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17156 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17157 (__posix_fallocate64_l64): Likewise.
17158 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17160 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17161 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17162 (__get_clockfreq): Likewise.
17163 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17164 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17165 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17166 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17167 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17168 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17169 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17170 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17172 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17173 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17174 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17175 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17176 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17177 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17178 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17180 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17181 (posix_fallocate): Likewise.
17182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17183 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17184 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17185 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17186 (elf_machine_rela, elf_machine_rela_relative)
17187 (elf_machine_lazy_rel): Likewise.
17188 * time/asctime.c (asctime_internal): Likewise.
17189 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17190 * time/tzset.c (__tzset_parse_tz): Likewise.
17191 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17192 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17193 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17194 * wcsmbs/wcsmbsload.h: Likewise.
17197 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17199 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17200 (arena_get2): Remove THREAD_STATS conditionals.
17201 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17202 (__malloc_stats, int): Likewise.
17204 2014-02-08 Mike Frysinger <vapier@gentoo.org>
17206 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17207 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17209 * manual/setjmp.texi: Fix typos/grammar errors.
17211 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17212 Only return early when n is <= 0. Delete unused return statement.
17214 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17215 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17216 * debug/tst-longjmp_chk3.c: New file.
17218 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17219 (test_main): Replace code with set_fortify_handler call.
17220 * debug/test-strcpy_chk.c: Likewise.
17221 * debug/tst-chk1.c: Likewise.
17222 * debug/tst-longjmp_chk.c: Likewise.
17223 * test-skeleton.c: Include fcntl.h & paths.h
17224 (set_fortify_handler): Define.
17226 * debug/tst-longjmp_chk.c: Add header comment and include
17227 ../test-skeleton.c.
17228 (do_test): Mark static.
17229 (TEST_FUNCTION): Define.
17231 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17232 (IP_PMTUDISC_INTERFACE): Likewise.
17233 (IP_MULTICAST_IF): Likewise.
17234 (IP_MULTICAST_TTL): Likewise.
17235 (IP_MULTICAST_LOOP): Likewise.
17236 (IP_ADD_MEMBERSHIP): Likewise.
17237 (IP_DROP_MEMBERSHIP): Likewise.
17238 (IP_UNBLOCK_SOURCE): Likewise.
17239 (IP_BLOCK_SOURCE): Likewise.
17240 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17241 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17242 (IP_MSFILTER): Likewise.
17243 (MCAST_JOIN_GROUP): Likewise.
17244 (MCAST_BLOCK_SOURCE): Likewise.
17245 (MCAST_UNBLOCK_SOURCE): Likewise.
17246 (MCAST_LEAVE_GROUP): Likewise.
17247 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17248 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17249 (MCAST_MSFILTER): Likewise.
17250 (IP_MULTICAST_ALL): Likewise.
17251 (IP_UNICAST_IF): Likewise.
17253 * timezone/Makefile: Delete $(have-ksh) check.
17254 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17255 * timezone/tzselect.ksh: Add +x mode bits.
17257 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17258 (ANON_INODE_FS_MAGIC): Likewise.
17259 (BDEVFS_MAGIC): Likewise.
17260 (BINFMTFS_MAGIC): Likewise.
17261 (BTRFS_TEST_MAGIC): Likewise.
17262 (CRAMFS_MAGIC_WEND): Likewise.
17263 (DEBUGFS_MAGIC): Likewise.
17264 (ECRYPTFS_SUPER_MAGIC): Likewise.
17265 (EXT3_SUPER_MAGIC): Likewise.
17266 (EXT4_SUPER_MAGIC): Likewise.
17267 (FUTEXFS_SUPER_MAGIC): Likewise.
17268 (HOSTFS_SUPER_MAGIC): Likewise.
17269 (HUGETLBFS_MAGIC): Likewise.
17270 (MINIX3_SUPER_MAGIC): Likewise.
17271 (MTD_INODE_FS_MAGIC): Likewise.
17272 (NILFS_SUPER_MAGIC): Likewise.
17273 (OPENPROM_SUPER_MAGIC): Likewise.
17274 (PIPEFS_MAGIC): Likewise.
17275 (PSTOREFS_MAGIC): Likewise.
17276 (QNX6_SUPER_MAGIC): Likewise.
17277 (RAMFS_MAGIC): Likewise.
17278 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17279 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17280 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17281 (SECURITYFS_MAGIC): Likewise.
17282 (SELINUX_MAGIC): Likewise.
17283 (SMACK_MAGIC): Likewise.
17284 (SOCKFS_MAGIC): Likewise.
17285 (SQUASHFS_MAGIC): Likewise.
17286 (STACK_END_MAGIC): Likewise.
17287 (TMPFS_MAGIC): Likewise.
17288 (USBDEVICE_SUPER_MAGIC): Likewise.
17289 (V9FS_MAGIC): Likewise.
17290 (XENFS_SUPER_MAGIC): Likewise.
17291 (CRAMFS_MAGIC): Fix typo in comment.
17292 (EXT2_SUPER_MAGIC): Update comment.
17293 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17295 2014-02-08 Joseph Myers <joseph@codesourcery.com>
17297 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17298 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17299 * sysdeps/unix/sysv/linux/arm: Move directory from
17300 ports/sysdeps/unix/sysv/linux/arm.
17301 * README: Update listing for arm-*-linux-gnueabi.
17303 * README: Remove mention of am33.
17305 2014-02-07 Roland McGrath <roland@hack.frob.com>
17307 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17308 than the comma operator, to avoid "rhs of comma has no effect"
17310 (__sigfillset, __sigandset, __sigorset): Likewise.
17311 * include/signal.h (__sigemptyset): Likewise.
17312 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17314 2014-02-07 Allan McRae <allan@archlinux.org>
17316 * version.h (RELEASE): Set to "development".
17317 (VERSION): Set to "2.19.90"
17318 * NEWS: Add 2.20 section.
17320 2014-02-06 Carlos O'Donell <carlos@redhat.com>
17323 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17325 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17327 * manual/contrib.texi: Update entry for Carlos O'Donell,
17328 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17330 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
17332 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17334 * sysdeps/unix/sysv/linux/kernel-features.h
17335 [__LINUX_KERNEL_VERSION >= 0x020621]
17336 (__ASSUME_PROC_PID_TASK_COMM): Define.
17338 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17341 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17342 conversion when destination buffer does not have enough space.
17343 * libio/tst-ftell-partial-wide.c: New test case.
17344 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17346 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17347 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17348 Leonard and Allan McRae.
17350 2014-02-04 David S. Miller <davem@davemloft.net>
17352 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17355 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17384 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17386 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17387 * shlib-versions: Likewise.
17389 2014-02-04 Roland McGrath <roland@hack.frob.com>
17390 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17392 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17393 (abilist-pattern): New variable, set to %-le.abilist.
17395 * Makerules (abilist-pattern): New variable.
17396 (vpath): Use $(abilist-pattern) in place of %.abilist.
17397 (check-abi-% pattern rule): Likewise.
17398 (check-abi, update-abi): Likewise.
17400 2014-02-04 Eric Wong <normalperson@yhbt.net>
17402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17404 2014-02-03 Carlos O'Donell <carlos@redhat.com>
17406 * manual/startup.texi: Add next, previous, and top entries for
17407 the `Program Arguments' and `Environment Variables' nodes.
17409 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
17411 * manual/macros.texi: Add comments before MTASC-safety macros.
17413 * manual/users.texi: Document MTASC-safety properties.
17415 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17416 (pthread_getspecific, pthread_setspecific): Format with
17417 @deftypefun, and add @safety note.
17418 * manual/signal.texi: Move comments that analyze the above
17419 functions to their home place.
17421 2014-02-03 Allan McRae <allan@archlinux.org>
17423 * po/sl.po: Update Slovenian translation from translation project.
17425 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
17427 * manual/time.texi (timegm): Add missing blank after @c.
17428 Reported by Joseph Myers <joseph@codesourcery.com>.
17430 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
17432 * manual/check-safety.sh: New.
17433 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17435 * manual/terminal.texi: Document MTASC-safety properties.
17437 * manual/filesys.texi: Document MTASC-safety properties.
17439 * manual/errno.texi: Document MTASC-safety properties.
17441 * manual/intro.texi: Document safety identifiers and
17444 * manual/string.texi (wcstok): Fix prototype.
17445 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17447 * manual/time.texi: Document MTASC-safety properties.
17449 * manual/string.texi: Document MTASC-safety properties.
17451 * manual/threads.texi: Document MTASC-safety properties.
17453 * manual/stdio.texi: Document MTASC-safety properties.
17455 * manual/syslog.texi: Document MTASC-safety properties.
17457 * manual/sysinfo.texi: Document MTASC-safety properties.
17459 * manual/startup.texi: Document MTASC-safety properties.
17461 * manual/socket.texi: Document MTASC-safety properties.
17463 * manual/signal.texi: Document MTASC-safety properties.
17465 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
17467 * manual/setjmp.texi: Document MTASC-safety properties.
17469 * manual/search.texi: Document MTASC-safety properties.
17471 * manual/resource.texi: Document MTASC-safety properties.
17473 * manual/process.texi: Document MTASC-safety properties.
17475 * manual/platform.texi: Document MTASC-safety properties.
17477 * manual/pipe.texi: Document MTASC-safety properties.
17479 * manual/pattern.texi: Document MTASC-safety properties.
17481 * manual/message.texi: Document MTASC-safety properties.
17484 * manual/memory.texi: Document MTASC-safety properties.
17486 * manual/math.texi: Document MTASC-safety properties.
17488 * manual/locale.texi: Document MTASC-safety properties.
17490 * manual/llio.texi: Document MTASC-safety properties.
17492 * manual/libdl.texi: New.
17494 * manual/lang.texi: Document MTASC-safety properties.
17496 * manual/job.texi: Document MTASC-safety properties.
17498 * manual/getopt.texi: Document MTASC-safety properties.
17500 * manual/ctype.texi: Document MTASC-safety properties.
17502 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17505 * csu/libc-tls.c (static_map): Remove variable.
17506 (__libc_setup_tls): Use main executable's link map for TLS data.
17507 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17508 casing for LM_ID_BASE and GL(dl_nns).
17509 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17510 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17511 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17512 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17513 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17515 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17518 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
17520 * manual/debug.texi: Document MTASC-safety properties.
17522 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17525 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17526 of __x86_64__ when disabling x87 inline functions.
17528 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
17530 * manual/charset.texi: Document MTASC-safety properties.
17532 * manual/crypt.texi: Document MTASC-safety properties.
17534 * manual/conf.texi: Document MTASC-safety properties.
17536 * manual/arith.texi: Document MTASC-safety properties.
17538 * manual/argp.texi: Document MTASC-safety properties.
17540 * manual/macros.texi: Introduce macros to document multi
17541 thread, asynchronous signal and asynchronous cancellation
17543 * manual/intro.texi: Introduce the properties themselves.
17545 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17547 * sysdeps/sh/sh4/Makefile: New file.
17549 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17551 * math/gen-libm-test.pl ($srcdir): New variable.
17552 ($auto_input): Use it.
17554 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17557 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17558 access beyond array bounds when parsing netgroups file.
17560 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17561 the old buffer before realloc.
17563 2014-01-27 Allan McRae <allan@archlinux.org>
17565 * po/fr.po: Update French translation from translation project.
17567 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17569 * sysdeps/sh/libm-test-ulps: Regenerate.
17571 2014-01-24 David S. Miller <davem@davemloft.net>
17573 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17575 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17577 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17578 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17580 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17583 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17584 string pointers after reallocation.
17586 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17588 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17589 __SH4A__ instead of __SH_FPU_ANY__.
17591 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17593 * sysdeps/sh/fpu_control.h: New file.
17594 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17595 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17596 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17597 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17598 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17599 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17600 * sysdeps/sh/sys/ucontext.h: Remove.
17601 * sysdeps/sh/sys: Remove directory.
17603 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17605 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17606 s390/sys/ucontext.h.
17607 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17608 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17610 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17613 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17615 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17618 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17619 Adjust the vDSO correctly for internal calls.
17620 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17622 2014-01-20 Allan McRae <allan@archlinux.org>
17624 * po/ca.po: Update Catalan translation from translation project.
17626 2014-01-16 Mike Frysinger <vapier@gentoo.org>
17628 * sysdeps/s390/sotruss-lib.c: New file.
17630 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17633 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17634 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17635 local calls issues by not having a PLT stub required for IFUNC calls.
17636 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17638 2014-01-16 Joseph Myers <joseph@codesourcery.com>
17640 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17641 * math/test-fpucw-static.c: Likewise.
17643 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17646 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17648 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17650 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17651 implementation for powerpc.
17653 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
17656 * sysdeps/posix/system.c (__libc_system): Do not enable
17657 asynchronous cancellation.
17659 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17662 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17663 handling only for numbers special also in the IEEE case.
17665 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17667 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17669 2014-01-11 Allan McRae <allan@archlinux.org>
17671 * po/bg.po: Update Bulgarian translation from translation project.
17673 * po/de.po: Update German translation from translation project.
17675 2014-01-10 Roland McGrath <roland@hack.frob.com>
17677 * sysdeps/generic/gcc-compat.h: New file.
17679 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17681 * benchtests/asin-inputs: Correct slow inputs.
17682 * benchtests/acos-inputs: Likewise.
17684 2014-01-10 Allan McRae <allan@archlinux.org>
17686 * po:sv.po: Update Swedish translation from translation project.
17688 * po/vi.po: Update Vietnamese translation from translation project.
17690 * po/eo.po: Update Esperanto translation from translation project.
17692 * po/cs.po: Update Czech translation from translation project.
17694 * po/nl.po: Update Dutch translation from translation project.
17696 * po/pl.po: Update Polish translation from translation project.
17698 * po/ru.po: Update Russian translation from translation project.
17700 * po/uk.po: Update Ukrainian translation from translation project.
17702 2014-01-08 Brooks Moses <bmoses@google.com>
17704 * elf/dl-load.c: Fix comment typo.
17706 2014-01-08 Carlos O'Donell <carlos@redhat.com>
17708 * po/header.pot: Rename to...
17709 * po/pot.header: ... this.
17710 * po/Makefile: Use pot.header.
17712 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17713 Maxim Kuvyrkov <maxim@kugelworks.com>
17716 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17717 SRC and DEST against LEN.
17719 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17722 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17724 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17726 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17730 2014-01-08 Joseph Myers <joseph@codesourcery.com>
17733 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17734 for large positive arguments.
17736 2014-01-07 Joseph Myers <joseph@codesourcery.com>
17738 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17740 * math/auto-libm-test-in: Mark various tests with
17741 xfail-rounding:ldbl-128ibm.
17742 * math/auto-libm-test-out: Regenerated.
17745 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17746 Increase overflow threshold.
17748 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
17751 * stdio-common/vfprintf.c: Check for integer overflow.
17753 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17755 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17756 the first argument and return value of __tls_get_addr_internal.
17758 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17760 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17761 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17763 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17765 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17766 * sysdeps/s390/rtld-global-offsets.sym: New file.
17767 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17769 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17770 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17771 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17773 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17774 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17780 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17781 halfs of GPRs for high_gprs contexts.
17782 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17783 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17785 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17787 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17789 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17790 for high GPRs (uc_high_gprs) and for future extensions
17792 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17793 for future extensions (__reserved).
17794 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17796 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17797 SC_HIGHGPRS offset definition.
17798 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17799 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17801 * Versions.def: Add GLIBC_2.19 for libpthread.
17802 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17803 siglongjmp for libpthread with GLIBC_2.19 symver.
17804 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17805 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17806 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17807 * sysdeps/s390/__longjmp.c: New file.
17808 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17809 * sysdeps/s390/longjmp.c: New file.
17810 * sysdeps/s390/setjmp.S: New file.
17811 * sysdeps/s390/sigjmp.S: New file.
17812 * sysdeps/s390/v1-longjmp.c: New file.
17813 * sysdeps/s390/v1-setjmp.h: New file.
17814 * sysdeps/s390/v1-sigjmp.c: New file.
17815 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17816 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17817 GLIBC_2.19 version.
17818 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17819 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17820 versioned symbols for ____longjmp_chk.
17821 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17831 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17832 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17833 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17834 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17835 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17836 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17837 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17838 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17839 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17840 * sysdeps/s390/rtld-__longjmp.c: New file.
17841 * sysdeps/s390/rtld-setjmp.S: New file.
17843 2014-01-06 Joseph Myers <joseph@codesourcery.com>
17846 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17847 Return -__logl (x) for small positive arguments without evaluating
17850 2014-01-06 Mike Frysinger <vapier@gentoo.org>
17852 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17854 (__ptrace_peeksiginfo_args): ... this.
17855 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17856 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17857 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17859 2014-01-06 Allan McRae <allan@archlinux.org>
17861 * inet/netinet/in.h: Fix typo in comment.
17863 2014-01-05 Andreas Jaeger <aj@suse.de>
17865 * sysdeps/i386/fpu/libm-test-ulps: Update.
17867 2014-01-05 Allan McRae <allan@archlinux.org>
17869 * po/libc.pot: Regenerated.
17871 * malloc/memusagestat.c: Fix gettext call formatting.
17873 2014-01-04 Sami Kerola <kerolasa@iki.fi>
17875 * nscd/nscd.c: Improve usage() output.
17877 2014-01-04 Mike Frysinger <vapier@gentoo.org>
17879 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17880 * sysdeps/unix/sysv/linux/configure: Regenerated.
17881 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17882 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17884 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17887 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17888 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17890 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17892 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17893 extra tokens at end of #undef directive.
17894 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17895 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17896 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17898 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17900 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17902 * math/auto-libm-test-in: Mark various tests with
17903 xfail-rounding:ldbl-128ibm.
17904 * math/auto-libm-test-out: Regenerated.
17906 2014-01-02 Joseph Myers <joseph@codesourcery.com>
17909 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17910 numbers with subnormal high part when calculating exponent.
17913 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17917 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17919 (__ieee754_acoshl): Use __log1pl not __log1p.
17921 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
17923 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17924 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17925 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17926 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17927 (reused_arena, arena_get2): Convert to GNU style.
17928 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17929 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17930 (memalign_check, __malloc_set_state): Likewise.
17931 * malloc/mallocbug.c (main): Likewise.
17932 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17933 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17934 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17935 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17936 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17937 (__posix_memalign, malloc_info): Likewise.
17938 * malloc/malloc.h: Likewise.
17939 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17940 (mallochook, memalignhook, reallochook, mabort): Likewise.
17941 * malloc/mcheck.h: Likewise.
17942 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17943 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17944 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17945 * malloc/morecore.c (__default_morecore): Likewise.
17946 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17947 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17948 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17949 (print_and_abort): Likewise.
17950 * malloc/obstack.h: Likewise.
17951 * malloc/set-freeres.c (__libc_freeres): Likewise.
17952 * malloc/tst-mallocstate.c (main): Likewise.
17953 * malloc/tst-mtrace.c (main): Likewise.
17954 * malloc/tst-realloc.c (do_test): Likewise.
17956 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17959 * nscd/netgroupcache.c (do_notfound): New function.
17960 (addgetnetgrentX): Use it.
17963 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17964 NSS_STATUS_NOTFOUND.
17966 2014-01-01 Joseph Myers <joseph@codesourcery.com>
17968 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17971 2014-01-01 Allan McRae <allan@archlinux.org>
17973 * scripts/update-copyrights: Update configure input file suffix.
17975 * NEWS: Update copyright year.
17976 * catgets/gencat.c: Likewise.
17977 * csu/version.c: Likewise.
17978 * debug/catchsegv.sh: Likewise.
17979 * debug/pcprofiledump.c: Likewise.
17980 * debug/xtrace.sh: Likewise.
17981 * elf/ldconfig.c: Likewise.
17982 * elf/ldd.bash.in: Likewise.
17983 * elf/pldd.c: Likewise.
17984 * elf/sotruss.ksh: Likewise.
17985 * elf/sprof.c: Likewise.
17986 * iconv/iconv_prog.c: Likewise.
17987 * iconv/iconvconfig.c: Likewise.
17988 * locale/programs/locale.c: Likewise.
17989 * locale/programs/localedef.c: Likewise.
17990 * login/programs/pt_chown.c: Likewise.
17991 * malloc/memusage.sh: Likewise.
17992 * malloc/memusagestat.c: Likewise.
17993 * malloc/mtrace.pl: Likewise.
17994 * manual/libc.texinfo: Likewise.
17995 * nscd/nscd.c: Likewise.
17996 * nss/getent.c: Likewise.
17997 * nss/makedb.c: Likewise.
17998 * posix/getconf.c: Likewise.
17999 * scripts/test-installation.pl: Likewise.
18001 * All files with FSF copyright notices: Update copyright dates
18002 using scripts/update-copyrights.
18003 * intl/plural.c: Regenerated.
18004 * locale/programs/charmap-kw.h: Likewise.
18005 * locale/programs/locfile-kw.h: Likewise.
18007 2013-12-31 Mike Frysinger <vapier@gentoo.org>
18009 * sysdeps/unix/sysv/linux/configure: Regenerated.
18010 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18011 the linux/fanotify.h header.
18012 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18013 HAVE_LINUX_FANOTIFY_H is defined.
18015 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18017 * benchtests/cos-inputs: New inputs.
18018 * benchtests/sin-inputs: Likewise.
18020 * benchtests/atan-inputs: New inputs. Fix name of multiple
18021 precision fallback inputs.
18023 * benchtests/atanh-inputs: New inputs.
18024 * benchtests/tanh-inputs: Likewise.
18026 * benchtests/acosh-inputs: New inputs.
18027 * benchtests/asinh-inputs: Likewise.
18029 * benchtests/cosh-inputs: New inputs.
18030 * benchtests/sinh-inputs: Likewise.
18032 * benchtests/acos-inputs: Add more inputs.
18033 * benchtests/asin-inputs: Likewise.
18035 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
18038 * manual/arith.texi: Fix spelling.
18039 * manual/charset.texi: Likewise.
18040 * manual/errno.texi: Likewise.
18041 * manual/filesys.texi: Likewise.
18042 * manual/lang.texi: Likewise.
18043 * manual/llio.texi: Likewise.
18044 * manual/locale.texi: Likewise.
18045 * manual/message.texi: Likewise.
18046 * manual/resource.texi: Likewise.
18047 * manual/search.texi: Likewise.
18048 * manual/setjmp.texi: Likewise.
18049 * manual/stdio.texi: Likewise.
18050 * manual/string.texi: Likewise.
18051 * manual/sysinfo.texi: Likewise.
18052 * manual/time.texi: Likewise.
18054 2013-12-27 Carlos O'Donell <carlos@redhat.com>
18056 * po/sl.po: New file.
18058 2013-12-27 Mike Frysinger <vapier@gentoo.org>
18060 * .gitignore: Add core/.gdbinit/.gdb_history.
18062 2013-12-27 Allan McRae <allan@archlinux.org>
18065 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18066 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18068 2013-12-24 Brooks Moses <bmoses@google.com>
18070 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18071 all compilers that claim C++98 compliance, not just GCC.
18072 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18075 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18077 * NEWS: Restore accidentally deleted bug-fix entries.
18079 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18080 Ondřej Bílka <neleai@seznam.cz>
18083 * malloc/malloc.c (_int_free): Perform sanity check only if we
18086 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
18089 * manual/stdio.texi (String Input Conversions): Clarify that character
18090 classes are not supported.
18092 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18096 2013-12-22 Joseph Myers <joseph@codesourcery.com>
18099 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18100 Calculate results for small negative arguments directly rather
18101 than using reflection formula with special underflow handling.
18103 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18104 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18105 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18106 (fchflags): Likewise.
18107 (revoke): Likewise.
18108 (setlogin): Likewise.
18109 (sigaltstack): Likewise.
18111 (sigblock): Remove.
18112 (sigsetmask): Likewise.
18114 (waitpid): Likewise.
18115 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18116 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18118 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18119 * sysdeps/unix/bsd/Makefile: ... here.
18120 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18121 * sysdeps/unix/bsd/Versions: ... here.
18122 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18123 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18124 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18125 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18126 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18127 * sysdeps/unix/bsd/sigblock.c: ... here.
18128 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18129 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18130 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18131 * sysdeps/unix/bsd/sigvec.c: ... here.
18132 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18133 * sysdeps/unix/bsd/tcdrain.c: ... here.
18134 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18135 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18136 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18137 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18138 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18139 * sysdeps/unix/bsd/wait.c: ... here.
18140 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18141 * sysdeps/unix/bsd/wait3.c: ... here.
18142 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18143 * sysdeps/unix/bsd/waitpid.c: ... here.
18145 2013-12-21 Joseph Myers <joseph@codesourcery.com>
18148 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18149 round-to-nearest for [!USE_AS_EXPM1L].
18150 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18151 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18152 more tests of exp and exp10. Expect some exp10 tests to miss
18153 exceptions or fail in directed rounding modes.
18154 * math/auto-libm-test-out: Regenerated.
18155 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18156 (exp10_test_tonearest): New function.
18157 (exp10_towardzero_test_data): New array.
18158 (exp10_test_towardzero): New function.
18159 (exp10_downward_test_data): New array.
18160 (exp10_test_downward): New function.
18161 (exp10_upward_test_data): New array.
18162 (exp10_test_upward): New function.
18163 (main): Call the new functions.
18164 * sysdeps/i386/fpu/libm-test-ulps: Update.
18165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18167 2013-12-20 Joseph Myers <joseph@codesourcery.com>
18169 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18170 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18171 * math/auto-libm-test-out: Regenerated.
18172 * math/libm-test.inc (acosh_test_data): Add more tests.
18173 (atanh_test_data): Likewise.
18174 (ceil_test_data): Likewise.
18175 (copysign_test_data): Likewise.
18176 * sysdeps/i386/fpu/libm-test-ulps: Update.
18177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18179 * timezone/checktab.awk: Update from tzcode 2013i.
18180 * timezone/private.h: Likewise.
18181 * timezone/scheck.c: Likewise.
18182 * timezone/tzfile.h: Likewise.
18183 * timezone/tzselect.ksh: Likewise.
18184 * timezone/zdump.c: Likewise.
18185 * timezone/zic.c: Likewise.
18187 * math/auto-libm-test-in: Add tests of cpow.
18188 * math/auto-libm-test-out: Regenerated.
18189 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18190 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18192 (func_calc_desc): Add mpc_cc_c union field.
18193 (test_functions): Add cpow.
18194 (special_fill_2pi): New function.
18195 (special_real_inputs): Add 2pi.
18196 (calc_generic_results): Handle mpc_cc_c.
18197 * sysdeps/i386/fpu/libm-test-ulps: Update.
18198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18200 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18201 csqrt, ctan and ctanh.
18202 * math/auto-libm-test-out: Regenerated.
18203 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18204 (TEST_COND_x86): Likewise.
18205 (ccos_test_data): Use AUTO_TESTS_c_c.
18206 (ccosh_test_data): Likewise.
18207 (cexp_test_data): Likewise.
18208 (clog_test_data): Likewise.
18209 (csqrt_test_data): Likewise.
18210 (ctan_test_data): Likewise.
18211 (ctan_tonearest_test_data): Likewise.
18212 (ctan_towardzero_test_data): Likewise.
18213 (ctan_downward_test_data): Likewise.
18214 (ctan_upward_test_data): Likewise.
18215 (ctanh_test_data): Likewise.
18216 (ctanh_tonearest_test_data): Likewise.
18217 (ctanh_towardzero_test_data): Likewise.
18218 (ctanh_downward_test_data): Likewise.
18219 (ctanh_upward_test_data): Likewise.
18220 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18222 (func_calc_desc): Add mpc_c_c union field.
18223 (FUNC_mpc_c_c): New macro.
18224 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18225 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18227 (special_fill_min_subnorm_p120): New function.
18228 (special_real_inputs): Add min_subnorm_p120.
18229 (calc_generic_results): Handle mpc_c_c.
18230 * sysdeps/i386/fpu/libm-test-ulps: Update.
18231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18233 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18235 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18236 (do_sin_slow): New functions.
18237 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18238 (cslow2, csloww1, csloww2): Use the new functions.
18240 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18241 Use M to change sign of result instead of X. Assume X is
18243 (csloww1): Likewise.
18247 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18248 arguments A and DA.
18252 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18254 (sloww1): Don't adjust sign of DX.
18255 (csloww1): Likewise.
18256 (sloww2): Use X directly and don't adjust sign of DX.
18257 (csloww2): Likewise.
18259 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18261 * math/auto-libm-test-in: Add tests of cabs and carg.
18262 * math/auto-libm-test-out: Regenerated.
18263 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18264 (carg_test_data): Likewise.
18265 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18267 (func_calc_desc): Add mpc_c_f union field.
18268 (test_functions): Add cabs and carg.
18269 (calc_generic_results): Handle mpc_c_f.
18271 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18272 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18273 as a macro and a compat symbol.
18274 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18275 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18276 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18277 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18278 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18279 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18281 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18283 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18285 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18287 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18289 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18291 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18292 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18295 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18299 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18301 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18302 trailing whitespace removed.
18303 * scripts/config.guess: Update to version 2013-11-29.
18304 * scripts/config.sub: Update to version 2013-10-01.
18306 * math/auto-libm-test-in: Add tests of sincos.
18307 * math/auto-libm-test-out: Regenerated.
18308 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18309 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18311 (func_calc_desc): Add mpfr_f_11 union field.
18312 (test_functions): Add sincos.
18313 (calc_generic_results): Handle mpfr_f_11.
18314 * sysdeps/i386/fpu/libm-test-ulps: Update.
18315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18317 2013-12-19 Andreas Schwab <schwab@suse.de>
18319 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18321 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18322 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18323 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18325 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18327 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18328 * sysdeps/i386/fpu/libm-test-ulps: Update.
18329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18332 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18333 round-to-nearest mode when using frndint.
18334 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18335 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18336 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18338 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18340 * math/auto-libm-test-out: Regenerated.
18341 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18342 (TEST_COND_x86): Likewise.
18343 (expm1_tonearest_test_data): New array.
18344 (expm1_test_tonearest): New function.
18345 (expm1_towardzero_test_data): New array.
18346 (expm1_test_towardzero): New function.
18347 (expm1_downward_test_data): New array.
18348 (expm1_test_downward): New function.
18349 (expm1_upward_test_data): New array.
18350 (expm1_test_upward): New function.
18351 (main): Run the new test functions.
18352 * sysdeps/i386/fpu/libm-test-ulps: Update.
18353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18355 * include/features.h: Update comment documenting feature test
18356 macros. Mention _DEFAULT_SOURCE in comment.
18357 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18358 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18359 _BSD_SOURCE and _SVID_SOURCE.
18360 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18361 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18362 !_SVID_SOURCE]: Likewise.
18363 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18364 (__USE_POSIX_IMPLICITLY): Define.
18365 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18366 (_POSIX_SOURCE): Undefine and redefine.
18367 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18368 (_POSIX_C_SOURCE): Likewise.
18369 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18370 (Feature Test Macros): Update documentation of default features.
18372 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18374 * benchtests/Makefile: Add bench-strtok.
18375 * benchtests/bench-strtok.c: New file: strtok benchtest.
18377 2013-12-19 Allan McRae <allan@archlinux.org>
18379 * manual/install.texi: Suppress menu for plain text output.
18380 * INSTALL: Regenerated.
18382 2013-12-18 Brooks Moses <bmoses@google.com>
18385 * misc/getauxval.c: Include errno.h.
18386 (__getauxval): Set errno to ENOENT if the requested type is not
18388 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18389 don't declare with __attribute_const__.
18390 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18391 * manual/startup.texi: Document that getauxval sets errno.
18393 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18395 * math/auto-libm-test-in: Add tests of jn and yn.
18396 * math/auto-libm-test-out: Regenerated.
18397 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18398 (yn_test_data): Likewise.
18399 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18401 (func_calc_desc): Add mpfr_if_f union field.
18402 (FUNC_mpfr_if_f): New macro.
18403 (test_functions): Add jn and yn.
18404 (calc_generic_results): Assert type of second input for
18405 mpfr_ff_f. Handle mpfr_if_f.
18406 (output_for_one_input_case): Disable all checking for arguments
18407 fitting floating-point types in case of an integer argument.
18408 * sysdeps/i386/fpu/libm-test-ulps: Update.
18409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18412 Don't expect fegetround reference in libm.so.
18414 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18416 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18417 $(config-cflags-nofma).
18419 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18421 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18422 * math/auto-libm-test-out: Regenerated.
18425 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18426 to determine exponent and adjust argument to have exponent of -1.
18427 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18429 * math/auto-libm-test-out: Regenerated.
18430 * sysdeps/i386/fpu/libm-test-ulps: Update.
18431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18433 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
18435 * manual/probes.texi: Remove cases when per-thread arenas are
18438 2013-12-18 Andreas Schwab <schwab@suse.de>
18440 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18441 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18442 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18443 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18444 * sysdeps/i386/i686/multiarch/Makefile: Update.
18445 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18447 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18449 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18450 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18452 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18455 Support TZ transition times < 00:00:00.
18456 This is needed for version-3 tz-format files; it supports time
18457 stamps past 2037 for America/Godthab (the only entry in the tz
18458 database for which this change is relevant).
18459 * manual/time.texi (TZ Variable): Document transition times
18460 from -167:59:59 through -00:00:01.
18461 * time/tzset.c (tz_rule): Time of day is now signed.
18462 (__tzset_parse_tz): Parse negative time of day.
18464 Document TZ transition times >= 25:00:00.
18465 * manual/time.texi (TZ Variable): Document transition times from
18466 25:00:00 through 167:59:59. These are already supported, and this
18467 support will help with version-3 tz-format files.
18469 * manual/time.texi (TZ Variable): Modernize North America example
18470 to reflect current (i.e., 2007-and-later) daylight saving rules.
18472 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18474 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18476 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18477 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18478 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18480 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18481 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18482 * sysdeps/unix/bsd/clock.c: Likewise.
18483 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18484 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18485 * sysdeps/unix/bsd/init-posix.c: Likewise.
18486 * sysdeps/unix/bsd/poll.c: Likewise.
18487 * sysdeps/unix/bsd/ptsname.c: Likewise.
18488 * sysdeps/unix/bsd/seekdir.c: Likewise.
18489 * sysdeps/unix/bsd/setegid.c: Likewise.
18490 * sysdeps/unix/bsd/seteuid.c: Likewise.
18491 * sysdeps/unix/bsd/setgid.c: Likewise.
18492 * sysdeps/unix/bsd/setrgid.c: Likewise.
18493 * sysdeps/unix/bsd/setruid.c: Likewise.
18494 * sysdeps/unix/bsd/setsid.c: Likewise.
18495 * sysdeps/unix/bsd/setuid.c: Likewise.
18496 * sysdeps/unix/bsd/sigaction.c: Likewise.
18497 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18498 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18499 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18500 * sysdeps/unix/bsd/telldir.c: Likewise.
18501 * sysdeps/unix/bsd/times.c: Likewise.
18502 * sysdeps/unix/bsd/usleep.c: Likewise.
18504 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18505 ($(objpfx)libbsd-compat.a): Remove rule.
18507 * include/features.h (__FAVOR_BSD): Do not define.
18508 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18509 features conflicting with POSIX.
18510 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18511 (_BSD_SOURCE): Remove description of not being a subset of other
18512 feature test macros.
18513 * manual/job.texi (getpgrp): Do not document BSD version.
18514 (getpgid): Do not document by reference to BSD getpgrp.
18515 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18516 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18517 * signal/signal.h [__FAVOR_BSD]: Likewise.
18518 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18519 instead of making contents conditional on [__FAVOR_BSD].
18520 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18522 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18526 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18529 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18530 values below 2**-450, not 2**-500.
18531 * math/auto-libm-test-in: Don't allow spurious underflow from
18533 * math/auto-libm-test-out: Regenerated.
18537 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18538 values of ha and hb and sort them after adjusting subnormal
18540 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18542 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18543 values of ea and eb and sort them after adjusting subnormal
18545 * math/auto-libm-test-in: Do not expect some hypot tests of
18546 subnormals to fail. Add more hypot tests.
18547 * math/auto-libm-test-out: Regenerated.
18549 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18552 * sysdeps/sh/s_fma.c: New file.
18553 * sysdeps/sh/s_fmaf.c: New file.
18554 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18556 * sysdeps/sh/Implies: Add sh/soft-fp.
18558 2013-12-16 Roland McGrath <roland@hack.frob.com>
18560 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18561 level of indirection to members `objname', `errstring', `malloced'.
18562 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18563 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18564 it as the __longjmp argument (just pass 1 instead).
18565 (_dl_catch_error): Initialize C with argument pointers and address of
18566 volatile local ERRCODE rather than copying values out of C at return.
18568 2013-12-16 Joseph Myers <joseph@codesourcery.com>
18570 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18571 * math/auto-libm-test-out: Regenerated.
18572 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18573 (hypot_test_data): Likewise.
18574 (pow_test_data): Likewise.
18575 (pow_tonearest_test_data): Likewise.
18576 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18578 (func_calc_desc): Add mpfr_ff_f union field.
18579 (FUNC_mpfr_ff_f): New macro.
18580 (test_functions): Add atan2, hypot and pow.
18581 (special_fill_min): New function.
18582 (special_fill_minus_min): Likewise.
18583 (special_fill_min_subnorm): Likewise.
18584 (special_fill_minus_min_subnorm): Likewise.
18585 (special_real_inputs): Add min, -min, min_subnorm and
18587 (calc_generic_results): Handle mpfr_ff_f.
18588 * sysdeps/i386/fpu/libm-test-ulps: Update.
18589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18591 2013-12-16 Will Newton <will.newton@linaro.org>
18593 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18594 (Aligned Memory Blocks): Add documentation for aligned_alloc
18595 and suggest it as an alternative to posix_memalign.
18596 (Hooks for Malloc): Document __memalign_hook is also called
18597 for aligned_alloc. (Summary of Malloc): Add summary for
18598 aligned alloc. Document __memalign_hook is also called
18601 2013-12-16 Will Newton <will.newton@linaro.org>
18603 * manual/memory.texi (Malloc Examples): Clarify default
18604 alignment documentation. Suggest posix_memalign rather
18605 than memalign or valloc.
18606 (Aligned Memory Blocks): Remove suggestion to use memalign
18607 or valloc. Remove obsolete comment about BSD.
18608 Document memalign errno values and mark the function obsolete.
18609 Document posix_memalign returned error codes. Mark valloc
18610 as obsolete. (Hooks for Malloc): __memalign_hook is also
18611 called for posix_memalign and valloc.
18612 (Summary of Malloc): Add posix_memalign to function summary.
18613 __memalign_hook is also called for posix_memalign and valloc.
18615 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18617 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18621 (sloww): Use mynumber union. Expand ternary operator into
18622 if-else statements.
18623 (cslow): use mynumber union.
18625 2013-12-16 Allan McRae <allan@archlinux.org>
18627 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18628 * configure: Regenerated.
18630 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18633 * configure.ac: Added --enable-maintainer-mode. Check for
18634 autoconf when enabled.
18635 * configure: Regenerated.
18637 * nscd/nscd.service: New file.
18638 * nscd/nscd.tmpfiles: New file.
18640 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
18643 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18644 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18645 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18646 (strstr): Add __strstr_sse2_unaligned ifunc.
18647 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18648 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18649 (strcasestr): Remove __strcasestr_sse42 ifunc.
18650 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18651 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18654 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18656 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18657 * sysdeps/sh/bits/fenv.h: ... here.
18658 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18660 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18662 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18665 hypotf multiarch implementations.
18666 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18667 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18668 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18669 multiarch hypot for PPC64.
18670 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18671 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18672 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18673 multiarch hypotf for PPC64.
18675 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18676 modff multiarch implementations.
18677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18680 multiarch modf for PPC64.
18681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18684 multiarch modff for PPC64.
18686 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18687 and logl multiarch implementations.
18688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18691 multiarch logb for PPC64.
18692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18695 multiarch logb for PPC64.
18696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18699 multiarch logb for PPC64.
18701 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18702 isinff multiarch implementation.
18703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18707 multiarch isinf for PPC64.
18708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18711 multiarch isinff for PPC64.
18713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18714 finitef multiarch implementation.
18715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18719 multiarch finite for PPC64.
18720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18723 multiarch finitef for PPC64.
18725 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18726 lrint multiarch implementation.
18727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18731 multiarch llrint for PPC64.
18732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18733 multiarch lrint for PPC64.
18735 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18736 copysignf multiarch implementation.
18737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18742 multiarch copysign for PPC64.
18743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18744 multiarch copysignf for PPC64.
18746 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18747 multiarch implementation.
18748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18756 multiarch llround for PPC64.
18757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18758 multiarch trunc for PPC64.
18759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18760 multiarch truncf for PPC64.
18762 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18763 multiarch implementation.
18764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18772 multiarch llround for PPC64.
18773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18774 multiarch round for PPC64.
18775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18776 multiarch roundf for PPC64.
18778 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18779 multiarch implementation.
18780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18788 multiarch llround for PPC64.
18789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18790 multiarch floor for PPC64.
18791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18792 multiarch floorf for PPC64.
18794 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18795 multiarch implementation.
18796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18804 multiarch llround for PPC64.
18805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18806 multiarch ceil for PPC64.
18807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18808 multiarch ceilf for PPC64.
18810 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18811 multiarch implementation.
18812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18819 multiarch llround for PPC64.
18820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18821 multiarch lround for PPC64.
18823 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18824 multiarch implementation.
18825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18832 multiarch isnan for PPC64.
18833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18834 multiarch isnanf for PPC64.
18836 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18837 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18838 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18839 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18840 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18843 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18844 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18846 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18849 multiarch implementations.
18850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18851 (__libc_ifunc_impl_list): Likewise.
18852 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18853 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18854 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18855 multiarch stpcpy for PPC64.
18857 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18858 multiarch implementations.
18859 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18860 (__libc_ifunc_impl_list): Likewise.
18861 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18862 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18863 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18864 multiarch strcpy for PPC64.
18866 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18867 redefine function name.
18868 (_wordcopy_fwd_dest_aligned): Likewise.
18869 (_wordcopy_bwd_aligned): Likewise.
18870 (_wordcopy_bwd_dest_aligned): Likewise.
18871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18872 multiarch implementations.
18873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18874 (__libc_ifunc_impl_list): Likewise.
18875 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18876 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18877 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18878 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18879 multiarch wcscpy for PPC64.
18881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18882 multiarch implementations.
18883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18884 (__libc_ifunc_impl_list): Likewise.
18885 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18886 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18887 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18888 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18889 multiarch wcscpy for PPC64.
18891 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18892 multiarch implementations.
18893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18894 (__libc_ifunc_impl_list): Likewise.
18895 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18896 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18897 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18898 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18899 multiarch wcsrchr for PPC64.
18901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18902 multiarch implementations.
18903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18904 (__libc_ifunc_impl_list): Likewise.
18905 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18906 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18907 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18908 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18909 multiarch wcschr for PPC64.
18911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18912 multiarch implementations.
18913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18914 (__libc_ifunc_impl_list): Likewise.
18915 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18916 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18917 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18918 multiarch strchrnul for PPC64.
18920 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18922 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18923 (__libc_ifunc_impl_list): Likewise.
18924 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18925 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18926 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18927 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18933 (__libc_ifunc_impl_list): Likewise.
18934 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18935 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18936 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18937 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18941 multiarch implementations.
18942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18943 (__libc_ifunc_impl_list): Likewise.
18944 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18945 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18946 strncasecmp for PPC64.
18947 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18948 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18949 multiarch strncasecmp_l for PPC64.
18951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18952 multiarch implementations.
18953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18954 (__libc_ifunc_impl_list): Likewise.
18955 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18956 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18957 multiarch strcasecmp for PPC64.
18958 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18960 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18961 multiarch strcasecmp_l for PPC64.
18963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18966 (__libc_ifunc_impl_list): Likewise.
18967 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18968 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18969 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18975 (__libc_ifunc_impl_list): Likewise.
18976 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18977 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18978 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18984 (__libc_ifunc_impl_list): Likewise.
18985 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18986 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18987 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18988 rawmemrchr for PPC64.
18990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18993 (__libc_ifunc_impl_list): Likewise.
18994 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18995 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18996 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19002 (__libc_ifunc_impl_list): Likewise.
19003 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19004 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19005 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19011 (__libc_ifunc_impl_list): Likewise.
19012 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19013 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19014 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19017 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19018 avoid cretion of __bzero symbol.
19019 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19021 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19023 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19026 multiarch implementations.
19027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19028 (__libc_ifunc_impl_list): Likewise.
19029 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19030 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19031 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19032 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19034 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19035 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19036 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19037 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19038 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19040 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19042 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19046 (__libc_ifunc_impl_list): Likewise.
19047 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19048 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19049 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19050 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19054 multiarch for POWER/PPC64.
19055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19056 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19057 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19058 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19059 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19060 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19061 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19062 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19063 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19066 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19067 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19068 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19069 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19070 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19071 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19072 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19073 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19074 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19075 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19076 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19077 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19078 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19079 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19080 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19089 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19091 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19093 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19095 * benchtests/Makefile (bench): Add exp2 and log2.
19096 (LDLIBS-bench-exp2): Add -lm.
19097 (LDLIBS-bench-log2): Likewise.
19098 * benchtests/exp2-inputs: New inputs file.
19099 * benchtests/log2-inputs: New inputs file.
19100 * benchtests/log-inputs: Add new inputs.
19101 * benchtests/tan-inputs: Likewise.
19103 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19105 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19107 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19108 (csloww2): ... from here.
19110 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19111 instead of structures.
19112 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19113 (POLYNOMIAL): Likewise.
19114 (TAYLOR_SLOW): Likewise.
19120 (sloww1); Likewise.
19121 (sloww2): Likewise.
19122 (bsloww1): Likewise.
19123 (bsloww2): Likewise.
19124 (cslow2): Likewise.
19125 (csloww): Likewise.
19126 (csloww1): Likewise.
19127 (csloww2): Likewise.
19129 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
19131 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19132 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19133 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19134 * malloc/hooks.c (realloc_check): Likewise.
19136 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19137 * malloc/arena.c: Remove PER_THREAD conditional.
19138 [!PER_THREAD]: Remove code.
19139 (ptmalloc_unlock_all2): Likewise.
19140 (ptmalloc_init): Likewise.
19141 (_int_new_arena): Likewise.
19142 (arena_get2): Likewise.
19143 * malloc/hooks.c (__malloc_get_state): Likewise.
19144 (__malloc_set_state): Likewise.
19145 * malloc/malloc.c: Likewise.
19146 (struct malloc_state): Likewise.
19147 (struct malloc_par): Likewise.
19148 (__libc_realloc): Likewise.
19149 (__libc_mallopt): Likewise.
19151 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19153 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19155 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
19157 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19158 macro to a function. Check for zero perturb_byte.
19159 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19161 * malloc/malloc.c: (force_reg): Remove.
19162 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19163 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19164 force_reg by atomic_forced_read.
19165 * malloc/arena.c (ptmalloc_init): Likewise.
19166 * malloc/hooks.c (top_check): Likewise.
19168 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19172 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19176 2013-12-08 Joseph Myers <joseph@codesourcery.com>
19178 * math/auto-libm-test-in: Add tests of lgamma.
19179 * math/auto-libm-test-out: Regenerated.
19180 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19181 (M_LOG_2_SQRT_PIl): Likewise.
19182 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19183 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19185 (func_calc_desc): Add mpfr_f_f1 union field.
19186 (ARGS1): New macro.
19194 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19195 (test_functions): Add lgamma.
19196 (calc_generic_results): Handle mpfr_f_f1.
19197 * sysdeps/i386/fpu/libm-test-ulps: Update.
19198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19200 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19202 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19203 __mpn_add_n for PowerPC64/POWER7.
19204 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19205 __mpn_sub_n for PowerPC64/POWER7.
19207 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19208 __mpn_addmul_1 for PowerPC64.
19209 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19210 __mpn_submul_1 for PowerPC64.
19211 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19213 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19216 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19219 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19221 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19223 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19225 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19226 add multiarch folders.
19227 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19228 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19229 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19230 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19231 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19232 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19233 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19234 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19235 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19236 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19237 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19246 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19252 multiarch __ieee754_hypot for PowerPC32.
19253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19258 multiarch __ieee754_hypotf for PowerPC32.
19260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19261 long_double_symbol only if __logbl is defined.
19262 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19263 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19264 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19265 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19266 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19267 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19268 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19269 path for implementation.
19270 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19271 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19273 logb, and logbl multiarch implementations for PowerPC32.
19274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19279 multiarch logb for PowerPC32.
19280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19285 multiarch logbf for PowerPC32.
19286 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19290 multiarch logbl implementation for PowerPC32.
19292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19293 and modff multiarch implementations.
19294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19299 multiarch modf for PowerPC32.
19300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19305 multiarch modff for PowerPC32.
19307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19308 and lrintf multiarch implementations.
19309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19314 multiarch lrint for PowerPC32.
19315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19316 file: multiarch lrintf for PowerPC32.
19318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19319 and lroundf multiarch implementations.
19320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19327 multiarch lround for PowerPC32.
19328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19329 file: multiarch lroundf for PowerPC32.
19331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19332 copysign and copysignf multiarch implementations.
19333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19338 file: multiarch copysign for PowerPC32.
19339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19340 file: multiarch copysignf for PowerPC32.
19342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19343 and truncf multiarch implementations.
19344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19349 multiarch trunc for PowerPC32.
19350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19355 multiarch truncf for PowerPC32.
19357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19358 and roundf multiarch implementations.
19359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19364 multiarch round for PowerPC32.
19365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19370 multiarch roundf for PowerPC32.
19372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19373 and floorf multiarch implementations.
19374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19379 multiarch floor for PowerPC32.
19380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19385 multiarch floorf for PowerPC32.
19387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19388 and ceilf multiarch implementations.
19389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19394 multiarch ceil for PowerPC32.
19395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19400 multiarch ceilf for PowerPC32.
19402 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19404 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19405 FINITEF is defined.
19406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19407 and finitef multiarch implementations.
19408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19413 multiarch finite for PowerPC32.
19414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19417 file: multiarch finitef for PowerPC32.
19419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19420 and isinff multiarch implementations.
19421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19426 multiarch isinf for PowerPC32.
19427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19430 multiarch isinff for PowerPC32.
19432 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19433 alias when __isnan is defined.
19434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19435 and isnanf multiarch implementations.
19436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19445 multiarch isnan for PowerPC32.
19446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19451 multiarch isnanf for PowerPC32.
19453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19454 and sqrtf multiarch implementations.
19455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19460 multiarch sqrt for PowerPC32.
19461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19466 multiarch sqrtf for PowerPC32.
19468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19469 and llroundf multiarch implementations.
19470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19477 file: multiarch llround for PowerPC32.
19478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19479 file: multiarch llroundf for PowerPC32.
19481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19482 multiarch PowerPC32 fpu implementations.
19483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19488 multiarch llrint for PowerPC32.
19489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19498 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19500 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19502 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19504 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19505 multiarch wordcopy for PPC32.
19506 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19508 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19509 (__libc_ifunc_impl_list): Likewise.
19510 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19511 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19512 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19513 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19514 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19515 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19517 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19518 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19520 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19522 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19524 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19525 multiarch wcscpy for PPC32.
19526 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19528 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19529 (__libc_ifunc_impl_list): Likewise.
19530 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19531 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19532 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19533 sysdeps/powerpc/power6/wcscpy.c.
19535 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19536 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19538 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19540 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19542 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19543 multiarch wcsrchr for PPC32.
19544 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19546 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19547 (__libc_ifunc_impl_list): Likewise.
19548 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19549 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19550 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19551 sysdeps/powerpc/power6/wcsrchr.c.
19553 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19555 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19557 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19558 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19559 multiarch wcschr for PPc32.
19560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19562 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19563 (__libc_ifunc_impl_list): Likewise.
19564 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19565 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19566 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19567 sysdeps/powerpc/power6/wcschr.c.
19569 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19570 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19572 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19573 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19574 file: multiarch strchr for PPC32.
19575 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19577 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19578 (__libc_ifunc_impl_list): Likewise.
19580 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19582 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19584 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19586 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19587 multiarch strchrnul for PPC32.
19588 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19590 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19591 (__libc_ifunc_impl_list): Likewise.
19593 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19595 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19596 multiarch strncasecmp for PPC32.
19597 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19599 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19600 multiarch strncasecmp_l for PPC32.
19601 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19602 strncasecmp multiarch objects.
19603 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19604 (__libc_ifunc_impl_list): Likewise.
19606 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19608 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19609 multiarch strncasecmp for PPC32.
19610 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19612 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19613 multiarch strcasecmp_l for PPC32.
19614 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19616 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19617 (__libc_ifunc_impl_list): Likewise.
19619 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19621 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19623 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19624 multiarch strncmp for PPC32.
19625 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19627 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19628 (__libc_ifunc_impl_list): Likewise.
19630 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19631 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19633 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19634 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19635 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19637 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19638 (__libc_ifunc_impl_list): Likewise.
19640 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19642 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19644 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19648 (__libc_ifunc_impl_list): Likewise.
19650 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19652 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19654 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19655 multiarch rawmemchr for PPC32.
19656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19659 (__libc_ifunc_impl_list): Likewise.
19661 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19663 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19665 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19666 file: memrchr multiarch for PPC32.
19667 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19670 (__libc_ifunc_impl_list): Likewise.
19672 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19673 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19675 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19676 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19677 multiarch memchr for PPC32.
19678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19681 (__libc_ifunc_impl_list): Likewise.
19683 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19684 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19686 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19688 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19689 file: multiarch mempcpy for PPC32.
19690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19693 (__libc_ifunc_impl_list): Likewise.
19695 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19696 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19697 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19698 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19699 multiarch bzero for PPC32.
19700 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19702 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19704 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19705 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19706 file: multiarch memset for PPC32.
19707 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19709 memset multiarch objects.
19710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19711 (__libc_ifunc_impl_list): Likewise.
19713 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19715 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19716 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19718 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19719 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19721 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19722 (__libc_ifunc_impl_list): Likewise.
19724 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19725 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19726 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19728 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19730 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19732 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19733 multiarch memcpy for PPC32.
19734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19737 (__libc_ifunc_impl_list): Likewise.
19739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19740 support multiarch for POWER/PPC32.
19741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19743 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19745 Implies file to make multiarch folder appers before the fpu and
19746 default folder for power4 configuration.
19748 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19750 * scripts/bench.pl: Append volatile keyword to type.
19752 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19754 * sysdeps/sh/sotruss-lib.c: New file.
19755 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19757 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19761 2013-12-05 Joseph Myers <joseph@codesourcery.com>
19764 * math/w_tgamma.c: Include <errno.h>.
19765 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19766 * math/w_tgammaf.c: Include <errno.h>.
19767 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19768 * math/w_tgammal.c: Include <errno.h>.
19769 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19770 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19771 underflow. Add more tgamma tests.
19772 * math/auto-libm-test-out: Regenerated.
19773 * sysdeps/i386/fpu/libm-test-ulps: Update.
19774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19776 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19777 sin, sinh, tan, tanh, tgamma, y0 and y1.
19778 * math/auto-libm-test-out: Regenerated.
19779 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19780 (TEST_COND_x86): Likewise.
19781 (M_E2l): Remove macro.
19783 (M_2_SQRT_PIl): Likewise.
19784 (M_SQRT_PIl): Likewise.
19785 (M_1_DIV_El): Likewise.
19786 (log_test_data): Use AUTO_TESTS_f_f.
19787 (log10_test_data): Likewise.
19788 (log1p_test_data): Likewise.
19789 (log2_test_data): Likewise.
19790 (sin_test_data): Likewise.
19791 (sin_tonearest_test_data): Likewise.
19792 (sin_towardzero_test_data): Likewise.
19793 (sin_downward_test_data): Likewise.
19794 (sin_upward_test_data): Likewise.
19795 (sinh_test_data): Likewise.
19796 (sinh_tonearest_test_data): Likewise.
19797 (sinh_towardzero_test_data): Likewise.
19798 (sinh_downward_test_data): Likewise.
19799 (sinh_upward_test_data): Likewise.
19800 (tan_test_data): Likewise.
19801 (tan_tonearest_test_data): Likewise.
19802 (tan_towardzero_test_data): Likewise.
19803 (tan_downward_test_data): Likewise.
19804 (tan_upward_test_data): Likewise.
19805 (tanh_test_data): Likewise.
19806 (tgamma_test_data): Likewise.
19807 (y0_test_data): Likewise.
19808 (y1_test_data): Likewise.
19809 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19810 (special_real_inputs): Add pi/4.
19811 * sysdeps/i386/fpu/libm-test-ulps: Update.
19812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19814 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19816 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19817 "longjmp_target" static probes.
19818 (__longjmp): Rename to __longjmp_symbol.
19819 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19820 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19821 on which longjmp to generate.
19822 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19823 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19825 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19826 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19827 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19828 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19829 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19830 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19832 __longjmp_symbol based on which __longjmp to generate.
19833 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19835 (setjmp): Rename to setjmp_symbol.
19836 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19837 (_setjmp): Rename to _setjmp_symbol.
19838 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19839 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19840 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19841 which setjmp to generate.
19842 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19843 "longjmp_target" static probes.
19845 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19847 * benchtests/README: Add note about output arguments.
19848 * benchtests/bench-sincos.c: Remove file.
19849 * benchtests/sincos-inputs: New file.
19850 * scripts/bench.pl: Identify output arguments and define
19851 static variables for them.
19853 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19856 * Makefile (INSTALL): Add install-plain.texi as the primary
19858 * manual/install-plain.texi: New file.
19859 * manual/install.texi: Include node directive only for
19860 non-plaintext output.
19862 2013-12-04 Joseph Myers <joseph@codesourcery.com>
19864 * stdlib/longlong.h: Update from GCC.
19868 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19869 * math/w_j0f.c (y0f): Likewise.
19870 * math/w_j0l.c (__y0l): Likewise.
19871 * math/w_j1.c (y1): Likewise.
19872 * math/w_j1f.c (y1f): Likewise.
19873 * math/w_j1l.c (__y1l): Likewise
19874 * math/w_jn.c (yn): Likewise.
19875 * math/w_jnf.c (ynf): Likewise.
19876 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19877 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19878 value for Bessel function domain errors outside _SVID_ mode.
19879 Adjust sign of return value for yn (negative integer, 0).
19880 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19881 by zero in return for negative x and set sign appropriately for
19883 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19884 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19885 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19886 expectations in error cases.
19887 (y1_test_data): Likewise.
19888 (yn_test_data): Likewise.
19889 * sysdeps/i386/fpu/libm-test-ulps: Update.
19890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19892 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19894 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19895 "64" to "64-v1". Add "64-v2".
19896 (abi-64-options): Rename to ...
19897 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19898 (abi-64-condition): Rename to ...
19899 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19900 (abi-64-ld-soname): Rename to ...
19901 (abi-64-v1-ld-soname): ... this.
19902 (abi-64-v2-options): Define.
19903 (abi-64-v2-condition): Likewise.
19904 (abi-64-v2-ld-soname): Likewise.
19905 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19906 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19911 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19912 Alan Modra <amodra@gmail.com>
19914 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19915 New versions for use with the ELFv2 ABI.
19916 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19917 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19919 (struct La_ppc64v2_retval): Likewise.
19920 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19921 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19922 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19923 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19924 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19925 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19926 Do not save or restore CR.
19927 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19928 (_dl_profile_resolve): Do no save or restore CR. Support extended
19929 return values for ELFv2 ABI. Fix location of FPR return registers.
19930 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19931 updated values for _CALL_ELF == 2.
19932 (La_regs, La_retval, int_retval): Likewise.
19934 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19936 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19937 (FRAME_MIN_SIZE_PARM): Likewise.
19938 (FRAME_BACKCHAIN): Likewise.
19939 (FRAME_CR_SAVE): Likewise.
19940 (FRAME_LR_SAVE): Likewise.
19941 (FRAME_TOC_SAVE): Likewise.
19942 (FRAME_PARM_SAVE): Likewise.
19943 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19944 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19945 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19946 (call_mcount_parm_offset): New macro.
19947 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19948 (PROF): Use symbolic stack frame offsets.
19949 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19950 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19951 Redefine in terms of FRAME_MIN_SIZE.
19952 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19953 (_dl_profile_resolve): Likewise. Update comment.
19954 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19955 symbols stack frame offsets.
19956 (__sigsetjmp): Likewise.
19957 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19958 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19959 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19960 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19963 (FRAME_BACKCHAIN): Remove.
19964 (FRAME_CR_SAVE): Likewise.
19965 (FRAME_LR_SAVE): Likewise.
19966 (FRAME_COMPILER_DW): Likewise.
19967 (FRAME_LINKER_DW): Likewise.
19968 (FRAME_TOC_SAVE): Likewise.
19969 (FRAME_PARM_SAVE): Likewise.
19970 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19971 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19972 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19974 (CHECK_SP): Use symbolic stack frame offsets.
19975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19976 zone" instead of caller's parameter save area for temp storage.
19977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19978 Likewise. Also, use symbolic stack frame offsets.
19979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19980 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19981 our own stack frame instead of the caller's.
19982 (__socket): Use symbolic stack frame offsets.
19984 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19985 Alan Modra <amodra@gmail.com>
19987 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19989 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19990 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19991 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19993 (elf_machine_fixup_plt): Call it.
19994 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19996 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19997 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19998 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19999 r2 before calling target.
20001 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20002 Alan Modra <amodra@gmail.com>
20004 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20005 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20006 versions of macros to support ELFv2 ABI.
20007 (LOCALENTRY): New macro.
20008 (ENTRY, EALIGN): Use it.
20009 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20010 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20011 fall through into ENTRY entry point.
20012 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20013 Only define if _CALL_ELF != 2.
20015 (elf_machine_matches_host): Verify ABI version matches.
20016 (RTLD_START): Use LOCALENTRY.
20017 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20018 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20019 (PLT_ENTRY_WORDS): New macro.
20020 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20021 (elf_machine_runtime_setup): Support ELFv2 ABI.
20022 (elf_machine_fixup_plt): Likewise.
20023 (elf_machine_plt_conflict): Likewise.
20024 (resolve_ifunc): Likewise.
20025 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20026 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20029 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20031 (makecontext): Support ELFv2 ABI.
20032 * elf/elf.h (EF_PPC64_ABI): Define.
20034 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20036 * sysdeps/powerpc/powerpc64/sysdep.h
20037 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20038 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20039 (ENTRY) [ASSEMBLER]: ... but instead here ...
20040 (EALIGN) [ASSEMBLER]: ... and here.
20041 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20042 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20043 (ENTRY_2) [!ASSEMBLER]: Use it.
20044 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20045 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
20046 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20047 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20048 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20050 Use PPC64_LOAD_FUNCPTR.
20052 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20054 2013-12-04 Alan Modra <amodra@gmail.com>
20056 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20057 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20058 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20059 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20062 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20063 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20064 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20065 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20066 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20068 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20071 (__makecontext): Fix incorrect CFI when backtracing out of
20072 context created via makecontext.
20073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20074 (__setcontext): Fix incorrect CFI during switch to new context.
20075 (__novec_setcontext): Likewise.
20077 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20080 * time/strptime_l.c (__strptime_internal): Allow modifiers
20082 * time/tst-strptime.c (day_tests): Add testcase.
20084 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20086 * scripts/bench.pl: Skip over blank lines.
20088 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20091 * manual/time.texi (Calendar Time): Clarify what timezone functions
20094 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20098 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20100 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20102 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20103 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20104 * debug/memset_chk.c (__memset_chk): Likewise.
20105 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20106 * debug/strncpy_chk.c: Likewise.
20108 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20112 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20113 (__ieee754_exp): For possibly underflowing results, check size of
20114 result and force underflow exception if required.
20115 * math/auto-libm-test-in: Add more tests of exp.
20116 * math/auto-libm-test-out: Regenerated.
20117 * sysdeps/i386/fpu/libm-test-ulps: Update.
20118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20121 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20122 * math/w_exp2f.c (__exp2f): Likewise.
20123 * math/w_exp2l.c (__exp2l): Likewise.
20124 * math/auto-libm-test-in: Do not allow missing errno on exp2
20126 * math/auto-libm-test-out: Regenerated.
20128 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
20131 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20132 handle filename validation.
20133 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20136 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20139 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20140 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20141 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20143 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20144 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20145 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20146 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20147 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20148 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20149 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20150 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20151 Add more erfc tests.
20152 * math/auto-libm-test-out: Regenerated.
20153 * sysdeps/i386/fpu/libm-test-ulps: Update.
20154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20156 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20157 exp2, expm1, j0 and j1.
20158 * math/auto-libm-test-out: Regenerated.
20159 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20160 (erfc_test_data): Likewise.
20161 (exp_test_data): Likewise.
20162 (exp_tonearest_test_data): Likewise.
20163 (exp_towardzero_test_data): Likewise.
20164 (exp_downward_test_data): Likewise.
20165 (exp_upward_test_data): Likewise.
20166 (exp10_test_data): Likewise.
20167 (exp2_test_data): Likewise.
20168 (expm1_test_data): Likewise.
20169 (j0_test_data): Likewise.
20170 (j1_test_data): Likewise.
20171 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20172 (input_flag_type): Add flag_xfail_rounding.
20173 (input_flags): Add xfail-rounding.
20174 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20175 (output_for_one_input_case): Handle flag_xfail_rounding.
20176 * sysdeps/i386/fpu/libm-test-ulps: Update.
20177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20179 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20182 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20185 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20188 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20189 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20190 (STAP_PROBE0): New macro.
20191 (STAP_PROBE1): Likewise.
20192 (STAP_PROBE2): Likewise.
20193 (STAP_PROBE3): Likewise.
20194 (STAP_PROBE4): Likewise.
20196 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
20198 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20200 2013-12-02 Steve Ellcey <sellcey@mips.com>
20202 * benchtests/Makefile (bench): Add sqrt.
20203 (LDLIBS-bench-sqrt): New.
20204 * benchtests/sqrt-input: New.
20206 2013-12-02 Pavel Simerda <psimerda@redhat.com>
20208 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20209 (GAIH_EAI): Likewise.
20210 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20211 (gaih_inet): Likewise.
20212 (getaddrinfo): Don't use GAIH_EAI.
20214 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20215 (struct gaih): Remove definition.
20217 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20219 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20220 Use HERRNOP directly.
20222 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20226 2013-11-30 Joseph Myers <joseph@codesourcery.com>
20228 * math/gen-auto-libm-tests.c (test_functions): Add more
20229 single-argument functions.
20230 (special_fill_pi_2): New function.
20231 (special_fill_minus_pi_2): Likewise.
20232 (special_fill_pi_6): Likewise.
20233 (special_fill_minus_pi_6): Likewise.
20234 (special_fill_pi_3): Likewise.
20235 (special_fill_2pi_3): Likewise.
20236 (special_fill_e): Likewise.
20237 (special_fill_1_e): Likewise.
20238 (special_fill_e_minus_1): Likewise.
20239 (special_real_inputs): Add more special inputs.
20240 (output_for_one_input_case): Do not require ERANGE on underflow to
20241 zero if round-to-nearest result does not underflow to zero, unless
20242 exact results required.
20243 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20244 atan, atanh, cbrt, cos and cosh.
20245 * math/auto-libm-test-out: Regenerated.
20246 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20247 (acos_tonearest_test_data): Likewise.
20248 (acos_towardzero_test_data): Likewise.
20249 (acos_downward_test_data): Likewise.
20250 (acos_upward_test_data): Likewise.
20251 (acosh_test_data): Likewise.
20252 (asin_test_data): Likewise.
20253 (asin_tonearest_test_data): Likewise.
20254 (asin_towardzero_test_data): Likewise.
20255 (asin_upward_test_data): Likewise.
20256 (asinh_test_data): Likewise.
20257 (atan_test_data): Likewise.
20258 (atanh_test_data): Likewise.
20259 (cbrt_test_data): Likewise.
20260 (cos_test_data): Likewise.
20261 (cos_tonearest_test_data): Likewise.
20262 (cos_towardzero_test_data): Likewise.
20263 (cos_downward_test_data): Likewise.
20264 (cos_upward_test_data): Likewise.
20265 (cosh_test_data): Likewise.
20266 (cosh_tonearest_test_data): Likewise.
20267 (cosh_towardzero_test_data): Likewise.
20268 (cosh_downward_test_data): Likewise.
20269 (cosh_upward_test_data): Likewise.
20270 * sysdeps/i386/fpu/libm-test-ulps: Update.
20271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20273 2013-11-29 Joseph Myers <joseph@codesourcery.com>
20276 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20277 * math/w_exp10f.c (__exp10f): Likewise.
20278 * math/w_exp10l.c (__exp10l): Likewise.
20279 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20280 errno settings in existing tests.
20283 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20284 precision control set to double precision.
20285 * sysdeps/i386/fpu/w_sqrt.c: New file.
20286 * math/auto-libm-test-in: Add more tests.
20287 * math/auto-libm-test-out: Update.
20289 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20290 (sqrt_test_tonearest): New function.
20291 (sqrt_towardzero_test_data): New variable.
20292 (sqrt_test_towardzero): New function.
20293 (sqrt_downward_test_data): New variable.
20294 (sqrt_test_downward): New function.
20295 (sqrt_upward_test_data): New variable.
20296 (sqrt_test_upward): New function.
20297 (main): Call the new functions.
20299 * math/gen-auto-libm-tests.c: New file.
20300 * math/auto-libm-test-in: Likewise.
20301 * math/auto-libm-test-out: New generated file.
20302 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20304 (%beautify): Add generated representations of zero.
20305 (top level): Set $auto_input and call parse_auto_input.
20306 (beautify): Remove trailing "f" from hex float constants.
20307 (parse_args): Handle XFAIL_TEST.
20308 (convert_condition): New function.
20309 (or_value): Likewise.
20310 (or_cond_value): Likewise.
20311 (generate_testfile): Handle AUTO_TESTS_* lines.
20312 (parse_auto_input): New function.
20313 * math/libm-test.inc (XFAIL_TEST): New macro.
20314 (ERRNO_UNCHANGED): Update value.
20315 (ERRNO_EDOM): Likewise.
20316 (ERRNO_ERANGE): Likewise.
20317 (IGNORE_RESULT): Likewise.
20318 (TEST_COND_flt_32): New macro.
20319 (TEST_COND_dbl_64): Likewise.
20320 (TEST_COND_ldbl_96_intel): Likewise.
20321 (TEST_COND_ldbl_96_m68k): Likewise.
20322 (TEST_COND_ldbl_128): Likewise.
20323 (TEST_COND_ldbl_128ibm): Likewise.
20324 (TEST_COND_long32): Likewise.
20325 (TEST_COND_long64): Likewise.
20326 (TEST_COND_before_rounding): Likewise.
20327 (TEST_COND_after_rounding): Likewise.
20328 (enable_test): Handle XFAIL_TEST flag.
20329 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20330 with finite results.
20331 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20332 auto-libm-test-out.
20334 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20335 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20338 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20339 __tls_get_addr_internal instead of __tls_get_offset in order to
20340 avoid GOT pointer dependency. Make rtld export
20341 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20342 __tls_get_addr since we are a __tls_get_offset platform.
20343 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20344 GOT pointer being set up before.
20345 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20347 2013-11-28 Joseph Myers <joseph@codesourcery.com>
20349 * manual/math.texi (Errors in Math Functions): Document accuracy
20353 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20354 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20355 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20356 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20357 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20358 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20359 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20360 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20361 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20362 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20363 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20364 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20365 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20366 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20367 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20368 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20370 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20371 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20372 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20373 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20374 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20376 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20378 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20380 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20381 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20382 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20383 atomic-feupdateenv and flt-rounds.
20384 * sysdeps/powerpc/nofpu/Versions (libc): Add
20385 __atomic_feholdexcept, __atomic_feclearexcept,
20386 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20387 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20388 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20389 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20390 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20395 * manual/arith.texi (FP Exceptions): Document that exceptions may
20396 not be raised when matherr is used.
20397 (Math Error Reporting): Document overflow in directed rounding
20398 modes. Document that errno may not be set when finite values are
20399 returned on overflow. Document intent to set errno on underflow
20400 only for underflow to zero.
20403 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20404 round-to-nearest then adjust result for other rounding modes.
20405 * include/fenv.h (fegetround): Use libm_hidden_proto.
20406 * math/fegetround.c (fegetround): Use libm_hidden_def.
20407 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20408 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20409 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20410 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20412 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20413 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20414 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20415 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20417 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20420 * nss/Versions (libnss_files): Add
20421 _nss_files_gethostbyname3_r.
20422 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20424 (HOST_DB_LOOKUP): Remove macro.
20425 (_nss_files_gethostbyname_r): Implement function without the
20426 HOST_DB_LOOKUP macro.
20427 (_nss_files_gethostbyname2_r): Likewise.
20429 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
20431 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20433 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
20435 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20436 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20439 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20441 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20442 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20443 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20444 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20445 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20446 __fe_nomask_env_priv and attribute_hidden.
20447 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20448 (libc_feupdateenv_test_ppc): Likewise.
20449 (libc_feresetround_ppc): Likewise.
20450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20451 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20452 compat_symbol macro.
20453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20454 (__fe_nomask_env): Likewise.
20455 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20457 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20459 * string/Makefile: Remove ifunc tests.
20460 * string/test-string.h: Define TEST_IFUNC.
20461 * string/test-bcopy-ifunc.c: Remove.
20462 * string/test-bzero-ifunc.c: Likewise.
20463 * string/test-memccpy-ifunc.c: Likewise.
20464 * string/test-memchr-ifunc.c: Likewise.
20465 * string/test-memcmp-ifunc.c: Likewise.
20466 * string/test-memcpy-ifunc.c: Likewise.
20467 * string/test-memmem-ifunc.c: Likewise.
20468 * string/test-memmove-ifunc.c: Likewise.
20469 * string/test-mempcpy-ifunc.c: Likewise.
20470 * string/test-memrchr-ifunc.c: Likewise.
20471 * string/test-memset-ifunc.c: Likewise.
20472 * string/test-rawmemchr-ifunc.c: Likewise.
20473 * string/test-stpcpy-ifunc.c: Likewise.
20474 * string/test-stpncpy-ifunc.c: Likewise.
20475 * string/test-strcasecmp-ifunc.c: Likewise.
20476 * string/test-strcasestr-ifunc.c: Likewise.
20477 * string/test-strcat-ifunc.c: Likewise.
20478 * string/test-strchr-ifunc.c: Likewise.
20479 * string/test-strchrnul-ifunc.c: Likewise.
20480 * string/test-strcmp-ifunc.c: Likewise.
20481 * string/test-strcpy-ifunc.c: Likewise.
20482 * string/test-strcspn-ifunc.c: Likewise.
20483 * string/test-strlen-ifunc.c: Likewise.
20484 * string/test-strncasecmp-ifunc.c: Likewise.
20485 * string/test-strncat-ifunc.c: Likewise.
20486 * string/test-strncmp-ifunc.c: Likewise.
20487 * string/test-strncpy-ifunc.c: Likewise.
20488 * string/test-strnlen-ifunc.c: Likewise.
20489 * string/test-strpbrk-ifunc.c: Likewise.
20490 * string/test-strrchr-ifunc.c: Likewise.
20491 * string/test-strspn-ifunc.c: Likewise.
20492 * string/test-strstr-ifunc.c: Likewise.
20494 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20496 * benchtests/Makefile: Remove ifunc tests.
20497 * benchtests/bench-string.h: Define TEST_IFUNC.
20498 * benchtests/bench-bcopy-ifunc.c: Remove.
20499 * benchtests/bench-bzero-ifunc.c: Likewise.
20500 * benchtests/bench-memccpy-ifunc.c: Likewise.
20501 * benchtests/bench-memchr-ifunc.c: Likewise.
20502 * benchtests/bench-memcmp-ifunc.c: Likewise.
20503 * benchtests/bench-memcpy-ifunc.c: Likewise.
20504 * benchtests/bench-memmem-ifunc.c: Likewise.
20505 * benchtests/bench-memmove-ifunc.c: Likewise.
20506 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20507 * benchtests/bench-memrchr-ifunc.c: Likewise.
20508 * benchtests/bench-memset-ifunc.c: Likewise.
20509 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20510 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20511 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20512 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20513 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20514 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20515 * benchtests/bench-strcat-ifunc.c: Likewise.
20516 * benchtests/bench-strchr-ifunc.c: Likewise.
20517 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20518 * benchtests/bench-strcmp-ifunc.c: Likewise.
20519 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20520 * benchtests/bench-strcpy-ifunc.c: Likewise.
20521 * benchtests/bench-strcspn-ifunc.c: Likewise.
20522 * benchtests/bench-strlen-ifunc.c: Likewise.
20523 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20524 * benchtests/bench-strncat-ifunc.c: Likewise.
20525 * benchtests/bench-strncmp-ifunc.c: Likewise.
20526 * benchtests/bench-strncpy-ifunc.c: Likewise.
20527 * benchtests/bench-strnlen-ifunc.c: Likewise.
20528 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20529 * benchtests/bench-strrchr-ifunc.c: Likewise.
20530 * benchtests/bench-strsep-ifunc.c: Likewise.
20531 * benchtests/bench-strspn-ifunc.c: Likewise.
20532 * benchtests/bench-strstr-ifunc.c: Likewise.
20534 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20536 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20538 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20540 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20541 * rt/aio.h: Likewise.
20542 * sysdeps/gnu/bits/utmp.h: Likewise.
20543 * sysdeps/gnu/bits/utmpx.h: Likewise.
20544 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20545 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20546 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20547 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20548 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20549 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20550 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20551 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20552 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20553 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20554 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20555 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20556 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20558 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20559 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20560 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20561 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20562 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20563 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20564 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20565 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20566 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20567 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20568 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20570 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20571 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20572 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20573 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20574 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20575 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20576 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20577 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20578 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20579 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20580 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20581 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20582 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20583 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20584 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20585 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20587 2013-11-25 Carlos O'Donell <carlos@redhat.com>
20590 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20591 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20593 2013-11-25 Joseph Myers <joseph@codesourcery.com>
20595 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20596 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20599 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20601 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20602 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20603 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20604 (__fesetround): Remove define.
20605 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20606 rounding and exceptions handling.
20607 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20608 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20609 (__fe_nomask_env): Likewise.
20610 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20611 __fegetround instead of fegetround.
20612 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20613 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20615 2013-11-21 Roland McGrath <roland@hack.frob.com>
20617 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20620 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20622 2013-11-21 Meador Inge <meadori@codesourcery.com>
20625 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20626 (encrypt_r): Likewise.
20627 * malloc/obstack.h (obstack_free): Likewise.
20628 * posix/unistd.h (encrypt): Likewise.
20630 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20632 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20633 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20634 DL_CALL_DT_FINI() that call the functions directly.
20635 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20636 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20637 * elf/dl-fini.c: Likewise.
20639 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
20641 * malloc/hooks.c (memalign_check): Add alignment rounding.
20642 * malloc/malloc.c (_mid_memalign): New function.
20643 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20644 Implement by calling _mid_memalign.
20645 * manual/probes.texi (Memory Allocation Probes): Remove
20646 memory_valloc_retry and memory_pvalloc_retry.
20648 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20650 * locale/programs/locarchive.c (open_archive): Add const
20651 qualifier to ARCHIVEFNAME and copy default fname to
20655 * libio/tst-widetext.input: Rename Oriya to Odia.
20656 * locale/iso-639.def: Likewise.
20658 * manual/probes.texi (Mathematical Function Probes): Add
20659 documentation for sin, cos, asin and acos probes.
20660 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20661 (__sin32): Add slowasin probe.
20662 (__cos32): Add slowacos probe.
20663 (__mpsin): Add slowsin probe.
20664 (__mpcos): Add slowcos probe.
20666 2013-11-19 Joseph Myers <joseph@codesourcery.com>
20669 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20670 thread-local __sim_exceptions_thread and global
20671 __sim_exceptions_global.
20672 (__sim_disabled_exceptions): Change to thread-local
20673 __sim_disabled_exceptions_thread and global
20674 __sim_disabled_exceptions_global.
20675 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20676 and global __sim_round_mode_global.
20677 (__simulate_exceptions): Use thread-local floating-point state and
20678 set global state from it as needed.
20679 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20680 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20681 __sim_round_mode_thread.
20682 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20683 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20684 and global __sim_exceptions_global.
20685 (__sim_disabled_exceptions): Change to thread-local
20686 __sim_disabled_exceptions_thread and global
20687 __sim_disabled_exceptions_global.
20688 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20689 and global __sim_round_mode_global.
20690 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20691 (SIM_SET_GLOBAL): Likewise.
20692 * sysdeps/powerpc/soft-fp/sfp-machine.h
20693 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20694 __sim_round_mode_thread.
20695 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20696 __sim_disabled_exceptions_thread.
20697 (__sim_exceptions): Change to __sim_exceptions_thread.
20698 (__sim_disabled_exceptions): Change to
20699 __sim_disabled_exceptions_thread.
20700 (__sim_round_mode): Change to __sim_round_mode_thread.
20701 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20702 thread-local floating-point state and set global state from it as
20704 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20705 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20706 (__sim_disabled_exceptions): Remove extern declaration.
20707 (feenableexcept): Use thread-local floating-point state and set
20708 global state from it as needed.
20709 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20710 extern declaration.
20711 (__sim_disabled_exceptions): Likewise.
20712 (__sim_round_mode): Likewise.
20713 (__fegetenv): Use thread-local floating-point state.
20714 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20715 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20716 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20717 floating-point state and set global state from it as needed.
20718 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20719 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20720 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20722 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20723 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20725 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20726 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20727 Use __sim_round_mode_thread.
20728 * math/test-fenv-tls.c: New file.
20729 * math/Makefile (tests): Add test-fenv-tls.
20730 ($(objpfx)test-fenv-tls): Depend on
20731 $(common-objpfx)nptl/libpthread.so.
20733 2013-11-19 Andreas Schwab <schwab@suse.de>
20735 * locale/programs/locale.c (show_info): Decode wordarray elements.
20736 * locale/categories.def (LC_MONETARY): Add element for
20737 _NL_MONETARY_CRNCYSTR.
20738 * locale/C-monetary.c (conversion_rate): New variable.
20739 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20742 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20744 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20745 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20747 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20749 * elf/Makefile (tst-auxv): New test.
20750 * elf/tst-auxv.c: New
20751 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20753 2013-11-18 Joseph Myers <joseph@codesourcery.com>
20755 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20756 (hidden_proto): Caller changed.
20757 (hidden_tls_proto): New macro.
20758 (libc_hidden_tls_proto): Likewise.
20759 (rtld_hidden_tls_proto): Likewise.
20760 (libm_hidden_tls_proto): Likewise.
20761 (libresolv_hidden_tls_proto): Likewise.
20762 (librt_hidden_tls_proto): Likewise.
20763 (libdl_hidden_tls_proto): Likewise.
20764 (libnss_files_hidden_tls_proto): Likewise.
20765 (libnsl_hidden_tls_proto): Likewise.
20766 (libnss_nisplus_hidden_tls_proto): Likewise.
20767 (libutil_hidden_tls_proto): Likewise.
20769 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
20772 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20773 (decompose_rpath): Defer expansion to fillin_rpath.
20774 (_dl_init_paths): Pass linkmap to fillin_rpath.
20776 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20778 * benchtests/Makefile: Add strsep.
20779 * benchtests/bench-strsep.c: New file: strsep benchtest.
20780 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20782 2013-11-18 Andreas Schwab <schwab@suse.de>
20784 * locale/programs/locale.c (show_info) [case byte]: Check for
20785 '\377' instead of '\177'.
20786 * locale/C-monetary.c (not_available): Always use "\377".
20787 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20788 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20789 detect unavailable sign_posn locale elements.
20790 * locale/localeconv.c (__localeconv): For grouping and
20791 mon_grouping handle "\177" and "\377" like no grouping.
20792 (INT_ELEM): New macro. Use it to set all numeric members.
20793 * locale/programs/ld-monetary.c (monetary_read)
20794 <tok_mon_grouping>: Normalize single -1 to the empty string.
20795 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20798 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20801 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20802 when we match (nil).
20803 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20805 2013-11-16 Joseph Myers <joseph@codesourcery.com>
20807 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20808 (NO_TEST_INLINE): Update value.
20809 (ERRNO_UNCHANGED): Likewise.
20810 (ERRNO_EDOM): Likewise.
20811 (ERRNO_ERANGE): Likewise.
20812 (IGNORE_RESULT): Likewise.
20813 (check_float_internal): Check signs of NaN results if
20814 TEST_NAN_SIGN used.
20815 (check_complex): Pass TEST_NAN_SIGN flag through to second
20816 check_float_internal call.
20817 (copysign_test_data): Add tests with quiet NaNs as second
20818 argument. Use TEST_NAN_SIGN.
20819 (fabs_test_data): Add test of negative quiet NaN argument. Use
20821 (signbit_test_data): Add tests of quiet NaN argument.
20822 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20824 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20826 (parse_args): Handle function results specified as IGNORE.
20827 * math/libm-test.inc (IGNORE_RESULT): New macro.
20828 (check_float_internal): Do not check numerical result if flag
20830 (check_complex): Pass through IGNORE_RESULT to second
20831 check_float_internal call.
20832 (check_int): Do not check numerical result if flag IGNORE_RESULT
20834 (check_long): Likewise.
20835 (check_bool): Likewise.
20836 (check_longlong): Likewise.
20837 (lrint_test_data): Add tests of infinite and NaN arguments.
20838 (lrint_tonearest_test_data): Likewise.
20839 (lrint_towardzero_test_data): Likewise.
20840 (lrint_downward_test_data): Likewise.
20841 (lrint_upward_test_data): Likewise.
20842 (llrint_test_data): Likewise.
20843 (llrint_tonearest_test_data): Likewise.
20844 (llrint_towardzero_test_data): Likewise.
20845 (llrint_downward_test_data): Likewise.
20846 (llrint_upward_test_data): Likewise.
20847 (lround_test_data): Likewise.
20848 (llround_test_data): Likewise.
20850 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20851 (ERRNO_UNCHANGED): Update value.
20852 (ERRNO_EDOM): Likewise.
20853 (ERRNO_ERANGE): Likewise.
20854 (NO_TEST_INLINE_FLOAT): New macro.
20855 (NO_TEST_INLINE_DOUBLE): Likewise.
20856 (enable_test): New function.
20857 (RUN_TEST_f_f): Check enable_test before running test.
20858 (RUN_TEST_2_f): Likewise.
20859 (RUN_TEST_fff_f): Likewise.
20860 (RUN_TEST_c_f): Likewise.
20861 (RUN_TEST_f_f1): Likewise.
20862 (RUN_TEST_fF_f1): Likewise.
20863 (RUN_TEST_fI_f1): Likewise.
20864 (RUN_TEST_ffI_f1): Likewise.
20865 (RUN_TEST_c_c): Likewise.
20866 (RUN_TEST_cc_c): Likewise.
20867 (RUN_TEST_f_i): Likewise.
20868 (RUN_TEST_f_i_tg): Likewise.
20869 (RUN_TEST_ff_i_tg): Likewise.
20870 (RUN_TEST_f_b): Likewise.
20871 (RUN_TEST_f_b_tg): Likewise.
20872 (RUN_TEST_f_l): Likewise.
20873 (RUN_TEST_f_L): Likewise.
20874 (RUN_TEST_fFF_11): Likewise.
20875 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20877 (cosh_test_data): Likewise.
20878 (exp_test_data): Likewise.
20879 (expm1_test_data): Likewise.
20880 (hypot_test_data): Likewise.
20881 (pow_test_data): Likewise.
20882 (sinh_test_data): Likewise.
20883 (tanh_test_data): Likewise.
20884 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20887 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20888 tests with quiet NaN input and output.
20889 (acosh_test_data): Likewise.
20890 (asin_test_data): Likewise.
20891 (asinh_test_data): Likewise.
20892 (atan_test_data): Likewise.
20893 (atanh_test_data): Likewise.
20894 (atan2_test_data): Likewise.
20895 (cbrt_test_data): Likewise.
20896 (cos_test_data): Likewise.
20897 (cosh_test_data): Likewise.
20898 (erf_test_data): Likewise.
20899 (erfc_test_data): Likewise.
20900 (exp_test_data): Likewise.
20901 (exp10_test_data): Likewise.
20902 (exp2_test_data): Likewise.
20903 (expm1_test_data): Likewise.
20904 (hypot_test_data): Likewise.
20905 (j0_test_data): Likewise.
20906 (j1_test_data): Likewise.
20907 (jn_test_data): Likewise.
20908 (lgamma_test_data): Likewise.
20909 (log_test_data): Likewise.
20910 (log10_test_data): Likewise.
20911 (log1p_test_data): Likewise.
20912 (log2_test_data): Likewise.
20913 (pow_test_data): Likewise.
20914 (scalb_test_data): Likewise.
20915 (sin_test_data): Likewise.
20916 (sincos_test_data): Likewise.
20917 (sinh_test_data): Likewise.
20918 (tan_test_data): Likewise.
20919 (tanh_test_data): Likewise.
20920 (tgamma_test_data): Likewise.
20921 (y0_test_data): Likewise.
20922 (y1_test_data): Likewise.
20923 (yn_test_data): Likewise.
20926 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20927 argument being NaN and avoid computations with second argument in
20929 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20930 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20931 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20933 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20935 * locale/iso-639.def: Add Chitwani Tharu (the).
20937 2013-11-14 Andreas Schwab <schwab@suse.de>
20939 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20940 word instead of empty string.
20942 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20945 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20947 (__fe_nomask_env): Likewise.
20949 2013-11-13 Steve Ellcey <sellcey@mips.com>
20951 * benchtests/bench-timing.h: Include time.h.
20953 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20956 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20958 * sysdeps/unix/sysv/linux/configure: Regenerated.
20960 2013-11-13 Joseph Myers <joseph@codesourcery.com>
20963 * stdlib/strtod_l.c (round_and_return): Do not consider
20964 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20965 exponent one less than half the least subnormal exponent.
20966 * stdlib/test-strtod-round-data: Add more tests.
20967 * stdlib/tst-strtod-round.c (tests): Regenerated.
20969 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20972 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20973 (__fe_mask_env): Likewise.
20974 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20975 libm_hidden_proto and add function prototype.
20976 (__fe_mask_env): Add function prototype.
20977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20978 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20980 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20982 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20984 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20986 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20987 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20989 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20991 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20992 of htab_find_slot().
20994 2013-11-11 David S. Miller <davem@davemloft.net>
20997 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20998 symbol in the non-vis3 case in static builds.
20999 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21000 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21001 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21002 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21004 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21007 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21010 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21012 * benchtests/Makefile: Add bench-strtod.
21013 * benchtests/bench-strtod.c: New file: strtod benchtest
21015 2013-11-11 Andreas Schwab <schwab@suse.de>
21018 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21019 terminating NUL in key length.
21021 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21023 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21024 Add artificial ODP entry for vDSO symbol for PPC64.
21025 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21026 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21028 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21031 * nss/getent.c (services_keys): Recognize services starting with digit.
21033 2013-11-06 David S. Miller <davem@davemloft.net>
21036 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21037 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21039 2013-11-06 Will Newton <will.newton@linaro.org>
21041 * manual/memory.texi (Malloc Examples): Remove register
21042 keyword from examples.
21044 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
21046 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21048 2013-11-04 Joseph Myers <joseph@codesourcery.com>
21051 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21052 depending on [__GCC_IEC_559 > 0].
21053 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21054 depending on [__GCC_IEC_559_COMPLEX > 0].
21056 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
21058 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21061 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
21063 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21065 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
21068 * malloc/malloc (malloc_info): Do not handle first bin as
21071 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
21073 * locale/iso-639.def: Add Central Nahuatl (nhn).
21075 2013-11-01 Bruno Haible <bruno@clisp.org>
21078 * manual/math.texi (BSD Random): Specify range upper bound as
21081 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
21083 * locale/iso-639.def: Add Meadow Mari (mhr).
21085 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
21087 [BZ #14752], [BZ #15763]
21088 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21090 * rt/tst_shm.c: Add test for escaping directory.
21092 2013-10-31 Andreas Schwab <schwab@suse.de>
21095 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21096 followed by 'x' as part of digit sequence.
21097 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21099 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21102 * configure.ac: allow GNU Make 4.0 and greater.
21103 * configure: Regenerated.
21105 2013-10-30 Will Newton <will.newton@linaro.org>
21108 * malloc/hooks.c (memalign_check): Limit alignment to the
21109 maximum representable power of two.
21110 * malloc/malloc.c (__libc_memalign): Likewise.
21111 * malloc/tst-memalign.c (do_test): Add test for very
21112 large alignment values.
21113 * malloc/tst-posix_memalign.c (do_test): Likewise.
21115 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21118 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21119 (munmap_chunk): Likewise.
21120 (mremap_chunk): Likewise.
21122 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21125 * stdlib/div.c (div): Remove obsolete code.
21126 * stdlib/ldiv.c (ldiv): Likewise.
21127 * stdlib/lldiv.c (lldiv): Likewise.
21129 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21132 * nss/nss_files/files-XXX.c (get_contents_ret): New
21134 (get_contents): New function.
21135 (internal_getent): Use it. Expand size of LINEBUFLEN.
21137 2013-10-30 Mike Frysinger <vapier@gentoo.org>
21139 * configure.in: Moved to ...
21140 * configure.ac: ... here. Change reference to configure.in
21142 * sysdeps/arm/preconfigure.ac: ... here.
21143 configure.in to configure.ac.
21144 * sysdeps/gnu/configure.in: Moved to ...
21145 * sysdeps/gnu/configure.ac: ... here.
21146 * sysdeps/i386/configure.in: Moved to ...
21147 * sysdeps/i386/configure.ac: ... here.
21148 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21149 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21150 * sysdeps/mach/configure.in: Moved to ...
21151 * sysdeps/mach/configure.ac: ... here.
21152 * sysdeps/mach/hurd/configure.in: Moved to ...
21153 * sysdeps/mach/hurd/configure.ac: ... here.
21154 * sysdeps/powerpc/configure.in: Moved to ...
21155 * sysdeps/powerpc/configure.ac: ... here.
21156 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21157 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21158 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21159 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21160 * sysdeps/s390/s390-32/configure.in: Moved to ...
21161 * sysdeps/s390/s390-32/configure.ac: ... here.
21162 * sysdeps/s390/s390-64/configure.in: Moved to ...
21163 * sysdeps/s390/s390-64/configure.ac: ... here.
21164 * sysdeps/sh/configure.in: Moved to ...
21165 * sysdeps/sh/configure.ac: ... here.
21166 * sysdeps/sparc/configure.in: Moved to ...
21167 * sysdeps/sparc/configure.ac: ... here.
21168 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21169 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21170 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21171 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21172 * sysdeps/x86_64/configure.in: Moved to ...
21173 * sysdeps/x86_64/configure.ac: ... here.
21174 * sysdeps/x86_64/preconfigure.in: Moved to ...
21175 * sysdeps/x86_64/preconfigure.ac: ... here.
21176 * aclocal.m4: Change reference to configure.in to configure.ac.
21177 * config.h.in: Likewise.
21178 * manual/install.texi: Likewise.
21179 * manual/maint.texi: Likewise.
21180 * Makefile: Likewise.
21181 * malloc/Makefile: Likewise.
21182 * nscd/Makefile: Likewise.
21183 * Makeconfig: Change reference to configure.in and
21184 preconfigure.in to configure.ac and preconfigure.ac
21186 * INSTALL: Regenerated.
21187 * configure: Likewise.
21188 * sysdeps/gnu/configure: Likewise.
21189 * sysdeps/i386/configure: Likewise.
21190 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21191 * sysdeps/mach/configure: Likewise.
21192 * sysdeps/mach/hurd/configure: Likewise.
21193 * sysdeps/powerpc/configure: Likewise.
21194 * sysdeps/powerpc/powerpc32/configure: Likewise.
21195 * sysdeps/powerpc/powerpc64/configure: Likewise.
21196 * sysdeps/s390/s390-32/configure: Likewise.
21197 * sysdeps/s390/s390-64/configure: Likewise.
21198 * sysdeps/sh/configure: Likewise.
21199 * sysdeps/sparc/configure: Likewise.
21200 * sysdeps/unix/sysv/linux/configure: Likewise.
21201 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21202 * sysdeps/x86_64/configure: Likewise.
21203 * sysdeps/x86_64/preconfigure: Likewise.
21205 2013-10-29 Andreas Schwab <schwab@suse.de>
21207 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21209 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21211 * benchtests/pow-inputs: Add new inputs.
21213 * benchtests/exp-inputs: Add new inputs.
21215 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21216 conditional check for return value.
21217 (__cos32): Likewise.
21219 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21221 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21222 to provide a boost for large inputs with word alignment.
21223 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21224 implementation based on optimized PPC64 strcpy.
21225 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21226 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21227 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21228 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21230 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21233 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21235 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21238 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21239 * time/tst-strptime.c (day_tests): Add testcase.
21241 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21244 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21246 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21249 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21250 MAP_FAILED on error.
21252 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21255 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21256 heap for large requests.
21258 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21261 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21262 result if the result has no associated interface.
21263 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21264 interface for all 127.X.Y.Z addresses.
21266 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
21268 * locale/iso-639.def: Add Ligurian (lij)
21270 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
21273 * sunrpc/rpc_main.c: Document rpcgen -5.
21275 2013-10-19 Michael Stahl <mstahl@redhat.com>
21277 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21279 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
21282 * posix/glob.c: Match only directories when trailing slash is present.
21283 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21284 (main): Add testcase.
21286 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
21289 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21291 2013-10-18 Carlos O'Donell <carlos@redhat.com>
21293 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21294 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21295 AUTH_DES and cindex for FIPS 140-2.
21296 (DES Encryption): Add cindex FIPS 46-3.
21298 * locale/locarchive.h (struct locarhandle): Add fname.
21299 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21300 if an optional argument was specified to --list-archive,
21302 * locale/programs/locarchive.c (show_archive_content): Take new
21303 argument fname and pass it via ah.fname to open_archive.
21304 * locale/programs/localedef.h: Update decl.
21305 (open_archive): If AH->fname is non-null, open that file
21306 rather than the default file name, and don't ignore ENOENT.
21307 (create_archive): Set AH.fname to NULL.
21308 (delete_locales_from_archive): Likewise.
21309 (add_locales_to_archive): Likewise.
21310 * locale/programs/locfile.c (write_all_categories): Likewise.
21312 2013-10-18 Joseph Myers <joseph@codesourcery.com>
21313 Aldy Hernandez <aldyh@redhat.com>
21315 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21316 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21317 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21318 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21319 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21320 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21321 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21322 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21323 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21324 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21325 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21326 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21327 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21328 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21329 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21331 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21333 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21335 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21337 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21338 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21340 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21341 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21342 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21343 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21345 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21346 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21347 * sysdeps/powerpc/preconfigure: Likewise.
21348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21350 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21351 Replace contents of file by #include of <fenv_libc.h>.
21352 * sysdeps/powerpc/soft-fp/sfp-machine.h
21353 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21355 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21356 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21357 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21358 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21359 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21360 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21361 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21362 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21363 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21364 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21365 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21366 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21368 Allow copysignl PLT reference to be missing.
21370 2013-10-18 Richard Sandiford <richard@codesourcery.com>
21371 Joseph Myers <joseph@codesourcery.com
21374 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21376 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21378 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21380 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21381 * elf/tst-tls1.c: Likewise.
21382 * elf/tst-tls10.h: Likewise.
21383 * elf/tst-tls14.c: Likewise.
21384 * elf/tst-tls2.c: Likewise.
21385 * elf/tst-tls3.c: Likewise.
21386 * elf/tst-tls4.c: Likewise.
21387 * elf/tst-tls5.c: Likewise.
21388 * elf/tst-tls6.c: Likewise.
21389 * elf/tst-tls7.c: Likewise.
21390 * elf/tst-tls8.c: Likewise.
21391 * elf/tst-tls9.c: Likewise.
21392 * elf/tst-tlsmod1.c: Likewise.
21393 * elf/tst-tlsmod13.c: Likewise.
21394 * elf/tst-tlsmod13a.c: Likewise.
21395 * elf/tst-tlsmod14a.c: Likewise.
21396 * elf/tst-tlsmod16a.c: Likewise.
21397 * elf/tst-tlsmod16b.c: Likewise.
21398 * elf/tst-tlsmod2.c: Likewise.
21399 * elf/tst-tlsmod3.c: Likewise.
21400 * elf/tst-tlsmod4.c: Likewise.
21401 * elf/tst-tlsmod5.c: Likewise.
21402 * elf/tst-tlsmod6.c: Likewise.
21404 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
21407 * malloc/malloc.c: remove checks for statistics.
21409 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21412 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21413 * inet/tst-network.c: Add testcase.
21415 2013-10-17 Andreas Schwab <schwab@suse.de>
21418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21419 to determine canonical name.
21421 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21423 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21424 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21425 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21426 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21427 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21428 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21429 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21430 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21431 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21432 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21433 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21434 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21435 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21436 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21437 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21438 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21439 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21440 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21441 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21442 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21443 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21444 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21445 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21446 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21447 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21448 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21449 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21450 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21451 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21452 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21453 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21454 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21455 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21456 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21457 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21458 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21459 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21460 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21461 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21462 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21463 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21464 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21465 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21466 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21467 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21468 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21469 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21470 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21471 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21472 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21473 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21474 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21475 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21476 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21477 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21478 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21479 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21480 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21482 2013-10-17 Joseph Myers <joseph@codesourcery.com>
21485 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21486 make result into a quiet NaN.
21488 2013-10-16 Joseph Myers <joseph@codesourcery.com>
21490 * soft-fp/adddf3.c: Fix horizontal whitespace.
21491 * soft-fp/addsf3.c: Likewise.
21492 * soft-fp/addtf3.c: Likewise.
21493 * soft-fp/divdf3.c: Likewise.
21494 * soft-fp/divsf3.c: Likewise.
21495 * soft-fp/divtf3.c: Likewise.
21496 * soft-fp/double.h: Likewise.
21497 * soft-fp/eqdf2.c: Likewise.
21498 * soft-fp/eqsf2.c: Likewise.
21499 * soft-fp/eqtf2.c: Likewise.
21500 * soft-fp/extenddftf2.c: Likewise.
21501 * soft-fp/extended.h: Likewise.
21502 * soft-fp/extendsfdf2.c: Likewise.
21503 * soft-fp/extendsftf2.c: Likewise.
21504 * soft-fp/extendxftf2.c: Likewise.
21505 * soft-fp/fixdfdi.c: Likewise.
21506 * soft-fp/fixdfsi.c: Likewise.
21507 * soft-fp/fixdfti.c: Likewise.
21508 * soft-fp/fixsfdi.c: Likewise.
21509 * soft-fp/fixsfsi.c: Likewise.
21510 * soft-fp/fixsfti.c: Likewise.
21511 * soft-fp/fixtfdi.c: Likewise.
21512 * soft-fp/fixtfsi.c: Likewise.
21513 * soft-fp/fixtfti.c: Likewise.
21514 * soft-fp/fixunsdfdi.c: Likewise.
21515 * soft-fp/fixunsdfsi.c: Likewise.
21516 * soft-fp/fixunsdfti.c: Likewise.
21517 * soft-fp/fixunssfdi.c: Likewise.
21518 * soft-fp/fixunssfsi.c: Likewise.
21519 * soft-fp/fixunssfti.c: Likewise.
21520 * soft-fp/fixunstfdi.c: Likewise.
21521 * soft-fp/fixunstfsi.c: Likewise.
21522 * soft-fp/fixunstfti.c: Likewise.
21523 * soft-fp/floatdidf.c: Likewise.
21524 * soft-fp/floatdisf.c: Likewise.
21525 * soft-fp/floatditf.c: Likewise.
21526 * soft-fp/floatsidf.c: Likewise.
21527 * soft-fp/floatsisf.c: Likewise.
21528 * soft-fp/floatsitf.c: Likewise.
21529 * soft-fp/floattidf.c: Likewise.
21530 * soft-fp/floattisf.c: Likewise.
21531 * soft-fp/floattitf.c: Likewise.
21532 * soft-fp/floatundidf.c: Likewise.
21533 * soft-fp/floatundisf.c: Likewise.
21534 * soft-fp/floatunditf.c: Likewise.
21535 * soft-fp/floatunsidf.c: Likewise.
21536 * soft-fp/floatunsisf.c: Likewise.
21537 * soft-fp/floatunsitf.c: Likewise.
21538 * soft-fp/floatuntidf.c: Likewise.
21539 * soft-fp/floatuntisf.c: Likewise.
21540 * soft-fp/floatuntitf.c: Likewise.
21541 * soft-fp/fmadf4.c: Likewise.
21542 * soft-fp/fmasf4.c: Likewise.
21543 * soft-fp/fmatf4.c: Likewise.
21544 * soft-fp/gedf2.c: Likewise.
21545 * soft-fp/gesf2.c: Likewise.
21546 * soft-fp/getf2.c: Likewise.
21547 * soft-fp/ledf2.c: Likewise.
21548 * soft-fp/lesf2.c: Likewise.
21549 * soft-fp/letf2.c: Likewise.
21550 * soft-fp/muldf3.c: Likewise.
21551 * soft-fp/mulsf3.c: Likewise.
21552 * soft-fp/multf3.c: Likewise.
21553 * soft-fp/negdf2.c: Likewise.
21554 * soft-fp/negsf2.c: Likewise.
21555 * soft-fp/negtf2.c: Likewise.
21556 * soft-fp/op-1.h: Likewise.
21557 * soft-fp/op-2.h: Likewise.
21558 * soft-fp/op-4.h: Likewise.
21559 * soft-fp/op-8.h: Likewise.
21560 * soft-fp/op-common.h: Likewise.
21561 * soft-fp/quad.h: Likewise.
21562 * soft-fp/single.h: Likewise.
21563 * soft-fp/soft-fp.h: Likewise.
21564 * soft-fp/sqrtdf2.c: Likewise.
21565 * soft-fp/sqrtsf2.c: Likewise.
21566 * soft-fp/sqrttf2.c: Likewise.
21567 * soft-fp/subdf3.c: Likewise.
21568 * soft-fp/subsf3.c: Likewise.
21569 * soft-fp/subtf3.c: Likewise.
21570 * soft-fp/truncdfsf2.c: Likewise.
21571 * soft-fp/trunctfdf2.c: Likewise.
21572 * soft-fp/trunctfsf2.c: Likewise.
21573 * soft-fp/trunctfxf2.c: Likewise.
21574 * soft-fp/unorddf2.c: Likewise.
21575 * soft-fp/unordsf2.c: Likewise.
21576 * soft-fp/unordtf2.c: Likewise.
21578 2013-10-15 Joseph Myers <joseph@codesourcery.com>
21580 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21581 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21583 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
21585 * elf/dl-libc.c: Clear initfini list after freeing.
21587 2013-10-14 Joseph Myers <joseph@codesourcery.com>
21589 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21590 * soft-fp/addsf3.c: Likewise.
21591 * soft-fp/addtf3.c: Likewise.
21592 * soft-fp/divdf3.c: Likewise.
21593 * soft-fp/divsf3.c: Likewise.
21594 * soft-fp/divtf3.c: Likewise.
21595 * soft-fp/double.h: Likewise.
21596 * soft-fp/eqdf2.c: Likewise.
21597 * soft-fp/eqsf2.c: Likewise.
21598 * soft-fp/eqtf2.c: Likewise.
21599 * soft-fp/extenddftf2.c: Likewise.
21600 * soft-fp/extended.h: Likewise.
21601 * soft-fp/extendsfdf2.c: Likewise.
21602 * soft-fp/extendsftf2.c: Likewise.
21603 * soft-fp/extendxftf2.c: Likewise.
21604 * soft-fp/fixdfdi.c: Likewise.
21605 * soft-fp/fixdfsi.c: Likewise.
21606 * soft-fp/fixdfti.c: Likewise.
21607 * soft-fp/fixsfdi.c: Likewise.
21608 * soft-fp/fixsfsi.c: Likewise.
21609 * soft-fp/fixsfti.c: Likewise.
21610 * soft-fp/fixtfdi.c: Likewise.
21611 * soft-fp/fixtfsi.c: Likewise.
21612 * soft-fp/fixtfti.c: Likewise.
21613 * soft-fp/fixunsdfdi.c: Likewise.
21614 * soft-fp/fixunsdfsi.c: Likewise.
21615 * soft-fp/fixunsdfti.c: Likewise.
21616 * soft-fp/fixunssfdi.c: Likewise.
21617 * soft-fp/fixunssfsi.c: Likewise.
21618 * soft-fp/fixunssfti.c: Likewise.
21619 * soft-fp/fixunstfdi.c: Likewise.
21620 * soft-fp/fixunstfsi.c: Likewise.
21621 * soft-fp/fixunstfti.c: Likewise.
21622 * soft-fp/floatdidf.c: Likewise.
21623 * soft-fp/floatdisf.c: Likewise.
21624 * soft-fp/floatditf.c: Likewise.
21625 * soft-fp/floatsidf.c: Likewise.
21626 * soft-fp/floatsisf.c: Likewise.
21627 * soft-fp/floatsitf.c: Likewise.
21628 * soft-fp/floattidf.c: Likewise.
21629 * soft-fp/floattisf.c: Likewise.
21630 * soft-fp/floattitf.c: Likewise.
21631 * soft-fp/floatundidf.c: Likewise.
21632 * soft-fp/floatundisf.c: Likewise.
21633 * soft-fp/floatunsidf.c: Likewise.
21634 * soft-fp/floatunsisf.c: Likewise.
21635 * soft-fp/floatuntidf.c: Likewise.
21636 * soft-fp/floatuntisf.c: Likewise.
21637 * soft-fp/floatuntitf.c: Likewise.
21638 * soft-fp/fmadf4.c: Likewise.
21639 * soft-fp/fmasf4.c: Likewise.
21640 * soft-fp/fmatf4.c: Likewise.
21641 * soft-fp/gedf2.c: Likewise.
21642 * soft-fp/gesf2.c: Likewise.
21643 * soft-fp/getf2.c: Likewise.
21644 * soft-fp/ledf2.c: Likewise.
21645 * soft-fp/lesf2.c: Likewise.
21646 * soft-fp/letf2.c: Likewise.
21647 * soft-fp/muldf3.c: Likewise.
21648 * soft-fp/mulsf3.c: Likewise.
21649 * soft-fp/multf3.c: Likewise.
21650 * soft-fp/negdf2.c: Likewise.
21651 * soft-fp/negsf2.c: Likewise.
21652 * soft-fp/negtf2.c: Likewise.
21653 * soft-fp/op-1.h: Likewise.
21654 * soft-fp/op-2.h: Likewise.
21655 * soft-fp/op-4.h: Likewise.
21656 * soft-fp/op-8.h: Likewise.
21657 * soft-fp/op-common.h: Likewise.
21658 * soft-fp/quad.h: Likewise.
21659 * soft-fp/single.h: Likewise.
21660 * soft-fp/soft-fp.h: Likewise.
21661 * soft-fp/sqrtdf2.c: Likewise.
21662 * soft-fp/sqrtsf2.c: Likewise.
21663 * soft-fp/sqrttf2.c: Likewise.
21664 * soft-fp/subdf3.c: Likewise.
21665 * soft-fp/subsf3.c: Likewise.
21666 * soft-fp/subtf3.c: Likewise.
21667 * soft-fp/truncdfsf2.c: Likewise.
21668 * soft-fp/trunctfdf2.c: Likewise.
21669 * soft-fp/trunctfsf2.c: Likewise.
21670 * soft-fp/trunctfxf2.c: Likewise.
21671 * soft-fp/unorddf2.c: Likewise.
21672 * soft-fp/unordsf2.c: Likewise.
21673 * soft-fp/unordtf2.c: Likewise.
21675 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
21678 * misc/error.c (error_tail): Fix possible buffer overflow.
21680 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21683 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21686 2013-10-14 P. J. McDermott <pj@pehjota.net>
21689 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21690 testing pipefail option.
21692 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21694 * soft-fp/double.h: Indent preprocessor directives inside #if.
21695 * soft-fp/extended.h: Likewise.
21696 * soft-fp/op-2.h: Likewise.
21697 * soft-fp/op-4.h: Likewise.
21698 * soft-fp/op-common.h: Likewise.
21699 * soft-fp/quad.h: Likewise.
21700 * soft-fp/single.h: Likewise.
21701 * soft-fp/soft-fp.h: Likewise.
21703 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21705 * iconv/iconv_prog.c: Fix typos.
21706 * stdio-common/psiginfo-data.h: Likewise.
21708 2013-10-12 Reuben Thomas <rrt@sc3d.org>
21711 * locale/setlocale.c: Fix typo.
21713 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21716 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21717 signaling NaN arguments.
21718 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21719 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21722 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21723 unordered operands.
21724 * soft-fp/gesf2.c (__gesf2): Likewise.
21725 * soft-fp/getf2.c (__getf2): Likewise.
21726 * soft-fp/ledf2.c (__ledf2): Likewise.
21727 * soft-fp/lesf2.c (__lesf2): Likewise.
21728 * soft-fp/letf2.c (__letf2): Likewise.
21730 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21731 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21732 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21733 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21734 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21735 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21736 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21737 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21738 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21739 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21740 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21741 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21742 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21743 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21744 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21745 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21746 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21747 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21748 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21749 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21750 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21751 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21752 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21753 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21754 * soft-fp/floattidf.c (__floattidf): Likewise.
21755 * soft-fp/floattisf.c (__floattisf): Likewise.
21756 * soft-fp/floattitf.c (__floattitf): Likewise.
21757 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21758 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21759 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21760 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21761 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21762 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21763 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21764 * soft-fp/gesf2.c (__gesf2): Likewise.
21765 * soft-fp/getf2.c (__getf2): Likewise.
21766 * soft-fp/ledf2.c (__ledf2): Likewise.
21767 * soft-fp/lesf2.c (__lesf2): Likewise.
21768 * soft-fp/letf2.c (__letf2): Likewise.
21770 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21771 Undefine and redefine.
21772 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21773 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21774 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21775 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21776 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21777 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21778 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21779 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21780 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21781 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21782 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21783 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21784 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21785 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21786 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21789 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21790 without decrementing exponent if mantissa >= that for the
21791 denominator, not >.
21792 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21793 denominator, not >. Decrement exponent in < case instead of
21794 incrementing in >= case.
21795 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21796 without decrementing exponent if mantissa >= that for the
21797 denominator, not >.
21799 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21800 computing saturated result for unsigned overflow.
21802 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21803 Jeff Law <law@redhat.com>
21805 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21806 (atan2Mp): Add systemtap probe marker.
21807 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21808 (__ieee754_log): Add systemtap probe marker.
21809 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21810 (atanMp): Add systemtap probe marker.
21811 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21812 (tanMp): Add systemtap probe marker.
21813 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21814 (__slowexp): Add systemtap probe marker.
21815 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21816 (__slowpow): Add systemtap probe marker.
21817 * manual/probes.texi: Document probes.
21819 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
21822 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21824 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21826 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21827 written to buffer but not flushed.
21828 * libio/iofwrite_u.c: Likewise.
21829 * libio/iopadn.c: Return bytes returned even if EOF was
21831 * libio/iowpadn.c: Likewise.
21832 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21833 if _IO_padn does not write the whole buffer.
21834 [!COMPILE_WPRINTF] (PAD): Likewise.
21836 2013-10-10 David S. Miller <davem@davemloft.net>
21838 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21841 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21843 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21844 instead of FSF address.
21845 * soft-fp/fixdfti.c: Likewise.
21846 * soft-fp/fixsfti.c: Likewise.
21847 * soft-fp/fixtfti.c: Likewise.
21848 * soft-fp/fixunsdfti.c: Likewise.
21849 * soft-fp/fixunssfti.c: Likewise.
21850 * soft-fp/fixunstfti.c: Likewise.
21851 * soft-fp/floattidf.c: Likewise.
21852 * soft-fp/floattisf.c: Likewise.
21853 * soft-fp/floattitf.c: Likewise.
21854 * soft-fp/floatuntidf.c: Likewise.
21855 * soft-fp/floatuntisf.c: Likewise.
21856 * soft-fp/floatuntitf.c: Likewise.
21857 * soft-fp/trunctfxf2.c: Likewise.
21859 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21860 * soft-fp/fixdfti.c: Likewise.
21861 * soft-fp/fixsfti.c: Likewise.
21862 * soft-fp/fixtfti.c: Likewise.
21863 * soft-fp/fixunsdfti.c: Likewise.
21864 * soft-fp/fixunssfti.c: Likewise.
21865 * soft-fp/fixunstfti.c: Likewise.
21866 * soft-fp/floattidf.c: Likewise.
21867 * soft-fp/floattisf.c: Likewise.
21868 * soft-fp/floattitf.c: Likewise.
21869 * soft-fp/floatuntidf.c: Likewise.
21870 * soft-fp/floatuntisf.c: Likewise.
21871 * soft-fp/floatuntitf.c: Likewise.
21872 * soft-fp/trunctfxf2.c: Likewise.
21874 2013-10-10 David S. Miller <davem@davemloft.net>
21876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21878 2013-10-10 Joseph Myers <joseph@codsourcery.com>
21880 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21881 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21882 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21883 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21884 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21885 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21886 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21888 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21889 for NaNs before doing comparisons on argument.
21890 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21893 2013-10-10 Will Newton <will.newton@linaro.org>
21895 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21896 passed to _int_memalign does not overflow.
21898 2013-10-10 Torvald Riegel <triegel@redhat.com>
21900 * scripts/bench.pl: Add include-sources directive.
21901 * benchtests/README: Update documentation.
21903 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21905 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21906 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21907 instead of FP_INIT_ROUNDMODE.
21908 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21909 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21912 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21913 copy class of input value.
21914 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21915 not handle exceptions.
21916 * soft-fp/negsf2.c (__negsf2): Likewise.
21917 * soft-fp/negtf2.c (__negtf2): Likewise.
21918 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21920 2013-10-09 Joseph Myers <joseph@codesourcery.com>
21922 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21923 semicolon. From Linux kernel.
21925 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21927 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21929 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21932 * manual/socket.texi: Added statement about buffer
21933 for gethostbyname2_r.
21935 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
21937 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21938 Use .p2align directive instead, throughout.
21939 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21940 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21941 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21942 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21943 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21944 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21945 * sysdeps/x86_64/strchr.S: Likewise.
21946 * sysdeps/x86_64/strrchr.S: Likewise.
21948 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21950 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21952 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21954 * sysdeps/generic/math_private.h (__mpsin1): Remove
21956 (__mpcos1): Likewise.
21957 (__mpsin): New argument __range_reduce.
21958 (__mpcos): Likewise.
21959 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21960 (slow): Use __mpsin and __mpcos.
21964 (sloww1): Likewise.
21965 (sloww2): Likewise.
21966 (bsloww): Likewise.
21967 (bsloww1): Likewise.
21968 (bsloww2): Likewise.
21969 (cslow2): Likewise.
21970 (csloww): Likewise.
21971 (csloww1): Likewise.
21972 (csloww2): Likewise.
21973 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21974 range_reduce. Merge in __mpsin1.
21975 (__mpcos): Likewise.
21976 (__mpsin1): Remove.
21977 (__mpcos1): Likewise.
21979 2013-10-07 Joseph Myers <joseph@codesourcery.com>
21981 * locale/loadlocale.c (_nl_intern_locale_data): Use
21983 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21984 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21985 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21986 obstack data is appropriately aligned.
21987 (obstack_int32_grow_fast): Likewise.
21988 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21989 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21990 (add_locale_uint32_array): Likewise.
21992 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21994 * benchtests/Makefile: Remove ARGLIST and RET variables.
21995 ($(objpfx)bench-%.c): Pass only function name to the script.
21996 * benchtests/README: Update documentation.
21997 * benchtests/acos-inputs: Add new directives.
21998 * benchtests/acosh-inputs: Likewise.
21999 * benchtests/asin-inputs: Likewise.
22000 * benchtests/asinh-inputs: Likewise.
22001 * benchtests/atan-inputs: Likewise.
22002 * benchtests/atanh-inputs: Likewise.
22003 * benchtests/cos-inputs: Likewise.
22004 * benchtests/cosh-inputs: Likewise.
22005 * benchtests/exp-inputs: Likewise.
22006 * benchtests/log-inputs: Likewise.
22007 * benchtests/pow-inputs: Likewise.
22008 * benchtests/rint-inputs: Likewise.
22009 * benchtests/sin-inputs: Likewise.
22010 * benchtests/sinh-inputs: Likewise.
22011 * benchtests/tan-inputs: Likewise.
22012 * benchtests/tanh-inputs: Likewise.
22013 * scripts/bench.pl: Add support for new directives.
22015 2013-10-07 Alan Modra <amodra@gmail.com>
22017 * README: Fix careless merge.
22019 2013-10-05 Alan Modra <amodra@gmail.com>
22021 * NEWS: Mention powerpc64le support and bugs fixed.
22022 * README: Both big-endian and little-endian powerpc64 supported.
22024 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22026 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22027 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22028 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22029 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22031 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22033 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22036 2013-10-04 Joseph Myers <joseph@codesourcery.com>
22038 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22039 Move -mhard-float appending from
22040 ports/sysdeps/powerpc/powerpc32/Makefile.
22041 [$(with-fp) = yes] (ASFLAGS): Likewise.
22042 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22043 * sysdeps/powerpc/nofpu: Move directory from
22044 ports/sysdeps/powerpc/nofpu.
22045 * sysdeps/powerpc/soft-fp: Move directory from
22046 ports/sysdeps/powerpc/soft-fp.
22047 * sysdeps/powerpc/powerpc32/405: Move directory from
22048 ports/sysdeps/powerpc/powerpc32/405.
22049 * sysdeps/powerpc/powerpc32/440: Move directory from
22050 ports/sysdeps/powerpc/powerpc32/440.
22051 * sysdeps/powerpc/powerpc32/464: Move directory from
22052 ports/sysdeps/powerpc/powerpc32/464.
22053 * sysdeps/powerpc/powerpc32/476: Move directory from
22054 ports/sysdeps/powerpc/powerpc32/476.
22055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22056 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22058 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22060 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22062 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22064 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22065 * README: Update for powerpc-*-linux-gnu software floating point
22068 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22069 case to powerpc/powerpc32*.
22070 * sysdeps/unix/sysv/linux/configure: Regenerated.
22072 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22073 (_FPU_MASK_OM): Define as 0x04.
22074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22082 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22085 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22088 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22089 and setcontext_e500.
22091 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22093 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22095 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22097 * manual/threads.texi (Default Thread Attributes): Fix typo.
22099 2013-10-04 Will Newton <will.newton@linaro.org>
22101 * malloc/Makefile: Add tst-memalign.
22102 * malloc/tst-memalign.c: New file.
22104 * malloc/tst-posix_memalign.c: Add comments.
22105 (do_test): Add comments and call free on all potentially
22106 allocated pointers. Add space after cast.
22108 * malloc/tst-pvalloc.c: Add comments.
22109 (do_test): Add comments and call free on all potentially
22110 allocated pointers. Remove duplicate check for NULL pointer.
22111 Add space after cast.
22113 * malloc/tst-valloc.c: Add comments.
22114 (do_test): Add comments and call free on all potentially
22115 allocated pointers. Remove duplicate check for NULL pointer.
22116 Add space after cast.
22118 2013-10-04 Alan Modra <amodra@gmail.com>
22120 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22121 Use stdint types in rather than __attribute__((mode())).
22122 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22124 2013-10-04 Alan Modra <amodra@gmail.com>
22126 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22127 Correct handling of unaligned relocs for little-endian.
22128 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22130 2013-10-04 Alan Modra <amodra@gmail.com>
22132 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22133 * configure: Regenerate.
22134 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22135 * shlib-versions: Likewise.
22137 2013-10-04 Alan Modra <amodra@gmail.com>
22139 * string/tester.c (test_memrchr): Increment reported test cycle.
22141 2013-10-04 Alan Modra <amodra@gmail.com>
22143 * string/test-memcpy.c (do_one_test): When reporting errors, print
22144 string address and don't overrun end of string.
22146 2013-10-04 Alan Modra <amodra@gmail.com>
22148 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22149 insrdi. Make better use of reg selection to speed exit slightly.
22150 Schedule entry path a little better. Remove useless "are we done"
22151 checks on entry to main loop. Handle wrapping around zero address.
22152 Correct main loop count. Handle single left-over word from main
22153 loop inline rather than by using loop_small. Remove extra word
22154 case in loop_small caused by wrong loop count. Add little-endian
22156 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22157 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22159 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22160 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22161 support. Avoid rlwimi.
22162 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22164 2013-10-04 Alan Modra <amodra@gmail.com>
22166 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22167 insrdi. Formatting.
22168 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22169 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22170 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22171 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22172 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22173 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22175 2013-10-04 Alan Modra <amodra@gmail.com>
22177 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22178 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22179 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22180 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22181 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22182 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22183 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22184 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22185 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22186 use of regs. Use power7 mtocrf. Tidy function tails.
22188 2013-10-04 Alan Modra <amodra@gmail.com>
22190 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22191 Formatting. Consistently use rXXX register defines or rN defines.
22192 Use early exit labels that avoid restoring unused non-volatile regs.
22193 Make cr field use more consistent with rWORDn compares. Rename
22194 regs used as shift registers for unaligned loop, using rN defines
22195 for short lifetime/multiple use regs.
22196 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22197 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22198 addi 1,1,64 to pop stack frame. Simplify return value code.
22199 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22201 2013-10-04 Alan Modra <amodra@gmail.com>
22203 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22204 support. Correct typos, formatting. Optimize tail. Use insrdi
22205 rather than rlwimi.
22206 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22207 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22208 little-endian support. Correct typos.
22209 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22210 rather than rlwimi.
22211 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22212 in loop and entry code to keep "and." results.
22213 (strchr): Add little-endian support. Comment. Move cntlzd
22215 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22217 2013-10-04 Alan Modra <amodra@gmail.com>
22219 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22220 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22221 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22222 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22224 2013-10-04 Alan Modra <amodra@gmail.com>
22226 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22227 (rTMP): Define as r11.
22228 (strcmp): Add little-endian support. Optimise tail.
22229 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22230 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22231 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22232 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22233 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22234 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22235 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22237 2013-10-04 Alan Modra <amodra@gmail.com>
22239 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22240 little-endian support. Remove unnecessary "are we done" tests.
22241 Handle "s" wrapping around zero and extremely large "size".
22242 Correct main loop count. Handle single left-over word from main
22243 loop inline rather than by using small_loop. Correct comments.
22244 Delete "zero" tail, use "end_max" instead.
22245 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22247 2013-10-04 Alan Modra <amodra@gmail.com>
22249 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22250 support. Don't branch over align.
22251 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22252 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22253 support. Rearrange tmp reg use to suit. Comment.
22254 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22256 2013-10-04 Alan Modra <amodra@gmail.com>
22258 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22260 2013-10-04 Alan Modra <amodra@gmail.com>
22262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22263 conditional form of branch and link when obtaining pc.
22264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22266 2013-10-04 Alan Modra <amodra@gmail.com>
22268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22273 2013-10-04 Alan Modra <amodra@gmail.com>
22275 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22276 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22277 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22278 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22279 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22280 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22281 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22282 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22283 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22284 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22286 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22287 Alistair Popple <alistair@ozlabs.au.ibm.com>
22288 Alan Modra <amodra@gmail.com>
22291 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22292 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22293 _dl_hwcap access for little-endian.
22294 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22295 destroy vmx regs when saving unaligned.
22296 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22297 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22298 destroy vmx regs when saving unaligned.
22300 2013-10-04 Alan Modra <amodra@gmail.com>
22302 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22303 Don't use a union to pack hi/low value.
22305 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22307 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22309 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22310 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22311 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22312 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22313 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22315 2013-10-04 Alan Modra <amodra@gmail.com>
22317 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22318 constants to usual value for .cst8 section, and remove redundant
22320 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22321 constant for 0x1p52. Load little-endian words of double from
22322 correct stack offsets.
22324 2013-10-04 Alan Modra <amodra@gmail.com>
22326 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22327 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22328 words of double from correct stack offsets.
22329 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22330 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22331 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22332 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22333 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22334 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22335 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22336 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22337 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22338 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22339 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22340 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22341 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22342 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22343 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22344 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22345 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22347 2013-10-04 Alan Modra <amodra@gmail.com>
22349 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22350 64-bit int/double union.
22351 (_FPU_SETCW): Likewise.
22352 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22353 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22355 2013-10-04 Alan Modra <amodra@gmail.com>
22357 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22358 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22360 2013-10-04 Alan Modra <amodra@gmail.com>
22362 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22363 use vector int constants.
22364 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22366 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22368 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22369 array with long long.
22370 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22371 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22372 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22373 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22374 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22375 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22376 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22377 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22378 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22379 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22380 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22381 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22382 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22384 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22386 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22387 (__signbit): Likewise. Correct for little-endian.
22388 (__signbitl): Call __signbit.
22389 (lrint): Correct for little-endian.
22390 (lrintf): Call lrint.
22392 2013-10-04 Alan Modra <amodra@gmail.com>
22394 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22395 union 32-bit int array member with 64-bit int array.
22396 (t515, tm256): Double rather than long double.
22397 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22399 2013-10-04 Alan Modra <amodra@gmail.com>
22401 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22403 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22404 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22405 version of math_ldbl.h.
22407 2013-10-04 Alan Modra <amodra@gmail.com>
22409 [BZ #15734], [BZ #15735]
22410 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22411 all uses of ieee875 long double macros and unions. Simplify test
22412 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22413 ldbl_extract_mantissa value for ix,iy exponents. Properly
22414 normalize after ldbl_extract_mantissa, and don't add hidden bit
22415 already handled. Don't treat low word of ieee854 mantissa like
22416 low word of IBM long double and mask off bit when testing for
22418 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22419 all uses of ieee875 long double macros and unions. Simplify tests
22420 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22421 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22422 two1022, instead use their values. Recognise that tests for large
22423 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22424 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22425 Rewrite all uses of ieee875 long double macros and unions. Simplify
22426 test for 0.0L and nan. Correct negation.
22427 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22428 ieee875 long double macros and unions. Correct output for large
22429 magnitude x. Correct absolute value calculation.
22430 (__erfcl): Likewise.
22431 * math/libm-test.inc: Add tests for errors discovered in IBM long
22432 double versions of fmodl, remainderl, erfl and erfcl.
22434 2013-10-04 Alan Modra <amodra@gmail.com>
22436 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22437 all uses of ieee854 long double macros and unions. Simplify tests
22438 for long doubles that are fully specified by the high double.
22439 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22441 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22442 Remove dead code too.
22443 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22444 (__ieee754_ynl): Likewise.
22445 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22446 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22447 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22448 Remove dead code too.
22449 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22450 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22451 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22452 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22454 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22456 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22457 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22458 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22459 Comment on variable precision.
22460 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22461 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22463 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22464 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22465 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22466 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22467 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22469 2013-10-04 Alan Modra <amodra@gmail.com>
22471 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22472 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22473 all uses of ieee854 long double macros and unions.
22474 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22475 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22476 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22477 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22478 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22479 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22481 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22482 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22483 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22484 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22485 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22486 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22487 Simplify sign and nan test too.
22488 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22489 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22490 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22491 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22493 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22494 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22497 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22498 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22499 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22500 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22503 2013-10-04 Alan Modra <amodra@gmail.com>
22505 * stdio-common/printf_size.c (__printf_size): Don't use
22506 union ieee854_long_double in fpnum union.
22507 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22508 signbit macro to retrieve sign from long double.
22509 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22510 retrieve sign from long double.
22511 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22512 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22513 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22514 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22515 * math/test-misc.c (main): Don't use union ieee854_long_double.
22517 2013-10-04 Alan Modra <amodra@gmail.com>
22520 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22521 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22522 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22523 calculation. Remove unnecessary test for denormal exponent.
22524 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22525 Correct handling of denormals. Avoid undefined shift behaviour.
22526 Correct normalisation of low mantissa when low double is denormal.
22527 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22528 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22529 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22530 Correct normalisation of low mantissa. Test for overflow of high
22531 mantissa and normalise.
22532 (ldbl_nearbyint): Use more readable constant for two52.
22533 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22534 (__mpn_construct_long_double): Fix test for overflow of high
22535 mantissa and correct normalisation. Avoid undefined shift.
22537 2013-10-04 Alan Modra <amodra@gmail.com>
22539 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22540 (union ibm_extended_long_double): Define as an array of ieee754_double.
22541 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22542 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22543 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22544 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22545 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22546 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22547 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22548 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22549 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22550 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22551 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22553 2013-10-03 Joseph Myers <joseph@codesourcery.com>
22555 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22556 page size instead of calling getpagesize.
22558 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22559 (LOCFILE_ALIGN_MASK): Likewise.
22560 (LOCFILE_ALIGN_UP): Likewise.
22561 (LOCFILE_ALIGNED_P): Likewise.
22562 * locale/programs/ld-collate.c (collate_output): Use the new
22563 macros instead of __alignof__ (int32_t).
22564 * locale/weight.h (findidx): Likewise.
22566 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
22569 * manual/string.texi: Fix strncat and wcsncat.
22571 2013-10-03 Brooks Moses <bmoses@google.com>
22574 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22575 * Makerules: ...here, and adjust associated comments.
22577 2013-10-02 Will Newton <will.newton@linaro.org>
22579 * malloc/Makefile: Add tst-pvalloc.
22580 * malloc/tst-pvalloc.c: New file.
22582 2013-10-02 Will Newton <will.newton@linaro.org>
22584 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22585 improve test coverage.
22587 2013-10-02 Will Newton <will.newton@linaro.org>
22589 * malloc/Makefile: Add tst-posix_memalign.
22590 * malloc/tst-posix_memalign.c: New file.
22592 2013-10-01 Eric Blake <eblake@redhat.com>
22594 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22595 Use __THROWNL rather than __THROW on static functions.
22597 2013-09-30 Petr Machata <pmachata@redhat.com>
22599 * elf/elf.h (R_AARCH64_ABS16): New macro.
22600 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22601 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22602 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22603 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22604 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22605 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22606 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22607 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22608 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22609 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22610 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22611 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22612 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22613 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22614 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22615 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22616 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22617 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22618 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22619 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22620 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22621 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22622 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22623 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22624 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22625 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22626 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22627 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22628 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22629 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22630 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22631 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22632 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22633 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22634 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22635 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22636 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22637 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22638 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22639 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22640 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22641 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22642 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22643 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22644 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22645 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22646 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22647 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22648 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22649 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22650 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22651 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22652 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22653 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22654 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22655 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22656 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22657 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22658 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22659 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22660 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22661 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22662 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22663 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22664 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22665 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22666 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22667 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22668 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22669 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22670 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22671 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22672 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22673 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22674 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22675 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22676 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22677 (R_AARCH64_TLSDESC_LDR): Likewise.
22678 (R_AARCH64_TLSDESC_ADD): Likewise.
22679 (R_AARCH64_TLSDESC_CALL): Likewise.
22681 2013-09-30 Andreas Schwab <schwab@suse.de>
22684 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22685 the nss database lookup.
22686 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22689 2013-09-28 Mike Frysinger <vapier@gentoo.org>
22691 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22693 2013-09-28 P. J. McDermott <pj@pehjota.net>
22695 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22696 ${Bash-specific parameter/pattern/string} parameter expansion.
22697 * sysdeps/unix/make-syscalls.sh: Likewise.
22699 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22701 * sysdeps/sh/stackguard-macros.h: New file.
22703 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
22705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22706 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22707 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22708 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22709 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22710 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22712 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22714 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22715 Fix thread ID register.
22717 2013-09-25 Joseph Myers <joseph@codesourcery.com>
22719 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22720 [POSIX || UNIX98]: Require rather than permitting all symbols from
22722 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22723 element of struct sched_param.
22724 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22725 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22726 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22727 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22730 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22732 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22733 argument calculation.
22735 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22737 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22739 [POSIX] (pthread_attr_t): Do not require type.
22740 [POSIX] (pthread_cond_t): Likewise.
22741 [POSIX] (pthread_condattr_t): Likewise.
22742 [POSIX] (pthread_key_t): Likewise.
22743 [POSIX] (pthread_mutex_t): Likewise.
22744 [POSIX] (pthread_mutexattr_t): Likewise.
22745 [POSIX] (pthread_once_t): Likewise.
22746 [POSIX] (pthread_t): Likewise.
22747 [POSIX-based standards] (pthread_atfork): Expect function.
22749 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22750 Richard Sandiford <richard@codesourcery.com>
22752 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22753 (swap_endianness_p): New extern variable.
22754 (set_big_endian): New inline function.
22755 (maybe_swap_uint32): Likewise.
22756 (maybe_swap_uint32_array): Likewise.
22757 (maybe_swap_uint32_obstack): Likewise.
22758 * locale/programs/locfile.c: Include <stdbool.h>.
22759 (swap_endianness_p): New variable.
22760 (add_locale_uint32): Call maybe_swap_uint32.
22761 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22762 (write_locale_data): Call maybe_swap_uint32_array.
22763 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22765 (obstack_int32_grow_fast): Likewise.
22766 (output_weightwc): Call maybe_swap_uint32_obstack.
22767 (collate_output): Likewise.
22768 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22769 (OPT_LITTLE_ENDIAN): Likewise.
22770 (options): Add --little-endian and --big-endian options.
22771 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22772 * locale/programs/locarchive.c: Include "locfile.h".
22776 (create_archive): Use the new macros to access fields of
22777 structures directly mapped from or written to locale archives.
22778 (oldlocrecentcmp): Likewise.
22779 (enlarge_archive): Likewise.
22780 (insert_name): Likewise.
22781 (add_alias): Likewise.
22782 (add_locale): Likewise.
22783 (delete_locales_from_archive): Likewise.
22784 (show_archive_content): Likewise.
22785 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22788 2013-09-24 Roland McGrath <roland@hack.frob.com>
22790 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22791 http://www.gnu.org/doc/freemanuals.texi.
22792 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22794 2013-09-24 Will Newton <will.newton@linaro.org>
22796 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22799 2013-09-23 Joseph Myers <joseph@codesourcery.com>
22801 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22804 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22806 * manual/threads.texi (POSIX Threads): Fix a typo.
22808 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22811 * string/tst-strcoll-overflow.c: New test case.
22812 * string/Makefile (xtests): Add tst-strcoll-overflow.
22813 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22814 cache if string sizes may cause integer overflow.
22817 * string/strcoll_l.c (coll_seq): New members rule, idx,
22818 save_idx and back_us.
22819 (get_next_seq_nocache): New function.
22820 (do_compare_nocache): New function.
22821 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22824 2013-09-23 Carlos O'Donell <carlos@redhat.com>
22827 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22828 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22829 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22832 * elf/Makefile (tests): Add tst-ptrguard1.
22833 (tests-static): Add tst-ptrguard1-static.
22834 (tst-ptrguard1-ARGS): Define.
22835 (tst-ptrguard1-static-ARGS): Define.
22836 * elf/tst-ptrguard1.c: New file.
22837 * elf/tst-ptrguard1-static.c: New file.
22838 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22839 * sysdeps/i386/stackguard-macros.h: Likewise.
22840 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22841 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22842 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22843 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22844 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22845 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22847 2013-09-23 Hector Marco <hecmargi@upv.es>
22848 Ismael Ripoll <iripoll@disca.upv.es>
22849 Carlos O'Donell <carlos@redhat.com>
22852 * sysdeps/generic/stackguard-macros.h: Define
22853 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22854 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22855 Define __pointer_chk_guard_local.
22856 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22857 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22859 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22862 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22864 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22866 * include/string.h (__ffs): Declare as hidden.
22867 * string/ffs.c (__ffs): Define as hidden.
22868 * sysdeps/i386/ffs.c (__ffs): Likewise.
22869 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22870 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22871 * sysdeps/s390/ffs.c (__ffs): Likewise.
22872 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22874 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
22876 * NEWS: Mention malloc probes.
22878 * malloc/arena.c (new_heap): New memory_heap_new probe.
22879 (grow_heap): New memory_heap_more probe.
22880 (shrink_heap): New memory_heap_less probe.
22881 (heap_trim): New memory_heap_free probe.
22882 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22883 (systrim): New memory_sbrk_less probe.
22884 * manual/probes.texi: Document them.
22886 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22887 * manual/probes.texi: Document it.
22889 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22890 (__libc_realloc): Add memory_realloc_retry probe.
22891 (__libc_memalign): Add memory_memalign_retry probe.
22892 (__libc_valloc): Add memory_valloc_retry probe.
22893 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22894 (__libc_calloc): Add memory_calloc_retry probe.
22895 * manual/probes.texi: Document them.
22897 * malloc/arena.c (get_free_list): Add probe
22898 memory_arena_reuse_free_list.
22899 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22900 and memory_arena_reuse.
22901 (arena_get2) [!PER_THREAD]: Likewise.
22902 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22903 memory_arena_reuse_realloc.
22904 * manual/probes.texi: Document them.
22906 * malloc/malloc.c (__libc_free): Add
22907 memory_mallopt_free_dyn_thresholds probe.
22908 (__libc_mallopt): Add multiple memory_mallopt probes.
22909 * manual/probes.texi: Document them.
22911 * malloc/malloc.c: Include stap-probe.h.
22912 (__libc_mallopt): Add memory_mallopt probe.
22913 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22914 * manual/probes.texi: New.
22915 * manual/Makefile (chapters): Add probes.
22916 * manual/threads.texi: Set next node.
22918 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22920 [BZ #15963, #13985]
22921 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22922 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22923 Add `Chinese' to `nan' entry name.
22925 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22927 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22928 (POLYNOMIAL): Likewise.
22929 (TAYLOR_SINCOS): Likewise.
22930 (TAYLOR_SLOW): Likewise.
22931 (__sin): Use TAYLOR_SINCOS.
22933 (slow): Use TAYLOR_SLOW.
22935 (bsloww): Likewise.
22936 (csloww): Likewise.
22938 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22940 * stdlib/strtod_l.c: Fix buffer overrun.
22942 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22944 * benchtests/Makefile (bench): Add sincos.
22945 * benchtests/bench-sincos.c: New file.
22947 * math/libm-test.inc (cos_test_data): New test inputs.
22948 (sin_test_data): Likewise.
22950 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22956 (sloww1): Likewise.
22957 (sloww2): Likewise.
22958 (bsloww1): Likewise.
22959 (bsloww2): Likewise.
22960 (cslow2): Likewise.
22961 (csloww1): Likewise.
22962 (csloww2): Likewise.
22964 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22969 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22973 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22975 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22976 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22977 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22978 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22979 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22980 * elf/cache.c (print_entry): Handle the new cache flags.
22982 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22983 Aldy Hernandez <aldyh@redhat.com>
22985 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22986 Change condition to [_SOFT_FLOAT].
22987 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22988 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22989 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22990 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22991 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22992 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22993 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22994 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22995 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22996 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22997 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22998 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22999 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23000 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23001 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23002 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23005 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23007 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23008 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23009 (__longjmp): Use LOAD_GP to load saved GPRs.
23010 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23011 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23012 (__sigsetjmp): Use SAVE_GP to save GPRs.
23014 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23015 Do not append -msoft-float.
23016 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23018 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23020 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23022 2013-09-17 Joseph Myers <joseph@codesourcery.com>
23025 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23026 (_FPU_GETCW): Use initial "__" on variable and field names but not
23027 on macro parameter name.
23028 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23029 parentheses around reference to macro parameter.
23031 2013-09-13 Richard Sandiford <richard@codesourcery.com>
23033 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23035 (ctype_startup): Use uint32_t in cast and sizeof for
23038 2013-09-11 Jia Liu <proljc@gmail.com>
23040 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23042 [__FreeBSD__]: Likewise.
23044 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
23046 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23047 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23048 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23049 (strchr): Remove __strchr_sse42 ifunc selection.
23050 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23051 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23053 2013-09-11 Will Newton <will.newton@linaro.org>
23055 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23056 parameter to RES. Remove hardcoded 1000 value.
23057 * benchtests/bench-skeleton.c (main): Pass RES parameter
23058 to TIMING_INIT and multiply result by 1000.
23060 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23064 2013-09-11 Andreas Schwab <schwab@suse.de>
23066 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23068 (O_TMPFILE) [__USE_GNU]: Define.
23069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23072 2013-09-11 Will Newton <will.newton@linaro.org>
23075 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23078 2013-09-11 Will Newton <will.newton@linaro.org>
23081 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23084 2013-09-11 Will Newton <will.newton@linaro.org>
23087 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23090 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
23092 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23093 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23094 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23095 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23096 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23098 2013-09-10 Allan McRae <allan@archlinux.org>
23101 * manual/arith.texi (Parsing of Floats): Clarify
23105 * manual/install.texi (Running make install): Mention
23107 * INSTALL: Regenerated.
23109 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23111 * csu/init-first.c (_init): Remove the !SHARED condition around
23112 FPU control word initialization.
23113 * elf/dl-support.c (_dl_fpu_control): New variable.
23114 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23115 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23116 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23117 * math/test-fpucw-static.c: New file.
23118 * math/test-fpucw-ieee.c: New file.
23119 * math/test-fpucw-ieee-static.c: New file.
23120 * math/Makefile (tests): Add `test-fpucw-ieee' and
23122 (tests-static): New variable.
23123 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23125 [($(build-shared),yes)]
23126 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23128 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23131 2013-09-09 Allan McRae <allan@archlinux.org>
23134 * manual/string.texi (Collation Functions): Fix typo in
23136 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23139 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23142 * libio/memstream.c (open_memstream): Fix memory leak.
23143 * libio/wmemstream.c (open_wmemstream): Likewise.
23146 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23148 2013-09-09 Will Newton <will.newton@linaro.org>
23150 * malloc/Makefile: Add tst-realloc to tests.
23151 * malloc/tst-realloc.c: New file.
23153 2013-09-09 Allan McRae <allan@archlinux.org>
23156 * COPYING: Update from GNU website to fix FSF address.
23157 * COPYING.LIB: Likewise.
23159 2013-09-06 David S. Miller <davem@davemloft.net>
23161 * po/zh_TW.po: Update Chinese (traditional) translation from
23162 translation project.
23164 2013-09-06 Richard Sandiford <richard@codesourcery.com>
23165 Joseph Myers <joseph@codesourcery.com>
23167 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23169 (obstack_chunk_alloc): New macro.
23170 (obstack_chunk_free): Likewise.
23171 (record_offset): New function.
23172 (init_locale_data): Likewise.
23173 (align_locale_data): Likewise.
23174 (add_locale_empty): Likewise.
23175 (add_locale_raw_data): Likewise.
23176 (add_locale_raw_obstack): Likewise.
23177 (add_locale_string): Likewise.
23178 (add_locale_wstring): Likewise.
23179 (add_locale_uint32): Likewise.
23180 (add_locale_uint32_array): Likewise.
23181 (add_locale_char): Likewise.
23182 (start_locale_structure): Likewise.
23183 (end_locale_structure): Likewise.
23184 (start_locale_prelude): Likewise.
23185 (end_locale_prelude): Likewise.
23186 (write_locale_data): Take locale_file structure rather than an
23188 * locale/programs/locfile.h: Include "obstack.h".
23189 (struct locale_file): Change to store locale file contents instead
23191 (init_locale_data): New prototype.
23192 (align_locale_data): Likewise.
23193 (add_locale_empty): Likewise.
23194 (add_locale_raw_data): Likewise.
23195 (add_locale_raw_obstack): Likewise.
23196 (add_locale_string): Likewise.
23197 (add_locale_wstring): Likewise.
23198 (add_locale_uint32): Likewise.
23199 (add_locale_uint32_array): Likewise.
23200 (add_locale_char): Likewise.
23201 (start_locale_structure): Likewise.
23202 (end_locale_structure): Likewise.
23203 (start_locale_prelude): Likewise.
23204 (end_locale_prelude): Likewise.
23205 (write_locale_data): Update prototype.
23206 * locale/programs/3level.h (struct TABLE): Remove result field.
23207 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23208 Use new locale_file interface.
23209 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23210 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23211 * locale/programs/ld-address.c (address_output): Use new
23212 locale_file interface.
23213 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23215 (collate_finish): Don't call collseq_table_finalize.
23216 (collate_output): Use new locale_file interface.
23217 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23219 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23220 (TABLE): Move defines earlier in file.
23221 (ELEMENT): Likewise.
23222 (DEFAULT): Likewise.
23223 (wctrans_table_add): Move macro and inline function earlier in
23225 (struct wctype_table): Move type earlier in file.
23226 (add_locale_wctype_table): New static prototype.
23227 (struct locale_ctype_t): Use logical types instead of struct iovec
23228 pointers for members.
23229 (ctype_output): Use new locale_file interface.
23230 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23231 new locale_file interface.
23232 (allocate_arrays): Update for use of new locale_file interface.
23233 * locale/programs/ld-identification.c (identification_output): Use
23234 new locale_file interface.
23235 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23236 * locale/programs/ld-messages.c (messages_output): Likewise.
23237 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23238 * locale/programs/ld-name.c (name_output): Likewise.
23239 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23240 * locale/programs/ld-paper.c (paper_output): Likewise.
23241 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23242 * locale/programs/ld-time.c (time_output): Likewise.
23244 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23246 * benchtests/Makefile: Add memrchr benchmark.
23247 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23248 benchmark as memrchr.
23249 * benchtests/bench-memrchr-ifunc.c: New file.
23250 * benchtests/bench-memrchr.c: New file.
23252 2013-09-06 Will Newton <will.newton@linaro.org>
23254 * benchtests/Makefile (string-bench): Add memcpy.
23256 2013-09-05 Carlos O'Donell <carlos@redhat.com>
23257 Cong Wang <amwang@redhat.com>
23260 * sysdeps/unix/sysv/linux/bits/in.h
23261 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23262 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23263 before __USE_KERNEL_IPV6_DEFS uses.
23264 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23266 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23267 sockaddr_in6, or ipv6_mreq.
23269 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23271 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23272 memory access for final bytes in some large inputs.
23273 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23275 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23277 * string/test-memrchr.c: New file.
23278 * string/test-memrchr-ifunc.c: New file.
23279 * string/Makefile: Add new memrchr testcase.
23281 2013-09-05 Mike Frysinger <vapier@gentoo.org>
23283 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23284 fanotify_init returns EPERM.
23286 2013-09-04 Joseph Myers <joseph@codesourcery.com>
23288 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23290 (top level): Treat second token from macro or constant entries for
23291 allowed headers as allowed.
23292 * include/complex.h: Condition internal declarations on
23294 * include/fenv.h: Condition include of <stdbool.h> and internal
23295 declarations on [!_ISOMAC].
23297 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23300 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23302 2013-09-04 Joseph Myers <joseph@codesourcery.com>
23304 * configure.in (--enable-versioning): Remove configure option.
23305 (libc_cv_asm_symver_directive): Remove configure test.
23306 (libc_cv_ld_version_script_option): Likewise.
23307 (VERSIONING): Remove variable and AC_SUBST.
23308 (DO_VERSIONING): Remove AC_DEFINE.
23309 * configure: Regenerated.
23310 * config.h.in (DO_VERSIONING): Remove macro.
23311 * Makerules [$(versioning) = yes]: Change conditionals to
23312 [$(build-shared) = yes].
23313 * config.make.in (versioning): Remove variable.
23314 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23315 [$(build-shared) = yes].
23316 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23317 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23318 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23319 [$(build-shared) = yes].
23320 * extra-lib.mk [$(versioning) = yes]: Likewise.
23321 * hurd/Makefile [$(versioning) = yes]: Likewise.
23322 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23324 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23326 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23327 [SHARED && !NO_HIDDEN].
23328 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23330 [SHARED && DO_VERSIONING]: Likewise..
23331 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23332 [$(build-shared) = yes].
23333 * manual/install.texi (--disable-versioning): Remove
23335 * INSTALL: Regenerated.
23336 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23338 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23339 [$(build-shared) = yes].
23340 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23341 * sysdeps/i386/i686/multiarch/strstr-c.c
23342 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23343 [SHARED && !NO_HIDDEN].
23344 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23345 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23346 * sysdeps/powerpc/powerpc32/dl-machine.c
23347 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23348 * sysdeps/powerpc/powerpc32/sysdep.h
23349 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23350 to [SHARED && PIC && !NO_HIDDEN].
23351 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23352 conditional to [SHARED].
23354 2013-09-04 Will Newton <will.newton@linaro.org>
23356 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23357 * benchtests/bench-string.h: Include bench-timing.h instead
23358 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23359 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23360 call to HP_TIMING_DIFF_INIT.
23361 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23362 instead of hp-timing.h macros.
23363 * benchtests/bench-memchr.c: Likewise.
23364 * benchtests/bench-memcmp.c: Likewise.
23365 * benchtests/bench-memcpy.c: Likewise.
23366 * benchtests/bench-memmem.c: Likewise.
23367 * benchtests/bench-memmove.c: Likewise.
23368 * benchtests/bench-memset.c: Likewise.
23369 * benchtests/bench-rawmemchr.c: Likewise.
23370 * benchtests/bench-strcasecmp.c: Likewise.
23371 * benchtests/bench-strcasestr.c: Likewise.
23372 * benchtests/bench-strcat.c: Likewise.
23373 * benchtests/bench-strchr.c: Likewise.
23374 * benchtests/bench-strcmp.c: Likewise.
23375 * benchtests/bench-strcpy.c: Likewise.
23376 * benchtests/bench-strcpy_chk.c: Likewise.
23377 * benchtests/bench-strlen.c: Likewise.
23378 * benchtests/bench-strncasecmp.c: Likewise.
23379 * benchtests/bench-strncat.c: Likewise.
23380 * benchtests/bench-strncmp.c: Likewise.
23381 * benchtests/bench-strncpy.c: Likewise.
23382 * benchtests/bench-strnlen.c: Likewise.
23383 * benchtests/bench-strpbrk.c: Likewise.
23384 * benchtests/bench-strrchr.c: Likewise.
23385 * benchtests/bench-strspn.c: Likewise.
23386 * benchtests/bench-strstr.c: Likewise.
23388 2013-09-04 Will Newton <will.newton@linaro.org>
23390 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23392 2013-09-03 Joseph Myers <joseph@codesourcery.com>
23395 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23396 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23397 * math/libm-test.inc (lgamma_test_data): Add more tests.
23398 * sysdeps/i386/fpu/libm-test-ulps: Update.
23399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23401 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
23403 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23404 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23407 Add strcmp-sse2-unaligned
23408 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23410 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23412 * Versions.def (libc): Add GLIBC_2.19.
23414 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23416 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23417 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23419 2013-09-02 Joseph Myers <joseph@codesourcery.com>
23422 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23423 intermediate calculations in recurrence.
23424 (__ieee754_ynf): Likewise.
23425 * math/libm-test.inc (jn_test_data): Do not allow spurious
23426 underflow exception. Add more tests.
23427 (yn_test_data): Add more tests.
23428 * sysdeps/i386/fpu/libm-test-ulps: Update.
23429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23431 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
23433 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23435 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23437 * csu/init-first.c: Fix then/than typos.
23438 * locale/programs/ld-collate.c: Likewise.
23439 * locale/programs/linereader.h: Likewise.
23440 * manual/charset.texi: Likewise.
23441 * manual/filesys.texi: Likewise.
23442 * manual/stdio.texi: Likewise.
23443 * manual/string.texi: Likewise.
23444 * stdlib/fmtmsg.c: Likewise.
23445 * sysdeps/i386/stpncpy.S: Likewise.
23446 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23447 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23448 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23449 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23451 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23453 * elf/dl-open.c: Fix typos.
23454 * iconvdata/gbbig5.c: Likewise.
23455 * iconvdata/iso-2022-jp.c: Likewise.
23456 * iconv/gconv_int.h: Likewise.
23457 * iconv/loop.c: Likewise.
23458 * nis/rpcsvc/nis.h: Likewise.
23459 * resolv/ns_name.c: Likewise.
23460 * stdio-common/vfscanf.c: Likewise.
23461 * streams/stropts.h: Likewise.
23462 * sunrpc/rpc_thread.c: Likewise.
23463 * sysdeps/i386/strpbrk.S: Likewise.
23464 * sysdeps/ieee754/k_standard.c: Likewise.
23465 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23466 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23467 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23468 * sysdeps/mach/hurd/profil.c: Likewise.
23469 * sysdeps/s390/dl-procinfo.h: Likewise.
23470 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23471 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23472 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23473 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23474 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23476 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23478 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23481 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23483 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23484 aix specific files.
23485 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23486 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23487 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23488 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23489 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23490 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23491 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23492 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23494 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23495 Roland McGrath <roland@hack.frob.com>
23497 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23498 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23500 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23502 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23503 __executable_start symbol instead of _start.
23505 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23507 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23508 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23510 * sysdeps/gnu/ldsodefs.h: ... this new file.
23512 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23513 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23514 instead of ELFOSABI_LINUX.
23516 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23517 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23518 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23519 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23521 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23522 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23523 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23525 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23526 (ibm_extended_long_double): Add ieee_nan member.
23527 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23528 (do_test): New function.
23530 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23532 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23533 functions, renamed from truncdfsf_test, trunctfsf_test,
23535 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23537 (do_test): Run all these.
23539 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23541 * argp/argp-help.c: Fix typos.
23542 * argp/argp-parse.c: Likewise.
23543 * debug/backtracesyms.c: Likewise.
23544 * elf/elf.h: Likewise.
23545 * malloc/malloc.c: Likewise.
23546 * nis/nis_print.c: Likewise.
23547 * resolv/res_comp.c: Likewise.
23548 * stdlib/stdlib.h: Likewise.
23549 * sunrpc/clnt_tcp.c: Likewise.
23550 * sunrpc/clnt_udp.c: Likewise.
23551 * sunrpc/clnt_unix.c: Likewise.
23552 * sysdeps/unix/bsd/ptsname.c: Likewise.
23553 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23554 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23561 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23563 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23565 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23568 2013-08-27 Mike Frysinger <vapier@gentoo.org>
23571 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23572 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23573 ($(objpfx)bug-dl-leaf): New rule.
23574 ($(objpfx)bug-dl-leaf.so): Likewise.
23575 ($(objpfx)bug-dl-leaf.out): Likewise.
23576 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23577 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23578 * dlfcn/bug-dl-leaf.c: New test.
23579 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23580 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23581 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23582 (dlclose): Likewise.
23583 (dlmopen): Likewise.
23585 2013-08-27 Roland McGrath <roland@hack.frob.com>
23587 * include/netdb.h [!_ISOMAC]:
23588 Don't include <tls.h>.
23589 (h_errno, __libc_h_errno): Move declaration and macros out of
23592 * include/resolv.h [_RESOLV_H_]:
23593 Don't include <tls.h>.
23594 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23595 * resolv/res_libc.c: Don't include <tls.h>.
23596 (_res): Use __attribute__ ((nocommon)) in place of
23597 __attribute__ ((section (".bss"))).
23599 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23600 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23602 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23604 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23605 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23607 * resolv/res_mkquery.c: Include <sys/time.h>.
23609 * inet/ifreq.c: Moved to ...
23610 * sysdeps/unix/ifreq.c: ... here.
23611 * inet/ifreq.c: New file, true stub version.
23613 * socket/sa_len.c: New file.
23614 * socket/Makefile (aux): Add it.
23615 * sysdeps/unix/sysv/linux/Makefile
23616 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23617 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23618 and #include <socket/sa_len.c>.
23619 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23620 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23622 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23623 * bits/socket.h: ... here.
23625 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23626 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23627 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23629 2013-08-27 Andreas Schwab <schwab@suse.de>
23632 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23633 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23634 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23635 * string/test-strcasecmp.c (test_main): Run tests in several
23637 * string/test-strncasecmp.c (test_main): Likewise.
23639 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23640 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23641 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23642 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23643 (__strncasecmp_ssse3) [PIC]: Likewise.
23645 2013-08-26 Roland McGrath <roland@hack.frob.com>
23647 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23649 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23650 instead of explicitly declaring xdecrypt.
23651 * nis/nss_nis/nis-publickey.c: Likewise.
23653 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23656 * nscd/aicache.c: Include res_hconf.h.
23657 (addhstaiX): Initialize res_hconf.
23659 2013-08-26 Andreas Schwab <schwab@suse.de>
23661 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23662 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23664 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23666 * nscd/aicache.c (addhstaiX): Fix indentation.
23668 2013-08-25 Mike Frysinger <vapier@gentoo.org>
23670 * configure.ac: Quote $build_pt_chown test.
23671 * configure: Regenerated.
23673 2013-08-23 Joseph Myers <joseph@codesourcery.com>
23676 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23677 * math/s_cexpf.c (__cexpf): Likewise.
23678 * math/s_cexpl.c (__cexpl): Likewise.
23679 * math/libm-test.inc (cexp_test_data): Correct expected return
23680 value for NaN + i0. Add another test.
23682 2013-08-22 David S. Miller <davem@davemloft.net>
23684 * po/ca.po: Update Catalan translation from translation project.
23685 * po/uk.po: Add Ukrainian translations from translation project.
23687 2013-08-21 Joseph Myers <joseph@codesourcery.com>
23690 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23691 is infinite, not alongside NaN test.
23692 * math/s_fdimf.c (__fdimf): Likewise.
23693 * math/s_fdiml.c (__fdiml): Likewise.
23694 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23695 errno is unchanged.
23697 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
23699 * argp/argp-help.c: Fix typos.
23700 * crypt/speeds.c: Likewise.
23701 * csu/check_fds.c: Likewise.
23702 * elf/dl-load.c: Likewise.
23703 * elf/dl-open.c: Likewise.
23704 * elf/reldep3.c: Likewise.
23705 * elf/reldep.c: Likewise.
23706 * elf/sprof.c: Likewise.
23707 * iconv/iconv_charmap.c: Likewise.
23708 * iconv/skeleton.c: Likewise.
23709 * iconv/strtab.c: Likewise.
23710 * io/lockf64.c: Likewise.
23711 * libio/libioP.h: Likewise.
23712 * resolv/gai_notify.c: Likewise.
23713 * resolv/ns_name.c: Likewise.
23714 * resolv/ns_samedomain.c: Likewise.
23715 * resolv/res_send.c: Likewise.
23716 * stdlib/random.c: Likewise.
23717 * sunrpc/rpc/xdr.h: Likewise.
23718 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23719 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23720 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23721 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23722 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23723 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23724 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23725 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23726 * sysdeps/mach/hurd/check_fds.c: Likewise.
23727 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23728 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23729 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23730 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23731 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23732 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23733 * sysdeps/pthread/aio_notify.c: Likewise.
23734 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23735 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23736 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23737 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23738 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23740 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23742 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23743 version if bit_Slow_SSE4_2 is set.
23744 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23745 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23747 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23750 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23751 trampoline stack frame information.
23752 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23753 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23754 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23755 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23756 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23757 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23758 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23759 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23761 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23762 interrupting a syscall and set with option SA_SIGINFO.
23764 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23767 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23768 argument is infinite.
23769 * math/s_cprojf.c (__cprojf): Likewise.
23770 * math/s_cprojl.c (__cprojl): Likewise.
23771 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23772 * math/libm-test.inc (cproj_test_data): Add more tests.
23774 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23776 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23777 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23778 size. Use __ffs to determine corresponding shift.
23780 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23781 Roland McGrath <roland@hack.frob.com>
23783 * Makefile (INSTALL): Remove trailing blank lines from output of
23786 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23788 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23789 Align 32 bit compat elf_greg to 8 bytes.
23791 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23793 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23795 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23797 * string/strcoll_l.c (coll_seq): New structure.
23798 (get_next_seq_cached): New function.
23799 (get_next_seq): New function.
23800 (do_compare): New function.
23801 (STRCOLL): Use GNU style definition. Simplify implementation
23802 by using get_next_seq, get_next_seq_cached and do_compare.
23804 2013-08-16 Florian Weimer <fweimer@redhat.com>
23808 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23810 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23812 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23813 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23814 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23816 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23817 GETDENTS_64BIT_ALIGNED.
23818 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23819 * manual/filesys.texi (Reading/Closing Directory): Document
23820 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23822 * manual/conf.texi (Limits for Files): Add portability note to
23823 NAME_MAX, PATH_MAX.
23824 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23826 2013-08-13 Andreas Schwab <schwab@suse.de>
23829 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23831 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23832 LDBL_MAX_EXP >= 16384]: Add tests for it.
23834 2013-08-12 David S. Miller <davem@davemloft.net>
23836 * version.h (RELEASE): Set to "development".
23837 (VERSION): Set to "2.18.90".
23838 * NEWS: Add 2.19 section.
23840 2013-08-03 David S. Miller <davem@davemloft.net>
23842 * po/ko.po: Update Korean translation from translation project.
23844 2013-08-01 David S. Miller <davem@davemloft.net>
23846 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23847 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23850 2013-07-30 David S. Miller <davem@davemloft.net>
23852 * po/fr.po: Update French translation from translation project.
23854 2013-07-28 David S. Miller <davem@davemloft.net>
23856 * po/cs.po: Update Czech translation from translation project.
23858 * po/sv.po: Update Swedish translation from translation project.
23860 2013-07-27 David S. Miller <davem@davemloft.net>
23862 * po/eo.po: Update Esperanto translation from translation project.
23864 * po/vi.po: Update Vietnamese translation from translation project.
23866 * po/de.po: Update German translation from translation project.
23868 2013-07-26 David S. Miller <davem@davemloft.net>
23870 * po/bg.po: Update Bulgarian translation from translation project.
23872 * po/nl.po: Update Dutch translation from translation project.
23873 * po/pl.po: Update Polish translation from translation project.
23874 * po/ru.po: Update Russian translation from translation project.
23876 2013-07-24 David S. Miller <davem@davemloft.net>
23878 * po/libc.pot: Update.
23880 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23882 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23883 variable page size.
23884 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23885 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23886 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23888 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23890 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23892 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23893 Andreas Schwab <schwab@suse.de>
23894 Roland McGrath <roland@hack.frob.com>
23895 Joseph Myers <joseph@codesourcery.com>
23896 Carlos O'Donell <carlos@redhat.com>
23899 * config.h.in: Define HAVE_PT_CHOWN.
23900 * config.make.in (build-pt-chown): New variable.
23901 * configure.in (--enable-pt_chown): New configure option.
23902 * configure: Regenerate.
23903 * login/Makefile: Include Makeconfig. Build pt_chown only if
23904 build-pt-chown is enabled.
23905 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23906 pt_chown to fix pty ownership.
23907 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23909 * manual/install.texi (Configuring and compiling): Mention
23910 --enable-pt_chown. Add @findex for grantpt.
23911 * INSTALL: Regenerate.
23913 2013-07-20 David S. Miller <davem@davemloft.net>
23915 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23916 difference between 32-bit and 64-bit.
23918 2013-07-15 Carlos O'Donell <carlos@redhat.com>
23921 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23922 Avoid system header dependency with -ffreestanding.
23923 ($(objpfx)bits/syscall%d): Likewise.
23925 2013-07-13 David S. Miller <davem@davemloft.net>
23927 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23928 underflows from atanl/atan2l due to bug 15319.
23929 (casinh_test_data): Likewise.
23931 2013-07-07 David S. Miller <davem@davemloft.net>
23933 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23935 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23937 * sysdeps/i386/fpu/libm-test-ulps: Update.
23938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23940 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23942 * configure.in (--enable-lock-elision): Fix message text.
23943 * INSTALL: Regenerate.
23944 * configure: Regenerate.
23946 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23950 2013-07-03 Andreas Jaeger <aj@suse.de>
23952 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23954 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23955 (ptrace_peeksiginfo_args): Add.
23956 (__ptrace_peeksiginfo_flags): Add.
23957 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23958 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23959 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23961 2013-07-03 Allan McRae <allan@archlinux.org>
23963 * sysdeps/i386/fpu/libm-test-ulps: Update.
23965 2013-07-02 David S. Miller <davem@davemloft.net>
23967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23969 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23973 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23975 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23978 2013-07-02 Andi Kleen <ak@linux.intel.com>
23980 * config.h.in (ENABLE_LOCK_ELISION): Add.
23981 * configure.in (--enable-lock-elision): Add option.
23982 * manual/install.texi: Document --enable lock elision.
23983 * configure: Regenerate
23984 * INSTALL: Regenerate.
23986 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23988 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23989 SSE4.2 strcasecmp for libc.a.
23990 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23992 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23995 * soft-fp/op-common.h (_FP_FMA): New macro.
23996 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23997 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23998 (_FP_MUL_MEAT_1_imm): ... here.
23999 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24000 (_FP_MUL_MEAT_1_wide): ... here.
24001 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24002 (_FP_MUL_MEAT_1_hard): ... here.
24003 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24004 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24005 (_FP_MUL_MEAT_2_wide): ... here.
24006 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24007 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24008 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24009 (_FP_MUL_MEAT_2_gmp): ... here.
24010 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24011 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24012 (_FP_MUL_MEAT_4_wide): ... here.
24013 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24014 (_FP_MUL_MEAT_4_gmp): ... here.
24015 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24016 (_FP_WFRACBITS_DW_S): Likewise.
24017 (_FP_WFRACXBITS_DW_S): Likewise.
24018 (_FP_HIGHBIT_DW_S): Likewise.
24019 (FP_FMA_S): Likewise.
24020 (_FP_FRAC_HIGH_DW_S): Likewise.
24021 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24022 (_FP_WFRACBITS_DW_D): Likewise.
24023 (_FP_WFRACXBITS_DW_D): Likewise.
24024 (_FP_HIGHBIT_DW_D): Likewise.
24025 (FP_FMA_D): Likewise.
24026 (_FP_FRAC_HIGH_DW_D): Likewise.
24027 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24028 (_FP_WFRACBITS_DW_E): Likewise.
24029 (_FP_WFRACXBITS_DW_E): Likewise.
24030 (_FP_HIGHBIT_DW_E): Likewise.
24031 (FP_FMA_E): Likewise.
24032 (_FP_FRAC_HIGH_DW_E): Likewise.
24033 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24034 (_FP_WFRACBITS_DW_Q): Likewise.
24035 (_FP_WFRACXBITS_DW_Q): Likewise.
24036 (_FP_HIGHBIT_DW_Q): Likewise.
24037 (FP_FMA_Q): Likewise.
24038 (_FP_FRAC_HIGH_DW_Q): Likewise.
24039 * soft-fp/fmasf4.c: New file.
24040 * soft-fp/fmadf4.c: Likewise.
24041 * soft-fp/fmatf4.c: Likewise.
24043 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24046 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24048 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24050 (index_Slow_SSE4_2): Likewise.
24051 (index_Prefer_PMINUB_for_stringop): Likewise.
24052 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24053 bit_Slow_SSE4_2 is set.
24054 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24055 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24057 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24059 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24060 rtld_global._dl_hwcap2.
24061 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24063 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24064 POWER8 feature descriptions defined in _dl_hwcap2.
24065 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24066 string handling for POWER8 feature bits.
24067 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24068 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24069 _dl_powerpc_cap_flags.
24070 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24071 * sysdeps/powerpc/rtld-global-offsets.sym
24072 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24073 _dl_hwcap2 in the rtld_global_ro structure.
24075 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24077 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24078 hardware capabilities in support of AT_HWCAP2.
24079 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24080 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24082 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24083 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24084 explicitly the unknown a_type display mechanism is used.
24085 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24086 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24088 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24089 to macro prototype for AT_HWCAP2 support.
24090 * sysdeps/i386/dl-procinfo.h: Likewise.
24091 * sysdeps/s390/dl-procinfo.h: Likewise.
24092 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24093 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24094 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24095 return -1 for unknown a_type display fallback.
24096 * sysdeps/sparc/dl-procinfo.h: Likewise.
24097 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24098 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24100 2013-06-28 Joseph Myers <joseph@codesourcery.com>
24102 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24103 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24105 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24108 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24109 mprotect making __stack_prot writable.
24111 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24112 Joseph Myers <joseph@codesourcery.com>
24114 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24115 as being properly aligned.
24117 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24119 * dlfcn/modstatic5.c: New file.
24120 * dlfcn/tststatic5.c: New file.
24121 * dlfcn/Makefile (tests): Add tststatic5.
24122 (tests-static): Likewise.
24123 (modules-names): Add modstatic5.
24124 (tststatic5-ENV): New variable.
24125 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24128 * elf/dl-support.c (_dl_main_map): New variable.
24129 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24130 (_dl_nns, _dl_load_adds): Set to 1.
24131 (_dl_initial_searchlist): Refer to _dl_main_map.
24132 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24133 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24134 call to _dl_get_origin.
24135 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24137 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24138 * dlfcn/modstatic3.c: New file.
24139 * dlfcn/tststatic3.c: New file.
24140 * dlfcn/tststatic4.c: New file.
24141 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24142 (tests-static): Likewise.
24143 (modules-names): Add modstatic3.
24144 (tststatic3-ENV, tststatic4-ENV): New variables.
24145 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24146 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24148 2013-06-26 Joseph Myers <joseph@codesourcery.com>
24150 * configure.in (CC): Require GCC version 4.4 or later.
24151 * configure: Regenerated.
24152 * manual/install.texi (Tools for Compilation): Update GCC version
24154 * INSTALL: Regenerated.
24156 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24159 * string/test-memcmp.c (check2): New.
24160 (main): Call check2.
24162 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24164 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24167 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24169 (dl_open_worker) [!SHARED]: ... here.
24171 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24173 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24175 2013-06-25 Richard Henderson <rth@redhat.com>
24177 * locale/programs/locarchive.c: Include <libc-internal.h>
24179 2013-06-25 Joseph Myers <joseph@codesourcery.com>
24181 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24182 trailing whitespace removed.
24184 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24187 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24188 * locale/programs/locarchive.c: Include libc-mmap.h.
24189 (prepare_address_space): Take two new outputs (the mmap base and len).
24190 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24192 (create_archive): Declare new mmap base and len values for
24193 prepare_address_space, and store the result in ah.
24194 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24195 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24196 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24197 Declare new mmap base and len values for
24198 prepare_address_space, and store the result in new_ah.
24199 (open_archive): Declare new mmap base and len values for
24200 prepare_address_space, and store the result in ah.
24201 (close_archive): If ah->mmap_base is not NULL, use that and
24202 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24203 * sysdeps/generic/libc-mmap.h: New file.
24205 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24207 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24208 (ALIGN_UP): Likewise.
24209 (PTR_ALIGN_DOWN): Likewise.
24210 (PTR_ALIGN_UP): Likewise.
24212 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24214 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24215 entry mapped to PPC_PLATFORM_POWER8.
24216 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24218 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24219 (_dl_string_platform): Add case for exporting platform position for
24221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24222 search path to sysdeps/powerpc/powerpc32/power8 directory.
24223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24224 search path to sysdeps/powerpc/powerpc64/power8 directory.
24225 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24226 power7 directories.
24227 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24228 power7 directories.
24230 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24232 * INSTALL: Regenerate.
24234 * nscd/connections.c (nscd_init): Fix comment.
24236 2013-06-22 Joseph Myers <joseph@codesourcery.com>
24238 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24241 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24242 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24244 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24246 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24248 (DL_DST_REQ_STATIC): Remove macro.
24250 2013-06-21 Joseph Myers <joseph@codesourcery.com>
24253 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24254 with a shift of 0 bits.
24256 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24258 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24261 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24264 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24266 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24268 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24269 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24270 accepts -fno-tree-loop-distribute-patterns.
24271 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24272 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24274 * string/memset.c (memset): Likewise.
24275 * string/test-memmove.c (simple_memmove): Disable loop transformation
24277 * string/test-memset.c (simple_memset): Likewise.
24278 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24279 * benchtests/bench-memset.c (simple_memset): Likewise.
24280 * configure: Regenerated.
24282 2013-06-20 Joseph Myers <joseph@codesourcery.com>
24284 * math/test-misc.c (main): Ignore fesetround failure when failures
24285 of subsequent rounding tests would be ignored.
24288 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24289 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24290 * math/fegetenv.c (__fegetenv): Return 0.
24291 * math/fegetexcept.c (fegetexcept): Return 0.
24292 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24294 * math/feholdexcpt.c (feholdexcept): Return 0.
24295 * math/fesetenv.c (__fesetenv): Return 0.
24296 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24297 argument FE_TONEAREST.
24298 * math/feupdateenv.c (__feupdateenv): Return 0.
24299 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24301 2013-06-18 Roland McGrath <roland@hack.frob.com>
24303 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24304 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24305 ($(objpfx)rtld-%.os rules): Use them.
24307 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24309 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24312 2013-06-17 Roland McGrath <roland@hack.frob.com>
24314 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24315 length of target pattern, then descending length of dependency pattern.
24316 * configure.in (AWK): Require gawk 3.1.2 or newer.
24317 * manual/install.texi (Tools for Compilation): Say that we do.
24318 * configure: Regenerated.
24320 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24321 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24322 * scripts/sysd-rules.awk: ... this new script.
24323 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24324 than a glob-style pattern.
24326 2013-06-17 Joseph Myers <joseph@codesourcery.com>
24328 * math/test-misc.c (main): Do not treat incorrectly rounded
24329 conversions as failure unless ROUNDING_TESTS passes.
24331 2013-06-15 Joseph Myers <joseph@codesourcery.com>
24334 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24335 restore exception state around main square root computation, then
24336 check for inexactness explicitly.
24338 * math/libm-test.inc (fma_test_data): Add another test.
24340 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24342 * manual/threads.texi (Non-POSIX Extensions): New document
24343 node. Document pthread_getattr_default_np and
24344 pthread_setattr_default_np.
24346 * Versions.def (libpthread): Add GLIBC_2.18.
24347 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24356 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24367 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24370 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24372 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24373 H.J. Lu <hjl.tools@gmail.com>
24376 * sysdeps/x86_64/rtld-memset.c: Remove file.
24377 * sysdeps/x86_64/rtld-memset.S: New file.
24379 2013-06-14 Joseph Myers <joseph@codesourcery.com>
24381 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24382 (test_in_one_mode): Take arguments for whether the rounding mode
24383 is supported for each floating-point type.
24384 (do_test): Pass new arguments to test_in_one_mode using
24387 2013-06-13 Roland McGrath <roland@hack.frob.com>
24389 * posix/tst-waitid.c (do_test): Distinguish different instances of
24390 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24391 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24392 before entering the kernel for waitpid.
24394 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24396 * NEWS: Fix note on clock function precision. Text by Roland
24399 2013-06-13 Roland McGrath <roland@hack.frob.com>
24401 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24402 it into place only when and if the sanity check passes.
24404 2013-06-13 Joseph Myers <joseph@codesourcery.com>
24406 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24407 output for whether conversion result is exact. Take argument
24408 indicating whether type is IBM long double.
24409 (round_for_all): Change need_exact field to ibm_ld.
24410 * stdlib/tst-strtod-round.c (struct exactness): New type.
24411 (struct test): Change bool ld_ok field to struct exactness exact.
24412 (TEST): Update all definitions for change to field.
24413 (tests): Regenerate array contents.
24414 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24415 field value. Check for IBM long double here.
24416 (do_test): Update calls to test_in_one_mode.
24418 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24421 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24422 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24424 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24427 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24428 generated by the compiler on loop optimizations.
24429 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24430 general definitions.
24432 2013-06-12 Joseph Myers <joseph@codesourcery.com>
24434 * math/bug-nextafter.c: Include <math-tests.h>.
24435 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24437 * math/bug-nexttoward.c: Include <math-tests.h>.
24438 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24440 * math/test-misc.c: Include <math-tests.h>.
24441 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24444 2013-06-12 Andreas Jaeger <aj@suse.de>
24446 * po/ia.po: Update Interlingua translation from translation
24449 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24451 * include/fenv.h: Include stdbool.h.
24452 (struct rm_ctx): New structure.
24453 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24455 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24456 (SET_RESTORE_ROUNDF): Likewise.
24457 (SET_RESTORE_ROUNDL): Likewise.
24458 (SET_RESTORE_ROUND_NOEX): Likewise.
24459 (SET_RESTORE_ROUND_NOEXF): Likewise.
24460 (SET_RESTORE_ROUND_NOEXL): Likewise.
24461 (SET_RESTORE_ROUND_53BIT): Likewise.
24462 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24463 (libc_feresetround_noexf_ctx): Likewise.
24464 (libc_feresetround_noexl_ctx): Likewise.
24465 (libc_feholdsetround_53bit_ctx): Likewise.
24466 (libc_feresetround_53bit_ctx): Likewise.
24467 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24468 (libc_feholdexcept_setround_sse_ctx): New function.
24469 (libc_fesetenv_sse_ctx): Likewise.
24470 (libc_feupdateenv_sse_ctx): Likewise.
24471 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24472 (libc_feholdexcept_setround_387_ctx): Likewise.
24473 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24474 (libc_feholdsetround_387_prec_ctx): Likewise.
24475 (libc_feholdsetround_387_ctx): Likewise.
24476 (libc_feholdsetround_387_53bit_ctx): Likewise.
24477 (libc_feholdsetround_sse_ctx): Likewise.
24478 (libc_feresetround_sse_ctx): Likewise.
24479 (libc_feresetround_387_ctx): Likewise.
24480 (libc_feupdateenv_387_ctx): Likewise.
24481 (libc_feholdexcept_setroundf_ctx): Define macro.
24482 (libc_fesetenvf_ctx): Likewise.
24483 (libc_feupdateenvf_ctx): Likewise.
24484 (libc_feholdsetroundf_ctx): Likewise.
24485 (libc_feresetroundf_ctx): Likewise.
24486 (libc_feholdexcept_setround_ctx): Likewise.
24487 (libc_fesetenv_ctx): Likewise.
24488 (libc_feupdateenv_ctx): Likewise.
24489 (libc_feholdsetround_ctx): Likewise.
24490 (libc_feresetround_ctx): Likewise.
24491 (libc_feholdexcept_setroundl_ctx): Likewise.
24492 (libc_feupdateenvl_ctx): Likewise.
24493 (libc_feholdsetroundl_ctx): Likewise.
24494 (libc_feresetroundl_ctx): Likewise.
24495 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24496 (libc_feresetround_53bit_ctx): Likewise.
24498 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24500 * locale/iso-639.def: Convert to UTF-8.
24502 2013-06-11 Joseph Myers <joseph@codesourcery.com>
24504 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24505 (EXCEPTION_TESTS_double): Likewise.
24506 (EXCEPTION_TESTS_long_double): Likewise.
24507 (EXCEPTION_TESTS): Likewise.
24508 * math/libm-test.inc (test_exceptions): Only test exceptions if
24509 EXCEPTION_TESTS (FLOAT).
24511 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24513 * benchtests/Makefile (string-bench): Add strcpy_chk and
24515 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24516 * benchtests/bench-stpcpy_chk.c: New file.
24517 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24518 * benchtests/bench-strcpy_chk.c: New file.
24519 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24521 (do_test): Likewise.
24523 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24525 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24526 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24527 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24528 with tabs where appropriate.
24529 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24531 [PPC_PLATFORM_PPC440]: Likewise.
24532 [PPC_PLATFORM_PPC464]: Likewise.
24533 [PPC_PLATFORM_PPC476]: Likewise.
24534 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24535 ppc464, and ppc476 platform strings merging from ports/
24538 2013-06-11 Andreas Schwab <schwab@suse.de>
24541 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24542 (from_ucs4_idx): Regenerate.
24543 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24544 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24545 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24546 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24547 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24548 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24549 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24550 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24551 from FROM_LOOP and TO_LOOP specific macros.
24552 (BODY): Handle combining characters.
24553 * iconvdata/BIG5HKSCS.irreversible: Update.
24554 * iconvdata/BIG5HKSCS.precomposed: New file.
24555 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24557 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24559 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24561 * include/sys/time.h: Fix indentation and add copyright header.
24563 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24564 (do_test): Likewise.
24565 * string/test-memchr.c (do_one_test): Likewise.
24566 (do_test): Likewise.
24567 * string/test-memcmp.c (do_one_test): Likewise.
24568 (do_test): Likewise.
24569 * string/test-memcpy.c (do_one_test): Likewise.
24570 (do_test): Likewise.
24571 * string/test-memmem.c (do_one_test): Likewise.
24572 (do_test): Likewise.
24573 (do_random_tests): Likewise.
24574 * string/test-memmove.c (do_one_test): Likewise.
24575 (do_test): Likewise.
24576 * string/test-memset.c (do_one_test): Likewise.
24577 (do_test): Likewise.
24578 * string/test-rawmemchr.c (do_one_test): Likewise.
24579 (do_test): Likewise.
24580 * string/test-strcasecmp.c (do_one_test): Likewise.
24581 (do_test): Likewise.
24582 * string/test-strcasestr.c (do_one_test): Likewise.
24583 (do_test): Likewise.
24584 * string/test-strcat.c (do_one_test): Likewise.
24585 (do_test): Likewise.
24586 * string/test-strchr.c (do_one_test): Likewise.
24587 (do_test): Likewise.
24588 * string/test-strcmp.c (do_one_test): Likewise.
24589 (do_test): Likewise.
24590 * string/test-strcpy.c (do_one_test): Likewise.
24591 (do_test): Likewise.
24592 * string/test-string.h: Likewise.
24593 (test_init): Likewise.
24594 * string/test-strlen.c (do_one_test): Likewise.
24595 (do_test): Likewise.
24596 * string/test-strncasecmp.c (do_one_test): Likewise.
24597 (do_test): Likewise.
24598 * string/test-strncat.c (do_one_test): Likewise.
24599 (do_test): Likewise.
24600 * string/test-strncmp.c (do_one_test): Likewise.
24601 (do_test_limit): Likewise.
24602 (do_test): Likewise.
24603 * string/test-strncpy.c (do_one_test): Likewise.
24604 (do_test): Likewise.
24605 * string/test-strnlen.c (do_one_test): Likewise.
24606 (do_test): Likewise.
24607 * string/test-strpbrk.c (do_one_test): Likewise.
24608 (do_test): Likewise.
24609 * string/test-strrchr.c (do_one_test): Likewise.
24610 (do_test): Likewise.
24611 * string/test-strspn.c (do_one_test): Likewise.
24612 (do_test): Likewise.
24613 * string/test-strstr.c (do_one_test): Likewise.
24614 (do_test): Likewise.
24616 * benchtests/Makefile (string-bench): Add string benchmarks.
24617 * benchtests/bench-bcopy-ifunc.c: New file.
24618 * benchtests/bench-bcopy.c: New file.
24619 * benchtests/bench-bzero-ifunc.c: New file.
24620 * benchtests/bench-bzero.c: New file.
24621 * benchtests/bench-memccpy-ifunc.c: New file.
24622 * benchtests/bench-memccpy.c: New file.
24623 * benchtests/bench-memchr-ifunc.c: New file.
24624 * benchtests/bench-memchr.c: New file.
24625 * benchtests/bench-memcmp-ifunc.c: New file.
24626 * benchtests/bench-memcmp.c: New file.
24627 * benchtests/bench-memmem-ifunc.c: New file.
24628 * benchtests/bench-memmem.c: New file.
24629 * benchtests/bench-memmove-ifunc.c: New file.
24630 * benchtests/bench-memmove.c: New file.
24631 * benchtests/bench-mempcpy-ifunc.c: New file.
24632 * benchtests/bench-mempcpy.c: New file.
24633 * benchtests/bench-memset-ifunc.c: New file.
24634 * benchtests/bench-memset.c: New file.
24635 * benchtests/bench-rawmemchr-ifunc.c: New file.
24636 * benchtests/bench-rawmemchr.c: New file.
24637 * benchtests/bench-stpcpy-ifunc.c: New file.
24638 * benchtests/bench-stpcpy.c: New file.
24639 * benchtests/bench-stpncpy-ifunc.c: New file.
24640 * benchtests/bench-stpncpy.c: New file.
24641 * benchtests/bench-strcasecmp-ifunc.c: New file.
24642 * benchtests/bench-strcasecmp.c: New file.
24643 * benchtests/bench-strcasestr-ifunc.c: New file.
24644 * benchtests/bench-strcasestr.c: New file.
24645 * benchtests/bench-strcat-ifunc.c: New file.
24646 * benchtests/bench-strcat.c: New file.
24647 * benchtests/bench-strchr-ifunc.c: New file.
24648 * benchtests/bench-strchr.c: New file.
24649 * benchtests/bench-strchrnul-ifunc.c: New file.
24650 * benchtests/bench-strchrnul.c: New file.
24651 * benchtests/bench-strcmp-ifunc.c: New file.
24652 * benchtests/bench-strcmp.c: New file.
24653 * benchtests/bench-strcpy-ifunc.c: New file.
24654 * benchtests/bench-strcpy.c: New file.
24655 * benchtests/bench-strcspn-ifunc.c: New file.
24656 * benchtests/bench-strcspn.c: New file.
24657 * benchtests/bench-strlen-ifunc.c: New file.
24658 * benchtests/bench-strlen.c: New file.
24659 * benchtests/bench-strncasecmp-ifunc.c: New file.
24660 * benchtests/bench-strncasecmp.c: New file.
24661 * benchtests/bench-strncat-ifunc.c: New file.
24662 * benchtests/bench-strncat.c: New file.
24663 * benchtests/bench-strncmp-ifunc.c: New file.
24664 * benchtests/bench-strncmp.c: New file.
24665 * benchtests/bench-strncpy-ifunc.c: New file.
24666 * benchtests/bench-strncpy.c: New file.
24667 * benchtests/bench-strnlen-ifunc.c: New file.
24668 * benchtests/bench-strnlen.c: New file.
24669 * benchtests/bench-strpbrk-ifunc.c: New file.
24670 * benchtests/bench-strpbrk.c: New file.
24671 * benchtests/bench-strrchr-ifunc.c: New file.
24672 * benchtests/bench-strrchr.c: New file.
24673 * benchtests/bench-strspn-ifunc.c: New file.
24674 * benchtests/bench-strspn.c: New file.
24675 * benchtests/bench-strstr-ifunc.c: New file.
24676 * benchtests/bench-strstr.c: New file.
24678 * benchtests/Makefile: Disable parallel execution of targets.
24679 (string-bench): Add memcpy.
24680 (benchset): New variable to store a list of benchmark sets.
24681 (bench-func): Renamed from bench.
24682 (bench-set): New target.
24683 (bench): Depend on bench-func and bench-set.
24684 * benchtests/README: Add section on benchmark sets.
24685 * benchtests/bench-memcpy-ifunc.c: New file.
24686 * benchtests/bench-memcpy.c: New file.
24687 * benchtests/bench-string.h: New file.
24689 2013-06-11 Andreas Schwab <schwab@suse.de>
24692 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24693 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24694 values in the triple.
24695 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24696 terminator in the group key.
24698 2013-06-11 Andreas Jaeger <aj@suse.de>
24700 * po/zh_TW.po: Update Chinese (traditional) translation from
24701 translation project.
24703 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24705 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24706 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24707 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24708 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24709 (clock_getcpuclockid): Likewise.
24710 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24711 Add weak_alias and libc_hidden_def.
24712 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24713 * rt/clock_gettime.c (clock_gettime): Rename to
24714 __clock_gettime. Add weak_alias and libc_hidden_def.
24715 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24716 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24717 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24718 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24719 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24721 * rt/clock_settime.c (clock_settime): Rename to
24722 __clock_settime. Add weak_alias and libc_hidden_def.
24723 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24725 2013-06-10 Joseph Myers <joseph@codesourcery.com>
24727 * mach/err_boot.sub: Remove trailing whitespace.
24728 * mach/err_ipc.sub: Likewise.
24729 * mach/err_mach.sub: Likewise.
24731 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24732 (ROUNDING_TESTS_double): Likewise.
24733 (ROUNDING_TESTS_long_double): Likewise.
24734 (ROUNDING_TESTS): Likewise.
24735 * math/libm-test.inc: Include <math-tests.h>.
24736 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24737 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24738 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24739 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24741 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24743 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24746 2013-06-08 Joseph Myers <joseph@codesourcery.com>
24748 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24749 otherwise empty TRANS lines.
24750 * sysdeps/gnu/errlist.c: Regenerated.
24752 * catgets/gencat.c (error_print): Use (void) in function
24754 * crypt/crypt_util.c (__init_des): Likewise.
24755 * crypt/speeds.c (Stop): Likewise.
24757 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24758 * inet/ruserpass.c (token): Likewise.
24759 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24760 * intl/localealias.c (extend_alias_table): Likewise.
24761 * intl/plural-exp.c (init_germanic_plural): Likewise.
24762 * libio/fcloseall.c (__fcloseall): Likewise.
24763 * libio/genops.c (_IO_flush_all): Likewise.
24764 (_IO_flush_all_linebuffered): Likewise.
24765 (_IO_cleanup): Likewise.
24766 (_IO_iter_begin): Likewise.
24767 (_IO_iter_end): Likewise.
24768 (_IO_list_lock): Likewise.
24769 (_IO_list_unlock): Likewise.
24770 (_IO_list_resetlock): Likewise.
24771 * libio/getchar.c (getchar): Likewise.
24772 * libio/getchar_u.c (getchar_unlocked): Likewise.
24773 * libio/getwchar.c (getwchar): Likewise.
24774 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24775 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24776 * login/getpt.c (__getpt): Likewise.
24777 * login/tst-utmp.c (main): Likewise.
24778 * malloc/hooks.c (__malloc_check_init): Likewise.
24779 * malloc/malloc.c (__malloc_stats): Likewise.
24780 * malloc/mtrace.c (tr_break): Likewise.
24781 (mtrace): Likewise.
24782 (muntrace): Likewise.
24783 * misc/fstab.c (endfsent): Likewise.
24784 * misc/getclktck.c (__getclktck): Likewise.
24785 * misc/getdtsz.c (__getdtablesize): Likewise.
24786 * misc/gethostid.c (gethostid): Likewise.
24787 * misc/getpagesize.c (__getpagesize): Likewise.
24788 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24789 (__get_nprocs): Likewise.
24790 (__get_phys_pages): Likewise.
24791 (__get_avphys_pages): Likewise.
24792 * misc/getttyent.c (getttyent): Likewise.
24793 (setttyent): Likewise.
24794 (endttyent): Likewise.
24795 * misc/getusershell.c (getusershell): Likewise.
24796 (endusershell): Likewise.
24797 (setusershell): Likewise.
24798 (initshells): Likewise.
24799 * misc/hsearch.c (__hdestroy): Likewise.
24800 * misc/sync.c (sync): Likewise.
24801 * misc/syslog.c (closelog_internal): Likewise.
24802 (closelog): Likewise.
24803 * misc/ttyslot.c (ttyslot): Likewise.
24804 * misc/vhangup.c (vhangup): Likewise.
24805 * posix/fork.c (__fork): Likewise.
24806 * posix/getegid.c (__getegid): Likewise.
24807 * posix/geteuid.c (__geteuid): Likewise.
24808 * posix/getgid.c (__getgid): Likewise.
24809 * posix/getpid.c (__getpid): Likewise.
24810 * posix/getppid.c (__getppid): Likewise.
24811 * posix/getuid.c (__getuid): Likewise.
24812 * posix/pause.c (pause): Likewise.
24813 * posix/setpgrp.c (setpgrp): Likewise.
24814 * posix/setsid.c (__setsid): Likewise.
24815 * posix/test-vfork.c (noop): Likewise.
24816 * resolv/gethnamaddr.c (_endhtent): Likewise.
24817 (_gethtent): Likewise.
24818 (ht_endhostent): Likewise.
24819 (gethostent): Likewise.
24820 (dns_service): Likewise.
24821 * stdlib/drand48.c (drand48): Likewise.
24822 * stdlib/lrand48.c (lrand48): Likewise.
24823 * stdlib/mrand48.c (mrand48): Likewise.
24824 * stdlib/rand.c (rand): Likewise.
24825 * stdlib/random.c (__random): Likewise.
24826 * stdlib/setenv.c (clearenv): Likewise.
24827 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24828 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24829 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24830 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24831 (__get_nprocs): Likewise.
24832 (__get_phys_pages): Likewise.
24833 (__get_avphys_pages): Likewise.
24834 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24835 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24836 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24837 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24838 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24839 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24840 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24841 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24842 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24843 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24844 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24845 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24846 * sysdeps/posix/clock.c (clock): Likewise.
24847 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24848 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24849 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24850 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24851 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24852 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24853 (__get_nprocs_conf): Likewise.
24854 (__get_phys_pages): Likewise.
24855 (__get_avphys_pages): Likewise.
24856 * time/clock.c (clock): Likewise.
24857 * time/tzset.c (__tzname_max): Likewise.
24859 2013-06-07 Joseph Myers <joseph@codesourcery.com>
24861 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24862 (__bswap_32): Do not use "register".
24863 * crypt/crypt.c (_ufc_doit_r): Likewise.
24864 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24865 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24866 * gmon/gmon.c (__monstartup): Likewise.
24867 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24868 * hurd/hurdmalloc.c (more_memory): Likewise.
24869 (malloc): Likewise.
24871 (realloc): Likewise.
24872 (malloc_fork_prepare): Likewise.
24873 (malloc_fork_parent): Likewise.
24874 (malloc_fork_child): Likewise.
24875 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24876 (_svcauth_des): Likewise.
24877 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24878 * inet/inet_net.c (inet_network): Likewise.
24879 * inet/inet_netof.c (inet_netof): Likewise.
24880 * inet/rcmd.c (__validuser2_sa): Likewise.
24881 * io/fts.c (fts_open): Likewise.
24882 (fts_load): Likewise.
24883 (fts_close): Likewise.
24884 (fts_read): Likewise.
24885 (fts_children): Likewise.
24886 (fts_build): Likewise.
24887 (fts_stat): Likewise.
24888 (fts_sort): Likewise.
24889 (fts_alloc): Likewise.
24890 (fts_lfree): Likewise.
24891 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24892 (_IO_file_xsgetn): Likewise.
24893 (_IO_file_xsgetn_mmap): Likewise.
24894 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24895 (_IO_cookie_write): Likewise.
24896 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24897 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24898 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24899 * malloc/obstack.c (_obstack_begin): Likewise.
24900 (_obstack_begin_1): Likewise.
24901 (_obstack_newchunk): Likewise.
24902 (_obstack_allocated_p): Likewise.
24903 (obstack_free): Likewise.
24904 (_obstack_memory_used): Likewise.
24905 * misc/getttyent.c (getttynam): Likewise.
24906 (getttyent): Likewise.
24909 * misc/getusershell.c (initshells): Likewise.
24910 * misc/syslog.c (__vsyslog_chk): Likewise.
24911 * misc/ttyslot.c (ttyslot): Likewise.
24912 * nis/nis_hash.c (__nis_hash): Likewise.
24913 * posix/fnmatch_loop.c (FCT): Likewise.
24914 * posix/getconf.c (print_all): Likewise.
24916 * posix/getopt.c (exchange): Likewise.
24917 * posix/glob.c (globfree): Likewise.
24918 (prefix_array): Likewise.
24919 (__glob_pattern_type): Likewise.
24920 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24921 (NS_GET32): Likewise.
24922 (NS_PUT16): Likewise.
24923 (NS_PUT32): Likewise.
24924 * resolv/gethnamaddr.c (getanswer): Likewise.
24925 (gethostbyname2): Likewise.
24926 (gethostbyaddr): Likewise.
24927 (_gethtent): Likewise.
24928 (_gethtbyname2): Likewise.
24929 (_gethtbyaddr): Likewise.
24930 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24931 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24932 * resolv/res_init.c (__res_vinit): Likewise.
24933 (net_mask): Likewise.
24934 * resolv/res_mkquery.c (outchar): Likewise.
24936 * stdio-common/printf_fp.c (outchar): Likewise.
24938 * stdio-common/printf_fphex.c (outchar): Likewise.
24940 * stdio-common/printf_size.c (outchar): Likewise.
24942 * stdio-common/test_rdwr.c (main): Likewise.
24943 * stdio-common/tfformat.c (matches): Likewise.
24944 * stdio-common/vfprintf.c (outchar): Likewise.
24945 (printf_unknown): Likewise.
24946 (buffered_vfprintf): Likewise.
24947 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24948 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24949 (ReadFile): Likewise.
24950 * stdlib/qsort.c (SWAP): Likewise.
24951 (_quicksort): Likewise.
24952 * stdlib/setenv.c (__add_to_environ): Likewise.
24953 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24954 * stdlib/strtol_l.c (__strtol_l): Likewise.
24955 * stdlib/tst-strtod.c (main): Likewise.
24956 * stdlib/tst-strtol.c (main): Likewise.
24957 * stdlib/tst-strtoll.c (main): Likewise.
24958 * string/bits/string2.h (__strcmp_cc): Likewise.
24959 (__strcmp_cg): Likewise.
24960 (__strcspn_c1): Likewise.
24961 (__strcspn_c2): Likewise.
24962 (__strcspn_c3): Likewise.
24963 (__strspn_c1): Likewise.
24964 (__strspn_c2): Likewise.
24965 (__strspn_c3): Likewise.
24966 (__strsep_1c): Likewise.
24967 (__strsep_2c): Likewise.
24968 (__strsep_3c): Likewise.
24969 * string/memccpy.c (__memccpy): Likewise.
24970 * string/stpcpy.c (__stpcpy): Likewise.
24971 * string/strcmp.c (strcmp): Likewise.
24972 * string/strrchr.c (strrchr): Likewise.
24973 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24975 * sysdeps/mach/hurd/getcwd.c
24976 (_hurd_canonicalize_directory_name_internal): Likewise.
24977 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24978 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24979 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24980 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24981 Likewise, in both definitions.
24982 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24984 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24985 64] (__bswap_64): Likewise.
24986 * time/test_time.c (main): Likewise.
24987 * time/tzfile.c (__tzfile_read): Likewise.
24988 (__tzfile_compute): Likewise.
24989 * time/tzset.c (__tzset_parse_tz): Likewise.
24990 (tzset_internal): Likewise.
24991 (compute_change): Likewise.
24992 * wcsmbs/wcscat.c (__wcscat): Likewise.
24993 * wcsmbs/wcschr.c (wcschr): Likewise.
24994 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24995 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24996 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24997 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24998 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24999 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25000 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25001 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25002 * wcsmbs/wmemset.c (wmemset): Likewise.
25004 2013-06-06 Joseph Myers <joseph@codesourcery.com>
25006 * scripts/config.guess: Update to version 2013-05-16.
25007 * scripts/config.sub: Update to version 2013-04-24.
25008 * scripts/install-sh: Update to version 2011-11-20.07.
25009 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25010 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25012 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
25014 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25015 * elf/sln.c: Likewise.
25016 * hurd/hurd/ioctl.h: Likewise.
25017 * hurd/hurdmalloc.c: Likewise.
25018 * hurd/xattr.c: Likewise.
25019 * include/shlib-compat.h: Likewise.
25020 * inet/ruserpass.c: Likewise.
25021 * libio/iofgets_u.c: Likewise.
25022 * libio/iofgetws_u.c: Likewise.
25023 * locale/programs/ld-identification.c: Likewise.
25024 * locale/programs/ld-time.c: Likewise.
25025 * mach/msg-destroy.c: Likewise.
25026 * nss/nss_files/files-netgrp.c: Likewise.
25027 * resolv/res_data.c: Likewise.
25028 * soft-fp/op-1.h: Likewise.
25029 * soft-fp/op-2.h: Likewise.
25030 * soft-fp/op-4.h: Likewise.
25031 * soft-fp/op-common.h: Likewise.
25032 * stdio-common/printf_fphex.c: Likewise.
25033 * stdlib/strtod_l.c: Likewise.
25034 * sunrpc/rpc/clnt.h: Likewise.
25035 * sysdeps/generic/framestate.c: Likewise.
25036 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25037 * sysdeps/i386/bsd-setjmp.S: Likewise.
25038 * sysdeps/i386/__longjmp.S: Likewise.
25039 * sysdeps/i386/setjmp.S: Likewise.
25040 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25041 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25042 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25043 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25044 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25045 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25046 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25047 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25048 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25049 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25050 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25051 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25052 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25053 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25054 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25055 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25056 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25057 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25058 * sysdeps/ieee754/support.c: Likewise.
25059 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25060 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25061 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25062 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25063 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25064 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25065 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25066 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25067 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25068 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25069 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25070 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25071 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25072 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25073 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25074 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25075 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25078 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
25080 * posix/transbug.c: Remove executable mode.
25082 2013-06-05 Joseph Myers <joseph@codesourcery.com>
25084 * crypt/speeds.c: Remove trailing whitespace.
25085 * dlfcn/default.c: Likewise.
25086 * elf/ifuncdep2.c: Likewise.
25087 * elf/ifuncmain1.c: Likewise.
25088 * elf/ifuncmain1vis.c: Likewise.
25089 * elf/testobj.h: Likewise.
25090 * elf/tst-stackguard1.c: Likewise.
25091 * gmon/sys/gmon.h: Likewise.
25092 * hurd/hurdmsg.c: Likewise.
25093 * hurd/new-fd.c: Likewise.
25094 * hurd/ports-get.c: Likewise.
25095 * iconvdata/ibm1008_420.c: Likewise.
25096 * inet/tst-getni1.c: Likewise.
25097 * inet/tst-getni2.c: Likewise.
25098 * libio/ioungetc.c: Likewise.
25099 * libio/wfiledoalloc.c: Likewise.
25100 * manual/libm-err-tab.pl: Likewise.
25101 * math/w_dremf.c: Likewise.
25102 * misc/ftruncate.c: Likewise.
25103 * posix/bug-glob2.c: Likewise.
25104 * posix/tst-pcre.c: Likewise.
25105 * posix/wait4.c: Likewise.
25106 * resolv/README: Likewise.
25107 * resolv/res_debug.h: Likewise.
25108 * resolv/tst-inet_ntop.c: Likewise.
25109 * setjmp/bug269-setjmp.c: Likewise.
25110 * soft-fp/extended.h: Likewise.
25111 * soft-fp/op-1.h: Likewise.
25112 * soft-fp/op-2.h: Likewise.
25113 * soft-fp/op-4.h: Likewise.
25114 * soft-fp/op-8.h: Likewise.
25115 * soft-fp/testit.c: Likewise.
25116 * stdio-common/bug16.c: Likewise.
25117 * stdlib/random.c: Likewise.
25118 * sunrpc/rpcsvc/rquota.x: Likewise.
25119 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25120 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25121 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25122 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25123 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25124 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25125 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25126 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25127 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25128 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25129 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25130 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25131 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25132 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25133 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25134 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25135 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25136 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25137 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25138 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25139 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25140 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25141 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25142 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25143 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25144 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25145 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25146 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25147 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25148 * sysdeps/ieee754/s_lib_version.c: Likewise.
25149 * sysdeps/mach/hurd/check_fds.c: Likewise.
25150 * sysdeps/mach/hurd/getsockname.c: Likewise.
25151 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25152 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25153 * sysdeps/powerpc/bits/link.h: Likewise.
25154 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25155 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25156 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25157 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25158 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25159 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25160 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25161 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25162 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25163 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25164 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25165 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25166 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25167 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25168 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25169 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25170 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25171 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25172 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25173 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25174 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25175 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25176 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25177 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25178 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25179 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25180 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25181 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25182 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25183 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25184 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25185 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25186 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25187 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25188 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25189 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25190 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25191 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25192 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25193 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25194 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25195 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25196 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25197 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25198 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25199 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25200 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25201 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25202 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25203 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25204 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25205 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25206 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25207 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25208 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25209 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25210 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25211 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25212 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25213 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25214 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25215 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25216 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25217 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25218 * sysdeps/powerpc/sysdep.h: Likewise.
25219 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25220 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25221 * sysdeps/sh/dl-trampoline.S: Likewise.
25222 * sysdeps/sh/memset.S: Likewise.
25223 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25224 * sysdeps/sh/strlen.S: Likewise.
25225 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25226 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25227 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25228 * sysdeps/sparc/sparc32/rem.S: Likewise.
25229 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25230 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25231 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25232 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25233 * sysdeps/sparc/sparc32/urem.S: Likewise.
25234 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25235 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25236 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25237 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25238 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25239 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25240 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25241 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25242 * sysdeps/unix/bsd/times.c: Likewise.
25243 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25244 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25248 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25249 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25250 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25251 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25252 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25253 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25254 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25255 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25256 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25257 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25258 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25259 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25260 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25261 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25262 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25263 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25264 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25265 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25266 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25267 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25268 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25269 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25270 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25271 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25272 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25273 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25274 * sysdeps/x86_64/strcspn.S: Likewise.
25276 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25278 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25279 generated file. Regenerate properly from gen-translit.pl.
25280 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25281 locale/C-translit.h.
25283 2013-06-05 Andreas Schwab <schwab@suse.de>
25286 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25287 week as 6 instead of -1.
25288 * time/tst-strptime.c (day_tests): Add test case.
25290 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25292 * sysdeps/generic/math_private.h
25293 (libc_feholdexcept_setround_53bit): Replace with
25294 libc_feholdsetround_53bit.
25295 (libc_feupdateenv_53bit): Replace with
25296 libc_feresetround_53bit.
25297 (SET_RESTORE_ROUND_53BIT): Adjust.
25299 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25301 * string/test-strchrnul.c: Add copyright header.
25303 * posix/tst-getaddrinfo4.c: Increase test timeout.
25305 2013-06-03 Carlos O'Donell <carlos@redhat.com>
25308 * math/libm-test.inc (MAX_EXP): Remove
25310 (ulp): Use MIN_EXP - MANT_DIG.
25311 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25313 2013-05-31 Carlos O'Donell <carlos@redhat.com>
25315 * po/be.po: Revert last change.
25316 * po/zh_CN.po: Likewise.
25317 * po/header.pot: Likewise.
25319 2013-05-31 Joseph Myers <joseph@codesourcery.com>
25321 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25322 link-libc-deps to empty as target-specific variable.
25323 * Makerules (link-libc-args): New variable.
25324 (libc-for-link): Likewise.
25325 (link-libc-deps): Likewise.
25326 (lib%.so): Depend on $(link-libc-deps). Link with
25328 (build-module): Link with $(link-libc-args).
25329 (build-module-asneeded): Likewise.
25330 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25332 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25333 target-specific variable.
25334 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25335 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25336 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25338 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25340 ($(objpfx)libpcprofile.so): Likewise.
25341 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25343 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25344 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25345 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25347 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25348 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25349 * login/Makefile ($(objpfx)libutil.so): Likewise.
25350 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25351 * math/Makefile ($(objpfx)libm.so): Likewise.
25352 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25353 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25354 variable instead of depending directly on libc.
25355 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25356 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25358 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25360 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25361 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25362 ($(objpfx)libanl.so): Likewise.
25363 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25365 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25367 * sysdeps/i386/fpu/Makefile: Remove file.
25368 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25369 ($(objpfx)libm.so): Remove dependency on ld.so.
25371 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
25374 * nis/yp_xdr.c (XDRMAXNAME): Define.
25375 (XDRMAXRECORD): Define.
25376 (xdr_domainname): Use XDRMAXNAME.
25377 (xdr_mapname): Likewise.
25378 (xdr_peername): Likewise.
25379 (xdr_keydat): Use XDRMAXRECORD.
25380 (xdr_valdat): Likewise.
25382 2013-05-30 Jeff Law <law@redhat.com>
25385 * manual/errno.texi (ESTALE): Update to account for more than
25386 just NFS file systems.
25387 * sysdeps/gnu/errlist.c: Regenerated.
25389 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25392 * elf/Makefile (tests): Add tst-null-argv.
25393 (modules-names): Add tst-null-argv-lib.
25394 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25395 (tst-null-argv-ENV): Set environment for tst-null-argv.
25396 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25397 (RTLD_PROGNAME): New macro.
25398 * elf/tst-null-argv.c: New test case.
25399 * elf/tst-null-argv-lib.c: Library for test case.
25400 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25401 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25402 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25403 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25404 * elf/dl-init.c (call_init): Likewise.
25405 (_dl_init): Likewise.
25406 * elf/dl-load.c (print_search_path): Likewise.
25407 (_dl_map_object): Likewise.
25408 * elf/dl-lookup.c (do_lookup_x): Likewise.
25409 (add_dependency): Likewise.
25410 (_dl_lookup_symbol_x): Likewise.
25411 (_dl_debug_bindings): Likewise.
25412 * elf/dl-open.c (_dl_show_scope): Likewise.
25413 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25414 * elf/dl-version.c (match_symbol): Likewise.
25415 (_dl_check_map_versions): Likewise.
25416 * elf/rtld.c (dl_main): Likewise.
25417 (print_unresolved): Use RTLD_PROGNAME.
25418 (print_missing_version): Likewise.
25419 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25420 (elf_machine_rela): Likewise.
25421 * sysdeps/powerpc/powerpc32/dl-machine.c
25422 (__process_machine_rela): Likewise.
25423 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25425 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25427 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25429 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25430 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25432 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25434 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25436 2013-05-28 Carlos O'Donell <carlos@redhat.com>
25438 * po/be.po: Add descriptive title.
25439 * po/zh_CN.po: Likewise.
25440 * po/header.pot: Likewise.
25442 2013-05-28 Mike Frysinger <vapier@gentoo.org>
25444 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25446 (enlarge_archive): Likewise.
25448 2013-05-28 Ben North <ben@redfrontdoor.org>
25450 * manual/arith.texi (frexp): It is the magnitude of the return
25451 value which lies in [0.5, 1), not the return value itself.
25453 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25457 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25459 * stdio-common/bug26.c (main): Correct fscanf template.
25461 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25462 declare _dl_skip_args.
25464 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25467 * manual/platform.texi: Add missing @end deftypefun.
25469 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25472 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25473 bit of mantissa of 2^16382.
25474 * math/libm-test.inc (hypot_test_data): Add more tests.
25476 * math/libm-test.inc: Add drem and pow10 to list of tested
25478 (pow10_test): New function.
25479 (drem_test): Likewise.
25480 (drem_test_tonearest): Likewise.
25481 (drem_test_towardzero): Likewise.
25482 (drem_test_downward): Likewise.
25483 (drem_test_upward): Likewise.
25484 (main): Call the new functions.
25486 * math/libm-test.inc (finite_test_data): Remove.
25487 (finite_test): Run tests from isfinite_test_data.
25488 (gamma_test_data): Remove.
25489 (gamma_test): Run tests from lgamma_test_data.
25490 * sysdeps/i386/fpu/libm-test-ulps: Update.
25491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25493 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25495 * manual/platform.texi: Add PowerPC PPR function set documentation.
25496 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25499 2013-05-24 Carlos O'Donell <carlos@redhat.com>
25501 * math/libm-test.inc (MAX_EXP): Define.
25503 (ulp): New function.
25504 (check_float_internal): Use ULPDIFF.
25505 (cpow_test): Disable failing test.
25506 (check_ulp): Test ulp() implemetnation.
25507 (main): Call check_ulp before starting tests.
25509 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25511 * math/gen-libm-test.pl (generate_testfile): Do not handle
25512 START_DATA and END_DATA.
25513 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25515 (acos_tonearest_test_data): Likewise.
25516 (acos_towardzero_test_data): Likewise.
25517 (acos_downward_test_data): Likewise.
25518 (acos_upward_test_data): Likewise.
25519 (acosh_test_data): Likewise.
25520 (asin_test_data): Likewise.
25521 (asin_tonearest_test_data): Likewise.
25522 (asin_towardzero_test_data): Likewise.
25523 (asin_downward_test_data): Likewise.
25524 (asin_upward_test_data): Likewise.
25525 (asinh_test_data): Likewise.
25526 (atan_test_data): Likewise.
25527 (atanh_test_data): Likewise.
25528 (atan2_test_data): Likewise.
25529 (cabs_test_data): Likewise.
25530 (cacos_test_data): Likewise.
25531 (cacosh_test_data): Likewise.
25532 (carg_test_data): Likewise.
25533 (casin_test_data): Likewise.
25534 (casinh_test_data): Likewise.
25535 (catan_test_data): Likewise.
25536 (catanh_test_data): Likewise.
25537 (cbrt_test_data): Likewise.
25538 (ccos_test_data): Likewise.
25539 (ccosh_test_data): Likewise.
25540 (ceil_test_data): Likewise.
25541 (cexp_test_data): Likewise.
25542 (cimag_test_data): Likewise.
25543 (clog_test_data): Likewise.
25544 (clog10_test_data): Likewise.
25545 (conj_test_data): Likewise.
25546 (copysign_test_data): Likewise.
25547 (cos_test_data): Likewise.
25548 (cos_tonearest_test_data): Likewise.
25549 (cos_towardzero_test_data): Likewise.
25550 (cos_downward_test_data): Likewise.
25551 (cos_upward_test_data): Likewise.
25552 (cosh_test_data): Likewise.
25553 (cosh_tonearest_test_data): Likewise.
25554 (cosh_towardzero_test_data): Likewise.
25555 (cosh_downward_test_data): Likewise.
25556 (cosh_upward_test_data): Likewise.
25557 (cpow_test_data): Likewise.
25558 (cproj_test_data): Likewise.
25559 (creal_test_data): Likewise.
25560 (csin_test_data): Likewise.
25561 (csinh_test_data): Likewise.
25562 (csqrt_test_data): Likewise.
25563 (ctan_test_data): Likewise.
25564 (ctan_tonearest_test_data): Likewise.
25565 (ctan_towardzero_test_data): Likewise.
25566 (ctan_downward_test_data): Likewise.
25567 (ctan_upward_test_data): Likewise.
25568 (ctanh_test_data): Likewise.
25569 (ctanh_tonearest_test_data): Likewise.
25570 (ctanh_towardzero_test_data): Likewise.
25571 (ctanh_downward_test_data): Likewise.
25572 (ctanh_upward_test_data): Likewise.
25573 (erf_test_data): Likewise.
25574 (erfc_test_data): Likewise.
25575 (exp_test_data): Likewise.
25576 (exp_tonearest_test_data): Likewise.
25577 (exp_towardzero_test_data): Likewise.
25578 (exp_downward_test_data): Likewise.
25579 (exp_upward_test_data): Likewise.
25580 (exp10_test_data): Likewise.
25581 (exp2_test_data): Likewise.
25582 (expm1_test_data): Likewise.
25583 (fabs_test_data): Likewise.
25584 (fdim_test_data): Likewise.
25585 (finite_test_data): Likewise.
25586 (floor_test_data): Likewise.
25587 (fma_test_data): Likewise.
25588 (fma_towardzero_test_data): Likewise.
25589 (fma_downward_test_data): Likewise.
25590 (fma_upward_test_data): Likewise.
25591 (fmax_test_data): Likewise.
25592 (fmin_test_data): Likewise.
25593 (fmod_test_data): Likewise.
25594 (fpclassify_test_data): Likewise.
25595 (frexp_test_data): Likewise.
25596 (gamma_test_data): Likewise.
25597 (hypot_test_data): Likewise.
25598 (ilogb_test_data): Likewise.
25599 (isfinite_test_data): Likewise.
25600 (isgreater_test_data): Likewise.
25601 (isgreaterequal_test_data): Likewise.
25602 (isinf_test_data): Likewise.
25603 (isless_test_data): Likewise.
25604 (islessequal_test_data): Likewise.
25605 (islessgreater_test_data): Likewise.
25606 (isnan_test_data): Likewise.
25607 (isnormal_test_data): Likewise.
25608 (issignaling_test_data): Likewise.
25609 (isunordered_test_data): Likewise.
25610 (j0_test_data): Likewise.
25611 (j1_test_data): Likewise.
25612 (jn_test_data): Likewise.
25613 (ldexp_test_data): Likewise.
25614 (lgamma_test_data): Likewise.
25615 (lrint_test_data): Likewise.
25616 (lrint_tonearest_test_data): Likewise.
25617 (lrint_towardzero_test_data): Likewise.
25618 (lrint_downward_test_data): Likewise.
25619 (lrint_upward_test_data): Likewise.
25620 (llrint_test_data): Likewise.
25621 (llrint_tonearest_test_data): Likewise.
25622 (llrint_towardzero_test_data): Likewise.
25623 (llrint_downward_test_data): Likewise.
25624 (llrint_upward_test_data): Likewise.
25625 (log_test_data): Likewise.
25626 (log10_test_data): Likewise.
25627 (log1p_test_data): Likewise.
25628 (log2_test_data): Likewise.
25629 (logb_test_data): Likewise.
25630 (logb_downward_test_data): Likewise.
25631 (lround_test_data): Likewise.
25632 (llround_test_data): Likewise.
25633 (modf_test_data): Likewise.
25634 (nearbyint_test_data): Likewise.
25635 (nextafter_test_data): Likewise.
25636 (nexttoward_test_data): Likewise.
25637 (pow_test_data): Likewise.
25638 (pow_tonearest_test_data): Likewise.
25639 (pow_towardzero_test_data): Likewise.
25640 (pow_downward_test_data): Likewise.
25641 (pow_upward_test_data): Likewise.
25642 (remainder_test_data): Likewise.
25643 (remainder_tonearest_test_data): Likewise.
25644 (remainder_towardzero_test_data): Likewise.
25645 (remainder_downward_test_data): Likewise.
25646 (remainder_upward_test_data): Likewise.
25647 (remquo_test_data): Likewise.
25648 (rint_test_data): Likewise.
25649 (rint_tonearest_test_data): Likewise.
25650 (rint_towardzero_test_data): Likewise.
25651 (rint_downward_test_data): Likewise.
25652 (rint_upward_test_data): Likewise.
25653 (round_test_data): Likewise.
25654 (scalb_test_data): Likewise.
25655 (scalbn_test_data): Likewise.
25656 (scalbln_test_data): Likewise.
25657 (signbit_test_data): Likewise.
25658 (sin_test_data): Likewise.
25659 (sin_tonearest_test_data): Likewise.
25660 (sin_towardzero_test_data): Likewise.
25661 (sin_downward_test_data): Likewise.
25662 (sin_upward_test_data): Likewise.
25663 (sincos_test_data): Likewise.
25664 (sinh_test_data): Likewise.
25665 (sinh_tonearest_test_data): Likewise.
25666 (sinh_towardzero_test_data): Likewise.
25667 (sinh_downward_test_data): Likewise.
25668 (sinh_upward_test_data): Likewise.
25669 (sqrt_test_data): Likewise.
25670 (tan_test_data): Likewise.
25671 (tan_tonearest_test_data): Likewise.
25672 (tan_towardzero_test_data): Likewise.
25673 (tan_downward_test_data): Likewise.
25674 (tan_upward_test_data): Likewise.
25675 (tanh_test_data): Likewise.
25676 (tgamma_test_data): Likewise.
25677 (trunc_test_data): Likewise.
25678 (y0_test_data): Likewise.
25679 (y1_test_data): Likewise.
25680 (yn_test_data): Likewise.
25681 (significand_test_data): Likewise.
25683 * math/gen-libm-test.pl (@functions): Remove variable.
25684 (generate_testfile): Don't handle START and END lines.
25685 * math/libm-test.inc (START): New macro.
25687 (END_COMPLEX): Likewise.
25688 (acos_test): Use END macro without arguments.
25689 (acos_test_tonearest): Likewise.
25690 (acos_test_towardzero): Likewise.
25691 (acos_test_downward): Likewise.
25692 (acos_test_upward): Likewise.
25693 (acosh_test): Likewise.
25694 (asin_test): Likewise.
25695 (asin_test_tonearest): Likewise.
25696 (asin_test_towardzero): Likewise.
25697 (asin_test_downward): Likewise.
25698 (asin_test_upward): Likewise.
25699 (asinh_test): Likewise.
25700 (atan_test): Likewise.
25701 (atanh_test): Likewise.
25702 (atan2_test): Likewise.
25703 (cabs_test): Likewise.
25704 (cacos_test): Use END_COMPLEX macro without arguments.
25705 (cacosh_test): Likewise.
25706 (carg_test): Use END macro without arguments.
25707 (casin_test): Use END_COMPLEX macro without arguments.
25708 (casinh_test): Likewise.
25709 (catan_test): Likewise.
25710 (catanh_test): Likewise.
25711 (cbrt_test): Use END macro without arguments.
25712 (ccos_test): Use END_COMPLEX macro without arguments.
25713 (ccosh_test): Likewise.
25714 (ceil_test): Use END macro without arguments.
25715 (cexp_test): Use END_COMPLEX macro without arguments.
25716 (cimag_test): Use END macro without arguments.
25717 (clog_test): Use END_COMPLEX macro without arguments.
25718 (clog10_test): Likewise.
25719 (conj_test): Likewise.
25720 (copysign_test): Use END macro without arguments.
25721 (cos_test): Likewise.
25722 (cos_test_tonearest): Likewise.
25723 (cos_test_towardzero): Likewise.
25724 (cos_test_downward): Likewise.
25725 (cos_test_upward): Likewise.
25726 (cosh_test): Likewise.
25727 (cosh_test_tonearest): Likewise.
25728 (cosh_test_towardzero): Likewise.
25729 (cosh_test_downward): Likewise.
25730 (cosh_test_upward): Likewise.
25731 (cpow_test): Use END_COMPLEX macro without arguments.
25732 (cproj_test): Likewise.
25733 (creal_test): Use END macro without arguments.
25734 (csin_test): Use END_COMPLEX macro without arguments.
25735 (csinh_test): Likewise.
25736 (csqrt_test): Likewise.
25737 (ctan_test): Likewise.
25738 (ctan_test_tonearest): Likewise.
25739 (ctan_test_towardzero): Likewise.
25740 (ctan_test_downward): Likewise.
25741 (ctan_test_upward): Likewise.
25742 (ctanh_test): Likewise.
25743 (ctanh_test_tonearest): Likewise.
25744 (ctanh_test_towardzero): Likewise.
25745 (ctanh_test_downward): Likewise.
25746 (ctanh_test_upward): Likewise.
25747 (erf_test): Use END macro without arguments.
25748 (erfc_test): Likewise.
25749 (exp_test): Likewise.
25750 (exp_test_tonearest): Likewise.
25751 (exp_test_towardzero): Likewise.
25752 (exp_test_downward): Likewise.
25753 (exp_test_upward): Likewise.
25754 (exp10_test): Likewise.
25755 (exp2_test): Likewise.
25756 (expm1_test): Likewise.
25757 (fabs_test): Likewise.
25758 (fdim_test): Likewise.
25759 (finite_test): Likewise.
25760 (floor_test): Likewise.
25761 (fma_test): Likewise.
25762 (fma_test_towardzero): Likewise.
25763 (fma_test_downward): Likewise.
25764 (fma_test_upward): Likewise.
25765 (fmax_test): Likewise.
25766 (fmin_test): Likewise.
25767 (fmod_test): Likewise.
25768 (fpclassify_test): Likewise.
25769 (frexp_test): Likewise.
25770 (gamma_test): Likewise.
25771 (hypot_test): Likewise.
25772 (ilogb_test): Likewise.
25773 (isfinite_test): Likewise.
25774 (isgreater_test): Likewise.
25775 (isgreaterequal_test): Likewise.
25776 (isinf_test): Likewise.
25777 (isless_test): Likewise.
25778 (islessequal_test): Likewise.
25779 (islessgreater_test): Likewise.
25780 (isnan_test): Likewise.
25781 (isnormal_test): Likewise.
25782 (issignaling_test): Likewise.
25783 (isunordered_test): Likewise.
25784 (j0_test): Likewise.
25785 (j1_test): Likewise.
25786 (jn_test): Likewise.
25787 (ldexp_test): Likewise.
25788 (lgamma_test): Likewise.
25789 (lrint_test): Likewise.
25790 (lrint_test_tonearest): Likewise.
25791 (lrint_test_towardzero): Likewise.
25792 (lrint_test_downward): Likewise.
25793 (lrint_test_upward): Likewise.
25794 (llrint_test): Likewise.
25795 (llrint_test_tonearest): Likewise.
25796 (llrint_test_towardzero): Likewise.
25797 (llrint_test_downward): Likewise.
25798 (llrint_test_upward): Likewise.
25799 (log_test): Likewise.
25800 (log10_test): Likewise.
25801 (log1p_test): Likewise.
25802 (log2_test): Likewise.
25803 (logb_test): Likewise.
25804 (logb_test_downward): Likewise.
25805 (lround_test): Likewise.
25806 (llround_test): Likewise.
25807 (modf_test): Likewise.
25808 (nearbyint_test): Likewise.
25809 (nextafter_test): Likewise.
25810 (nexttoward_test): Likewise.
25811 (pow_test): Likewise.
25812 (pow_test_tonearest): Likewise.
25813 (pow_test_towardzero): Likewise.
25814 (pow_test_downward): Likewise.
25815 (pow_test_upward): Likewise.
25816 (remainder_test): Likewise.
25817 (remainder_test_tonearest): Likewise.
25818 (remainder_test_towardzero): Likewise.
25819 (remainder_test_downward): Likewise.
25820 (remainder_test_upward): Likewise.
25821 (remquo_test): Likewise.
25822 (rint_test): Likewise.
25823 (rint_test_tonearest): Likewise.
25824 (rint_test_towardzero): Likewise.
25825 (rint_test_downward): Likewise.
25826 (rint_test_upward): Likewise.
25827 (round_test): Likewise.
25828 (scalb_test): Likewise.
25829 (scalbn_test): Likewise.
25830 (scalbln_test): Likewise.
25831 (signbit_test): Likewise.
25832 (sin_test): Likewise.
25833 (sin_test_tonearest): Likewise.
25834 (sin_test_towardzero): Likewise.
25835 (sin_test_downward): Likewise.
25836 (sin_test_upward): Likewise.
25837 (sincos_test): Likewise.
25838 (sinh_test): Likewise.
25839 (sinh_test_tonearest): Likewise.
25840 (sinh_test_towardzero): Likewise.
25841 (sinh_test_downward): Likewise.
25842 (sinh_test_upward): Likewise.
25843 (sqrt_test): Likewise.
25844 (tan_test): Likewise.
25845 (tan_test_tonearest): Likewise.
25846 (tan_test_towardzero): Likewise.
25847 (tan_test_downward): Likewise.
25848 (tan_test_upward): Likewise.
25849 (tanh_test): Likewise.
25850 (tgamma_test): Likewise.
25851 (trunc_test): Likewise.
25852 (y0_test): Likewise.
25853 (y1_test): Likewise.
25854 (yn_test): Likewise.
25855 (significand_test): Likewise.
25857 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
25860 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25862 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25865 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25866 __ppc_mdoio and __ppc_mdoom.
25867 * manual/platform.texi: Document new functions __ppc_yield,
25868 __ppc_mdoio and __ppc_mdoom.
25870 2013-05-22 Carlos O'Donell <carlos@redhat.com>
25872 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25873 (main): Mention "tls" pseudo-hwcap is legacy.
25874 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25876 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25878 * math/gen-libm-test.pl (parse_args): Output only string of
25879 arguments as text for test name, not full call or descriptions of
25880 tests for extra outputs.
25881 (generate_testfile): Do not pass function name to parse_args.
25882 Generate this_func variable from START.
25883 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25885 (struct test_ff_f_data): Likewise.
25886 (test_ff_f_data_nexttoward): Likewise.
25887 (struct test_fi_f_data): Likewise.
25888 (struct test_fl_f_data): Likewise.
25889 (struct test_if_f_data): Likewise.
25890 (struct test_fff_f_data): Likewise.
25891 (struct test_c_f_data): Likewise.
25892 (struct test_f_f1_data): Likewise. Remove field extra_name.
25893 (struct test_fF_f1_data): Likewise.
25894 (struct test_ffI_f1_data): Likewise.
25895 (struct test_c_c_data): Rename test_name field to arg_str.
25896 (struct test_cc_c_data): Likewise.
25897 (struct test_f_i_data): Likewise.
25898 (struct test_ff_i_data): Likewise.
25899 (struct test_f_l_data): Likewise.
25900 (struct test_f_L_data): Likewise.
25901 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25903 (COMMON_TEST_SETUP): New macro.
25904 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25905 (COMMON_TEST_CLEANUP): Likewise.
25906 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25907 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25909 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25910 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25912 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25913 (RUN_TEST_fff_f): Take argument string. Call new setup and
25915 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25916 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25918 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25919 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25921 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25922 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25924 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25925 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25927 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25928 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25930 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25931 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25933 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25934 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25936 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25937 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25939 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25940 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25942 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25943 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25945 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25946 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25948 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25949 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25951 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25952 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25954 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25955 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25957 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25958 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25960 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25962 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25964 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25965 to _sifields.sigfault.
25966 (si_addr_lsb): Define new macro.
25967 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25968 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25969 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25971 2013-05-03 Carlos O'Donell <carlos at redhat.com>
25974 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25976 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25978 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25979 loading the domain.
25981 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25983 * math/gen-libm-test.pl (parse_args): Do not include expected
25984 result in test name.
25985 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25986 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25987 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25988 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25989 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25992 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25994 * benchtests/Makefile: Sort function entries.
25996 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25997 tanh, asinh, acosh, atanh.
25998 * benchtests/acos-inputs: New file.
25999 * benchtests/acosh-inputs: New file.
26000 * benchtests/asin-inputs: New file.
26001 * benchtests/asinh-inputs: New file.
26002 * benchtests/atanh-inputs: New file.
26003 * benchtests/cosh-inputs: New file.
26004 * benchtests/log-inputs: New file.
26005 * benchtests/sinh-inputs: New file.
26006 * benchtests/tanh-inputs: New file.
26008 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26011 * posix/tst-getaddrinfo4.c: New test.
26012 * posix/Makefile (tests): Add it.
26014 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26017 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26018 when no services were used.
26019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26020 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26022 2013-05-21 Andreas Schwab <schwab@suse.de>
26025 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26026 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26028 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26029 redundant variable declarations and reallocation of buffer when
26030 parsing as IPv6 address. Always set NSS status when called from
26031 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26032 buffer too small. Correct computation of needed size.
26033 * nss/Makefile (tests): Add test-digits-dots.
26034 * nss/test-digits-dots.c: New test.
26036 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26038 * benchtests/Makefile: Remove instructions for adding
26040 * benchtests/README: New file to explain how to execute and
26041 enhance the benchmark tests.
26043 2013-05-21 Andreas Schwab <schwab@suse.de>
26046 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26047 * setjmp/tst-sigsetjmp.c: New test.
26049 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26051 * sysdeps/x86_64/memset.S (memset): New implementation.
26052 (__bzero): Likewise.
26053 (__memset_tail): New function.
26055 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26057 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26058 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26059 __memcpy_sse2_unaligned ifunc selection.
26060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26061 Add memcpy-sse2-unaligned.S.
26062 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26063 Add: __memcpy_sse2_unaligned.
26065 2013-05-19 Joseph Myers <joseph@codesourcery.com>
26068 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26069 math_force_eval before restoring floating-point envrionment.
26070 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26071 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26073 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26075 (__nearbyintl): Use math_force_eval before restoring
26076 floating-point environment.
26077 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26079 * math/gen-libm-test.pl (special_functions): Remove.
26080 (parse_args): Don't handle TEST_extra. Handle functions with no
26082 * math/libm-test.inc (struct test_sincos_data): Replace with
26083 struct test_fFF_11_data.
26084 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26085 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26086 (sincos_test_data): Change element type to struct
26087 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26088 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26089 RUN_TEST_LOOP_sincos.
26090 * math/README.libm-test: Don't mention special handling of
26091 individual functions.
26092 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26093 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26094 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26095 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26096 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26099 * math/gen-libm-test.pl (get_variable): Remove function.
26100 (parse_args): Don't show pointer parameters to call in test
26101 names. Use "extra output N" in test names for extra outputs
26102 rather than naming variables.
26104 2013-05-18 Joseph Myers <joseph@codesourcery.com>
26107 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26108 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26109 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26111 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26113 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26116 * math/gen-libm-test.pl (@tests): Remove variable.
26117 ($count): Likewise.
26118 (new_test): Remove function.
26119 (show_exceptions): New function.
26120 (special_functions): Use show_exceptions instead of new_test.
26121 (parse_args): Likewise.
26122 (generate_testfile): Pass only function name in generated call to
26123 print_max_error or print_complex_max_error.
26124 (get_ulps): Do not handle complex tests specially.
26125 (output_test): Rename to ...
26126 (get_all_ulps_for_test): ... this. Return a string rather than
26127 printing to a file. Require ulps to be present.
26128 (output_ulps): Generate arrays rather than #defines.
26129 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26130 (struct ulp_data): New type.
26131 (BUILD_COMPLEX_ULP): Remove macro.
26132 (compare_ulp_data): New function.
26133 (find_ulps): Likewise.
26134 (find_test_ulps): Likewise.
26135 (find_function_ulps): Likewise.
26136 (find_complex_function_ulps): Likewise.
26137 (print_max_error): Determine allowed ulps using
26138 find_function_ulps.
26139 (print_complex_max_error): Determine allowed ulps using
26140 find_complex_function_ulps.
26141 (check_float_internal): Determine max ulps using find_test_ulps.
26142 (check_float): Do not take max_ulp parameter. Update call to
26143 check_float_internal.
26144 (check_complex): Likewise.
26145 (check_int): Do not take max_ulp parameter.
26146 (check_long): Likewise.
26147 (check_bool): Likewise.
26148 (check_longlong): Likewise.
26149 (struct test_f_f_data): Remove max_ulp field.
26150 (struct test_ff_f_data): Likewise.
26151 (struct test_ff_f_data_nexttoward): Likewise.
26152 (struct test_fi_f_data): Likewise.
26153 (struct test_fl_f_data): Likewise.
26154 (struct test_if_f_data): Likewise.
26155 (struct test_fff_f_data): Likewise.
26156 (struct test_c_f_data): Likewise.
26157 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26158 (struct test_fF_f1_data): Likewise.
26159 (struct test_ffI_f1_data): Likewise.
26160 (struct test_c_c_data): Remove max_ulp field.
26161 (struct test_cc_c_data): Likewise.
26162 (struct test_f_i_data): Likewise.
26163 (struct test_ff_i_data): Likewise.
26164 (struct test_f_l_data): Likewise.
26165 (struct test_f_L_data): Likewise.
26166 (struct test_sincos_data): Likewise.
26167 (RUN_TEST_f_f): Do not handle ulps.
26168 (RUN_TEST_LOOP_f_f): Likewise.
26169 (RUN_TEST_2_f): Likewise.
26170 (RUN_TEST_LOOP_2_f): Likewise.
26171 (RUN_TEST_fff_f): Likewise.
26172 (RUN_TEST_LOOP_fff_f): Likewise.
26173 (RUN_TEST_c_f): Likewise.
26174 (RUN_TEST_LOOP_c_f): Likewise.
26175 (RUN_TEST_f_f1): Likewise.
26176 (RUN_TEST_LOOP_f_f1): Likewise.
26177 (RUN_TEST_fF_f1): Likewise.
26178 (RUN_TEST_LOOP_fF_f1): Likewise.
26179 (RUN_TEST_fI_f1): Likewise.
26180 (RUN_TEST_LOOP_fI_f1): Likewise.
26181 (RUN_TEST_ffI_f1): Likewise.
26182 (RUN_TEST_LOOP_ffI_f1): Likewise.
26183 (RUN_TEST_c_c): Likewise.
26184 (RUN_TEST_LOOP_c_c): Likewise.
26185 (RUN_TEST_cc_c): Likewise.
26186 (RUN_TEST_LOOP_cc_c): Likewise.
26187 (RUN_TEST_f_i): Likewise.
26188 (RUN_TEST_LOOP_f_i): Likewise.
26189 (RUN_TEST_f_i_tg): Likewise.
26190 (RUN_TEST_LOOP_f_i_tg): Likewise.
26191 (RUN_TEST_ff_i_tg): Likewise.
26192 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26193 (RUN_TEST_f_b): Likewise.
26194 (RUN_TEST_LOOP_f_b): Likewise.
26195 (RUN_TEST_f_b_tg): Likewise.
26196 (RUN_TEST_LOOP_f_b_tg): Likewise.
26197 (RUN_TEST_f_l): Likewise.
26198 (RUN_TEST_LOOP_f_l): Likewise.
26199 (RUN_TEST_f_L): Likewise.
26200 (RUN_TEST_LOOP_f_L): Likewise.
26201 (RUN_TEST_sincos): Likewise.
26202 (RUN_TEST_LOOP_sincos): Likewise.
26204 2013-05-17 Joseph Myers <joseph@codesourcery.com>
26208 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26209 main case of finite arguments, set rounding mode to FE_TONEAREST
26210 and discard exceptions.
26211 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26213 (remainder_tonearest_test_data): New variable.
26214 (remainder_test_tonearest): New function.
26215 (remainder_towardzero_test_data): New variable.
26216 (remainder_test_towardzero): New function.
26217 (remainder_downward_test_data): New variable.
26218 (remainder_test_downward): New function.
26219 (remainder_upward_test_data): New variable.
26220 (remainder_test_upward): New function.
26221 (main): Call the new test functions.
26223 * math/libm-test.inc (struct test_f_f1_data): Remove field
26225 (struct test_fF_f1_data): Likewise.
26226 (struct test_ffI_f1_data): Likewise.
26227 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26228 based on value of EXTRA_EXPECTED.
26229 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26230 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26231 EXTRA_VAR based on value of EXTRA_EXPECTED.
26232 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26233 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26234 EXTRA_VAR based on value of EXTRA_EXPECTED.
26235 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26236 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26237 EXTRA_VAR based on value of EXTRA_EXPECTED.
26238 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26239 * math/gen-libm-test.pl (parse_args): Don't output initializers
26240 for extra output values.
26242 * math/libm-test.inc (check_int): Expect result to be exactly
26243 equal to expected value and do not handle ulps.
26244 (check_long): Likewise.
26245 (check_longlong): Likewise.
26247 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26249 (cimag_test_data): Likewise.
26250 (conj_test_data): Likewise.
26251 (copysign_test_data): Likewise.
26252 (cproj_test_data): Likewise.
26253 (creal_test_data): Likewise.
26254 (fabs_test_data): Likewise.
26255 (fdim_test_data): Likewise.
26256 (finite_test_data): Likewise.
26257 (floor_test_data): Likewise.
26258 (fmax_test_data): Likewise.
26259 (fmin_test_data): Likewise.
26260 (fmod_test_data): Likewise.
26261 (fpclassify_test_data): Likewise.
26262 (frexp_test_data): Likewise.
26263 (ilogb_test_data): Likewise.
26264 (isfinite_test_data): Likewise.
26265 (isgreater_test_data): Likewise.
26266 (isgreaterequal_test_data): Likewise.
26267 (isinf_test_data): Likewise.
26268 (isless_test_data): Likewise.
26269 (islessequal_test_data): Likewise.
26270 (islessgreater_test_data): Likewise.
26271 (isnan_test_data): Likewise.
26272 (isnormal_test_data): Likewise.
26273 (issignaling_test_data): Likewise.
26274 (isunordered_test_data): Likewise.
26275 (ldexp_test_data): Likewise.
26276 (lrint_test_data): Likewise.
26277 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26278 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26279 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26280 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26281 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26282 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26284 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26285 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26286 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26287 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26289 (lrint_downward_test_data): Test for "inexact" exceptions.
26290 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26291 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26292 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26294 (lrint_upward_test_data): Test for "inexact" exceptions.
26295 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26297 (llrint_test_data): Test for "inexact" exceptions.
26298 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26299 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26300 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26301 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26302 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26303 (llrint_downward_test_data): Test for "inexact" exceptions.
26304 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26305 (llrint_upward_test_data): Test for "inexact" exceptions.
26306 (logb_test_data): Likewise.
26307 (logb_downward_test_data): Likewise.
26308 (nextafter_test_data): Likewise.
26309 (nexttoward_test_data): Likewise.
26310 (remainder_test_data): Likewise.
26311 (remquo_test_data): Likewise.
26312 (scalbn_test_data): Likewise.
26313 (scalbln_test_data): Likewise.
26314 (signbit_test_data): Likewise.
26315 (sqrt_test_data): Likewise.
26316 (significand_test_data): Likewise.
26318 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26321 * benchtests/bench-modf.c (struct args): Mark arg0 as
26323 * scripts/bench.pl: Mark members of struct args as volatile.
26325 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26328 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26329 negative infinity on POWER6 or lower.
26330 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26332 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26335 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26336 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26337 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26338 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26339 (_FP_SETQNAN): New macro.
26340 (_FP_SETQNAN_SEMIRAW): Likewise.
26341 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26342 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26343 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26344 (FP_EXTEND): Use _FP_FRAC_SNANP.
26345 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26346 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26348 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26350 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26353 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26355 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26356 with DIVIDE_BY_ZERO_EXCEPTION.
26357 (gamma_test_data): Likewise.
26358 (lgamma_test_data): Likewise.
26359 (log_test_data): Likewise.
26360 (log10_test_data): Likewise.
26361 (log2_test_data): Likewise.
26362 (tgamma_test_data): Likewise.
26364 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26365 (acos_test_tonearest): Likewise.
26366 (acos_test_towardzero): Likewise.
26367 (acos_test_downward): Likewise.
26368 (acos_test_upward): Likewise.
26369 (acosh_test): Likewise.
26370 (asin_test): Likewise.
26371 (asin_test_tonearest): Likewise.
26372 (asin_test_towardzero): Likewise.
26373 (asin_test_downward): Likewise.
26374 (asin_test_upward): Likewise.
26375 (asinh_test): Likewise.
26376 (atan_test): Likewise.
26377 (atanh_test): Likewise.
26378 (atan2_test): Likewise.
26379 (cabs_test): Likewise.
26380 (cacos_test): Likewise.
26381 (cacosh_test): Likewise.
26382 (casin_test): Likewise.
26383 (casinh_test): Likewise.
26384 (catan_test): Likewise.
26385 (catanh_test): Likewise.
26386 (cbrt_test): Likewise.
26387 (ccos_test): Likewise.
26388 (ccosh_test): Likewise.
26389 (cexp_test): Likewise.
26390 (clog_test): Likewise.
26391 (clog10_test): Likewise.
26392 (cos_test): Likewise.
26393 (cos_test_tonearest): Likewise.
26394 (cos_test_towardzero): Likewise.
26395 (cos_test_downward): Likewise.
26396 (cos_test_upward): Likewise.
26397 (cosh_test): Likewise.
26398 (cosh_test_tonearest): Likewise.
26399 (cosh_test_towardzero): Likewise.
26400 (cosh_test_downward): Likewise.
26401 (cosh_test_upward): Likewise.
26402 (cpow_test): Likewise.
26403 (csin_test): Likewise.
26404 (csinh_test): Likewise.
26405 (csqrt_test): Likewise.
26406 (ctan_test): Likewise.
26407 (ctan_test_tonearest): Likewise.
26408 (ctan_test_towardzero): Likewise.
26409 (ctan_test_downward): Likewise.
26410 (ctan_test_upward): Likewise.
26411 (ctanh_test): Likewise.
26412 (ctanh_test_tonearest): Likewise.
26413 (ctanh_test_towardzero): Likewise.
26414 (ctanh_test_downward): Likewise.
26415 (ctanh_test_upward): Likewise.
26416 (erf_test): Likewise.
26417 (erfc_test): Likewise.
26418 (exp_test): Likewise.
26419 (exp_test_tonearest): Likewise.
26420 (exp_test_towardzero): Likewise.
26421 (exp_test_downward): Likewise.
26422 (exp_test_upward): Likewise.
26423 (exp10_test): Likewise.
26424 (exp2_test): Likewise.
26425 (expm1_test): Likewise.
26426 (fmod_test): Likewise.
26427 (gamma_test): Likewise.
26428 (hypot_test): Likewise.
26429 (j0_test): Likewise.
26430 (j1_test): Likewise.
26431 (jn_test): Likewise.
26432 (lgamma_test): Likewise.
26433 (log_test): Likewise.
26434 (log10_test): Likewise.
26435 (log1p_test): Likewise.
26436 (log2_test): Likewise.
26437 (logb_test_downward): Likewise.
26438 (pow_test): Likewise.
26439 (pow_test_tonearest): Likewise.
26440 (pow_test_towardzero): Likewise.
26441 (pow_test_downward): Likewise.
26442 (pow_test_upward): Likewise.
26443 (remainder_test): Likewise.
26444 (remquo_test): Likewise.
26445 (sin_test): Likewise.
26446 (sin_test_tonearest): Likewise.
26447 (sin_test_towardzero): Likewise.
26448 (sin_test_downward): Likewise.
26449 (sin_test_upward): Likewise.
26450 (sincos_test): Likewise.
26451 (sinh_test): Likewise.
26452 (sinh_test_tonearest): Likewise.
26453 (sinh_test_towardzero): Likewise.
26454 (sinh_test_downward): Likewise.
26455 (sinh_test_upward): Likewise.
26456 (sqrt_test): Likewise.
26457 (tan_test): Likewise.
26458 (tan_test_tonearest): Likewise.
26459 (tan_test_towardzero): Likewise.
26460 (tan_test_downward): Likewise.
26461 (tan_test_upward): Likewise.
26462 (tanh_test): Likewise.
26463 (tgamma_test): Likewise.
26464 (y0_test): Likewise.
26465 (y1_test): Likewise.
26466 (yn_test): Likewise.
26468 * math/gen-libm-test.pl (adjust_arg): Remove function.
26469 (special_function): Remove argument $in_func. Only handle
26470 generating output for tables of tests, not inside functions.
26471 (parse_args): Likewise.
26472 (generate_testfile): Remove variable $in_func. Update call to
26474 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26475 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26476 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26477 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26478 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26479 (MAX_VALUE_INIT): Rename macro to max_value.
26480 (MIN_VALUE_INIT): Rename macro to min_value.
26481 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26482 (plus_zero): Remove variable.
26483 (minus_zero): Likewise.
26484 (plus_infty): Likewise.
26485 (minus_infty): Likewise.
26486 (qnan_value): Likewise.
26487 (max_value): Likewise.
26488 (min_value): Likewise.
26489 (min_subnorm_value): Likewise.
26491 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26493 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26494 uint64_t or uint32_t usage.
26495 * crypt/sha256-block.c: Likewise.
26496 * crypt/sha256-crypt.c: Likewise.
26497 * crypt/sha256.c: Likewise.
26498 * crypt/sha512-block.c: Likewise.
26499 * crypt/sha512-crypt.c: Likewise.
26500 * crypt/sha512.c: Likewise.
26501 * debug/backtrace-tst.c: Likewise.
26502 * debug/pcprofiledump.c: Likewise.
26503 * elf/cache.c: Likewise.
26504 * elf/dl-cache.c: Likewise.
26505 * elf/dl-misc.c: Likewise.
26506 * elf/dl-profile.c: Likewise.
26507 * elf/dl-support.c: Likewise.
26508 * elf/ldconfig.c: Likewise.
26509 * elf/sprof.c: Likewise.
26510 * iconv/dummy-repertoire.c: Likewise.
26511 * iconv/iconv_charmap.c: Likewise.
26512 * iconv/skeleton.c: Likewise.
26513 * iconvdata/8bit-generic.c: Likewise.
26514 * iconvdata/cp737.h: Likewise.
26515 * iconvdata/cp775.h: Likewise.
26516 * iconvdata/ibm1008.h: Likewise.
26517 * iconvdata/ibm1025.h: Likewise.
26518 * iconvdata/ibm1046.h: Likewise.
26519 * iconvdata/ibm1097.h: Likewise.
26520 * iconvdata/ibm1112.h: Likewise.
26521 * iconvdata/ibm1122.h: Likewise.
26522 * iconvdata/ibm1123.h: Likewise.
26523 * iconvdata/ibm1124.h: Likewise.
26524 * iconvdata/ibm1129.h: Likewise.
26525 * iconvdata/ibm1130.h: Likewise.
26526 * iconvdata/ibm1132.h: Likewise.
26527 * iconvdata/ibm1133.h: Likewise.
26528 * iconvdata/ibm1137.h: Likewise.
26529 * iconvdata/ibm1140.h: Likewise.
26530 * iconvdata/ibm1141.h: Likewise.
26531 * iconvdata/ibm1142.h: Likewise.
26532 * iconvdata/ibm1143.h: Likewise.
26533 * iconvdata/ibm1144.h: Likewise.
26534 * iconvdata/ibm1145.h: Likewise.
26535 * iconvdata/ibm1146.h: Likewise.
26536 * iconvdata/ibm1147.h: Likewise.
26537 * iconvdata/ibm1148.h: Likewise.
26538 * iconvdata/ibm1149.h: Likewise.
26539 * iconvdata/ibm1153.h: Likewise.
26540 * iconvdata/ibm1154.h: Likewise.
26541 * iconvdata/ibm1155.h: Likewise.
26542 * iconvdata/ibm1156.h: Likewise.
26543 * iconvdata/ibm1157.h: Likewise.
26544 * iconvdata/ibm1158.h: Likewise.
26545 * iconvdata/ibm1160.h: Likewise.
26546 * iconvdata/ibm1161.h: Likewise.
26547 * iconvdata/ibm1162.h: Likewise.
26548 * iconvdata/ibm1163.h: Likewise.
26549 * iconvdata/ibm1164.h: Likewise.
26550 * iconvdata/ibm1166.h: Likewise.
26551 * iconvdata/ibm1167.h: Likewise.
26552 * iconvdata/ibm12712.h: Likewise.
26553 * iconvdata/ibm1390.h: Likewise.
26554 * iconvdata/ibm1399.h: Likewise.
26555 * iconvdata/ibm16804.h: Likewise.
26556 * iconvdata/ibm4517.h: Likewise.
26557 * iconvdata/ibm4899.h: Likewise.
26558 * iconvdata/ibm4909.h: Likewise.
26559 * iconvdata/ibm4971.h: Likewise.
26560 * iconvdata/ibm5347.h: Likewise.
26561 * iconvdata/ibm803.h: Likewise.
26562 * iconvdata/ibm856.h: Likewise.
26563 * iconvdata/ibm901.h: Likewise.
26564 * iconvdata/ibm902.h: Likewise.
26565 * iconvdata/ibm9030.h: Likewise.
26566 * iconvdata/ibm9066.h: Likewise.
26567 * iconvdata/ibm921.h: Likewise.
26568 * iconvdata/ibm922.h: Likewise.
26569 * iconvdata/ibm9448.h: Likewise.
26570 * iconvdata/isiri-3342.h: Likewise.
26571 * iconvdata/jis0201.h: Likewise.
26572 * include/link.h: Likewise.
26573 * include/netdb.h: Likewise.
26574 * inet/check_native.c: Likewise.
26575 * inet/check_pf.c: Likewise.
26576 * inet/getipv4sourcefilter.c: Likewise.
26577 * inet/getnameinfo.c: Likewise.
26578 * inet/getsourcefilter.c: Likewise.
26579 * inet/htonl.c: Likewise.
26580 * inet/setipv4sourcefilter.c: Likewise.
26581 * inet/setsourcefilter.c: Likewise.
26582 * inet/test-inet6_opt.c: Likewise.
26583 * inet/tst-network.c: Likewise.
26584 * locale/C-collate.c: Likewise.
26585 * locale/C-ctype.c: Likewise.
26586 * locale/C-time.c: Likewise.
26587 * locale/C-translit.h: Likewise.
26588 * locale/loadarchive.c: Likewise.
26589 * locale/programs/3level.h: Likewise.
26590 * locale/programs/charmap.c: Likewise.
26591 * locale/programs/charmap.h: Likewise.
26592 * locale/programs/ld-address.c: Likewise.
26593 * locale/programs/ld-collate.c: Likewise.
26594 * locale/programs/ld-ctype.c: Likewise.
26595 * locale/programs/ld-identification.c: Likewise.
26596 * locale/programs/ld-measurement.c: Likewise.
26597 * locale/programs/ld-messages.c: Likewise.
26598 * locale/programs/ld-monetary.c: Likewise.
26599 * locale/programs/ld-name.c: Likewise.
26600 * locale/programs/ld-numeric.c: Likewise.
26601 * locale/programs/ld-paper.c: Likewise.
26602 * locale/programs/ld-telephone.c: Likewise.
26603 * locale/programs/ld-time.c: Likewise.
26604 * locale/programs/linereader.c: Likewise.
26605 * locale/programs/locale.c: Likewise.
26606 * locale/programs/locarchive.c: Likewise.
26607 * locale/programs/locfile.h: Likewise.
26608 * locale/programs/repertoire.c: Likewise.
26609 * locale/programs/simple-hash.c: Likewise.
26610 * locale/programs/simple-hash.h: Likewise.
26611 * malloc/memusage.c: Likewise.
26612 * malloc/memusagestat.c: Likewise.
26613 * nis/nis_defaults.c: Likewise.
26614 * nis/nis_hash.c: Likewise.
26615 * nis/nis_print.c: Likewise.
26616 * nis/nis_xdr.c: Likewise.
26617 * nscd/connections.c: Likewise.
26618 * nscd/hstcache.c: Likewise.
26619 * nscd/nscd_gethst_r.c: Likewise.
26620 * nscd/nscd_getserv_r.c: Likewise.
26621 * nscd/nscd_helper.c: Likewise.
26622 * nscd/servicescache.c: Likewise.
26623 * nss/makedb.c: Likewise.
26624 * nss/nss_db/db-XXX.c: Likewise.
26625 * nss/nss_db/db-initgroups.c: Likewise.
26626 * nss/nss_db/db-netgrp.c: Likewise.
26627 * nss/nss_files/files-network.c: Likewise.
26628 * nss/nss_files/files-parse.c: Likewise.
26629 * posix/bug-regex5.c: Likewise.
26630 * posix/fnmatch_loop.c: Likewise.
26631 * posix/regcomp.c: Likewise.
26632 * posix/regexec.c: Likewise.
26633 * posix/tst-rfc3484-2.c: Likewise.
26634 * posix/tst-rfc3484-3.c: Likewise.
26635 * posix/tst-rfc3484.c: Likewise.
26636 * resolv/nss_dns/dns-canon.c: Likewise.
26637 * resolv/nss_dns/dns-network.c: Likewise.
26638 * resolv/res_init.c: Likewise.
26639 * resolv/res_mkquery.c: Likewise.
26640 * resolv/tst-aton.c: Likewise.
26641 * stdlib/cxa_atexit.c: Likewise.
26642 * stdlib/cxa_finalize.c: Likewise.
26643 * stdlib/gen-fpioconst.c: Likewise.
26644 * stdlib/strtol_l.c: Likewise.
26645 * string/tst-endian.c: Likewise.
26646 * sunrpc/auth_des.c: Likewise.
26647 * sunrpc/clnt_udp.c: Likewise.
26648 * sunrpc/rtime.c: Likewise.
26649 * sunrpc/svcauth_des.c: Likewise.
26650 * sunrpc/xdr.c: Likewise.
26651 * sunrpc/xdr_intXX_t.c: Likewise.
26652 * sunrpc/xdr_rec.c: Likewise.
26653 * sysdeps/generic/ldconfig.h: Likewise.
26654 * sysdeps/generic/ldsodefs.h: Likewise.
26655 * sysdeps/generic/memusage.h: Likewise.
26656 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26657 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26658 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26659 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26660 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26661 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26663 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26664 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26665 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26666 * sysdeps/posix/getaddrinfo.c: Likewise.
26667 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26668 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26669 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26670 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26671 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26672 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26673 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26674 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26675 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26676 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26677 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26678 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26679 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26680 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26681 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26682 * sysdeps/x86_64/dl-tls.h: Likewise.
26683 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26684 * time/alt_digit.c: Likewise.
26685 * time/era.c: Likewise.
26686 * wcsmbs/tst-c16c32-1.c: Likewise.
26688 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26690 * math/libm-test.inc (struct test_sincos_data): New type.
26691 (RUN_TEST_LOOP_sincos): New macro.
26692 (sincos_test_data): New variable.
26693 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26695 2013-05-16 Richard Henderson <rth@redhat.com>
26697 * math/atest-exp2.c (LIMB64): New macro.
26698 (CONSTSZ): New macro.
26699 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26701 (print_mpn_fp): ... to function scope.
26702 (read_mpn_hex): Remove.
26703 (get_log2): Remove.
26704 (exp2_mpn): Use mp_log2.
26705 (main): Use mp_exp1.
26707 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26709 * math/libm-test.inc: Remove comment about not testing "inexact"
26711 (INEXACT_EXCEPTION): New macro.
26712 (NO_INEXACT_EXCEPTION): Likewise.
26713 (INVALID_EXCEPTION_OK): Update value.
26714 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26715 (OVERFLOW_EXCEPTION_OK): Likewise.
26716 (UNDERFLOW_EXCEPTION_OK): Likewise.
26717 (IGNORE_ZERO_INF_SIGN): Likewise.
26718 (ERRNO_UNCHANGED): Likewise.
26719 (ERRNO_EDOM): Likewise.
26720 (ERRNO_ERANGE): Likewise.
26721 (test_exceptions): Handle testing "inexact" exceptions.
26722 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26723 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26724 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26725 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26727 (rint_towardzero_test_data): Likewise.
26728 (rint_downward_test_data): Likewise.
26729 (rint_upward_test_data): Likewise.
26731 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26732 with OVERFLOW_EXCEPTION.
26733 (exp10_test_data): Likewise.
26734 (exp2_test_data): Likewise.
26735 (expm1_test_data): Likewise.
26736 (lgamma_test_data): Likewise.
26737 (pow_test_data): Likewise.
26738 (tgamma_test_data): Likewise.
26739 (yn_test_data): Remove duplicate test of overflow.
26741 * math/libm-test.inc (struct test_cc_c_data): New type.
26742 (RUN_TEST_LOOP_cc_c): New macro.
26743 (cpow_test_data): New variable.
26744 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26746 * math/libm-test.inc (struct test_f_L_data): New type.
26747 (RUN_TEST_LOOP_f_L): New macro.
26748 (llrint_test_data): New variable.
26749 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26750 (llrint_tonearest_test_data): New variable.
26751 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26752 (llrint_towardzero_test_data): New variable.
26753 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26754 (llrint_downward_test_data): New variable.
26755 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26756 (llrint_upward_test_data): New variable.
26757 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26758 (llround_test_data): New variable.
26759 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26761 2013-05-13 Peter Collingbourne <pcc@google.com>
26763 * math/atest-exp2.c (get_log2): Remove const attribute.
26765 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26767 * math/libm-test.inc (struct test_f_l_data): New type.
26768 (RUN_TEST_LOOP_f_l): New macro.
26769 (lrint_test_data): New variable.
26770 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26771 (lrint_tonearest_test_data): New variable.
26772 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26773 (lrint_towardzero_test_data): New variable.
26774 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26775 (lrint_downward_test_data): New variable.
26776 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26777 (lrint_upward_test_data): New variable.
26778 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26779 (lround_test_data): New variable.
26780 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26782 2013-05-15 Peter Collingbourne <pcc@google.com>
26784 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26785 (EXTRACT_WORDS64) Use where appropriate.
26786 (INSERT_WORDS64) Likewise.
26788 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26789 constraints with x constraints.
26790 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26792 * malloc/obstack.c (_obstack_compat): Add initializer.
26794 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26796 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26797 si_trapno and add si_addr_lsb to _sifields.sigfault.
26798 (si_trapno): Remove macro.
26799 (si_addr_lsb): Define new macro.
26800 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26802 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26804 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26805 instead of TEST_f_l.
26806 (llrint_test_tonearest): Likewise.
26807 (llrint_test_towardzero): Likewise.
26808 (llrint_test_downward): Likewise.
26809 (llrint_test_upward): Likewise.
26810 (llround_test): Likewise.
26812 * math/libm-test.inc (struct test_f_i_data): Add comment.
26813 (RUN_TEST_LOOP_f_b): New macro.
26814 (RUN_TEST_LOOP_f_b_tg): Likewise.
26815 (finite_test_data): New variable.
26816 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26817 (isfinite_test_data): New variable.
26818 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26819 (isinf_test_data): New variable.
26820 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26821 (isnan_test_data): New variable.
26822 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26823 (isnormal_test_data): New variable.
26824 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26825 (issignaling_test_data): New variable.
26826 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26827 (signbit_test_data): New variable.
26828 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26830 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26831 with INVALID_EXCEPTION.
26832 (acosh_test_data): Likewise.
26833 (asin_test_data): Likewise.
26834 (atanh_test_data): Likewise.
26835 (fmod_test_data): Likewise.
26836 (log_test_data): Likewise.
26837 (log10_test_data): Likewise.
26838 (log2_test_data): Likewise.
26839 (pow_test_data): Likewise.
26840 (sqrt_test_data): Likewise.
26841 (y0_test_data): Likewise.
26842 (y1_test_data): Likewise.
26843 (yn_test_data): Likewise.
26845 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26848 * math/libm-test.inc (struct test_ff_i_data): New type.
26849 (RUN_TEST_LOOP_ff_i_tg): New macro.
26850 (isgreater_test_data): New variable.
26851 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26852 (isgreaterequal_test_data): New variable.
26853 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26854 (isless_test_data): New variable.
26855 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26856 (islessequal_test_data): New variable.
26857 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26858 (islessgreater_test_data): New variable.
26859 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26860 (isunordered_test_data): New variable.
26861 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26863 2013-05-14 David S. Miller <davem@davemloft.net>
26865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26867 2013-05-14 Joseph Myers <joseph@codesourcery.com>
26869 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26871 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26873 (struct test_f_i_data): Change type of max_ulp to int.
26875 * math/libm-test.inc (test_ffI_f1_data): New type.
26876 (RUN_TEST_LOOP_ffI_f1): New macro.
26877 (remquo_test_data): New variable.
26878 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26880 * setjmp/tst-setjmp-fp.c: New file.
26881 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26882 (link-libm): New variable.
26883 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26885 * math/libm-test.inc (struct test_f_i_data): New type.
26886 (RUN_TEST_LOOP_f_i): New macro.
26887 (RUN_TEST_LOOP_f_i_tg): Likewise.
26888 (fpclassify_test_data): New variable.
26889 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26890 (ilogb_test_data): New variable.
26891 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26893 * math/libm-test.inc (scalbln_test): Correct function name in END
26896 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26897 (RUN_TEST_LOOP_fI_f1): New macro.
26898 (frexp_test_data): New variable.
26899 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26901 * math/libm-test.inc (struct test_fF_f1_data): New type.
26902 (RUN_TEST_LOOP_fF_f1): New macro.
26903 (modf_test_data): New variable.
26904 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26906 * math/libm-test.inc (struct test_f_f1_data): New type.
26907 (RUN_TEST_LOOP_f_f1): New macro.
26908 (gamma_test_data): New variable.
26909 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26910 (lgamma_test_data): New variable.
26911 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26913 2013-05-13 Carlos O'Donell <carlos@redhat.com>
26915 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26916 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26917 (main): Comment "tls" pseudo-hwcap.
26919 2013-05-13 Joseph Myers <joseph@codesourcery.com>
26921 * math/libm-test.inc (struct test_fl_f_data): New type.
26922 (RUN_TEST_LOOP_fl_f): New variable.
26923 (scalbln_test_data): New variable.
26924 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26926 * math/libm-test.inc (struct test_fi_f_data): New type.
26927 (RUN_TEST_LOOP_fi_f): New macro.
26928 (ldexp_test_data): New variable.
26929 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26930 (scalbn_test_data): New variable.
26931 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26933 * math/libm-test.inc (struct test_c_f_data): New type.
26934 (RUN_TEST_LOOP_c_f): New macro.
26935 (cabs_test_data): New variable.
26936 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26937 (carg_test_data): New variable.
26938 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26939 (cimag_test_data): New variable.
26940 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26941 (creal_test_data): New variable.
26942 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26944 * math/libm-test.inc (struct test_if_f_data): New type.
26945 (RUN_TEST_LOOP_if_f): New macro.
26946 (jn_test_data): New variable.
26947 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26948 (yn_test_data): New variable.
26949 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26951 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26953 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26955 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26956 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26958 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26960 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26961 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26962 (bench-deps): Add bench-timing.h.
26963 * benchtests-bench-skeleton.c: Include bench-timing.h.
26964 (main): Use TIMING_* macros instead of clock_gettime.
26965 * benchtests/bench-timing.h: New file.
26968 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26969 Renamed from _LIB_VERSION.
26970 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26972 2013-05-12 Joseph Myers <joseph@codesourcery.com>
26974 * math/libm-test.inc (struct test_fff_f_data): New type.
26975 (RUN_TEST_LOOP_fff_f): New macro.
26976 (fma_test_data): New variable.
26977 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26978 (fma_towardzero_test_data): New variable.
26979 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26980 (fma_downward_test_data): New variable.
26981 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26982 (fma_upward_test_data): New variable.
26983 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26985 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26986 (struct test_c_c_data): New type.
26987 (RUN_TEST_LOOP_c_c): New macro.
26988 (cacos_test_data): New variable.
26989 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26990 (cacosh_test_data): New variable.
26991 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26992 (casin_test_data): New variable.
26993 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26994 (casinh_test_data): New variable.
26995 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26996 (catan_test_data): New variable.
26997 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26998 (catanh_test_data): New variable.
26999 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27000 (ccos_test_data): New variable.
27001 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27002 (ccosh_test_data): New variable.
27003 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27004 (cexp_test_data): New variable.
27005 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27006 (clog_test_data): New variable.
27007 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27008 (clog10_test_data): New variable.
27009 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27010 (conj_test_data): New variable.
27011 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27012 (cproj_test_data): New variable.
27013 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27014 (csin_test_data): New variable.
27015 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27016 (csinh_test_data): New variable.
27017 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27018 (csqrt_test_data): New variable.
27019 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27020 (ctan_test_data): New variable.
27021 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27022 (ctan_tonearest_test_data): New variable.
27023 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27024 (ctan_towardzero_test_data): New variable.
27025 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27026 (ctan_downward_test_data): New variable.
27027 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27028 (ctan_upward_test_data): New variable.
27029 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27030 (ctanh_test_data): New variable.
27031 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27032 (ctanh_tonearest_test_data): New variable.
27033 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27034 (ctanh_towardzero_test_data): New variable.
27035 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27036 (ctanh_downward_test_data): New variable.
27037 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27038 (ctanh_upward_test_data): New variable.
27039 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27040 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27043 * math/libm-test.inc (struct test_ff_f_data): New type.
27044 (struct test_ff_f_data_nexttoward): Likewise.
27045 (RUN_TEST_LOOP_2_f): New macro.
27046 (RUN_TEST_LOOP_ff_f): Likewise.
27047 (atan2_test_data): New variable.
27048 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27049 (copysign_test_data): New variable.
27050 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27051 (fdim_test_data): New variable.
27052 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27053 (fmax_test_data): New variable.
27054 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27055 (fmin_test_data): New variable.
27056 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27057 (fmod_test_data): New variable.
27058 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27059 (hypot_test_data): New variable.
27060 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27061 (nextafter_test_data): New variable.
27062 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27063 (nexttoward_test_data): New variable.
27064 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27065 (pow_test_data): New variable.
27066 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27067 (pow_tonearest_test_data): New variable.
27068 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27069 (pow_towardzero_test_data): New variable.
27070 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27071 (pow_downward_test_data): New variable.
27072 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27073 (pow_upward_test_data): New variable.
27074 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27075 (remainder_test_data): New variable.
27076 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27077 (scalb_test_data): New variable.
27078 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27079 * sysdeps/i386/fpu/libm-test-ulps: Update.
27081 2013-05-11 Joseph Myers <joseph@codesourcery.com>
27083 * math/libm-test.inc (fma_test): Use max_value instead of local
27085 (nextafter_test): Likewise.
27087 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27088 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27089 (acos_downward_test_data): New variable.
27090 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27091 (acos_upward_test_data): New variable.
27092 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27093 (acosh_test_data): New variable.
27094 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27095 (asin_test_data): New variable.
27096 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27097 (asin_tonearest_test_data): New variable.
27098 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27099 (asin_towardzero_test_data): New variable.
27100 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27101 (asin_downward_test_data): New variable.
27102 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27103 (asin_upward_test_data): New variable.
27104 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27105 (asinh_test_data): New variable.
27106 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27107 (atan_test_data): New variable.
27108 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27109 (atanh_test_data): New variable.
27110 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27111 (cbrt_test_data): New variable.
27112 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27113 (ceil_test_data): New variable.
27114 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27115 (cos_test_data): New variable.
27116 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27117 (cos_tonearest_test_data): New variable.
27118 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27119 (cos_towardzero_test_data): New variable.
27120 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27121 (cos_downward_test_data): New variable.
27122 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27123 (cos_upward_test_data): New variable.
27124 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27125 (cosh_test_data): New variable.
27126 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27127 (cosh_tonearest_test_data): New variable.
27128 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27129 (cosh_towardzero_test_data): New variable.
27130 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27131 (cosh_downward_test_data): New variable.
27132 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27133 (cosh_upward_test_data): New variable.
27134 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27135 (erf_test_data): New variable.
27136 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27137 (erfc_test_data): New variable.
27138 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27139 (exp_test_data): New variable.
27140 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27141 (exp_tonearest_test_data): New variable.
27142 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27143 (exp_towardzero_test_data): New variable.
27144 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27145 (exp_downward_test_data): New variable.
27146 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27147 (exp_upward_test_data): New variable.
27148 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27149 (exp10_test_data): New variable.
27150 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27151 (exp2_test_data): New variable.
27152 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27153 (expm1_test_data): New variable.
27154 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27155 (fabs_test_data): New variable.
27156 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27157 (floor_test_data): New variable.
27158 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27159 (j0_test_data): New variable.
27160 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27161 (j1_test_data): New variable.
27162 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27163 (log_test_data): New variable.
27164 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27165 (log10_test_data): New variable.
27166 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27167 (log1p_test_data): New variable.
27168 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27169 (log2_test_data): New variable.
27170 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27171 (logb_test_data): New variable.
27172 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27173 (logb_downward_test_data): New variable.
27174 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27175 (nearbyint_test_data): New variable.
27176 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27177 (rint_test_data): New variable.
27178 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27179 (rint_tonearest_test_data): New variable.
27180 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27181 (rint_towardzero_test_data): New variable.
27182 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27183 (rint_downward_test_data): New variable.
27184 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27185 (rint_upward_test_data): New variable.
27186 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27187 (round_test_data): New variable.
27188 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27189 (sin_test_data): New variable.
27190 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27191 (sin_tonearest_test_data): New variable.
27192 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27193 (sin_towardzero_test_data): New variable.
27194 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27195 (sin_downward_test_data): New variable.
27196 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27197 (sin_upward_test_data): New variable.
27198 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27199 (sinh_test_data): New variable.
27200 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27201 (sinh_tonearest_test_data): New variable.
27202 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27203 (sinh_towardzero_test_data): New variable.
27204 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27205 (sinh_downward_test_data): New variable.
27206 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27207 (sinh_upward_test_data): New variable.
27208 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27209 (sqrt_test_data): New variable.
27210 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27211 (tan_test_data): New variable.
27212 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27213 (tan_tonearest_test_data): New variable.
27214 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27215 (tan_towardzero_test_data): New variable.
27216 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27217 (tan_downward_test_data): New variable.
27218 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27219 (tan_upward_test_data): New variable.
27220 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27221 (tanh_test_data): New variable.
27222 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27223 (tgamma_test_data): New variable.
27224 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27225 (trunc_test_data): New variable.
27226 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27227 (y0_test_data): New variable.
27228 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27229 (y1_test_data): New variable.
27230 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27231 (significand_test_data): New variable.
27232 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27234 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27237 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27239 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27241 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27243 2013-05-10 Andreas Jaeger <aj@suse.de>
27246 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27247 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27249 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27251 * math/gen-libm-test.pl (adjust_arg): New function.
27252 (special_functions): Handle generating output in both functions
27254 (parse_args): Likewise.
27255 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27256 $in_func argument to parse_args.
27257 * math/libm-test.inc (struct test_f_f_data): New type.
27258 (IF_ROUND_INIT_): New macro.
27259 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27260 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27261 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27262 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27263 (ROUND_RESTORE_): Likewise.
27264 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27265 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27266 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27267 (ROUND_RESTORE_FE_UPWARD): Likewise.
27268 (RUN_TEST_LOOP_f_f): New macro.
27269 (acos_test_data): New variable.
27270 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27271 (acos_tonearest_test_data): New variable.
27272 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27274 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27276 * benchtests/bench-skeleton.c (startup): Fix coding style.
27278 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27281 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27282 negative infinity argument.
27283 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27284 negative infinity argument.
27285 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27286 negative infinity argument.
27287 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27290 2013-05-10 Florian Weimer <fweimer@redhat.com>
27292 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27293 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27294 * iconv/iconv_prog.c (main): Likewise.
27295 * locale/programs/charmap-dir.c (charmap_readdir)
27296 (fopen_uncompressed): Likewise.
27297 * locale/programs/locfile.c (siblings_uncached)
27298 (write_locale_data): Use lstat64 instead of lstat.
27299 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27302 2013-05-10 Andreas Jaeger <aj@suse.de>
27305 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27307 Include <locale.h>.
27309 2013-05-09 Carlos O'Donell <carlos@redhat.com>
27311 * elf/dl-close.c (_dl_close_worker): Add comments.
27313 2013-05-09 Joseph Myers <joseph@codesourcery.com>
27316 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27318 (__ieee754_rem_pio2l): Update comments.
27321 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27323 (__ieee754_rem_pio2l): Update comments.
27325 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27326 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27328 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27331 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27332 (M_PI_34_LOG10El): Likewise.
27333 (M_PI2_LOG10El): Likewise.
27334 (M_PI4_LOG10El): Likewise.
27335 (M_PI_LOG10El): Likewise.
27337 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27341 2013-05-08 Joseph Myers <joseph@codesourcery.com>
27343 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27344 (MINUS_ZERO_INIT): Likewise.
27345 (PLUS_INFTY_INIT): Likewise.
27346 (MINUS_INFTY_INIT): Likewise.
27347 (QNAN_VALUE_INIT): Likewise.
27348 (MAX_VALUE_INIT): Likewise.
27349 (MIN_VALUE_INIT): Likewise.
27350 (MIN_SUBNORM_VALUE_INIT): Likewise.
27351 (plus_zero): Initialize with PLUS_ZERO_INIT.
27352 (minus_zero): Initialize with MINUS_ZERO_INIT.
27353 (plus_infty): Initialize with PLUS_INFTY_INIT.
27354 (minus_infty): Initialize with MINUS_INFTY_INIT.
27355 (qnan_value): Initialize with QNAN_VALUE_INIT.
27356 (max_value): Initialize with MAX_VALUE_INIT.
27357 (min_value): Initialize with MIN_VALUE_INIT.
27358 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27360 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27361 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27362 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27363 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27365 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27366 (RUN_TEST_2_f): Likewise.
27367 (RUN_TEST_ff_f): Likewise.
27368 (RUN_TEST_fi_f): Likewise.
27369 (RUN_TEST_fl_f): Likewise.
27370 (RUN_TEST_fff_f): Likewise.
27371 (RUN_TEST_c_f): Likewise.
27372 (RUN_TEST_f_f1): Likewise.
27373 (RUN_TEST_fF_f1): Likewise.
27374 (RUN_TEST_fI_f1): Likewise.
27375 (RUN_TEST_ffI_f1): Likewise.
27376 (RUN_TEST_c_c): Likewise.
27377 (RUN_TEST_cc_c): Likewise.
27378 (RUN_TEST_f_i): Likewise.
27379 (RUN_TEST_f_i_tg): Likewise.
27380 (RUN_TEST_ff_i_tg): Likewise.
27381 (RUN_TEST_f_b): Likewise.
27382 (RUN_TEST_f_b_tg): Likewise.
27383 (RUN_TEST_f_l): Likewise.
27384 (RUN_TEST_f_L): Likewise.
27385 (RUN_TEST_sincos): Likewise.
27386 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27387 whether to show exceptions. Do not include ");\n" in return
27389 (special_functions): Output call to RUN_TEST_sincos instead of
27390 check_float calls. Update calls to new_test.
27391 (parse_args): Output call to single RUN_TEST_* macro instead of
27392 check_* calls and other assignments. Update calls to new_test.
27398 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27399 input to result for tgamma overflow.
27400 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27401 (gamma_coeff): New variable.
27402 (NCOEFF): New macro.
27403 (gamma_positive): New function.
27404 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27405 underflow here. Use gamma_positive instead of exp (lgamma) for
27407 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27408 (gamma_coeff): New variable.
27409 (NCOEFF): New macro.
27410 (gammaf_positive): New function.
27411 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27412 underflow here. Use gamma_positive instead of exp (lgamma) for
27414 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27415 (gamma_coeff): New variable.
27416 (NCOEFF): New macro.
27417 (gammal_positive): New function.
27418 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27419 underflow here. Use gamma_positive instead of exp (lgamma) for
27421 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27422 (gamma_coeff): New variable.
27423 (NCOEFF): New macro.
27424 (gammal_positive): New function.
27425 (__ieee754_gammal_r): Handle positive infinity, overflow and
27426 underflow here. Handle NaN the same as positive infinity. Remove
27427 check x < 0xffffffff for negative integers. Use gamma_positive
27428 instead of exp (lgamma) for other arguments.
27429 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27430 (gamma_coeff): New variable.
27431 (NCOEFF): New macro.
27432 (gammal_positive): New function.
27433 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27434 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27435 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27436 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27437 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27438 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27439 * sysdeps/generic/math_private.h (__gamma_productf): New
27441 (__gamma_product): Likewise.
27442 (__gamma_productl): Likewise.
27443 * math/Makefile (libm-calls): Add gamma_product.
27444 * math/libm-test.inc (tgamma_test): Add more tests.
27445 * sysdeps/i386/fpu/libm-test-ulps: Update.
27446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27448 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
27450 * benchtests/bench-skeleton.c (main): Preheat CPU.
27452 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27454 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27456 2013-05-07 Roland McGrath <roland@hack.frob.com>
27458 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27459 and _dl_skip_args_internal.
27461 2013-05-07 Carlos O'Donell <carlos@redhat.com>
27463 * manual/message.texi (Message Translation): Talk about users.
27464 Message to key mapping impacts design.
27466 2013-05-06 Roland McGrath <roland@hack.frob.com>
27468 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27470 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27472 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27473 * sysdeps/wordsize-64/glob64.c: ... here.
27475 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27476 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27479 * debug/getlogin_r_chk.c: Moved to ...
27480 * login/getlogin_r_chk.c: ... here.
27481 * debug/Makefile (routines): Move getlogin_r_chk to ...
27482 * login/Makefile (routines): ... here.
27483 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27484 * login/Versions (libc: GLIBC_2.4): ... here.
27486 * io/poll.c (__poll): Renamed from poll.
27487 Add libc_hidden_def.
27488 (poll): Define as weak alias.
27490 * debug/ptsname_r_chk.c: Moved to ...
27491 * login/ptsname_r_chk.c: ... here.
27492 * debug/Makefile (routines): Move ptsname_r_chk to ...
27493 * login/Makefile (routines): ... here.
27494 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27495 * login/Versions (libc: GLIBC_2.4): ... here.
27497 * posix/getlogin.c: Moved to ...
27498 * login/getlogin.c: ... here.
27499 * posix/getlogin_r.c: Moved to ...
27500 * login/getlogin_r.c: ... here.
27501 * posix/getlogin_r.c: Moved to ...
27502 * login/getlogin_r.c: ... here.
27503 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27504 * login/Makefile (routines): ... here.
27505 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27506 * login/Versions (libc: GLIBC_2.0): ... here.
27508 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27509 (setrlimit): Define as weak alias.
27511 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27512 Call __ names for open, ftruncate, and close.
27513 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27514 (truncate): Define as weak alias.
27516 2013-05-06 Joseph Myers <joseph@codesourcery.com>
27518 * math/gen-libm-test.pl (parse_args): Initialize x before each
27519 test of frexp, modf and remquo.
27521 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27522 test signgam value.
27524 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27528 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27530 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27532 2013-05-06 Roland McGrath <roland@hack.frob.com>
27534 * elf/dl-writev.h: New file.
27535 * elf/dl-misc.c: Include it.
27536 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27537 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27539 2013-05-04 Joseph Myers <joseph@codesourcery.com>
27541 * math/libm-test.inc (noXFails): Remove variable.
27542 (noXPasses): Likewise.
27543 (BUILD_COMPLEX_INT): Remove macro.
27544 (print_screen): Remove xfail argument.
27545 (print_screen_max_error): Likewise.
27546 (update_stats): Likewise.
27547 (print_max_error): Likewise. Update calls to other affected
27549 (print_complex_max_error): Likewise.
27550 (test_single_exception): Update calls to print_screen.
27551 (test_single_errno): Likewise.
27552 (check_float_internal): Remove xfail argument. Update calls to
27553 other affected functions.
27554 (check_float): Likewise.
27555 (check_complex): Likewise.
27556 (check_int): Likewise.
27557 (check_long): Likewise.
27558 (check_bool): Likewise.
27559 (check_longlong): Likewise.
27560 (main): Don't print noXFails and noXPasses.
27561 * math/gen-libm-test.pl (top level): Don't mention expected
27562 failure handling in comment.
27563 (new_test): Don't handle expected failures.
27564 (parse_args): Don't mention expected failure handling in comment.
27565 (generate_testfile): Don't handle expected failures.
27566 (parse_ulps): Likewise.
27567 (print_ulps_file): Likewise.
27568 (get_failure): Remove function.
27569 (output_test): Don't handle expected failures.
27570 * make/README.libm-test: Don't mention expected failure handling.
27572 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27573 (minus_zero): Likewise.
27574 (plus_infty): Likewise.
27575 (minus_infty): Likewise.
27576 (qnan_value): Likewise.
27577 (max_value): Likewise.
27578 (min_value): Likewise.
27579 (min_subnorm_value): Likewise.
27580 (initialize): Do not initialize those variables dynamically.
27582 2013-05-03 Roland McGrath <roland@hack.frob.com>
27584 * io/open.c (__open_2): Moved to ...
27585 * io/open_2.c: ... this new file.
27586 * io/open64.c (__open64_2): Moved to ...
27587 * io/open64_2.c: ... this new file.
27588 * io/openat.c (__openat_2): Moved to ...
27589 * io/openat_2.c: ... this new file.
27590 * io/openat64.c (__openat64_2): Moved to ...
27591 * io/openat64_2.c: ... this new file.
27592 * io/Makefile (routines): Add them.
27593 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27594 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27595 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27596 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27597 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27598 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27599 (__openat64): Add hidden_ver.
27600 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27601 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27603 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27604 Separately conditionalize setting of GLRO(dl_sysinfo) so
27605 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27606 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27608 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27610 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27611 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27613 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27614 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27615 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27616 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27617 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27619 2013-05-03 Joseph Myers <joseph@codesourcery.com>
27621 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27622 test signgam value.
27624 * math/libm-test.inc (hypot_test): Do not use
27625 IGNORE_ZERO_INF_SIGN.
27627 2013-05-03 Andreas Jaeger <aj@suse.de>
27629 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27631 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27632 (PF_MAX): Adjust for VSOCK change.
27634 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27638 2013-05-02 Carlos O'Donell <carlos@redhat.com>
27641 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27642 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27643 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27645 2013-05-02 David S. Miller <davem@davemloft.net>
27647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27649 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
27651 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27653 2013-05-01 Roland McGrath <roland@hack.frob.com>
27655 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27657 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27660 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27661 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27662 Use __attribute__ ((__gnu_inline__)).
27663 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27664 Don't use __attribute__ ((__gnu_inline__)).
27666 2013-05-01 Joseph Myers <joseph@codesourcery.com>
27669 * math/s_catan.c (__catan): Handle small real or imaginary part of
27670 input specially to avoid spurious underflow.
27671 * math/s_catanf.c (__catanf): Likewise.
27672 * math/s_catanh.c (__catanh): Likewise.
27673 * math/s_catanhf.c (__catanhf): Likewise.
27674 * math/s_catanhl.c (__catanhl): Likewise.
27675 * math/s_catanl.c (__catanl): Likewise.
27676 * math/libm-test.inc (catan_test): Add more tests.
27677 (catanh_test): Likewise.
27678 * sysdeps/i386/fpu/libm-test-ulps: Update.
27679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27681 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27685 2013-04-30 Joseph Myers <joseph@codesourcery.com>
27688 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27689 accurately for denominator in atan2.
27690 * math/s_catanf.c (__catanf): Likewise.
27691 * math/s_catanh.c (__catanh): Likewise.
27692 * math/s_catanhf.c (__catanhf): Likewise.
27693 * math/s_catanhl.c (__catanhl): Likewise.
27694 * math/s_catanl.c (__catanl): Likewise.
27695 * math/libm-test.inc (catan_test): Add more tests.
27696 (catanh_test): Likewise.
27697 * sysdeps/i386/fpu/libm-test-ulps: Update.
27698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27700 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27702 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27704 * benchtests/Makefile (bench): Remove slow benchmarks.
27705 * benchtests/atan-inputs: Add slow benchmark inputs.
27706 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27707 (BENCH_FUNC): Accept variant offset.
27709 * benchtests/bench-skeleton.c (main): Run benchmark for each
27711 * benchtests/cos-inputs: Add slow benchmark inputs.
27712 * benchtests/exp-inputs: Likewise.
27713 * benchtests/pow-inputs: Likewise.
27714 * benchtests/sin-inputs: Likewise.
27715 * benchtests/slowatan-inputs: Remove.
27716 * benchtests/slowatan.c: Remove.
27717 * benchtests/slowcos-inputs: Remove.
27718 * benchtests/slowcos.c: Remove.
27719 * benchtests/slowexp-inputs: Remove.
27720 * benchtests/slowexp.c: Remove.
27721 * benchtests/slowpow-inputs: Remove.
27722 * benchtests/slowpow.c: Remove.
27723 * benchtests/slowsin-inputs: Remove.
27724 * benchtests/slowsin.c: Remove.
27725 * benchtests/slowtan-inputs: Remove.
27726 * benchtests/slowtan.c: Remove.
27727 * benchtests/tan-inputs: Add slow benchmark inputs.
27728 * scripts/bench.pl: Parse comments and directives.
27730 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27732 ($(objpfx)bench-%.c): Remove *-ITER.
27733 * benchtests/bench-modf.c: Remove definition of ITER.
27734 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27735 (main): Loop for DURATION seconds instead of fixed number of
27737 * scripts/bench.pl: Don't expect iterations in parameters.
27739 2013-04-29 Roland McGrath <roland@hack.frob.com>
27741 * io/fchdir.c (__fchdir): Renamed from fchdir.
27742 (fchdir): Define as weak alias.
27744 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27746 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27747 (ERRNO_EDOM): Likewise.
27748 (ERRNO_ERANGE): Likewise.
27749 (noErrnoTests): New variable.
27750 (init_max_error): Set errno to 0.
27751 (test_single_errno): New function.
27752 (test_errno): Likewise.
27753 (check_float_internal): Call test_errno. Set errno to 0.
27754 (check_complex): Refer to errno tests in comment.
27755 (check_int): Call test_errno. Set errno to 0.
27756 (check_long): Likewise.
27757 (check_bool): Likewise.
27758 (check_longlong): Likewise.
27759 (cos_test): Use ERRNO_* flags for errno tests instead of
27761 (expm1_test): Likewise.
27762 (fmod_test): Likewise.
27763 (ilogb_test): Likewise.
27764 (lgamma_test): Likewise.
27765 (pow_test): Likewise.
27766 (remainder_test): Likewise.
27767 (sin_test): Likewise.
27768 (tan_test): Likewise.
27769 (yn_test): Likewise.
27770 (initialize): Set errno to 0.
27771 (main): Print number of errno tests.
27772 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27774 2013-04-29 Andreas Jaeger <aj@suse.de>
27777 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27781 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27782 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27786 * stdlib/random.c (__initstate): Return NULL if
27790 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27791 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27794 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27798 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27800 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27801 of individual tests.
27802 (casin_test): Likewise.
27803 (casinh_test): Likewise.
27805 2013-04-27 Joseph Myers <joseph@codesourcery.com>
27808 * math/s_catan.c (__catan): Handle arguments with large real or
27809 imaginary part separately without squaring.
27810 * math/s_catanf.c (__catanf): Likewise.
27811 * math/s_catanh.c (__catanh): Likewise.
27812 * math/s_catanhf.c (__catanhf): Likewise.
27813 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27815 (__catanhl): Handle arguments with large real or imaginary part
27816 separately without squaring.
27817 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27819 (__catanl): Handle arguments with large real or imaginary part
27820 separately without squaring.
27821 * math/libm-test.inc (catan_test): Add more tests.
27822 (catanh_test): Likewise.
27823 * sysdeps/i386/fpu/libm-test-ulps: Update.
27824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27826 2013-04-27 Andreas Jaeger <aj@suse.de>
27829 * stdlib/stdlib.h: Update guards for qecvt.
27830 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27833 2013-04-27 Allan McRae <allan@archlinux.org>
27835 * sysdeps/i386/fpu/libm-test-ulps: Update.
27837 2013-04-26 Joseph Myers <joseph@codesourcery.com>
27840 * math/s_catan.c: Include <float.h>.
27841 (__catan): Ensure underflow exception occurs for underflowed
27843 * math/s_catanf.c: Include <float.h>.
27844 (__catanf): Ensure underflow exception occurs for underflowed
27846 * math/s_catanh.c: Include <float.h>.
27847 (__catanh): Ensure underflow exception occurs for underflowed
27849 * math/s_catanhf.c: Include <float.h>.
27850 (__catanhf): Ensure underflow exception occurs for underflowed
27852 * math/s_catanhl.c: Include <float.h>.
27853 (__catanhl): Ensure underflow exception occurs for underflowed
27855 * math/s_catanl.c: Include <float.h>.
27856 (__catanl): Ensure underflow exception occurs for underflowed
27858 * math/libm-test.inc (catan_test): Add more tests.
27859 (catanh_test): Likewise.
27862 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27863 underflowed result.
27864 * math/s_ccoshf.c (__ccoshf): Likewise.
27865 * math/s_ccoshl.c (__ccoshl): Likewise.
27866 * math/s_csin.c (__csin): Likewise.
27867 * math/s_csinf.c (__csinf): Likewise.
27868 * math/s_csinh.c (__csinh): Likewise.
27869 * math/s_csinhf.c (__csinhf): Likewise.
27870 * math/s_csinhl.c (__csinhl): Likewise.
27871 * math/s_csinl.c (__csinl): Likewise.
27872 * math/libm-test.inc (ccos_test): Add more tests.
27873 (ccosh_test): Likewise.
27874 (csin_test): Likewise.
27875 (csinh_test): Likewise.
27877 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27879 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27880 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27881 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27882 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27883 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27884 powerpc/power5+/fpu folders.
27885 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27888 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27892 2013-04-25 Joseph Myers <joseph@codesourcery.com>
27894 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27895 additions to variable.
27896 [$(config-machine) = x86_64] (modules-names): Likewise.
27897 ($(objpfx)tst-audit3): Remove dependency.
27898 ($(objpfx)tst-audit3.out): Likewise.
27899 ($(objpfx)tst-audit4): Likewise.
27900 ($(objpfx)tst-audit4.out): Likewise.
27901 ($(objpfx)tst-audit5): Likewise.
27902 ($(objpfx)tst-audit5.out): Likewise.
27903 ($(objpfx)tst-audit6): Likewise.
27904 ($(objpfx)tst-audit6.out): Likewise.
27905 ($(objpfx)tst-audit7): Likewise.
27906 ($(objpfx)tst-audit7.out): Likewise.
27907 (tst-audit3-ENV): Remove variable.
27908 (tst-audit4-ENV): Likewise.
27909 (tst-audit5-ENV): Likewise.
27910 (tst-audit6-ENV): Likewise.
27911 (tst-audit7-ENV): Likewise.
27912 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27913 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27914 addition to variable.
27915 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27916 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27917 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27918 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27919 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27920 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27921 tst-audit3, tst-audit4 and tst-audit5.
27922 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27923 tst-audit6 and tst-audit7.
27924 [$(subdir) = elf] (modules-names): Add audit modules for those
27926 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27927 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27928 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27929 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27930 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27931 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27932 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27933 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27934 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27935 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27936 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27937 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27938 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27939 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27940 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27941 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27943 [$(subdir) = elf && $(config-cflags-avx) = yes]
27944 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27945 [$(subdir) = elf && $(config-cflags-avx) = yes]
27946 (CFLAGS-tst-auditmod4a.c): Likewise.
27947 [$(subdir) = elf && $(config-cflags-avx) = yes]
27948 (CFLAGS-tst-auditmod4b.c): Likewise.
27949 [$(subdir) = elf && $(config-cflags-avx) = yes]
27950 (CFLAGS-tst-auditmod6b.c): Likewise.
27951 [$(subdir) = elf && $(config-cflags-avx) = yes]
27952 (CFLAGS-tst-auditmod6c.c): Likewise.
27953 [$(subdir) = elf && $(config-cflags-avx) = yes]
27954 (CFLAGS-tst-auditmod7b.c): Likewise.
27955 * elf/tst-audit3.c: Move to ...
27956 * sysdeps/x86_64/tst-audit3.c: ... here.
27957 * elf/tst-audit4.c: Move to ...
27958 * sysdeps/x86_64/tst-audit4.c: ... here.
27959 * elf/tst-audit5.c: Move to ...
27960 * sysdeps/x86_64/tst-audit5.c: ... here.
27961 * elf/tst-audit6.c: Move to ...
27962 * sysdeps/x86_64/tst-audit6.c: ... here.
27963 * elf/tst-audit7.c: Move to ...
27964 * sysdeps/x86_64/tst-audit7.c: ... here.
27965 * elf/tst-auditmod3a.c: Move to ...
27966 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27967 * elf/tst-auditmod3b.c: Move to ...
27968 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27969 * elf/tst-auditmod4a.c: Move to ...
27970 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27971 * elf/tst-auditmod4b.c: Move to ...
27972 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27973 * elf/tst-auditmod5a.c: Move to ...
27974 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27975 * elf/tst-auditmod5b.c: Move to ...
27976 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27977 * elf/tst-auditmod6a.c: Move to ...
27978 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27979 * elf/tst-auditmod6b.c: Move to ...
27980 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27981 * elf/tst-auditmod6c.c: Move to ...
27982 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27983 * elf/tst-auditmod7a.c: Move to ...
27984 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27985 * elf/tst-auditmod7b.c: Move to ...
27986 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27988 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27991 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27992 define unconditionally.
27993 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27994 define unconditionally.
27995 (INT8_C, INT16_C, etc.): Likewise.
27997 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27999 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28000 __ehdr_start with hidden visibility.
28002 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28004 2013-04-24 Carlos O'Donell <carlos@redhat.com>
28006 * math/libm-test.inc (cos_test): Use accurate hex constants.
28007 (sincost_test): Likewise.
28009 2013-04-24 Joseph Myers <joseph@codesourcery.com>
28011 * math/libm-test.inc (catan_test): Add more tests.
28012 (catanh_test): Likewise.
28014 * math/s_catanf.c (__catanf): Use suffixed floating-point
28016 * math/s_catanhf.c (__catanhf): Likewise.
28017 * math/s_catanhl.c (__catanhl): Likewise.
28018 * math/s_catanl.c (__catanl): Likewise.
28021 * math/s_catan.c (__catan): Calculate imaginary part of result
28022 with log1p not log unless computing log of number close to 0.
28023 * math/s_catanf.c (__catanf): Likewise.
28024 * math/s_catanl.c (__catanl): Likewise.
28025 * math/s_catanh.c (__catanh): Calculate real part of result with
28026 log1p not log unless computing log of number close to 0.
28027 * math/s_catanhf.c (__catanhf): Likewise.
28028 * math/s_catanhl.c (__catanhl): Likewise.
28029 * math/libm-test.inc (catan_test): Add more tests.
28030 (catanh_test): Likewise.
28031 * sysdeps/i386/fpu/libm-test-ulps: Update.
28032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28034 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28036 * benchtests/Makefile: Mention files in which fast and slow
28037 paths of math functions are implemented.
28039 2013-04-23 Roland McGrath <roland@hack.frob.com>
28041 * sysdeps/posix/timespec_get.c: New file.
28043 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28045 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28047 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28049 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28050 powerpc/power5/fpu folders.
28051 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28052 * benchtests/Makefile: Add modf testcase.
28053 * benchtests/bench-modf.c: New file: Benchmark test for mo
28055 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28058 * time/Makefile (tests): Add tst-strptime-whitespace.
28059 * time/strptime_l.c (get_number): Use ISSPACE.
28060 (__strptime_internal): Likewise.
28061 * time/tst-strptime-whitespace.c: New test case.
28063 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28065 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28067 (_nss_files_init): Set it here.
28069 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28071 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28072 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28075 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28077 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28079 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28081 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28084 2013-04-21 David S. Miller <davem@davemloft.net>
28086 * po/ru.po: Update Russion translation from translation project.
28088 2013-04-17 Adam Conrad <adconrad@0c3.net>
28090 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28093 2013-04-17 Carlos O'Donell <carlos@redhat.com>
28095 * configure.in: Remove i386 configure warning. Remove i386 case.
28096 * configure: Regenerate.
28097 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28098 Add example to error message.
28099 * sysdeps/i386/configure: Regenerate.
28101 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28103 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28105 * benchtests/cos-inputs: New file.
28106 * benchtests/slowcos-inputs: New file.
28107 * benchtests/slowcos.c: New file.
28108 * benchtests/slowtan-inputs: New file.
28109 * benchtests/slowtan.c: New file.
28110 * benchtests/tan-inputs: New file.
28112 2013-04-16 Roland McGrath <roland@hack.frob.com>
28114 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28117 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28119 * benchtests/Makefile: Include cppflags-iterator.mk to add
28120 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28122 * Makefile.in (bench-clean): New target.
28123 * benchtests/Makefile (bench-clean): Likewise.
28125 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28127 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28129 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28131 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28133 2013-04-15 Andreas Schwab <schwab@suse.de>
28135 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28136 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28137 * nscd/pwdcache.c (cache_addpw): Likewise.
28138 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28141 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28143 * benchtests/Makefile (bench): Write all output to
28144 bench-out.tmp together.
28146 2013-04-15 Andreas Schwab <schwab@suse.de>
28148 * nscd/nscd.c (main): Don't fork again after closing files.
28150 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28152 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28154 * benchtests/Rules (bench-deps): Collect dependencies into a
28155 single variable. Add Makefile to dependencies.
28156 ($(objpfx)bench-%.c): Depend on bench-deps.
28158 2013-04-12 Roland McGrath <roland@hack.frob.com>
28159 Xavier Roche <roche+kml2@exalead.com>
28162 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28163 just that it's a file descriptor.
28164 * manual/llio.texi (Synchronizing AIO Operations): Update description
28165 for EBADF error from aio_fsync.
28167 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28169 * Rules (bench): Move target definition...
28170 * benchtests/Makefile: ... here.
28172 2013-04-11 Carlos O'Donell <carlos@redhat.com>
28174 * math/libm-test.inc (cos_test): Fix PI/2 test.
28175 (sincos_test): Likewise.
28176 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28177 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28179 2013-04-11 Andreas Schwab <schwab@suse.de>
28182 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28183 accept exponent character only when digits were seen.
28184 * stdio-common/Makefile (tests): Add bug26.
28185 * stdio-common/bug26.c: New file.
28188 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28191 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28193 * Makeconfig (rtld-prefix): Define built linker prefix.
28194 * Rules (run-bench): Use it.
28195 * math/Makefile (run-regen-ulps): Likewise.
28197 * Rules (bench): Remove eval.
28199 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28200 Roland McGrath <roland@hack.frob.com>
28201 Ondrej Bilka <neleai@seznam.cz>
28204 * time/getdate.c: Include ctype.h and alloca.h.
28205 (__getdate_r): Trim leading and trailing spaces of input.
28206 * time/tst-getdate.c (tests): Add tests with leading and
28209 2013-04-08 Roland McGrath <roland@hack.frob.com>
28212 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28213 when computing value.
28215 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28217 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28218 Use testrun.sh to run libm tests.
28221 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28223 2013-04-06 Marko Myllynen <myllynen@redhat.com>
28226 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28228 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28230 * Makefile.in (regen-ulps): New target.
28231 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28232 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28233 [ifneq (no,$(PERL)] (regen-ulps): New target.
28234 [ifeq (no,$(PERL)] (regen-ulps): New target.
28235 * math/libm-test.inc (ulps_file_name): Define.
28236 (output_dir): New variable.
28237 (options): Add "output-dir" option.
28238 (parse_opt): Handle 'o' case.
28239 (main): If output_dir is non-NULL use it as a prefix
28241 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28243 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28245 [BZ #10060, #10062]
28246 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28247 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28248 fail configure if __sync_val_compare_and_swap is not inlined.
28249 * sysdeps/i386/configure: Regenerate.
28250 * configure.in: Build for i686 when configured for i386.
28251 * configure: Regenerate.
28252 * README: Remove i386 reference.
28254 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28256 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28257 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28259 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28261 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28262 (lmsnanval): New variables.
28263 (F): Add conversion tests.
28264 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28265 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28267 * stdio-common/tstdiomisc.c (F): Properly collect individual
28270 [BZ #14686, #15336]
28271 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28272 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28273 Instead, use input NaN values or generate a qNaN by arithmetic
28274 operation. Also fix bugs to comply with the standard.
28275 * math/libm-test.inc (remainder_test): Add more tests.
28277 [BZ #15335, #15342]
28278 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28279 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28280 input NaN values or generate a qNaN by arithmetic operation.
28282 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28285 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28288 2013-04-03 Joseph Myers <joseph@codesourcery.com>
28291 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28292 underflowed result.
28293 * math/s_cexpf.c (__cexpf): Likewise.
28294 * math/s_cexpl.c (__cexpl): Likewise.
28295 * math/libm-test.inc (cexp_test): Add more tests.
28297 2013-04-03 Andreas Schwab <schwab@suse.de>
28300 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28301 order arrays from heap if bigger than alloca cutoff.
28303 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28305 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28306 (SNAN_TESTS_double): Refer to GCC PR56831.
28307 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28310 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28312 * Rules (bench): Move bench.out after the run is complete.
28314 * Rules (bench): Echo currently running benchmark.
28316 * benchtests/Makefile (bench): Add atan and slowatan.
28317 * benchtests/atan-inputs: New file.
28318 * benchtests/slowatan-inputs: New file.
28319 * benchtests/slowatan.c: New file.
28321 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28322 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28326 * sysdeps/unix/sysv/linux/kernel-features.h
28327 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28328 __ASSUME_XFS_RESTRICTED_CHOWN.
28329 * sysdeps/unix/sysv/linux/pathconf.c
28330 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28331 Save and restore errno.
28333 2013-04-02 Joseph Myers <joseph@codesourcery.com>
28336 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28337 arguments using __kernel_casinh.
28338 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28339 arguments using __kernel_casinhf.
28340 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28341 arguments using __kernel_casinhl.
28342 * math/libm-test.inc (cacosh_test): Add more tests.
28343 * sysdeps/i386/fpu/libm-test-ulps: Update.
28344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28346 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28348 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28349 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28351 * bench/Makefile (bench): Add sin and slowsin.
28352 * benchtests/sin-inputs: New file.
28353 * benchtests/slowsin-inputs: New file.
28354 * benchtests/slowsin.c: New file.
28356 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28357 (bench): Add slowexp and slowpow.
28358 (exp-ITER): Increase iterations.
28359 (pow-ITER): Likewise.
28360 * benchtests/exp-inputs: Change input.
28361 * benchtests/pow-inputs: Likewise.
28362 * benchtests/slowexp-inputs: New file.
28363 * benchtests/slowexp.c: New file.
28364 * benchtests/slowpow-inputs: New file.
28365 * benchtests/slowpow.c: New file.
28367 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28369 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28371 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28372 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28373 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28374 * benchtests/Makefile: Add rint benchtest.
28375 * benchtests/rint-inputs: Input for rint benchtest.
28377 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28379 * Versions.def (libm): Add GLIBC_2.18.
28380 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28381 hidden libm prototypes.
28382 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28383 * math/Makefile (libm-calls): Add s_issignaling.
28384 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28385 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28386 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28388 * math/math.h [__USE_GNU] (issignaling): New macro.
28389 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28390 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28391 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28392 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28393 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28394 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28395 * manual/arith.texi (issignaling): New section.
28396 * manual/libm-err-tab.pl (@all_functions): Update comment.
28397 * math/gen-libm-test.pl (parse_args): Apply special handling for
28399 * math/libm-test.inc (print_float, issignaling_test): New
28401 (check_float_internal): Add issignaling checks.
28402 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28403 default definition.
28404 * sysdeps/powerpc/math-tests.h: New file.
28405 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28407 * math/test-snan.c (TEST_FUNC): Likewise.
28409 2013-03-30 David S. Miller <davem@davemloft.net>
28411 * po/de.po: Update from translation team.
28413 2013-03-30 Joseph Myers <joseph@codesourcery.com>
28416 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28417 imaginary part less than 1.0 and real part less than 0.5
28419 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28420 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28421 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28422 (cacos_test): Add more tests.
28423 (casin_test): Likewise.
28424 (casinh_test): Likewise.
28425 * sysdeps/i386/fpu/libm-test-ulps: Update.
28426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28428 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28430 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28431 ONE with its value.
28433 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28434 (__pow_mp): Replace ONE and MONE with their values.
28435 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28436 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28437 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28438 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28439 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28440 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28442 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28444 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28445 (__pow_mp): Replace ZERO and MZERO with their values.
28446 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28447 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28448 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28449 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28450 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28451 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28454 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28456 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28458 2013-03-28 Roland McGrath <roland@hack.frob.com>
28460 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28461 Declare with __attribute__ ((weak)).
28462 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28463 Call __call_tls_dtors only if it's not NULL.
28465 2013-03-28 Roland McGrath <roland@hack.frob.com>
28467 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28468 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28469 magic __ehdr_start linker symbol if it's defined.
28470 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28471 them up here if it was already done.
28473 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28474 (_dl_aux_init): Use const in cast when setting it.
28475 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28476 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28477 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28479 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28481 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28482 * csu/libc-tls.c: Nor here.
28483 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28485 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28486 (__libc_message): Never call vsyslog.
28488 2013-03-28 Alan Modra <amodra@gmail.com>
28490 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28492 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28495 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28498 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28502 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28505 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28506 Don't add gid passed as argument.
28508 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28510 2013-03-27 Joseph Myers <joseph@codesourcery.com>
28513 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28514 imaginary part between 1.0 and 1.5 and real part less than 0.5
28516 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28517 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28518 * math/libm-test.inc (cacos_test): Add more tests.
28519 (casin_test): Likewise.
28520 (casinh_test): Likewise.
28521 * sysdeps/i386/fpu/libm-test-ulps: Update.
28522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28524 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28526 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28529 (denorm): Likewise.
28530 (__dbl_mp): Likewise.
28531 (add_magnitudes): Likewise.
28532 (sub_magnitudes): Likewise.
28540 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28542 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28543 (__dubcos): Likewise.
28544 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28545 (__ieee754_acos): Likewise.
28546 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28547 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28548 (__exp1): Likewise.
28549 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28550 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28552 (my_log2): Likewise.
28553 (checkint): Likewise.
28554 * sysdeps/ieee754/dbl-64/e_remainder.c
28555 (__ieee754_remainder): Likewise.
28556 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28557 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28558 (bsloww): Likewise.
28559 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28561 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28562 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28563 MANTISSA_STORE_T to store computations on mantissa. Use
28564 macros for rounding and division.
28565 (denorm): Likewise.
28566 (__dbl_mp): Likewise.
28567 (add_magnitudes): Likewise.
28568 (sub_magnitudes): Likewise.
28571 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28572 powers of two in terms of TWOPOW macro.
28573 (mp_no): Make type of mantissa as MANTISSA_T.
28574 [!RADIXI]: Define RADIXI.
28575 [!TWO52]: Define TWO52.
28576 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28578 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28580 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28581 llroundl symbol when building for PPC32.
28583 2013-03-24 Mark H Weaver <mhw@netris.org>
28585 * manual/arith.texi (Normalization Functions): Fix prototypes for
28586 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28588 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28591 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28592 high value to check if expl overflow.
28593 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28594 to check for underflow and overflow.
28595 * math/libm-test.inc: Add exp test.
28597 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28600 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28603 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28605 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28608 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28610 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28611 wrap blocks consisting of several statements.
28613 * sysdeps/generic/math-tests.h: New file.
28614 * sysdeps/i386/fpu/math-tests.h: Likewise.
28615 * math/test-snan.c: Include it.
28616 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28618 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28621 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28622 (__ieee754_j0l): Do not improve calculations using cos of twice
28623 input for inputs above LDBL_MAX / 2.0L.
28624 (__ieee754_y0l): Likewise.
28625 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28626 (__ieee754_j1l): Do not improve calculations using cos of twice
28627 input for inputs above LDBL_MAX / 2.0L.
28628 (__ieee754_y1l): Likewise.
28629 * math/libm-test.inc (j0_test): Add another test.
28630 (j1_test): Likewise.
28631 (y0_test): Likewise.
28632 (y1_test): Likewise.
28633 * sysdeps/i386/fpu/libm-test-ulps: Update.
28635 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28637 * Rules ($(objpfx)bench-%.c): Include code from a C source
28640 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28643 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28644 imaginary part 1.0 and real part less than 0.5 specially.
28645 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28646 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28647 * math/libm-test.inc (cacos_test): Add more tests.
28648 (casin_test): Likewise.
28649 (casinh_test): Likewise.
28650 * sysdeps/i386/fpu/libm-test-ulps: Update.
28651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28653 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28655 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28656 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28658 2013-03-20 Joseph Myers <joseph@codesourcery.com>
28660 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28661 * config.make.in (config-cflags-sse4): Remove variable.
28662 (config-cflags-avx): Likewise.
28663 (config-cflags-sse2avx): Likewise.
28664 (config-cflags-novzeroupper): Likewise.
28665 (config-asflags-i686): Likewise.
28666 (have-mfma4): Likewise.
28667 (have-as-vis3): Likewise.
28669 * configure.in (MIG): Do not AC_SUBST.
28670 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28671 (libc_cv_cc_sse4): Do not AC_SUBST.
28672 (libc_cv_cc_avx): Likewise.
28673 (libc_cv_cc_sse2avx): Likewise.
28674 (libc_cv_cc_novzeroupper): Likewise.
28675 (libc_cv_cc_fma4): Likewise.
28676 (libc_cv_as_i686): Likewise.
28677 (libc_cv_sparc_as_vis3): Likewise.
28678 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28680 (config-asflags-i686): Likewise.
28681 (config-cflags-avx): Likewise.
28682 (config-cflags-sse2avx): Likewise.
28683 (have-mfma4): Likewise.
28684 (config-cflags-novzeroupper): Likewise.
28685 * sysdeps/mach/configure.in (MIG): Likewise.
28686 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28687 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28689 (config-cflags-avx): Likewise.
28690 (config-cflags-sse2avx): Likewise.
28691 (have-mfma4): Likewise.
28692 (config-cflags-novzeroupper): Likewise.
28693 * configure: Regenerated.
28694 * sysdeps/i386/configure: Likewise.
28695 * sysdeps/mach/configure: Likewise.
28696 * sysdeps/sparc/configure: Likewise.
28697 * sysdeps/x86_64/configure: Likewise.
28699 2013-03-20 Roland McGrath <roland@hack.frob.com>
28702 * locale/programs/localedef.c (options): Put N_ translation marker
28703 on argument names, not just descriptions.
28705 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28707 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28709 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
28712 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28714 2013-03-19 Roland McGrath <roland@hack.frob.com>
28716 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28717 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28718 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28719 [!BEFORE_ABORT] (before_abort): New function.
28720 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28721 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28722 (writev_for_fatal): New function.
28723 (WRITEV_FOR_FATAL): New macro; call that.
28724 (backtrace_and_maps): New function.
28725 (BEFORE_ABORT): New macro; call that.
28726 (struct str_list): Type removed.
28727 (__libc_message, __libc_fatal): Functions removed.
28728 Include <sysdeps/posix/libc_fatal.c> instead.
28730 2013-03-19 Joseph Myers <joseph@codesourcery.com>
28732 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28734 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28737 2013-03-19 Andreas Schwab <schwab@suse.de>
28739 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28740 * sysdeps/gnu/configure: Regenerate.
28742 * configure.in: Substitute libc_cv_rtlddir.
28743 * configure: Regenerate.
28744 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28745 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28746 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28747 * elf/Makefile (install-others, CFLAGS-interp.c)
28748 (ldso_install, common-ldd-rewrite): Likewise.
28749 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28750 $(inst_slibdir)/$(rtld-installed-name).
28751 * scripts/rellns-sh: Add -p option.
28752 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28755 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28757 * manual/nptl.texi: Renamed to ...
28758 * manual/threads.texi: ... this.
28759 * manual/Makefile (chapters): Update.
28761 2013-03-18 Roland McGrath <roland@hack.frob.com>
28764 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28765 on argument names, not just descriptions.
28766 * malloc/memusagestat.c (options): Likewise.
28767 * nss/getent.c (options): Likewise.
28769 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
28772 * iconv/iconv_prog.c (options): Put N_ translation marker
28773 on argument names, not just descriptions.
28774 * iconv/iconvconfig.c (options): Likewise.
28776 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
28778 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28779 implementation which is faster on all x86_64 architectures.
28780 Tested on AMD, Intel Nehalem, SNB, IVB.
28781 * sysdeps/x86_64/strnlen.S: Likewise.
28783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28784 Remove all multiarch strlen and strnlen versions.
28785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28786 Remove strlen and strnlen related parts.
28788 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28789 Inline strlen part.
28790 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28792 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28793 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28794 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28795 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28796 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28797 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28799 2013-03-17 Carlos O'Donell <carlos@redhat.com>
28801 * manual/memory.texi (Malloc Tunable Parameters):
28802 Sort parameters alphabetically. Add comments for missing entries.
28804 2013-03-17 David S. Miller <davem@davemloft.net>
28806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28808 2013-03-16 Joseph Myers <joseph@codesourcery.com>
28811 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28812 for arguments at most half maximum finite value.
28813 * math/libm-test.inc (j0_test): Add more tests.
28814 (j1_test): Likewise.
28815 (y0_test): Likewise.
28816 (y1_test): Likewise.
28817 * sysdeps/i386/fpu/libm-test-ulps: Update.
28818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28821 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28822 1 / x and functions P and Q for arguments above 0x1p256L.
28823 (__ieee754_y0l): Likewise.
28824 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28825 (__ieee754_y1l): Likewise.
28826 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28827 (j1_test): Likewise.
28828 (y0_test): Likewise.
28829 (y1_test): Likewise.
28831 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28833 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28836 2013-03-15 Roland McGrath <roland@hack.frob.com>
28838 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28839 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28840 zero since it's initialized to EXEC_PAGESIZE.
28842 * sysdeps/unix/sysv/linux/ldsodefs.h
28843 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28844 * sysdeps/generic/ldsodefs.h: ... here.
28846 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28848 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28850 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28852 * math/test-snan.c: Renamed from
28853 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28854 * math/Makefile (tests): Add test-snan.
28855 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28858 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28859 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28861 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28862 __builtin_nan family of functions.
28863 * math/libm-test.inc (initialize): Initialize qnan_value with
28864 __builtin_nan family of functions.
28865 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28867 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28869 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28870 storage class. Initialize qNaN_var and sNaN_var with
28871 __builtin_nan and __builtin_nans families of functions,
28874 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28875 (sqrt_test): Remove duplicate test with qNaN input.
28876 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28877 (round_test, signbit_test, significand_test): Note missing +/-Inf
28878 as well as qNaN tests.
28880 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28881 qNaN_var. Fix a few strings, too.
28882 * math/libm-test.inc (nan_value): Rename to qnan_value.
28883 * math/gen-libm-test.pl (%beautify): Adjust to that.
28884 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28885 * math/test-misc.c (main): Likewise.
28886 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28887 to __qnan_bytes, and __qnan_union, respectively.
28888 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28890 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28891 and lqnanval, respectively.
28892 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28893 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28894 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28895 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28897 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28898 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28901 * math/test-misc.c (main): Fix copy'n'pastos.
28902 * misc/tst-efgcvt.c (special): Likewise.
28904 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28905 Remove declarations.
28907 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28909 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28910 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28911 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28912 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28914 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28916 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28917 macro to return vdso values correctly in IFUNC implementations.
28918 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28919 Optimization by using IFUNC.
28921 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28922 Richard Henderson <rth@redhat.com>
28923 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28925 * Makefile.in (bench): New target.
28926 * NEWS: Mention the benchmark framework.
28927 * Rules (bench): Likewise.
28928 (binaries-bench): Generate binaries for functions to
28930 * benchtests/Makefile: New makefile for benchmark tests.
28931 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28933 * benchtests/exp-inputs: New input file for EXP function.
28934 * benchtests/pow-inputs: New input file for POW function.
28935 * scripts/bench.pl: New script to generate source files for
28936 benchmark programs.
28938 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28940 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28941 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28942 computations on mantissa. Use macros for rounding and
28944 (denorm): Likewise.
28945 (__dbl_mp): Likewise.
28946 (add_magnitudes): Likewise.
28947 (sub_magnitudes): Likewise.
28950 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28951 powers of two in terms of TWOPOW macro.
28952 (mp_no): Make type of mantissa as MANTISSA_T.
28953 [!RADIXI]: Define RADIXI.
28954 [!TWO52]: Define TWO52.
28955 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28957 * manual/nptl.texi (cindex): Modify threads to pthreads.
28959 2013-03-15 Joseph Myers <joseph@codesourcery.com>
28961 * sysdeps/x86_64/preconfigure: Regenerated.
28963 2013-03-14 Joseph Myers <joseph@codesourcery.com>
28966 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28968 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28969 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28971 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28972 * math/libm-test.inc (j0_test): Do not allow one spurious
28973 underflow exception.
28974 (y1_test): Likewise.
28976 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28978 * manual/Makefile (chapters): Add nptl.
28979 * manual/debug.texi (Debugging Support): Add link to Threads
28981 * manual/nptl.texi: New file.
28983 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28985 2013-03-14 Petr Baudis <pasky@ucw.cz>
28987 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28988 for non-NULL pointer before the memory validity test. Pointed
28989 out by Holger Brunck <holger.brunck@keymile.com>.
28991 2013-03-13 Andreas Schwab <schwab@suse.de>
28993 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28996 2013-03-13 Joseph Myers <joseph@codesourcery.com>
28998 * timezone/zic.c: Update from tzcode 2013b.
29000 2013-03-12 Carlos O'Donell <carlos@redhat.com>
29002 * manual/install.texi (Configuring and compiling):
29003 Mention i686 and i586.
29004 * INSTALL: Regenerate.
29006 2013-03-12 Roland McGrath <roland@hack.frob.com>
29008 * sysdeps/init_array/elf-init.c: New file.
29010 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29011 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29013 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29014 __gmon_start__ as global, but as static with a .preinit_array pointer.
29015 * sysdeps/init_array/gmon-start.c: New file. Use that.
29016 * sysdeps/init_array/crti.S: New file, empty except for comments.
29017 * sysdeps/init_array/crtn.S: Likewise.
29019 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
29021 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29024 Remove Prefer_SSE_for_memop.
29025 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29026 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29027 HAS_PREFER_SSE_FOR_MEMOP.
29028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29030 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29031 Remove bzero, memset ifunc support.
29032 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29033 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29034 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29035 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29037 2013-03-11 Andreas Schwab <schwab@suse.de>
29040 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29043 (GLIBC_2.16): Remove pthread_atfork.
29045 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29047 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29048 (ptestcases.h): Likewise.
29050 2013-03-08 Roland McGrath <roland@hack.frob.com>
29052 * Makeconfig ($(common-objpfx)config.status): Depend on
29053 sysdeps/*/preconfigure{,.in} too.
29055 2013-03-08 Joseph Myers <joseph@codesourcery.com>
29057 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29058 (__free_hook): Use void * instead of __malloc_ptr_t.
29059 (__malloc_hook): Likewise.
29060 (__realloc_hook): Likewise.
29061 (__memalign_hook): Likewise.
29062 (__after_morecore_hook): Likewise.
29063 * malloc/arena.c (save_malloc_hook): Likewise.
29064 (save_free_hook): Likewise.
29065 * malloc/hooks.c (malloc_hook_ini): Likewise.
29066 (realloc_hook_ini): Likewise.
29067 (memalign_hook_ini): Likewise.
29068 * malloc/malloc.c (malloc_hook_ini): Likewise.
29069 (realloc_hook_ini): Likewise.
29070 (memalign_hook_ini): Likewise.
29071 (__free_hook): Likewise.
29072 (__malloc_hook): Likewise.
29073 (__realloc_hook): Likewise.
29074 (__memalign_hook): Likewise.
29075 (__libc_malloc): Likewise.
29076 (__libc_free): Likewise.
29077 (__libc_realloc): Likewise.
29078 (__libc_memalign): Likewise.
29079 (__libc_valloc): Likewise.
29080 (__libc_pvalloc): Likewise.
29081 (__libc_calloc): Likewise.
29082 (__posix_memalign): Likewise.
29083 * malloc/morecore.c (__sbrk): Likewise.
29084 (__default_morecore): Likewise.
29086 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29088 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29089 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29090 __malloc_ptrdiff_t.
29092 * malloc/malloc.h (__malloc_size_t): Remove macro.
29093 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29095 (old_memalign_hook): Likewise.
29096 (old_realloc_hook): Likewise.
29097 (struct hdr): Likewise.
29099 (mallochook): Likewise.
29100 (memalignhook): Likewise.
29101 (reallochook): Likewise.
29102 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29103 (tr_old_realloc_hook): Likewise.
29104 (tr_old_memalign_hook): Likewise.
29105 (tr_mallochook): Likewise.
29106 (tr_reallochook): Likewise.
29107 (tr_memalignhook): Likewise.
29109 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29111 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29112 default_ldbl_pack and using as default implementation.
29113 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29115 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29116 redundant definition.
29117 (ldbl_insert_mantissa): Likewise.
29118 (ldbl_canonicalize): Likewise.
29119 (ldbl_nearbyint): Likewise.
29120 (ldbl_pack): Rename to ldbl_pack_ppc.
29121 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29122 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29123 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29125 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29128 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29129 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29130 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29132 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29133 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29134 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29136 2013-03-07 Andreas Jaeger <aj@suse.de>
29138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29141 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29143 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29144 Include mpa.h and declare __MPEXP.
29145 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29146 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29147 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29148 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29149 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29150 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29151 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29153 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29154 (__slowpow): Use long double EXPL and LOGL functions to
29156 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29157 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29158 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29159 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29160 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29161 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29164 intermediate variable to calculate exponent.
29166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29170 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29171 [!NO__SQR]: Define __sqr.
29172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29173 and NO__SQR. Remove all code except __mul and __sqr. Include
29174 sysdeps/ieee754/dbl-64/mpa.c.
29175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29178 * posix/Makefile (tests): Add tst-pathconf.
29179 * posix/tst-pathconf.c: New test case.
29180 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29182 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29184 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
29186 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29188 2013-03-06 Andreas Jaeger <aj@suse.de>
29190 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29191 definition via __MAP_ANONYMOUS.
29193 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29194 it's not part of Linux headers.
29196 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29197 (MAP_HUGE_MASK): Define.
29199 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29201 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29202 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29204 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29205 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29207 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29208 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29210 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29212 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29213 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29214 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29215 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29216 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29217 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29219 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29222 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29223 Handle f2fs and efivarfs.
29225 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29228 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29229 (EFIVARFS_MAGIC): Add.
29230 (F2FS_LINK_MAX): Add.
29232 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29234 * stdio-common/vfprintf.c: Replace __builtin_expect with
29237 2013-03-06 Joseph Myers <joseph@codesourcery.com>
29240 * sysdeps/generic/bp-sym.h: Remove file.
29241 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29242 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29243 <bp-sym.h> and <bp-asm.h>.
29244 (__longjmp): Don't use BP_SYM.
29245 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29247 (memcpy): Don't use BP_SYM.
29248 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29249 <bp-sym.h> and <bp-asm.h>.
29250 (memcpy): Don't use BP_SYM.
29251 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29253 (memcpy): Don't use BP_SYM.
29254 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29256 (memset): Don't use BP_SYM.
29257 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29258 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29259 (__bzero): Don't use BP_SYM.
29260 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29261 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29262 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29263 <bp-sym.h> and <bp-asm.h>.
29264 (memcmp): Don't use BP_SYM. Remove comment about bounded
29266 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29267 <bp-sym.h> and <bp-asm.h>.
29268 (memcpy): Don't use BP_SYM.
29269 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29270 <bp-sym.h> and <bp-asm.h>.
29271 (memset): Don't use BP_SYM.
29272 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29273 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29274 (__bzero): Don't use BP_SYM.
29275 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29276 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29277 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29278 <bp-sym.h> and <bp-asm.h>.
29279 (strncmp): Don't use BP_SYM. Remove comment about bounded
29281 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29282 <bp-sym.h> and <bp-asm.h>.
29283 (memcpy): Don't use BP_SYM.
29284 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29285 <bp-sym.h> and <bp-asm.h>.
29286 (memset): Don't use BP_SYM.
29287 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29288 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29289 (__bzero): Don't use BP_SYM.
29290 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29291 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29292 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29293 <bp-sym.h> and <bp-asm.h>.
29294 (__memchr): Don't use BP_SYM.
29295 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29296 <bp-sym.h> and <bp-asm.h>.
29297 (memcmp): Don't use BP_SYM. Remove comment about bounded
29299 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29300 <bp-sym.h> and <bp-asm.h>.
29301 (memcpy): Don't use BP_SYM.
29302 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29303 <bp-sym.h> and <bp-asm.h>.
29304 (__mempcpy): Don't use BP_SYM.
29305 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29306 <bp-sym.h> and <bp-asm.h>.
29307 (__memrchr): Don't use BP_SYM.
29308 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29309 <bp-sym.h> and <bp-asm.h>.
29310 (memset): Don't use BP_SYM.
29311 (__bzero): Likewise.
29312 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29313 <bp-sym.h> and <bp-asm.h>.
29314 (__rawmemchr): Don't use BP_SYM.
29315 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29316 <bp-sym.h> and <bp-asm.h>.
29317 (__STRCMP): Don't use BP_SYM.
29318 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29319 <bp-sym.h> and <bp-asm.h>.
29320 (strchr): Don't use BP_SYM.
29321 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29322 <bp-sym.h> and <bp-asm.h>.
29323 (__strchrnul): Don't use BP_SYM.
29324 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29325 <bp-sym.h> and <bp-asm.h>.
29326 (strlen): Don't use BP_SYM.
29327 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29328 <bp-sym.h> and <bp-asm.h>.
29329 (strncmp): Don't use BP_SYM. Remove comment about bounded
29331 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29332 <bp-sym.h> and <bp-asm.h>.
29333 (__strnlen): Don't use BP_SYM.
29334 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29335 <bp-sym.h> and <bp-asm.h>.
29336 (__GI__setjmp): Don't use BP_SYM.
29337 (_setjmp): Likewise.
29338 (__sigsetjmp): Likewise.
29339 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29340 (L(start_addresses)): Don't use BP_SYM.
29341 (_start): Likewise.
29342 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29344 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29345 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29346 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29347 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29348 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29350 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29351 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29352 about bounded pointers.
29353 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29354 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29355 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29357 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29358 about bounded pointers. Remove GKM FIXME comments.
29359 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29360 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29362 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29363 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29364 Remove GKM FIXME comments.
29365 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29366 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29367 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29369 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29370 about bounded pointers. Remove GKM FIXME comment.
29371 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29373 (strncmp): Don't use BP_SYM. Remove comment about bounded
29375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29376 <bp-sym.h> and <bp-asm.h>.
29377 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29379 <bp-sym.h> and <bp-asm.h>.
29380 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29383 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29385 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29388 2013-03-05 David S. Miller <davem@davemloft.net>
29390 * po/es.po: Update from translation team.
29392 2013-03-05 Andreas Jaeger <aj@suse.de>
29394 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29395 <bits/mman-linux.h>.
29396 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29398 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29399 <bits/mman-linux.h> to end of file.
29400 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29402 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29403 <bits/mman-linux.h> to end of file.
29404 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29406 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29407 <bits/mman-linux.h> to end of file.
29409 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29410 (MCL_CURRENT, MCL_FUTURE): Define here.
29412 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29415 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29417 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29419 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29421 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29422 fourth parameter needed for rt_sigprocmask syscall.
29423 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29424 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29425 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29426 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29427 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29428 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29430 2013-03-04 Joseph Myers <joseph@codesourcery.com>
29433 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29434 comment about bounded pointers.
29435 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29436 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29438 2013-03-04 Andreas Jaeger <aj@suse.de>
29440 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29441 common definitions.
29443 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29444 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29445 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29446 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29447 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29448 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29450 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29453 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29454 __ieee754_sqrl instead of __sqrl.
29456 2013-03-01 Joseph Myers <joseph@codesourcery.com>
29458 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29459 * sysdeps/powerpc/fpu_control.h: ... here.
29460 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29461 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29462 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29463 * sysdeps/powerpc/bits/mathinline.h: ... here.
29465 2013-03-01 Roland McGrath <roland@hack.frob.com>
29467 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29468 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29469 to just [NEED_DL_SYSINFO_DSO].
29470 * elf/dl-support.c: Likewise.
29471 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29472 * elf/rtld.c (dl_main): Likewise.
29473 * elf/setup-vdso.h (setup_vdso): Likewise.
29474 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29475 * sysdeps/unix/sysv/linux/dl-sysdep.c
29476 (_dl_discover_osversion): Likewise.
29478 2013-03-01 Carlos O'Donell <carlos@redhat.com>
29480 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29481 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29483 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29485 * NEWS: Mention libm performance improvements and non-x86 PI
29488 * csu/libc-start.c (__pthread_initialize_minimal): Change
29489 function arguments.
29490 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29492 2013-02-28 Joseph Myers <joseph@codesourcery.com>
29495 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29496 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29497 <bp-sym.h> and <bp-asm.h>.
29498 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29499 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29501 (memcpy): Don't use BP_SYM.
29502 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29504 (__mpn_add_n): Don't use BP_SYM.
29505 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29506 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29508 (__mpn_addmul_1): Don't use BP_SYM.
29509 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29510 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29512 (_setjmp): Don't use BP_SYM.
29513 (__novmx_setjmp): Likewise.
29514 (__GI__setjmp): Likewise.
29515 (__vmx_setjmp): Likewise.
29516 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29518 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29519 (__bzero): Don't use BP_SYM.
29520 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29521 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29522 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29523 <bp-sym.h> and <bp-asm.h>.
29524 (memcpy): Don't use BP_SYM.
29525 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29526 <bp-sym.h> and <bp-asm.h>.
29527 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29528 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29529 <bp-sym.h> and <bp-asm.h>.
29530 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29531 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29533 (__mpn_lshift): Don't use BP_SYM.
29534 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29535 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29537 (memset): Don't use BP_SYM.
29538 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29539 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29540 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29542 (__mpn_mul_1): Don't use BP_SYM.
29543 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29544 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29545 <bp-sym.h> and <bp-asm.h>.
29546 (memcmp): Don't use BP_SYM.
29547 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29548 <bp-sym.h> and <bp-asm.h>.
29549 (memcpy): Don't use BP_SYM.
29550 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29551 <bp-sym.h> and <bp-asm.h>.
29552 (memset): Don't use BP_SYM.
29553 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29554 <bp-sym.h> and <bp-asm.h>.
29555 (strncmp): Don't use BP_SYM.
29556 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29557 <bp-sym.h> and <bp-asm.h>.
29558 (memcpy): Don't use BP_SYM.
29559 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29560 <bp-sym.h> and <bp-asm.h>.
29561 (memset): Don't use BP_SYM.
29562 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29563 <bp-sym.h> and <bp-asm.h>.
29564 (__memchr): Don't use BP_SYM.
29565 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29566 <bp-sym.h> and <bp-asm.h>.
29567 (memcmp): Don't use BP_SYM.
29568 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29569 <bp-sym.h> and <bp-asm.h>.
29570 (memcpy): Don't use BP_SYM.
29571 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29572 <bp-sym.h> and <bp-asm.h>.
29573 (__mempcpy): Don't use BP_SYM.
29574 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29575 <bp-sym.h> and <bp-asm.h>.
29576 (__memrchr): Don't use BP_SYM.
29577 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29578 <bp-sym.h> and <bp-asm.h>.
29579 (memset): Don't use BP_SYM.
29580 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29581 <bp-sym.h> and <bp-asm.h>.
29582 (__rawmemchr): Don't use BP_SYM.
29583 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29584 <bp-sym.h> and <bp-asm.h>.
29585 (__STRCMP): Don't use BP_SYM.
29586 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29587 <bp-sym.h> and <bp-asm.h>.
29588 (strchr): Don't use BP_SYM.
29589 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29590 <bp-sym.h> and <bp-asm.h>.
29591 (__strchrnul): Don't use BP_SYM.
29592 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29593 <bp-sym.h> and <bp-asm.h>.
29594 (strlen): Don't use BP_SYM.
29595 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29596 <bp-sym.h> and <bp-asm.h>.
29597 (strncmp): Don't use BP_SYM.
29598 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29599 <bp-sym.h> and <bp-asm.h>.
29600 (__strnlen): Don't use BP_SYM.
29601 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29603 (__mpn_rshift): Don't use BP_SYM.
29604 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29605 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29606 <bp-sym.h> and <bp-asm.h>.
29607 (__sigsetjmp): Don't use BP_SYM.
29608 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29609 (L(start_addresses)): Don't use BP_SYM.
29610 (_start): Likewise.
29611 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29613 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29614 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29615 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29616 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29618 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29619 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29620 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29621 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29623 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29625 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29626 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29628 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29630 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29631 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29632 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29634 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29636 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29638 (strncmp): Don't use BP_SYM,
29639 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29641 (__mpn_sub_n): Don't use BP_SYM.
29642 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29643 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29645 (__mpn_submul_1): Don't use BP_SYM.
29646 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29648 <bp-sym.h> and <bp-asm.h>.
29649 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29651 <bp-sym.h> and <bp-asm.h>.
29652 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29655 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29657 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29658 Use ZK to minimize writes to Z.
29659 (sub_magnitudes): Simplify code a bit.
29660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29661 Use ZK to minimize writes to Z.
29662 (sub_magnitudes): Simplify code a bit.
29664 2013-02-27 Roland McGrath <roland@hack.frob.com>
29666 * csu/gmon-start.c: Add special exception to license text.
29668 2013-02-27 Richard Henderson <rth@redhat.com>
29670 * scripts/config.guess: Update from config.git.
29671 * scripts/config.sub: Likewise.
29673 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29675 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29677 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29679 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29681 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29683 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29685 2013-02-26 Roland McGrath <roland@hack.frob.com>
29687 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29688 [$(build-shared = yes].
29690 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29692 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29693 (__mul): Reduce iterations for calculating mantissa.
29695 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29697 (__mpranred): Likewise.
29700 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29701 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29703 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29705 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29706 Define __attribute__.
29708 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29710 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29712 * posix/regex_internal.h (__attribute): Remove.
29713 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29714 (re_string_context_at): Likewise.
29715 (bitset_not): Use __attribute__ and mark function as possibly
29717 (bitset_merge): Likewise.
29718 (bitset_mask): Likewise.
29719 (re_string_char_size_at): Likewise.
29720 (re_string_wchar_at): Likewise.
29721 (re_string_elem_size_at): Likewise.
29723 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29725 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29729 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29733 (denorm): Likewise.
29734 (__dbl_mp): Likewise.
29735 (add_magnitudes): Likewise.
29736 (sub_magnitudes): Likewise.
29740 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29743 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29746 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29750 up changes with default code.
29751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29754 2013-02-24 Allan McRae <allan@archlinux.org>
29756 * manual/socket.texi (The Internet Namespace): Order menu items
29757 to match that in the file.
29759 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29760 node listing of the info page menu.
29762 2013-02-21 Joseph Myers <joseph@codesourcery.com>
29765 * sysdeps/i386/bp-asm.h: Remove file.
29766 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29767 (PARMS): Do not use macros from bp-asm.h.
29771 (__mpn_add_n): Do not use BP_SYM
29772 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29774 (PARMS): Do not use macros from bp-asm.h.
29777 (__mpn_addmul_1): Do not use BP_SYM
29778 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29780 (PARMS): Do not use macros from bp-asm.h.
29781 (SIGMSK): Likewise.
29782 (_setjmp): Likewise. Do not use BP_SYM.
29783 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29785 (PARMS): Do not use macros from bp-asm.h.
29786 (SIGMSK): Likewise.
29787 (setjmp): Likewise. Do not use BP_SYM.
29788 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29790 (PARMS): Do not use macros from bp-asm.h.
29791 (__frexp): Do not use BP_SYM.
29793 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29795 (PARMS): Do not use macros from bp-asm.h.
29796 (__frexpf): Do not use BP_SYM.
29797 (frexpf): Likewise.
29798 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29800 (PARMS): Do not use macros from bp-asm.h.
29801 (__frexpl): Do not use BP_SYM.
29802 (frexpl): Likewise.
29803 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29805 (PARMS): Do not use macros from bp-asm.h.
29806 (__remquo): Do not use BP_SYM.
29807 (remquo): Likewise.
29808 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29810 (PARMS): Do not use macros from bp-asm.h.
29811 (__remquof): Do not use BP_SYM.
29812 (remquof): Likewise.
29813 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29815 (PARMS): Do not use macros from bp-asm.h.
29816 (__remquol): Do not use BP_SYM.
29817 (remquol): Likewise.
29818 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29820 (PARMS): Do not use macros from bp-asm.h.
29823 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29824 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29826 (PARMS): Do not use macros from bp-asm.h.
29827 (strlen): Do not use BP_SYM.
29828 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29830 (PARMS): Do not use macros from bp-asm.h.
29834 (__mpn_add_n): Do not use BP_SYM.
29835 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29837 (PARMS): Do not use macros from bp-asm.h.
29840 (__mpn_addmul_1): Do not use BP_SYM.
29841 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29844 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29846 (PARMS): Do not use macros from bp-asm.h.
29849 (__mpn_lshift): Do not use BP_SYM.
29850 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29852 (PARMS): Do not use macros from bp-asm.h.
29856 (memcpy): Likewise. Do not use BP_SYM.
29857 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29858 libc_hidden_def and weak_alias.
29859 (mempcpy): Do not use BP_SYM in weak_alias.
29860 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29862 (PARMS): Do not use macros from bp-asm.h.
29865 [!BZERO_P] (CHR): Likewise.
29866 (memset): Likewise. Do not use BP_SYM.
29867 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29869 (PARMS): Do not use macros from bp-asm.h.
29872 (__mpn_mul_1): Do not use BP_SYM.
29873 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29875 (PARMS): Do not use macros from bp-asm.h.
29878 (__mpn_rshift): Do not use BP_SYM.
29879 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29881 (PARMS): Do not use macros from bp-asm.h.
29884 (strchr): Likewise. Do not use BP_SYM.
29885 (index): Do not use BP_SYM in weak_alias.
29886 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29888 (PARMS): Do not use macros from bp-asm.h.
29891 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29892 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29894 (PARMS): Do not use macros from bp-asm.h.
29895 (strlen): Do not use BP_SYM.
29896 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29898 (PARMS): Do not use macros from bp-asm.h.
29902 (__mpn_sub_n): Do not use BP_SYM.
29903 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29905 (PARMS): Do not use macros from bp-asm.h.
29908 (__mpn_submul_1): Do not use BP_SYM.
29909 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29911 (PARMS): Do not use macros from bp-asm.h.
29915 (__mpn_add_n): Do not use BP_SYM.
29916 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29919 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29921 (PARMS): Do not use macros from bp-asm.h.
29924 (memcmp): Do not use BP_SYM.
29925 (bcmp): Do not use BP_SYM in weak_alias.
29926 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29928 (PARMS): Do not use macros from bp-asm.h.
29932 (memcpy): Likewise. Do not use BP_SYM.
29933 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29935 (PARMS): Do not use macros from bp-asm.h.
29939 (memmove): Likewise. Do not use BP_SYM.
29940 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29942 (PARMS): Do not use macros from bp-asm.h.
29946 (__mempcpy): Likewise. Do not use BP_SYM.
29947 (mempcpy): Do not use BP_SYM in weak_alias.
29948 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29950 (PARMS): Do not use macros from bp-asm.h.
29953 [!BZERO_P] (CHR): Likewise.
29954 (memset): Likewise. Do not use BP_SYM.
29955 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29957 (PARMS): Do not use macros from bp-asm.h.
29959 (strcmp): Do not use BP_SYM.
29960 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29962 (PARMS): Do not use macros from bp-asm.h.
29965 [USE_AS_STRTOK_R] (SAVE): Likewise.
29966 (FUNCTION): Likewise. Do not use BP_SYM.
29967 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29969 (strtok_r): Likewise.
29970 (__GI___strtok_r): Likewise.
29971 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29972 (PARMS): Do not use macros from bp-asm.h.
29975 (__mpn_lshift): Do not use BP_SYM.
29976 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29977 (PARMS): Do not use macros from bp-asm.h.
29980 (__memchr): Do not use BP_SYM.
29981 (memchr): Do not use BP_SYM in weak_alias.
29982 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29983 (PARMS): Do not use macros from bp-asm.h.
29986 (memcmp): Do not use BP_SYM.
29987 (bcmp): Do not use BP_SYM in weak_alias.
29988 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29989 (PARMS): Do not use macros from bp-asm.h.
29992 (__mpn_mul_1): Do not use BP_SYM.
29993 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29995 (PARMS): Do not use macros from bp-asm.h.
29998 (__rawmemchr): Do not use BP_SYM.
29999 (rawmemchr): Do not use BP_SYM in weak_alias.
30000 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30001 (PARMS): Do not use macros from bp-asm.h.
30004 (__mpn_rshift): Do not use BP_SYM.
30005 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30006 (PARMS): Do not use macros from bp-asm.h.
30007 (SIGMSK): Likewise.
30008 (__sigsetjmp): Likewise. Do not use BP_SYM.
30009 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30010 (_start): Do not use BP_SYM.
30011 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30012 (PARMS): Do not use macros from bp-asm.h.
30015 (__stpcpy): Likewise. Do not use BP_SYM.
30016 (stpcpy): Do not use BP_SYM in weak_alias.
30017 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30019 (PARMS): Do not use macros from bp-asm.h.
30023 (__stpncpy): Likewise. Do not use BP_SYM.
30024 (stpncpy): Do not use BP_SYM in weak_alias.
30025 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30026 (PARMS): Do not use macros from bp-asm.h.
30029 (strchr): Likewise. Do not use BP_SYM.
30030 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30032 (PARMS): Do not use macros from bp-asm.h.
30035 (__strchrnul): Likewise. Do not use BP_SYM.
30036 (strchrnul): Do not use BP_SYM in weak_alias.
30037 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30039 (PARMS): Do not use macros from bp-asm.h.
30041 (strcspn): Do not use BP_SYM.
30042 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30044 (PARMS): Do not use macros from bp-asm.h.
30047 (strpbrk): Likewise. Do not use BP_SYM.
30048 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30050 (PARMS): Do not use macros from bp-asm.h.
30053 (strrchr): Likewise. Do not use BP_SYM.
30054 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30055 (PARMS): Do not use macros from bp-asm.h.
30057 (strspn): Do not use BP_SYM.
30058 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30059 (PARMS): Do not use macros from bp-asm.h.
30063 (FUNCTION): Likewise. Do not use BP_SYM.
30064 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30066 (strtok_r): Likewise.
30067 (__GI___strtok_r): Likewise.
30068 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30069 (PARMS): Do not use macros from bp-asm.h.
30073 (__mpn_sub_n): Do not use BP_SYM.
30074 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30076 (PARMS): Do not use macros from bp-asm.h.
30079 (__mpn_submul_1): Do not use BP_SYM.
30080 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30082 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30084 (PARMS): Do not use macros from bp-asm.h.
30089 (__clone): Do not use BP_SYM.
30090 (clone): Do not use BP_SYM in weak_alias.
30091 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30093 (PARMS): Do not use macros from bp-asm.h.
30095 (__mmap64): Do not use BP_SYM.
30096 (mmap64): Do not use BP_SYM in weak_alias.
30097 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30098 <bp-sym.h> and <bp-asm.h>.
30099 (PARMS): Do not use macros from bp-asm.h.
30100 (__posix_fadvise64_l64): Do not use BP_SYM.
30101 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30102 (PARMS): Do not use macros from bp-asm.h.
30104 (semtimedop): Do not use BP_SYM.
30105 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30108 2013-02-21 Allan McRae <allan@archlinux.org>
30110 * manual/message.texi (Charset conversion in gettext):
30111 Move @end statement to beginning of line.
30113 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30115 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30120 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30121 (denorm): Likewise.
30122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30125 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30127 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30128 tail-call to the resolved function if pltexit isn't needed.
30130 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30133 or Y being zero as being unlikely.
30134 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30137 2013-02-20 Carlos O'Donell <carlos@redhat.com>
30139 * manual/nss.texi (System Databases and Name Service Switch):
30140 Remove frobnicate @pxref.
30142 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30144 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30145 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30147 2013-02-20 Petr Machata <pmachata@redhat.com>
30149 * elf/elf.h (R_ARM_TARGET1): New macro.
30150 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30151 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30152 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30153 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30154 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30155 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30156 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30157 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30158 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30159 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30160 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30161 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30162 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30163 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30164 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30165 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30166 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30167 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30168 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30169 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30170 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30171 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30172 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30173 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30174 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30175 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30176 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30177 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30178 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30179 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30180 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30181 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30182 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30183 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30184 (R_ARM_THM_GOT_BREL12): Likewise.
30185 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30186 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30187 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30188 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30189 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30190 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30191 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30192 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30193 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30195 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30197 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30198 __attribute_used__ to __attribute__ ((unused)).
30200 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30202 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30205 comment formatting.
30206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30208 2013-02-19 Joseph Myers <joseph@codesourcery.com>
30211 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30213 (ENTER): Remove both macro definitions.
30215 (CHECK_BOUNDS_LOW): Likewise.
30216 (CHECK_BOUNDS_HIGH): Likewise.
30217 (CHECK_BOUNDS_BOTH): Likewise.
30218 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30219 (RETURN_BOUNDED_POINTER): Likewise.
30220 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30221 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30222 (POP_ERRNO_LOCATION_RETURN): Likewise.
30223 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30224 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30225 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30227 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30228 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30229 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30230 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30231 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30232 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30233 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30234 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30235 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30236 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30237 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30238 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30239 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30240 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30242 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30243 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30245 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30246 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30247 * sysdeps/i386/i586/memset.S (memset): Likewise.
30248 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30249 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30250 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30252 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30253 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30254 Change uses of L(2) to L(out).
30255 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30256 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30257 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30258 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30259 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30261 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30262 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30264 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30265 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30266 (RETURN): Do not use macro LEAVE.
30267 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30268 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30269 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30270 * sysdeps/i386/i686/memset.S (memset): Likewise.
30271 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30272 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30273 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30274 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30276 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30277 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30278 L(1_2) and L(1_3) into L(1).
30279 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30280 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30281 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30282 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30283 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30284 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30285 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30286 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30287 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30289 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30290 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30291 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30292 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30293 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30294 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30295 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30296 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30297 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30298 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30299 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30300 * sysdeps/i386/strspn.S (strspn): Likewise.
30301 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30303 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30304 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30305 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30306 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30307 L(1_3) into L(1_1).
30308 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30309 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30310 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30312 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30314 2013-02-19 Jakub Jelinek <jakub@redhat.com>
30316 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30319 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30321 * math/atest-exp.c (exp_mpn): Remove ROUND.
30322 * math/atest-exp2.c (exp_mpn): Likewise.
30323 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30325 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30326 * stdlib/tst-tls-atexit-lib.c: Likewise.
30327 * stdlib/tst-tls-atexit.c: Likewise.
30329 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30331 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30332 and __attribute_alloc_size__.
30334 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30336 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30337 __attribute_alloc_size__.
30338 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30339 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30341 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30343 * include/programs/xmalloc.h: New file.
30344 * catgets/gencat.c: Include it.
30345 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30346 * elf/pldd.c: Likewise.
30347 * iconv/iconv_charmap.c: Likewise.
30348 * iconv/iconvconfig.c: Likewise.
30349 * iconv/strtab.c: Likewise.
30350 * locale/programs/locale.c: Likewise.
30351 * locale/programs/localedef.h: Likewise.
30352 * locale/programs/simple-hash.c: Likewise.
30353 * nscd/nscd.h: Likewise.
30354 * nss/makedb.c: Likewise.
30355 * sysdeps/generic/ldconfig.h: Likewise.
30357 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30359 * Versions.def: Add GLIBC_2.18.
30360 * include/link.h (struct link_map): New member l_tls_dtor_count.
30361 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30362 (__call_tls_dtors): Likewise.
30363 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30364 __cxa_thread_atexit_impl.
30365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30381 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30382 (tests): Add test case tst-tls-atexit.
30383 (modules-names): Add shared library for tst-tls-atexit.
30384 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30385 (GLIBC_PRIVATE): Add __call_tls_dtors.
30386 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30388 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30389 * stdlib/tst-tls-atexit.c: New test case.
30390 * stdlib/tst-tls-atexit-lib.c: New test case.
30392 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30394 * elf/Versions (ld): Add _dl_find_dso_for_object.
30395 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30396 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30397 (dl_open_worker): Use _dl_find_dso_for_object.
30398 * elf/dl-sym.c (do_sym): Likewise.
30399 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30401 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30403 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30404 Syntactic changes only.
30405 (_dl_runtime_profile): Do a tail-call to the resolved function.
30407 2013-02-17 Joseph Myers <joseph@codesourcery.com>
30410 * sysdeps/x86_64/bp-asm.h: Remove file.
30411 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30412 <bp-sym.h> and <bp-asm.h>.
30413 (__clone): Do not use BP_SYM.
30414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30415 <bp-sym.h> and <bp-asm.h>.
30416 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30417 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30419 (_setjmp): Do not use BP_SYM.
30420 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30422 (setjmp): Do not use BP_SYM.
30423 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30425 (mempcpy): Do not use BP_SYM in weak_alias.
30426 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30428 (strchr): Do not use BP_SYM.
30429 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30431 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30432 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30433 (_start): Do not use BP_SYM.
30434 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30436 (strcat): Do not use BP_SYM.
30437 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30439 (STRCMP): Do not use BP_SYM.
30440 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30442 (STRCPY): Do not use BP_SYM.
30443 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30445 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30447 (FUNCTION): Do not use BP_SYM.
30448 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30450 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30452 2013-02-17 Andreas Jaeger <aj@suse.de>
30454 * time/Versions: Sort entries.
30455 * string/Versions: Likewise.
30456 * resolv/Versions: Likewise.
30457 * posix/Versions: Likewise.
30458 * iconv/Versions: Likewise.
30459 * elf/Versions: Likewise.
30460 * wcsmbs/Versions: Likewise.
30462 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30464 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30465 loop termination condition.
30467 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30468 variable to calculate EZ.
30471 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30472 the lower precision input.
30474 2013-02-15 Joseph Myers <joseph@codesourcery.com>
30477 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30478 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30479 (run-via-rtld-prefix): Do not handle %-bp tests.
30480 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30481 (all-object-suffixes): Remove .ob.
30482 (bppfx): Remove variable.
30483 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30484 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30485 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30486 [$(build-bounded) = yes] (libtype.ob): Likewise.
30487 * Makerules (elide-routines.ob): Remove variable.
30488 (do-tests-clean): Do not handle *-bp.out.
30489 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30490 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30491 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30492 (tests): Do not include $(tests-bp.out).
30493 (xtests): Do not include $(xtests-bp.out).
30494 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30495 [$(build-bounded) = yes] ($(addprefix
30496 $(objpfx),$(binaries-bounded))): Remove rule.
30497 ($(objpfx)%-bp.out): Remove rule.
30498 * config.make.in (build-bounded): Remove variable.
30499 * crypt/Makefile [$(build-bounded) = yes]
30500 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30501 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30502 append to variable.
30503 [$(build-bounded) = yes] (install-lib): Likewise.
30504 [$(build-bounded) = yes] (generated): Likewise.
30505 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30507 * intl/Makefile [$(build-bounded) = yes]
30508 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30509 * math/Makefile [$(build-bounded) = yes]
30510 ($(tests:%=$(objpfx)%-bp): Likewise.
30511 * misc/Makefile [$(build-bounded) = yes]
30512 ($(objpfx)tst-tsearch-bp): Likewise.
30513 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30514 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30516 * string/Makefile (o-objects.ob): Remove variable.
30517 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30518 (CFLAGS-.ob): Remove variable.
30519 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30520 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30521 both definitions of variable.
30522 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30523 (ASFLAGS-.ob): Remove variable.
30525 2013-02-14 Joseph Myers <joseph@codesourcery.com>
30528 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30529 Remove __BOUNDED_POINTERS__ from condition.
30530 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30531 * string/bits/string2.h [!__NO_STRING_INLINES &&
30532 !__BOUNDED_POINTERS__]: Likewise.
30533 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30535 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30536 Remove conditional code.
30537 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30538 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30539 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30543 * csu/libc-start.c: Do not include <bp-sym.h>.
30544 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30545 * elf/dl-open.c: Do not include <bp-sym.h>.
30546 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30547 * math/fegetenv.c: Do not include <bp-sym.h>.
30548 (fegetenv): Do not use BP_SYM in versioned symbols.
30549 * nptl/sysdeps/pthread/bits/libc-lockP.h
30550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30553 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30555 (__pthread_mutex_destroy): Likewise.
30556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30557 (__pthread_mutex_lock): Likewise.
30558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30559 (__pthread_mutex_trylock): Likewise.
30560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30561 (__pthread_mutex_unlock): Likewise.
30562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30563 (__pthread_mutexattr_init): Likewise.
30564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30565 (__pthread_mutexattr_destroy): Likewise.
30566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30567 (__pthread_mutexattr_settype): Likewise.
30568 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30569 (__pthread_rwlock_init): Likewise.
30570 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30571 (__pthread_rwlock_destroy): Likewise.
30572 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30573 (__pthread_rwlock_rdlock): Likewise.
30574 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30575 (__pthread_rwlock_tryrdlock): Likewise.
30576 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30577 (__pthread_rwlock_wrlock): Likewise.
30578 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30579 (__pthread_rwlock_trywrlock): Likewise.
30580 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30581 (__pthread_rwlock_unlock): Likewise.
30582 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30583 (__pthread_key_create): Likewise.
30584 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30585 (__pthread_setspecific): Likewise.
30586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30587 (__pthread_getspecific): Likewise.
30588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30591 (_pthread_cleanup_push_defer): Likewise.
30592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30593 (_pthread_cleanup_pop_restore): Likewise.
30594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30595 (pthread_setcancelstate): Likewise.
30596 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30598 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30599 (memchr): Do not use BP_SYM in weak_alias.
30600 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30601 (fegetenv): Do not use BP_SYM in versioned symbols.
30602 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30603 (fesetenv): Do not use BP_SYM in versioned symbols.
30604 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30605 (feupdateenv): Do not use BP_SYM in versioned symbols.
30606 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30607 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30608 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30609 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30610 (open64): Do not use BP_SYM in weak_alias.
30611 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30612 (fegetenv): Do not use BP_SYM in versioned symbols.
30613 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30614 (fesetenv): Do not use BP_SYM in versioned symbols.
30615 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30616 (feupdateenv): Do not use BP_SYM in versioned symbols.
30617 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30618 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30619 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30620 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30621 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30622 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30623 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30625 (__libc_start_main): Do not use BP_SYM.
30627 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30629 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30630 redundant return line.
30632 (denorm): Likewise.
30633 (dbl_mp): Likewise.
30634 (sub_magnitudes): Likewise.
30640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30642 (denorm): Likewise.
30643 (dbl_mp): Likewise.
30644 (sub_magnitudes): Likewise.
30651 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30653 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30654 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30657 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30658 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30659 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30660 of __mul for squares.
30661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30665 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30666 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30668 2013-02-13 Joseph Myers <joseph@codesourcery.com>
30671 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30673 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30674 prototype or function definition. Rename ubp_* variables and
30675 parameters. Remove argv definitions conditional on
30676 [__BOUNDED_POINTERS__].
30677 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30678 * elf/dl-runtime.c (_dl_fixup): Likewise.
30679 * include/set-hooks.h (RUN_HOOK): Likewise.
30680 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30682 * string/strcpy.c (strcpy): Do not use __unbounded.
30683 * sysdeps/generic/frame.h (struct layout): Likewise.
30684 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30685 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30686 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30687 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30688 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30689 (__backtrace): Likewise.
30690 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30692 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30693 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30694 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30696 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30697 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30698 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30699 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30700 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30701 Do not use __unbounded.
30702 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30703 Rename __unboundedrlimits parameter to rlimits in prototype.
30704 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30705 Do not use __unbounded.
30706 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30707 not use __ptrvalue.
30708 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30709 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30710 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30711 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30712 __ptrvalue or __unbounded.
30713 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30714 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30716 (__new_msgctl): Do not use __ptrvalue.
30717 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30719 (__libc_msgrcv): Do not use __ptrvalue.
30720 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30721 startup_info): Do not use __unbounded.
30722 (__libc_start_main): Likewise. Rename ubp_* variables and
30723 parameters. Remove argv definitions conditional on
30724 [__BOUNDED_POINTERS__].
30725 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30727 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30729 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30731 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30733 (__new_shmctl): Do not use __ptrvalue.
30734 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30735 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30737 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30738 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30739 (__libc_sigaction): Likewise.
30740 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30741 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30743 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30745 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
30747 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30749 * string/mempcpy.c: Implement by calling memcpy.
30751 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30753 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30755 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30758 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30759 values in the mantissa.
30761 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30762 minimize writes to Z.
30763 (sub_magnitudes): Simplify code a bit.
30765 2013-02-12 Roland McGrath <roland@hack.frob.com>
30767 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30768 from the message. The linker prefixes all warnings with that already.
30770 2013-02-12 Andreas Schwab <schwab@suse.de>
30773 * posix/regexec.c (extend_buffers): Add parameter min_len.
30774 (check_matching): Pass minimum needed length.
30775 (clean_state_log_if_needed): Likewise.
30776 (get_subexp): Likewise.
30777 * posix/Makefile (tests): Add bug-regex34.
30778 (bug-regex34-ENV): Define.
30779 * posix/bug-regex34.c: New file.
30782 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30783 elements compare against the byte sequence of it, not its name.
30784 * posix/Makefile (tests): Add bug-regex35.
30785 (bug-regex35-ENV): Define.
30786 * posix/bug-regex35.c: New file.
30788 2013-02-11 Tom de Vries <tom@codesourcery.com>
30790 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30792 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30793 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30794 (CHECK_EOL): Add undef.
30796 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
30798 * bits/stdlib-bsearch.h: New file.
30799 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30800 * stdlib/stdlib.h: Likewise.
30802 2013-02-11 Roland McGrath <roland@hack.frob.com>
30804 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30805 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30807 * manual/search.texi (Array Search Function): Add missing const in
30809 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30810 declaration to use rlim_t.
30811 (Basic Scheduling Functions): Remove erroneous const from
30812 sched_getparam prototype. Remove erroneous * from
30813 sched_get_priority_max and sched_get_priority_min prototypes.
30814 (Resource Usage): Fix summary @comment on vtimes to refer to
30815 sys/vtimes.h rather than vtimes.h.
30816 Add missing *s in vtimes prototype.
30817 (Limits on Resources): Fix ulimit prototype to return long int.
30818 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30819 prototypes to use long int rather than double.
30820 (BSD Random): Fix initstate and setstate to use char *, not void *.
30821 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30822 prototype to make second argument 'struct aiocb64 *const[]'.
30823 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30824 (Status of AIO Operations): Remove erroneous const in aio_return and
30825 aio_return64 prototypes.
30826 (Synchronizing I/O): Fix sync prototype to return void.
30827 * manual/startup.texi (Suboptions): Remove an erroneous const in
30828 getsubopt prototype.
30829 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30830 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30831 use size_t rather than int.
30832 (Scanning All Users): Likewise for getpwent_r.
30833 (Setting Groups): Add missing const to setgroups prototype.
30834 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30835 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30836 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30837 'const void *' rather than 'const char *'.
30838 (Host Address Functions): Likewise for inet_ntop.
30839 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30840 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30841 ssize_t for return value.
30842 (Sending Data): Likewise for send, sendto, sendmsg.
30843 (Socket Option Functions): Add a missing const in setsockopt prototype.
30844 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30845 use wchar_t for the argument.
30846 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30847 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30849 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30850 double/float/long double for second argument.
30851 Fix return types of significand, significandf, significandl.
30852 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30853 argument in fchmod prototype.
30854 (File Owner): Use uid_t and gid_t in fchown prototype.
30855 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30856 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30857 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30858 use 'const struct dirent **' as argument types to CMP function pointer
30860 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30861 (File Times): Fix summary magic @comment for struct utimbuf and utime
30862 to refer to utime.h, not time.h.
30863 * manual/string.texi (Argz Functions): Add missing const in
30864 argz_extract and argz_next prototypes.
30865 (Finding Tokens in a String): Likewise for basename.
30866 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30867 (Copying and Concatenation): Fix typo in wmemmove prototype.
30868 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30869 (Signal Stack): Remove erroneous const in sigstack prototype.
30870 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30872 (Simple Calendar Time): Likewise for stime.
30873 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30875 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30876 say sys/sysctl.h instead.
30877 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30878 and vsyslog prototypes.
30880 2013-02-11 Tom de Vries <tom@codesourcery.com>
30882 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30885 2013-02-11 Roland McGrath <roland@hack.frob.com>
30887 * misc/sys/mman.h: Fix typo in mremap comment.
30889 2013-02-08 Roland McGrath <roland@hack.frob.com>
30891 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30892 the '\0' terminator.
30894 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30897 * debug/segfault.c: Don't include <bp-checks.h>.
30898 * sysdeps/generic/bp-checks.h: Remove file.
30899 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30900 (__GETDENTS): Don't use CHECK_N.
30901 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30902 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30903 (__getgroups): Don't use CHECK_N.
30904 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30905 (setgroups): Don't use CHECK_N.
30906 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30907 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30908 (__libc_msgrcv): Don't use CHECK_N.
30909 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30910 (__libc_msgsnd): Don't use CHECK_N.
30911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30913 (__libc_pread): Don't use CHECK_N.
30914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30915 include <bp-checks.h>.
30916 (__libc_pread64): Don't use CHECK_N.
30917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30918 include <bp-checks.h>.
30919 (__libc_pwrite): Don't use CHECK_N.
30920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30921 include <bp-checks.h>.
30922 (__libc_pwrite64): Don't use CHECK_N.
30923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30925 (__libc_pread): Don't use CHECK_N.
30926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30927 include <bp-checks.h>.
30928 (__libc_pread64): Don't use CHECK_N.
30929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30930 include <bp-checks.h>.
30931 (__libc_pwrite): Don't use CHECK_N.
30932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30933 include <bp-checks.h>.
30934 (__libc_pwrite64): Don't use CHECK_N.
30935 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30936 (do_pread): Don't use CHECK_N.
30937 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30938 (do_pread64): Don't use CHECK_N.
30939 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30940 (do_pwrite): Don't use CHECK_N.
30941 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30942 (do_pwrite64): Don't use CHECK_N.
30943 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30944 (__libc_readv): Don't use CHECK_N.
30945 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30946 (semop): Don't use CHECK_N.
30947 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30949 (semtimedop): Don't use CHECK_N.
30950 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30951 (__libc_pread): Don't use CHECK_N.
30952 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30954 (__libc_pread64): Don't use CHECK_N.
30955 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30957 (__libc_pwrite): Don't use CHECK_N.
30958 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30960 (__libc_pwrite64): Don't use CHECK_N.
30961 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30963 (__libc_msgrcv): Don't use CHECK_N.
30964 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30965 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30966 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30967 (__libc_writev): Don't use CHECK_N.
30969 2013-02-08 Roland McGrath <roland@hack.frob.com>
30971 * string/strcpy.c: Removed unused variable.
30973 * Makeconfig (+sysdep-includes): Define with := rather than =.
30974 Use an existing include/ subdir of each sysdeps dir before it.
30976 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30978 * nscd/connection.c (register_traced_file): Comment function.
30979 [HAVE_INOTIFY] (union __inev): Define.
30980 [HAVE_INOTIFY] (inotify_check_files): New function.
30981 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30982 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30984 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30986 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30988 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30989 loaded if not already and that a failure is permanent.
30991 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30994 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30995 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30997 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31000 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31001 (CHECK_1_NULL_OK): Likewise.
31002 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31003 (__fxstat): Do not use CHECK_1.
31004 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31006 (___fxstat64): Do not use CHECK_1.
31007 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31009 (__fxstatat): Do not use CHECK_1.
31010 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31012 (__fxstatat64): Do not use CHECK_1.
31013 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31015 (__fxstat): Do not use CHECK_1.
31016 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31018 (__fxstatat): Do not use CHECK_1.
31019 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31021 (__getresgid): Do not use CHECK_1.
31022 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31024 (__getresuid): Do not use CHECK_1.
31025 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31027 (__lxstat): Do not use CHECK_1.
31028 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31030 (__old_msgctl): Do not use CHECK_1.
31031 (__new_msgctl): Likewise.
31032 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31034 (__new_setrlimit): Do not use CHECK_1.
31035 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31037 (__old_shmctl): Do not use CHECK_1.
31038 (__new_shmctl): Likewise.
31039 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31041 (__xstat): Do not use CHECK_1.
31042 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31043 (__lxstat): Do not use CHECK_1.
31044 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31046 (___lxstat64): Do not use CHECK_1.
31047 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31048 (__old_msgctl): Do not use CHECK_1.
31049 (__new_msgctl): Likewise.
31050 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31052 (__gettimeofday): Do not use CHECK_1.
31053 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31054 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31055 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31057 (__gettimeofday): Do not use CHECK_1.
31058 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31059 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31060 (__new_shmctl): Do not use CHECK_1.
31061 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31063 (do_sigtimedwait): Do not use CHECK_1.
31064 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31066 (do_sigwaitinfo): Do not use CHECK_1.
31067 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31069 (msgctl): Do not use CHECK_1.
31070 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31072 (shmctl): Do not use CHECK_1.
31073 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31074 (ustat): Do not use CHECK_1.
31075 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31077 (__fxstat): Do not use CHECK_1.
31078 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31080 (__fxstatat): Do not use CHECK_1.
31081 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31083 (__lxstat): Do not use CHECK_1.
31084 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31086 (__xstat): Do not use CHECK_1.
31087 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31088 (__xstat): Do not use CHECK_1.
31089 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31090 (___xstat64): Do not use CHECK_1.
31093 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31095 (CHECK_BOUNDS_HIGH): Likewise.
31096 * string/strcpy.c: Do not include <bp-checks.h>.
31097 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31099 2013-02-07 Roland McGrath <roland@hack.frob.com>
31101 * nscd/nscd-client.h (__nscd_drop_map_ref):
31102 Add __attribute__ ((unused)).
31103 * nis/nss-nisplus.h (niserr2nss): Likewise.
31105 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31106 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31108 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31109 Remove inline keyword.
31110 * include/rounding-mode.h (round_away): Likewise.
31111 * libio/wfileops.c (adjust_wide_data): Likewise.
31112 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31113 (__m128i_strloadu_tolower): Likewise.
31114 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31115 (__m128i_strloadu_tolower): Likewise.
31116 * time/mktime.c (ydhms_diff): Likewise.
31117 * locale/elem-hash.h (elem_hash): Likewise.
31118 * locale/setlocale.c (setdata): Likewise.
31119 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31120 (re_string_wchar_at): Likewise.
31121 (bitset_not, bitset_merge, bitset_mask): Likewise.
31122 [!(__GNUC__ > 3)] (inline): Remove macro.
31123 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31124 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31125 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31126 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31127 * string/memcmp.c (memcmp_bytes): Likewise.
31128 * locale/programs/locarchive.c (compute_hashval): Likewise.
31129 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31130 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31131 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31132 * nss/getent.c (print_rpc, print_protocols): Likewise.
31133 (print_passwd, print_group, print_aliases): Likewise.
31134 * nis/nss-nisplus.h (niserr2nss): Likewise.
31135 * nscd/connections.c (restart_p): Likewise.
31136 Change return type to bool.
31138 2013-02-05 Roland McGrath <roland@hack.frob.com>
31140 * Makeconfig (all-Depend-files): Add existing
31141 $(sorted-subdirs:=/Depend) files.
31142 (all-subdirs): Remove nss.
31143 * sysdeps/unix/inet/Subdirs: Add it here instead.
31144 * hesiod/Depend: New file.
31146 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31147 instead of calling alloca.
31149 * io/lseek.c (__lseek): Rename to __libc_lseek.
31150 Define __lseek as an alias.
31152 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31154 2013-02-04 Carlos O'Donell <carlos@redhat.com>
31156 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31157 else clause and remove check for non-standard endianness.
31159 2013-02-04 David S. Miller <davem@davemloft.net>
31161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31163 2013-02-04 Joseph Myers <joseph@codesourcery.com>
31166 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31167 (__ubp_memchr): Remove prototype.
31168 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31169 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31170 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31171 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31172 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31174 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31175 (__ubp_memchr): Likewise.
31176 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31177 (__ubp_memchr): Likewise.
31178 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31179 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31180 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31181 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31183 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31184 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31185 (__getcwd): Do not use CHECK_STRING.
31186 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31188 (__real_chown): Do not use CHECK_STRING.
31189 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31191 (fchownat): Do not use CHECK_STRING.
31192 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31194 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31196 (__lchown): Do not use CHECK_STRING.
31197 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31198 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31199 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31200 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31202 include <bp-checks.h>.
31203 (truncate64): Do not use CHECK_STRING.
31204 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31206 (__real_chown): Do not use CHECK_STRING.
31207 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31209 (__lchown): Do not use CHECK_STRING.
31210 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31212 (__chown): Do not use CHECK_STRING.
31213 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31215 (truncate64): Do not use CHECK_STRING.
31216 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31218 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31219 (__xmknod): Do not use CHECK_STRING.
31220 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31222 (__xmknodat): Do not use CHECK_STRING.
31223 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31224 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31226 2013-02-04 Andreas Schwab <schwab@suse.de>
31229 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31230 * include/netdb.h: Likewise for h_errno.
31231 * elf/tst-stackguard1.c: Include <tls.h>.
31233 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31235 * elf/link.h (struct link_map): Extend the l_addr comment.
31236 * include/link.h (struct link_map): Likewise.
31238 2013-02-01 Joseph Myers <joseph@codesourcery.com>
31241 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31242 (BOUNDED_1): Remove macro.
31243 * debug/backtrace.c: Don't include <bp-checks.h>.
31244 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31245 (__backtrace): Likewise.
31246 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31248 (__backtrace): Don't use BOUNDED_1.
31249 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31251 (__backtrace): Don't use BOUNDED_1.
31252 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31253 (__backtrace): Don't use BOUNDED_1.
31254 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31255 (shmat): Don't use BOUNDED_N.
31257 2013-01-31 Joseph Myers <joseph@codesourcery.com>
31260 * sysdeps/generic/bp-start.h: Remove file.
31261 * csu/libc-start.c: Don't include <bp-start.h>.
31262 (LIBC_START_MAIN): Set up __environ directly instead of using
31263 INIT_ARGV_and_ENVIRON.
31264 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31268 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31270 (CHECK_FCNTL): Likewise.
31271 (CHECK_N_PAGES): Likewise.
31274 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31276 (CHECK_SIGSET_NULL_OK): Likewise.
31277 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31279 (sigpending): Don't use CHECK_SIGSET.
31280 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31282 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31283 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31285 (do_sigsuspend): Don't use CHECK_SIGSET.
31286 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31288 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31289 (do_sigwait): Don't use CHECK_SIGSET.
31290 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31292 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31293 include <bp-checks.h>.
31294 (sigpending): Don't use CHECK_SIGSET.
31295 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31296 include <bp-checks.h>.
31297 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31298 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31300 (sigpending): Don't use CHECK_SIGSET.
31301 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31303 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31306 * sysdeps/generic/bp-semctl.h: Remove file.
31307 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31308 <bp-checks.h> and <bp-semctl.h>.
31309 (__old_semctl): Don't use CHECK_SEMCTL.
31310 (__new_semctl): Likewise.
31311 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31313 (__old_semctl): Don't use CHECK_SEMCTL.
31314 (__new_semctl): Likewise.
31315 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31316 <bp-checks.h> and <bp-semctl.h>.
31317 (__old_semctl): Don't use CHECK_SEMCTL.
31318 (__new_semctl): Likewise.
31319 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31320 <bp-checks.h> and <bp-semctl.h>.
31321 (semctl): Don't use CHECK_SEMCTL.
31324 * Makerules (elide-bp-thunks): Remove variable.
31325 (elide-routines.oS): Don't use $(elide-bp-thunks).
31326 (elide-routines.os): Likewise.
31327 (elide-routines.o): Likewise.
31328 (elide-routines.op): Likewise.
31329 (elide-routines.og): Likewise.
31330 (objects): Don't use $(bp-thunks).
31331 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31333 (common-generated): Do not add s-proto-bp.d.
31334 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31337 Do not generate makefile rules for bounded-pointer thunks.
31338 * sysdeps/generic/bp-thunks.h: Remove file.
31339 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31340 * sysdeps/unix/s-proto-bp.S: Likewise.
31343 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31344 parts of result separately when argument is not close to line from
31345 -i to i and one part of argument is small.
31346 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31347 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31348 * math/libm-test.inc (cacos_test): Add more tests.
31349 (casin_test): Likewise.
31350 (casinh_test): Likewise.
31351 * sysdeps/i386/fpu/libm-test-ulps: Update.
31352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31354 2013-01-31 David S. Miller <davem@davemloft.net>
31356 * po/de.po: Update from translation team.
31358 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31360 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31362 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31364 * configure.in (_AC_PROG_CC_C89): New definition.
31365 * configure: Regenerate.
31367 * configure.in (AC_PROG_CPP): New definition.
31368 * configure: Regenerate.
31370 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31372 * debug/tst-backtrace.h: New file.
31373 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31374 (ret): Remove variable.
31376 (FAIL): Remove macro.
31377 (NO_INLINE): Likewise.
31378 (fn1): Use match function instead of strstr.
31379 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31380 (ret): Remove variable.
31382 (FAIL): Remove macro.
31383 (NO_INLINE): Likewise.
31384 (fn): Use match function instead of strstr.
31385 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31386 (ret): Remove variable.
31388 (FAIL): Remove macro.
31389 (NO_INLINE): Likewise.
31390 (handle_signal): Use match function instead of strstr.
31391 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31392 (ret): Remove variable.
31394 (FAIL): Remove macro.
31395 (NO_INLINE): Likewise.
31396 (handle_signal): Use match function instead of strstr.
31398 2013-01-23 Roland McGrath <roland@hack.frob.com>
31400 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31402 2013-01-23 David S. Miller <davem@davemloft.net>
31404 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31405 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31406 argument of CAS if possible.
31407 * sysdeps/sparc/sparc64/bits/atomic.h
31408 (__arch_compare_and_exchange_val_32_acq): Likewise.
31409 (__arch_compare_and_exchange_val_64_acq): Likewise.
31411 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31413 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31414 * sysdeps/posix/ulimit.c: ... this.
31415 Include <limits.h>.
31416 * sysdeps/unix/bsd/ulimit.c: Remove file.
31418 2013-01-23 Adam Conrad <adconrad@0c3.net>
31420 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31421 (LDFLAGS-tst-array5): Likewise.
31423 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31426 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31427 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31428 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31429 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31431 2013-01-21 David S. Miller <davem@davemloft.net>
31433 * sysdeps/sparc/backtrace.c: New file.
31434 * sysdeps/sparc/sparc32/backtrace.h: New file.
31435 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31436 * sysdeps/sparc/sparc64/backtrace.h: New file.
31437 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31438 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31441 2013-01-21 Andreas Schwab <schwab@suse.de>
31444 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31447 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31453 2013-01-18 Joseph Myers <joseph@codesourcery.com>
31454 Mark Mitchell <mark@codesourcery.com>
31455 Tom de Vries <tom@codesourcery.com>
31456 Paul Pluzhnikov <ppluzhnikov@google.com>
31458 * debug/tst-backtrace2.c: New file.
31459 * debug/tst-backtrace3.c: Likewise.
31460 * debug/tst-backtrace4.c: Likewise.
31461 * debug/tst-backtrace5.c: Likewise.
31462 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31463 (CFLAGS-tst-backtrace3.c): Likewise.
31464 (CFLAGS-tst-backtrace4.c): Likewise.
31465 (CFLAGS-tst-backtrace5.c): Likewise.
31466 (LDFLAGS-tst-backtrace2): Likewise.
31467 (LDFLAGS-tst-backtrace3): Likewise.
31468 (LDFLAGS-tst-backtrace4): Likewise.
31469 (LDFLAGS-tst-backtrace5): Likewise.
31470 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31471 tst-backtrace4 and tst-backtrace5.
31473 2013-01-18 Anton Blanchard <anton@samba.org>
31474 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31476 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31477 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31478 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31479 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31481 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31482 "+r" and remove output regs list as redundant. Add explicit inline
31483 asm to specify register of return val to work around compiler codegen
31484 bug. Remove (int) cast on return value. Add return type parameter to
31485 use in macro so that this macro does not truncate return value for
31487 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31488 pass to INTERNAL_VSYSCALL_NCS.
31489 (INLINE_VSYSCALL): Add 'long int' as return type to
31490 INTERNAL_VSYSCALL_NCS macro invocation.
31491 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31492 INTERNAL_VSYSCALL_NCS macro invocation.
31493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31495 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31498 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31499 Fix application of SIMD FP exception mask.
31501 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31502 mp_no from a power of two.
31503 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31504 __mpexp_twomm1. Use __pow_mp.
31506 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31509 2013-01-17 David S. Miller <davem@davemloft.net>
31511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31513 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31516 * include/complex.h: Condition contents on [!_COMPLEX_H].
31517 (__kernel_casinhf): New prototype.
31518 (__kernel_casinh): Likewise.
31519 (__kernel_casinhl): Likewise.
31520 * math/Makefile (libm_calls): Add k_casinh.
31521 * math/k_casinh.c: New file.
31522 * math/k_casinhf.c: Likewise.
31523 * math/k_casinhl.c: Likewise.
31524 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31525 finite nonzero arguments.
31526 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31527 finite nonzero arguments.
31528 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31529 finite nonzero arguments.
31530 * math/s_casinh.c: Do not include <float.h>.
31531 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31532 * math/s_casinhf.c: Do not include <float.h>.
31533 (__casinhf): Move code for finite nonzero arguments to
31535 * math/s_casinhl.c: Do not include <float.h>.
31536 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31538 (__casinhl): Move code for finite nonzero arguments to
31540 * math/libm-test.inc (cacos_test): Add more tests.
31541 * sysdeps/i386/fpu/libm-test-ulps: Update.
31542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31544 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31546 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31547 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31548 [!HAVE_MREMAP]: Remove [defined linux] case.
31549 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31551 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31553 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31555 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
31557 * elf/elf.h (R_386_SIZE32): New relocation.
31558 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31560 (elf_machine_rela): Likewise.
31561 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31562 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31564 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31566 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31567 (FP_FAST_FMA): Do not define.
31568 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31569 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31570 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31571 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31572 !_SOFT_FLOAT]: Likewise.
31573 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31574 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31576 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31577 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31578 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31579 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31580 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31581 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31584 2013-01-16 Andreas Schwab <schwab@suse.de>
31587 * include/stdlib.h (__mktemp): Add declaration.
31588 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31589 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31591 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31593 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31595 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31596 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31597 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31599 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31600 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31602 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31604 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31605 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31606 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31608 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31609 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31611 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31613 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31615 2013-01-15 David S. Miller <davem@davemloft.net>
31617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31618 trunc{,f} to libm-sysdep_routes.
31619 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31629 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31630 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31631 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31632 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31633 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31634 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31637 nearbyint{,f} to libm-sysdep_routes.
31638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31649 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31651 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31652 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31654 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31655 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31656 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31658 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31659 libc_feholdexcept and libc_fesetenv.
31661 2013-01-15 Mike Frysinger <vapier@gentoo.org>
31663 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31665 2013-01-14 David S. Miller <davem@davemloft.net>
31667 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31668 (SPARC_ASM_VIS2_IFUNC): Likewise.
31669 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31671 use of 'siam' instruction.
31672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31705 routines to libm-sysdep_routines.
31706 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31709 fdim/fdimf to libm-sysdep_routines.
31710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31718 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31719 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31720 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31721 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31723 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31725 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31726 to optimize copies.
31728 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31733 local variable MPTWO.
31734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31737 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31739 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31742 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31744 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31746 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31748 * manual/pattern.texi (glob_t): Document gl_flags.
31749 (glob64_t): Likewise.
31751 2013-01-11 David S. Miller <davem@davemloft.net>
31753 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31754 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31755 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
31756 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31757 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31758 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31759 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31760 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31761 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31762 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31763 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31764 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31765 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31767 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31768 sparc V9 rather than using V8 code.
31769 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31770 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31772 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31774 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31777 2013-01-11 Roland McGrath <roland@hack.frob.com>
31779 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31780 not in the main loop.
31781 * configure: Regenerated.
31783 2013-01-11 Joseph Myers <joseph@codesourcery.com>
31785 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31786 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31788 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31789 [!__GLIBC_HAVE_LONG_LONG] case.
31790 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31791 condition to just #else.
31792 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31793 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31794 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31795 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31797 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31798 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31799 #elif condition to just #else.
31800 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31801 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31802 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31803 #elif condition to just #else.
31805 2013-01-11 Steve Ellcey <sellcey@mips.com>
31807 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31808 (EF_MIPS_ARCH_64): Fix value.
31809 (EF_MIPS_ARCH_32R2): New.
31810 (EF_MIPS_ARCH_64R2): New.
31812 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31814 * Makeconfig (+link-pie-before-libc): New.
31815 (+link-pie-after-libc): Likewise.
31816 (+link-pie-tests): Likewise.
31817 (+link-pie): Rewritten.
31818 (link-before-libc): Remove $(config-LDFLAGS).
31819 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31820 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31821 (config-LDFLAGS): Renamed to ...
31822 (rtld-LDFLAGS): This.
31823 (rtld-tests-LDFLAGS): New macro.
31824 (link-libc-rpath-link): Likewise.
31825 (link-libc-tests-rpath-link): Likewise.
31826 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31827 (link-libc): Prepand $(link-libc-rpath-link).
31828 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31829 (test-program-prefix): New macro.
31830 (test-via-rtld-prefix): Likewise.
31831 (test-program-cmd): Likewise.
31832 (host-test-program-cmd): Likewise.
31833 * Makefile ($(common-objpfx)testrun.sh): Replace
31834 $(run-program-prefix) with $(test-program-prefix).
31835 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31837 ($(common-objpfx)shlib.lds): Likewise.
31838 (build-module-helper): Likewise.
31839 ($(common-objpfx)format.lds): Likewise.
31840 * Rules (binaries-pie-tests): New.
31841 (binaries-pie-notests): Likewise.
31842 (binaries-pie): Rewritten.
31843 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31844 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31845 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31846 (make-test-out): Replace $(host-built-program-cmd) with
31847 $(host-test-program-cmd).
31848 * config.make.in (build-hardcoded-path-in-tests): New variable.
31849 * configure.in (--enable-hardcoded-path-in-tests): New configure
31851 (hardcoded_path_in_tests): New AC_SUBST.
31852 * configure: Regenerated.
31853 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31854 $(built-program-cmd) with $(test-program-cmd).
31855 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31856 (test_program_cmd): This.
31857 * elf/Makefile ($(objpfx)order.out): Run test with
31858 $(test-program-prefix).
31859 ($(objpfx)order2.out): Likewise.
31860 ($(objpfx)tst-initorder.out): Likewise.
31861 ($(objpfx)tst-initorder2.out): Likewise.
31862 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31863 $(test-program-cmd).
31864 ($(objpfx)tst-array1-static.out): Likewise.
31865 ($(objpfx)tst-array2.out): Likewise.
31866 ($(objpfx)tst-array3.out): Likewise.
31867 ($(objpfx)tst-array4.out): Likewise.
31868 ($(objpfx)tst-array5.out): Likewise.
31869 ($(objpfx)tst-array5-static.out): Likewise.
31870 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31871 $(test-program-cmd).
31872 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31873 $(run-program-prefix) with $(test-program-prefix).
31874 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31875 (test_program_prefix): This.
31876 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31877 $(run-program-prefix) with $(test-program-prefix).
31878 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31879 (test_program_prefix): This.
31880 * iconvdata/tst-tables.sh: Likewise.
31881 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31882 $(run-program-prefix) with $(test-program-prefix).
31883 ($(objpfx)tst-translit.out): Likewise.
31884 ($(objpfx)tst-gettext2.out): Likewise.
31885 ($(objpfx)tst-gettext4.out): Likewise.
31886 ($(objpfx)tst-gettext6.out): Likewise.
31887 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31888 (test_program_prefix): This.
31889 * intl/tst-gettext2.sh: Likewise.
31890 * intl/tst-gettext4.sh Likewise.
31891 * intl/tst-gettext6.sh: Likewise.
31892 * intl/tst-translit.sh: Likewise.
31893 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31894 with $(test-program-cmd).
31895 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31896 $(run-program-prefix) with $(test-program-prefix).
31897 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31898 (test_program_prefix): This.
31899 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31900 $(run-program-prefix) with $(test-program-prefix).
31901 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31902 (test_program_prefix): This.
31903 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31904 * posix/Makefile ($(objpfx)globtest.out): Replace
31905 $(run-via-rtld-prefix) and $(test-wrapper) with
31906 $(test-program-prefix) and $(test-via-rtld-prefix).
31907 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31908 $(test-program-prefix).
31909 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31910 $(host-test-program-cmd).
31911 (tst-spawn-ARGS): Likewise.
31912 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31913 $(test-program-prefix).
31914 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31915 (test_via_rtld_prefix): This.
31916 (test_wrapper): Renamed to ...
31917 (test_program_prefix): This.
31918 (run_program_prefix): Replaced by test_program_prefix.
31919 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31920 (test_program_prefix): This.
31921 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31922 with $(host-test-program-cmd).
31923 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31924 $(run-program-prefix) with $(test-program-prefix).
31925 ($(objpfx)tst-printf.out): Likewise.
31926 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31927 $(test-program-cmd).
31928 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31929 (test_program_prefix): This.
31930 * stdio-common/tst-unbputc.sh: Likewise.
31931 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31932 $(run-program-prefix) with $(test-program-prefix).
31933 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31934 (test_program_prefix): This.
31935 * string/Makefile ($(objpfx)tst-svc.out): Replace
31936 $(built-program-cmd) with $(test-program-cmd).
31938 2013-01-11 Andreas Jaeger <aj@suse.de>
31941 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31942 value. Sync with Linux 3.7.
31944 2013-01-10 David S. Miller <davem@davemloft.net>
31946 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31947 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31948 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31950 2013-01-10 Roland McGrath <roland@hack.frob.com>
31952 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31954 * configure: Regenerated.
31956 2013-01-10 David S. Miller <davem@davemloft.net>
31958 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31959 sparc V9 rather than using V8 code.
31960 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31961 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31963 2013-01-10 Roland McGrath <roland@hack.frob.com>
31965 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31966 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31967 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31968 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31969 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31970 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31971 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31972 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31973 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31974 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31975 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31976 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31977 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31978 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31979 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31980 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31981 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31982 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31983 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31984 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31985 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31986 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31987 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31988 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31989 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31990 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31991 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31993 2013-01-10 David S. Miller <davem@davemloft.net>
31995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31997 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31999 * posix/Makefile (tests-static): New variable.
32000 (tests): Add $(tests-static).
32001 (tst-exec-static-ARGS): New variable.
32002 (tst-spawn-static-ARGS): Likewise.
32003 * posix/tst-exec-static.c: New file.
32004 * posix/tst-spawn-static.c: Likewise.
32005 * posix/tst-exec.c: Support run directly.
32006 * posix/tst-spawn.c: Likewise.
32008 2013-01-10 Joseph Myers <joseph@codesourcery.com>
32010 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32012 * math/bits/mathcalls.h (llrint): Likewise.
32013 (llround): Likewise.
32014 * stdlib/stdlib.h (struct drand48_data): Likewise.
32015 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32016 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32017 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32019 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32021 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32022 (elf_greg_t): Likewise.
32023 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32024 (__jmp_buf): Likewise.
32025 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32027 (llrint): Likewise, for all definitions.
32028 (llrintl): Likewise.
32030 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32031 Remove [__GNUC__] condition.
32032 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32033 condition to just [__USE_ISOC99].
32034 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32036 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32039 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32040 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32042 (_POSIX_V6_ILP32_OFF32): Likewise.
32043 (_XBS5_ILP32_OFF32): Likewise.
32044 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32045 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32047 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32049 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32051 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32052 doubles __mpexp_twomm1. Adjust usage.
32053 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32056 2013-01-10 Andreas Schwab <schwab@suse.de>
32059 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32060 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32062 2013-01-09 David S. Miller <davem@davemloft.net>
32065 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32066 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32067 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32068 (TCP_FASTOPEN): Define.
32069 (tcp_repair_opt): New structure.
32070 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32072 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32073 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32074 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32075 (tcp_cookie_transactions): New structure.
32077 2013-01-09 Anton Blanchard <anton@samba.org>
32079 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32080 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32081 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32082 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32084 2013-01-09 Joseph Myers <joseph@codesourcery.com>
32086 * include/features.h (__USE_ANSI): Remove.
32088 2013-01-09 Roland McGrath <roland@hack.frob.com>
32090 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32092 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32094 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32096 * sysdeps/s390/fpu/libm-test-ulps: Update.
32098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32100 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32104 (denorm): Likewise.
32105 (__mp_dbl): Likewise.
32106 (__dbl_mp): Likewise.
32107 (add_magnitudes): Likewise.
32108 (sub_magnitudes): Likewise.
32114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32118 (denorm): Likewise.
32119 (__mp_dbl): Likewise.
32120 (__dbl_mp): Likewise.
32121 (add_magnitudes): Likewise.
32122 (sub_magnitudes): Likewise.
32128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32132 (denorm): Likewise.
32133 (__mp_dbl): Likewise.
32134 (__dbl_mp): Likewise.
32135 (add_magnitudes): Likewise.
32136 (sub_magnitudes): Likewise.
32143 2013-01-08 Joseph Myers <joseph@codesourcery.com>
32145 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32146 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32147 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32148 2 && __USE_EXTERN_INLINES]: Likewise.
32150 2013-01-08 Andreas Jaeger <aj@suse.de>
32153 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32155 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32156 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32158 2013-01-07 Anton Blanchard <anton@samba.org>
32160 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32161 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32162 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32163 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32164 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32165 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32166 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32167 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32169 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32170 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32171 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32172 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32173 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32174 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32175 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32176 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32177 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32178 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32179 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32180 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32181 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32182 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32183 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32184 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32185 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32186 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32187 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32188 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32189 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32190 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32192 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32193 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32194 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32195 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32196 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32197 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32198 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32199 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32200 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32201 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32202 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32204 2013-01-07 Joseph Myers <joseph@codesourcery.com>
32206 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32207 (__MALLOC_PMT): Likewise.
32208 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32209 [__GNUC__], only on [_LIBC].
32210 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32211 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32212 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32213 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32214 forward declaration.
32215 (realloc_hook_ini): Likewise.
32216 (memalign_hook_ini): Likewise.
32217 (__libc_memalign): Do not use __MALLOC_PMT in variable
32219 (__libc_valloc): Likewise.
32220 (__libc_pvalloc): Likewise.
32221 (__libc_calloc): Likewise.
32222 (__posix_memalign): Likewise.
32225 * math/s_casinh.c: Include <float.h>.
32226 (__casinh): Do not do computation with squaring and square root
32227 for large arguments.
32228 * math/s_casinhf.c: Include <float.h>.
32229 (__casinhf): Do not do computation with squaring and square root
32230 for large arguments.
32231 * math/s_casinhl.c: Include <float.h>.
32232 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32233 (__casinhl): Do not do computation with squaring and square root
32234 for large arguments.
32235 * math/libm-test.inc (casin_test): Add more tests.
32236 (casinh_test): Likewise.
32237 * sysdeps/i386/fpu/libm-test-ulps: Update.
32238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32240 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32242 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32243 (__x86_64_raw_data_cache_size): Likewise.
32244 (__x86_64_data_cache_size_half): Likewise.
32245 (__x86_64_raw_data_cache_size_half): Likewise.
32246 (__x86_64_shared_cache_size): Likewise.
32247 (__x86_64_raw_shared_cache_size): Likewise.
32248 (__x86_64_shared_cache_size_half): Likewise.
32249 (__x86_64_raw_shared_cache_size_half): Likewise.
32250 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32252 (__x86_data_cache_size): This.
32253 (__x86_64_raw_data_cache_size): Renamed to ...
32254 (__x86_raw_data_cache_size): This.
32255 (__x86_64_data_cache_size_half): Renamed to ...
32256 (__x86_data_cache_size_half): This.
32257 (__x86_64_raw_data_cache_size_half): Renamed to ...
32258 (__x86_raw_data_cache_size_half): This.
32259 (__x86_64_shared_cache_size): Renamed to ...
32260 (__x86_shared_cache_size): This.
32261 (__x86_64_raw_shared_cache_size): Renamed to ...
32262 (__x86_raw_shared_cache_size): This.
32263 (__x86_64_shared_cache_size_half): Renamed to ...
32264 (__x86_shared_cache_size_half): This.
32265 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32266 (__x86_raw_shared_cache_size_half): This.
32267 * sysdeps/x86_64/memcpy.S: Updated.
32268 * sysdeps/x86_64/memset.S: Likewise.
32269 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32270 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32271 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32273 2013-01-04 David S. Miller <davem@davemloft.net>
32275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32277 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32279 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32280 1 to avoid redefinition warning.
32281 (__USE_GNU): Don't define.
32282 (init_signaling_nan): Protoize.
32284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32286 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32288 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32290 (__cpymn): Likewise.
32291 (norm): Remove commented code.
32292 (denorm): Likewise.
32293 (__mp_dbl): Likewise.
32295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32296 (__cpymn): Likewise.
32297 (norm): Remove commented code.
32298 (denorm): Likewise.
32299 (__mp_dbl): Likewise.
32302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32303 mp_no value for 1.0 and 2.0.
32304 (norm): Use RADIXI instead of radixi.d.
32305 (denorm): Likewise.
32306 (__mul): Use 0.0 instead of zero.d.
32307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32308 mp_no value for 1.0 and 2.0.
32309 (norm): Use RADIXI instead of radixi.d.
32310 (denorm): Likewise.
32311 (__mul): Use 0.0 instead of zero.d.
32313 2013-01-04 Joseph Myers <joseph@codesourcery.com>
32316 * math/s_casinh.c (__casinh): Reduce finite argument to first
32317 quadrant then set signs of results at the end.
32318 * math/s_casinhf.c (__casinhf): Likewise.
32319 * math/s_casinhl.c (__casinhl): Likewise.
32320 * math/libm-test.inc (casin_test): Add more tests.
32321 (casinh_test): Likewise.
32322 * sysdeps/i386/fpu/libm-test-ulps: Update.
32323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32325 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32327 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32329 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32331 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32333 (denorm): Likewise.
32334 (__mp_dbl): Likewise.
32337 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32338 and adjust the header comment.
32340 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32341 variable name from declaration.
32343 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32346 Initialize COMMON_CPUID_INDEX_7 element.
32347 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32348 (CPUID_RTM): Likewise.
32349 (HAS_RTM): Likewise.
32350 (COMMON_CPUID_INDEX_7): New enum.
32352 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32355 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32356 size is zero, record memory as freed.
32358 2013-01-03 Andreas Jaeger <aj@suse.de>
32360 * po/ia.po: Add new Interlingua translation.
32362 2012-01-03 Allan McRae <allan@archlinux.org>
32364 * locale/programs/localedef.c: Fix description of '--posix' flag.
32366 2013-01-02 Joseph Myers <joseph@codesourcery.com>
32368 * NEWS: Update dates in second copyright notice.
32369 * README: Update copyright dates in example.
32370 * manual/libc.texinfo: Update copyright dates.
32371 * scripts/test-installation.pl: Update copyright date in --version
32374 * hurd/ctty-input.c: Fix copyright notice formatting.
32375 * hurd/ctty-output.c: Likewise.
32376 * hurd/dtable.c: Likewise.
32377 * hurd/hurd-raise.c: Likewise.
32378 * hurd/hurdprio.c: Likewise.
32379 * hurd/msgportdemux.c: Likewise.
32380 * misc/sys/file.h: Likewise.
32381 * misc/sys/ioctl.h: Likewise.
32382 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32383 * sysdeps/mach/hurd/chdir.c: Likewise.
32384 * sysdeps/mach/hurd/fchdir.c: Likewise.
32385 * sysdeps/mach/hurd/rename.c: Likewise.
32386 * sysdeps/mach/hurd/rmdir.c: Likewise.
32387 * sysdeps/mach/hurd/seekdir.c: Likewise.
32388 * sysdeps/mach/hurd/setsid.c: Likewise.
32389 * sysdeps/posix/wait3.c: Likewise.
32391 * All files with FSF copyright notices: Update copyright dates
32392 using scripts/update-copyrights.
32393 * intl/plural.c: Regenerated.
32394 * locale/programs/charmap-kw.h: Likewise.
32395 * locale/programs/locfile-kw.h: Likewise.
32397 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32399 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32402 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32403 calculation loop and add branch prediction.
32405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32406 check access beyond bounds of m1np.
32408 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32410 (__inv): Remove local variable MPTWO to use the global
32412 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32413 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32415 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32416 MP3HALFS static const.
32418 2013-01-01 David S. Miller <davem@davemloft.net>
32420 * po/ca.po: Update from translation team.
32422 2013-01-01 Joseph Myers <joseph@codesourcery.com>
32424 * scripts/update-copyrights: New file.
32425 * Makeconfig: Reformat copyright notice.
32426 * ctype/ctype.h: Likewise.
32427 * debug/swprintf_chk.c: Likewise.
32428 * elf/dl-cache.c: Likewise.
32429 * elf/dl-debug.c: Likewise.
32430 * elf/dl-object.c: Likewise.
32431 * grp/initgroups.c: Likewise.
32432 * hurd/Makefile: Likewise.
32433 * hurd/hurd/signal.h: Likewise.
32434 * hurd/hurdfault.c: Likewise.
32435 * hurd/hurdioctl.c: Likewise.
32436 * hurd/hurdlookup.c: Likewise.
32437 * hurd/intr-msg.c: Likewise.
32438 * iconv/gconv_open.c: Likewise.
32439 * libio/swprintf.c: Likewise.
32440 * locale/lc-ctype.c: Likewise.
32441 * locale/nl_langinfo.c: Likewise.
32442 * mach/Machrules: Likewise.
32443 * mach/Makefile: Likewise.
32444 * malloc/obstack.h: Likewise.
32445 * manual/Makefile: Likewise.
32446 * manual/tsort.awk: Likewise.
32447 * misc/bits/stab.def: Likewise.
32448 * nis/nis_print_group_entry.c: Likewise.
32449 * nis/nis_table.c: Likewise.
32450 * nis/nss_compat/compat-pwd.c: Likewise.
32451 * nis/nss_compat/compat-spwd.c: Likewise.
32452 * po/Makefile: Likewise.
32453 * posix/fnmatch.c: Likewise.
32454 * posix/regex.h: Likewise.
32455 * resolv/Makefile: Likewise.
32456 * resolv/nss_dns/dns-network.c: Likewise.
32457 * resolv/res_hconf.c: Likewise.
32458 * scripts/gen-sorted.awk: Likewise.
32459 * soft-fp/soft-fp.h: Likewise.
32460 * stdio-common/printf.h: Likewise.
32461 * stdlib/monetary.h: Likewise.
32462 * stdlib/random.c: Likewise.
32463 * stdlib/random_r.c: Likewise.
32464 * sysdeps/generic/Makefile: Likewise.
32465 * sysdeps/gnu/Makefile: Likewise.
32466 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32468 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32469 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32470 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32472 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32473 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32474 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32476 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32477 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32478 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32479 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32480 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32481 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32482 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32483 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32484 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32486 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32487 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32488 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32489 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32490 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32491 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32492 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32493 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32494 * sysdeps/mach/hurd/errnos.awk: Likewise.
32495 * sysdeps/mach/hurd/fork.c: Likewise.
32496 * sysdeps/mach/hurd/getcwd.c: Likewise.
32497 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32498 * sysdeps/mach/hurd/mmap.c: Likewise.
32499 * sysdeps/mach/hurd/utimes.c: Likewise.
32500 * sysdeps/mach/hurd/xmknod.c: Likewise.
32501 * sysdeps/posix/profil.c: Likewise.
32502 * sysdeps/posix/readdir_r.c: Likewise.
32503 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32504 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32505 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32506 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32508 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32509 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32510 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32512 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32513 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32514 * sysdeps/pthread/lio_listio.c: Likewise.
32515 * sysdeps/sparc/dl-procinfo.h: Likewise.
32516 * sysdeps/unix/i386/sysdep.S: Likewise.
32517 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32518 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32519 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32520 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32522 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32523 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32524 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32525 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32526 * sysdeps/wordsize-32/divdi3.c: Likewise.
32527 * time/sys/time.h: Likewise.
32528 * wcsmbs/Makefile: Likewise.
32530 2013-01-01 David S. Miller <davem@davemloft.net>
32532 * po/fr.po: Update from translation team.
32534 * catgets/gencat.c: Update copyright year.
32535 * csu/version.c: Likewise.
32536 * debug/catchsegv.sh: Likewise.
32537 * debug/pcprofiledump.c: Likewise.
32538 * debug/xtrace.sh: Likewise.
32539 * elf/ldconfig.c: Likewise.
32540 * elf/ldd.bash.in: Likewise.
32541 * elf/pldd.c: Likewise.
32542 * elf/sotruss.ksh: Likewise.
32543 * elf/sprof.c: Likewise.
32544 * iconv/iconv_prog.c: Likewise.
32545 * iconv/iconvconfig.c: Likewise.
32546 * locale/programs/locale.c: Likewise.
32547 * locale/programs/localedef.c: Likewise.
32548 * login/programs/pt_chown.c: Likewise.
32549 * malloc/memusage.sh: Likewise.
32550 * malloc/memusagestat.c: Likewise.
32551 * malloc/mtrace.pl: Likewise.
32552 * nscd/nscd.c: Likewise.
32553 * nss/getent.c: Likewise.
32554 * nss/makedb.c: Likewise.
32555 * posix/getconf.c: Likewise.
32557 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32559 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32562 2012-12-30 Mike Frysinger <vapier@gentoo.org>
32564 * math/bits/mathcalls.h (modf): Use __nonnull.
32566 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32568 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32569 (split): Use macro CN instead of the bare value.
32570 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32572 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32573 instead of the bare value.
32574 (power1): Likewise.
32576 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32578 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32580 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32582 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32584 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32585 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32586 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32587 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32589 2012-12-28 Andreas Jaeger <aj@suse.de>
32591 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32592 values are from Linux 3.7.
32594 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32595 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32597 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32599 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32602 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32604 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32605 variables with preprocessor constants.
32606 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32607 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32608 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32610 2012-12-27 Bruno Haible <bruno@clisp.org>
32613 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32616 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32619 and use variable directly.
32620 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32622 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32624 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32625 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32627 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32629 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32630 include directive. Remove local variable MPONE.
32631 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32632 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32633 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32635 2012-12-25 David S. Miller <davem@davemloft.net>
32637 * version.h (RELEASE): Set to "development".
32638 (VERSION): Set to "2.17.90".
32639 * NEWS: Add 2.18 section.
32641 2012-12-21 David S. Miller <davem@davemloft.net>
32643 * po/hr.po: Update from translation team.
32645 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32647 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32649 2012-12-19 Steve Ellcey <sellcey@mips.com>
32651 * NEWS: Mention new memcpy for MIPS.
32653 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32655 * manual/contrib.texi (Contributors): Spelling correction.
32657 2012-12-15 David S. Miller <davem@davemloft.net>
32659 * po/ru.po: Update from translation team.
32661 2012-12-13 David S. Miller <davem@davemloft.net>
32663 * NEWS: Mention IFUNC testsuite enhancements.
32665 * po/pl.po: Update from translation team.
32666 * po/bg.po: Likewise.
32668 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32669 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32671 2012-12-11 David S. Miller <davem@davemloft.net>
32673 * po/sv.po: Update from translation team.
32675 * po/vi.po: Update from translation team.
32677 * po/cs.po: Update from translation team.
32679 * po/de.po: Update from translation team.
32680 * po/eo.po: Likewise.
32681 * po/nl.po: Likewise.
32683 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32686 * manual/argp.texi (Argp Helper Functions): Move node to follow
32687 Argp Parsing State.
32690 * manual/conf.texi (Limits on File System Capacity): Mention if
32691 terminating null is included in the max size.
32693 2012-12-10 Andreas Jaeger <aj@suse.de>
32695 * po/cs.po: Update from translation team.
32697 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32699 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32700 void pointer and cast to uintptr_t.
32701 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32703 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32704 * sysdeps/s390/s390-64/memset.S: Likewise.
32706 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
32709 * menual/message.texi (Message Translation): Fix typos.
32710 (Helper programs for gettext): Likewise.
32712 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32715 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32718 2012-12-07 David S. Miller <davem@davemloft.net>
32720 * po/libc.pot: Update.
32722 2012-12-07 Richard Henderson <rth@redhat.com>
32725 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32726 normal/normal case to before the switch.
32727 (_FP_DIV): Likewise.
32729 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32730 Mike Frysinger <vapier@gentoo.org>
32732 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32733 check for __NR_fadvise64_64.
32735 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32737 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32738 0, not just to plain "0" as a statement.
32739 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32742 2012-12-06 Joseph Myers <joseph@codesourcery.com>
32744 * NEWS: Use sourceware.org in Bugzilla URL.
32746 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32749 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32751 * stdio-common/tst-put-error.c (do_test): Add newline to the
32752 padded test to ensure flush.
32754 2012-12-05 Jeff Law <law@redhat.com>
32756 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32758 2012-12-05 Joseph Myers <joseph@codesourcery.com>
32760 * README: Don't refer to ports add-on as distributed separately.
32761 Mention AArch64 in list of systems supported in the ports add-on.
32763 * LICENSES: Add more non-FSF copyright and license notices.
32765 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32768 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32770 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32771 10000 as width of padded output.
32773 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32775 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32777 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32778 variable LX with __attribute__ ((unused)).
32779 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32781 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32782 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32783 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32784 with __attribute__ ((unused)).
32786 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
32788 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32790 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32792 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32793 (CFLAGS-nldbl-acos.c): New variable.
32794 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32795 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32796 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32797 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32798 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32799 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32800 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32801 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32802 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32803 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32804 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32805 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32806 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32807 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32808 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32809 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32810 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32811 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32812 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32813 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32814 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32815 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32816 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32817 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32818 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32819 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32820 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32821 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32822 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32823 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32824 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32825 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32826 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32827 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32828 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32829 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32830 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32831 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32832 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32833 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32834 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32835 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32836 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32837 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32838 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32839 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32840 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32841 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32842 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32843 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32844 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32845 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32846 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32847 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32848 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32849 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32850 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32851 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32852 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32853 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32854 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32855 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32856 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32857 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32858 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32859 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32860 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32861 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32862 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32863 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32864 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32865 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32866 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32867 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32868 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32869 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32870 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32871 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32872 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32873 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32874 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32875 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32876 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32877 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32878 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32879 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32880 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32881 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32882 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32883 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32884 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32885 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32886 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32887 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32888 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32889 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32890 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32893 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32896 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32897 whole low double instead of just low 47 bits when splitting values
32900 2012-12-03 Allan McRae <allan@archlinux.org>
32902 * manual/stdio.texi (Predefined Printf Handlers): Remove
32903 @hsep and @vsep usage.
32905 2012-12-03 Mike Frysinger <vapier@gentoo.org>
32907 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32908 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32910 2012-12-03 Jeff Law <law@redhat.com>
32912 * time/sys/time.h (settimeofday): Do not mark TV argument
32915 2012-12-01 Mike Frysinger <vapier@gentoo.org>
32917 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32918 when currently writing and seek to current position when not.
32919 * libio/Makefile (tests): Remove bug-fclose1.
32920 * libio/bug-fclose1.c: Delete.
32922 2012-12-01 Joseph Myers <joseph@codesourcery.com>
32924 * manual/arith.texi (feenableexcept): Fix typo.
32925 (fedisableexcept): Likewise.
32927 2012-11-30 Roland McGrath <roland@hack.frob.com>
32929 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32930 second, differently-typed declaration, rather than a cast.
32932 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32934 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32935 * include/rpc/svc.h: ... here.
32937 2012-11-30 Aurelien Jarno <aurel32@debian.org>
32940 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32941 depending n and resplen2 to catch cases where answer
32944 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32946 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32947 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32949 2012-11-29 Mike Frysinger <vapier@gentoo.org>
32951 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32953 2012-11-29 Roland McGrath <roland@hack.frob.com>
32955 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32957 2012-11-28 Jeff Law <law@redhat.com>
32960 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32961 dataset_temporary. Track alloca usage into alloca_used.
32962 If dataset is large allocate and release it via malloc/free.
32964 2012-06-04 Florian Weimer <fweimer@redhat.com>
32967 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32969 2012-11-28 David S. Miller <davem@davemloft.net>
32971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32973 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32976 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32977 of pi/2 rounded to nearest to 64 bits.
32978 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32979 nearest to 64 bits.
32980 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32983 2012-11-28 Jeff Law <law@redhat.com>
32984 Martin Osvald <mosvald@redhat.com>
32987 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32988 * sunrpc/svc.c: Include time.h.
32989 (__svc_accept_failed): New function.
32990 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32991 any reason other than EINTR, call __svc_accept_failed.
32992 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32993 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32995 2012-11-28 Andreas Schwab <schwab@suse.de>
32997 * scripts/abilist.awk: Also handle indirect functions in .opd
33000 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33003 * sysdeps/x86/fpu/powl_helper.c: New file.
33004 * sysdeps/x86/fpu/Makefile: Likewise.
33005 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33007 (__ieee754_powl): Use __powl_helper for finite arguments except
33008 integer exponents below 8.
33009 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33011 (__ieee754_powl): Use __powl_helper for finite arguments except
33012 integer exponents below 8.
33013 * math/libm-test.inc (pow_test): Add more tests and enable some
33014 previously disabled tests.
33015 * sysdeps/i386/fpu/libm-test-ulps: Update.
33016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33018 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33019 Carlos O'Donell <carlos_odonell@mentor.com>
33021 * nss/makedb.c (is_prime): Assert that input is odd and greater
33022 than 4. Note that fact in a comment too.
33023 (next_prime): Add 4 to input.
33025 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33028 * libio/Makefile (tests): Add test case tst-fwrite-error.
33029 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33030 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33031 * libio/tst-fwrite-error.c: New test case.
33033 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33035 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33036 before casting to void *.
33037 * include/libc-internal.h (__pointer_type): New macro.
33038 (__integer_if_pointer_type_sub): Likewise.
33039 (__integer_if_pointer_type): Likewise.
33040 (cast_to_integer): Likewise.
33041 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33042 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33043 before casting to atomic64_t.
33044 (atomic_exchange_acq): Likewise.
33045 (__arch_exchange_and_add_body): Likewise.
33046 (__arch_add_body): Likewise.
33047 (atomic_add_negative): Likewise.
33048 (atomic_add_zero): Likewise.
33050 2012-11-26 Joseph Myers <joseph@codesourcery.com>
33052 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33053 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33054 (add_fdes): Likewise.
33055 (linear_search_fdes): Likewise.
33056 (binary_search_unencoded_fdes): Likewise.
33058 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33060 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33062 2012-11-24 Adam Conrad <adconrad@0c3.net>
33064 * configure.in: Autodetect C++ header directories.
33065 * configure: Regenerated.
33067 2012-11-23 Mike Frysinger <vapier@gentoo.org>
33069 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33071 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33075 2012-11-22 Joseph Myers <joseph@codesourcery.com>
33077 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33078 LDBL_MANT_DIG == 106]: Disable some tests.
33079 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33081 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33085 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33086 input for small inputs. Return +/- pi/2 for large inputs.
33087 * math/libm-test.inc (atan_test): Add more tests.
33089 * sysdeps/generic/unwind-dw2-fde-glibc.c
33090 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33091 __attribute__ ((unused)).
33094 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33095 x * y if x and y are nonzero and z is zero.
33098 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33099 nonzero exponents with absolute value below 0x1p-117 to +/-
33103 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33104 up arguments below 2**-450, not just those below 2**-500.
33105 * math/libm-test.inc (hypot_test): Add another test.
33108 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33109 Return a+b for ratio over 2**120, not 2**60.
33110 * math/libm-test.inc (hypot_test): Add another test.
33112 * math/libm-test.inc (clog_test): Use
33113 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33114 (clog10_test): Likewise.
33117 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33119 2012-11-22 Andreas Schwab <schwab@suse.de>
33121 * sysdeps/i386/fpu/libm-test-ulps: Update.
33123 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33125 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33126 printf output with newline.
33128 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33131 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33132 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33133 -z nodlopen, -z initfirst and -z execstack support.
33134 * configure: Regenerated.
33136 * elf/elf.h (DF_1_NODIRECT): New macro.
33137 (DF_1_IGNMULDEF): Likewise.
33138 (DF_1_NOKSYMS): Likewise.
33139 (DF_1_NOHDR): Likewise.
33140 (DF_1_EDITED): Likewise.
33141 (DF_1_NORELOC): Likewise.
33142 (DF_1_SYMINTPOSE): Likewise.
33143 (DF_1_GLOBAUDIT): Likewise.
33144 (DF_1_SINGLETON): Likewise.
33145 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33146 DT_1_SUPPORTED_MASK bits.
33147 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33149 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33151 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33153 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33155 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33158 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33159 (sendmmsg): Move declarations...
33160 * socket/sys/socket.h: ... here.
33161 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33162 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33164 * socket/recvmmsg.c: ... this new file.
33165 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33166 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33167 definition of __sendmmsg hidden.
33168 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33169 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33170 Move ENOSYS stub into and include it from...
33171 * socket/sendmmsg.c: ... this new file.
33172 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33173 (sysdep_routines): Move recvmmsg and sendmmsg...
33174 * socket/Makefile (routines): ... here.
33175 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33176 (GLIBC_PRIVATE): Add __sendmmsg.
33177 * include/sys/socket.h (__sendmmsg): Add declarations.
33178 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33181 2012-11-20 Joseph Myers <joseph@codesourcery.com>
33183 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33184 variable I1 with __attribute__ ((unused)).
33185 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33187 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33189 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33190 DUMMY variables with __attribute__ ((unused)).
33192 * bits/byteswap.h: Include <bits/types.h>.
33193 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33195 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33197 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33198 string_t. Do not manually set errno.
33199 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33200 length with __strnlen. Make sure to both set errno and return it on
33203 2012-11-19 David S. Miller <davem@davemloft.net>
33205 With help from Joseph Myers.
33206 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33207 very large arguments properly.
33208 * math/libm-test.inc (atan_test): New tests.
33209 (atan2_test): New tests.
33210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33213 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33216 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33219 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33220 [POSIX] (EADDRNOTAVAIL): Likewise.
33221 [POSIX] (EAFNOSUPPORT): Likewise.
33222 [POSIX] (EALREADY): Likewise.
33223 [POSIX] (ECONNABORTED): Likewise.
33224 [POSIX] (ECONNREFUSED): Likewise.
33225 [POSIX] (ECONNRESET): Likewise.
33226 [POSIX] (EDESTADDRREQ): Likewise.
33227 [POSIX] (EDQUOT): Likewise.
33228 [POSIX] (EHOSTUNREACH): Likewise.
33229 [POSIX] (EIDRM): Likewise.
33230 [POSIX] (EISCONN): Likewise.
33231 [POSIX] (ELOOP): Likewise.
33232 [POSIX] (EMULTIHOP): Likewise.
33233 [POSIX] (ENETDOWN): Likewise.
33234 [POSIX] (ENETUNREACH): Likewise.
33235 [POSIX] (ENOBUFS): Likewise.
33236 [POSIX] (ENODATA): Likewise.
33237 [POSIX] (ENOLINK): Likewise.
33238 [POSIX] (ENOMSG): Likewise.
33239 [POSIX] (ENOPROTOOPT): Likewise.
33240 [POSIX] (ENOSR): Likewise.
33241 [POSIX] (ENOSTR): Likewise.
33242 [POSIX] (ENOTCONN): Likewise.
33243 [POSIX] (ENOTSOCK): Likewise.
33244 [POSIX] (EOPNOTSUPP): Likewise.
33245 [POSIX] (EOVERFLOW): Likewise.
33246 [POSIX] (EPROTO): Likewise.
33247 [POSIX] (EPROTONOSUPPORT): Likewise.
33248 [POSIX] (EPROTOTYPE): Likewise.
33249 [POSIX] (ESTALE): Likewise.
33250 [POSIX] (ETIME): Likewise.
33251 [POSIX] (ETXTBSY): Likewise.
33252 [POSIX] (EWOULDBLOCK): Likewise.
33253 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33254 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33255 [POSIX] (SEEK_CUR): Likewise.
33256 [POSIX] (SEEK_END): Likewise.
33257 [POSIX || UNIX98] (mode_t): Do not require.
33258 [POSIX] (off_t): Likewise.
33259 [POSIX] (pid_t): Likewise.
33260 [POSIX] (sys/stat.h): Do not allow header.
33261 [POSIX] (unistd.h): Likewise.
33262 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33263 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33264 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33265 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33267 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33268 sigevent): Specify elements.
33269 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33271 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33272 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33274 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33275 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33276 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33277 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33278 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33279 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33280 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33281 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33282 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33283 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33284 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33285 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33286 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33287 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33289 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33291 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33293 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33295 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33296 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33297 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33298 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33299 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33300 Specify lower bound on value.
33301 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33302 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33303 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33304 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33305 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33306 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33307 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33308 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33310 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33312 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33313 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33314 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33315 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33316 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33317 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33318 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33319 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33320 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33321 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33322 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33323 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33324 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33325 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33326 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33327 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33329 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33331 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33332 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33333 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33334 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33335 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33336 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33338 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33339 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33340 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33341 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33342 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33343 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33344 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33346 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33347 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33348 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33349 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33350 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33351 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33352 specify as optional.
33353 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33354 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33355 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33356 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33357 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33358 [XPG3] (NL_LANGMAX): Likewise.
33359 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33360 [POSIX || XPG3] (NL_NMAX): Likewise.
33361 [POSIX || XPG3] (NL_SETMAX): Likewise.
33362 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33363 [XPG3] (NZERO): Likewise.
33364 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33365 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33366 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33367 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33368 (REG_ERANGE): Expect.
33369 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33371 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33372 Use (void) in prototype.
33373 [POSIX] (*_t): Allow.
33374 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33375 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33376 (WRDE_BADVAL): Expect.
33378 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33380 [XPG3 || XPG4] (O_RSYNC): Likewise.
33381 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33383 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33384 [XPG3 || XPG4] (sigqueue): Likewise.
33385 [XPG3 || XPG4] (sigtimedwait): Likewise.
33386 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33387 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33388 [XPG3 || XPG4] (vsnprintf): Likewise.
33389 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33391 [XPG3 || XPG4] (blksize_t): Likewise.
33392 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33394 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33395 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33396 [XPG3 || XPG4] (struct itimerspec): Likewise.
33397 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33398 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33399 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33400 [XPG3 || XPG4] (clockid_t): Likewise.
33401 [XPG3 || XPG4] (timer_t): Likewise.
33402 [XPG3 || XPG4] (clock_getres): Likewise.
33403 [XPG3 || XPG4] (clock_gettime): Likewise.
33404 [XPG3 || XPG4] (clock_settime): Likewise.
33405 [XPG3 || XPG4] (nanosleep): Likewise.
33406 [XPG3 || XPG4] (timer_create): Likewise.
33407 [XPG3 || XPG4] (timer_delete): Likewise.
33408 [XPG3 || XPG4] (timer_gettime): Likewise.
33409 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33410 [XPG3 || XPG4] (timer_settime): Likewise.
33411 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33412 [XPG3 || XPG4] (getlogin_r): Likewise.
33413 [XPG3 || XPG4] (pread): Likewise.
33414 [XPG3 || XPG4] (pthread_atfork): Likewise.
33415 [XPG3 || XPG4] (pwrite): Likewise.
33418 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33421 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33423 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33424 finalizing MALLSTREAM.
33426 * sysdeps/mach/hurd/syncfs.c: New file.
33428 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33431 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33432 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33433 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33434 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33435 (_nss_dns_gethostbyname4_r): Likewise.
33436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33437 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33439 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33442 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33444 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33446 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33447 * elf/cache.c (print_entry): Print ",AArch64" for
33450 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33451 * elf/cache.c (print_entry): Print ",hard-float" for
33454 2012-11-18 David S. Miller <davem@davemloft.net>
33456 With help from Joseph Myers.
33457 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33459 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33461 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33462 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33464 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33465 * math/libm-test.inc (y0_test): New tests.
33466 (y1_test): New tests.
33467 * sysdeps/i386/fpu/libm-test-ulps: Update.
33468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33471 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33473 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33475 * configure: Regenerated.
33477 2012-11-17 David S. Miller <davem@davemloft.net>
33480 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33481 nonzero exponents with absolute value below 0x1p-128 to +/-
33484 2012-11-17 Joseph Myers <joseph@codesourcery.com>
33486 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33488 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33490 * posix/getconf-speclist.c: New file.
33491 * posix/posix-envs.def: Likewise.
33492 * posix/confstr.c (START_ENV_GROUP): New macro.
33493 (END_ENV_GROUP): Likewise.
33494 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33495 (KNOWN_PRESENT_ENV_STRING): Likewise.
33496 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33497 (UNKNOWN_ENVIRONMENT): Likewise.
33498 (confstr): Include posix-envs.def instead of handling
33499 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33500 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33501 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33502 (END_ENV_GROUP): Likewise.
33503 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33504 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33505 (UNKNOWN_ENVIRONMENT): Likewise.
33506 (__sysconf): Include posix-envs.def instead of handling associated
33507 cases directly here.
33508 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33509 preprocessing getconf-speclist.c rather than running getconf or
33510 generating empty file.
33512 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33514 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33516 2012-11-16 Andrej Lajovic <natrij@gmail.com>
33519 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33521 2012-11-16 David S. Miller <davem@davemloft.net>
33523 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33524 smaller than LDBL_EPSILON/2.0L, just return xm1.
33526 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33528 * elf/tst-array1.c (init): Set constructor priority to 1000.
33529 (fini): Set destructor priority to 1000.
33530 * elf/tst-array2dep.c: Likewise.
33532 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33535 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33536 (_IO_new_file_xsputn): Also return EOF if none of the input
33537 data was written when overflow failed.
33538 * libio/iopadn.c (_IO_padn): Likewise.
33539 * libio/iowpadn.c (_IO_wpadn): Likewise.
33540 * stdio-common/tst-put-error.c: Add copyright notice.
33541 (do_test): Add case for printing padded string.
33542 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33543 _IO_padn returned error.
33544 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33545 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33548 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33550 * libio/libioP.h: Add comment note that the references to C++
33551 bits are now obsolete.
33553 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33555 * math/libm-test.inc (check_complex): Use asprintf.
33557 2012-11-14 Joseph Myers <joseph@codesourcery.com>
33559 * debug/pcprofiledump.c (print_version): Update copyright year.
33560 * malloc/memusagestat.c (print_version): Likewise.
33562 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33565 * elf/Makefile (tests): Add tst-audit8.
33566 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33567 ($(objpfx)tst-audit8.out): New target.
33568 (tst-audit8-ENV): New variable.
33569 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33570 audit if l_reloc_result is NULL.
33571 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33572 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33573 * elf/tst-audit8.c: New file.
33575 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33577 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33578 * misc/Makefile (CFLAGS-select.c): Define.
33579 * posix/Makefile (CFLAGS-pause.c): Define.
33581 2012-11-13 David S. Miller <davem@davemloft.net>
33583 * crypt/Makefile: Move test targets after toplevel Rules
33584 inclusion. Grab any necessary sysdep routines when linking.
33585 * crypt/md5.c (md5_process_block): Remove define, we will always
33586 name it __md5_process_block.
33587 (md5_finish_ctx): Update md5_process_block call.
33588 (md5_stream): Likewise.
33589 (md5_process_bytes): Likewise.
33590 (md5_process_block): Rename to __md5_process_block and move to ...
33591 * crypt/md5-block.c: ... here.
33592 * crypt/sha256.c (sha256_process_block): Move to ...
33593 * crypt/sha256-block.c: ... here.
33594 * crypt/sha512.c (sha512_process_block): Move to ...
33595 * crypt/sha512-block.c: ... here.
33596 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33598 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33599 * sysdeps/sparc/sparc64/multiarch/Makefile
33600 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33602 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33603 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33605 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33606 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33607 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33608 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33609 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33610 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33611 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33612 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33613 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33615 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33616 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33618 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33620 2012-11-13 Joseph Myers <joseph@codesourcery.com>
33622 * timezone/tzselect.ksh: Update from tzcode git revision
33623 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33624 * timezone/zdump.c: Likewise.
33625 * timezone/zic.c: Likewise.
33626 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33627 in TZVERSION setting, not $(PKGVERSION).
33628 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33629 REPORT_BUGS_TO settings.
33632 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33635 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33637 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33638 detection to immediately after _FP_ROUND().
33639 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33642 2012-11-11 David S. Miller <davem@davemloft.net>
33644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33646 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33647 __close rather than their public counterparts.
33649 2012-11-10 Joseph Myers <joseph@codesourcery.com>
33651 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33653 [UNIX98] (sem_timedwait): Do not expect.
33654 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33655 [XPG4 || UNIX98] (sockatmark): Do not expect.
33656 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33657 (clock_getcpuclockid): Do not expect.
33658 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33659 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33661 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33662 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33663 [UNIX98] (vwscanf): Likewise.
33664 [UNIX98] (vswscanf): Likewise.
33666 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33668 * timezone/version.h: Remove file.
33669 * timezone/README: Do not refer to version.h.
33670 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33671 $(objpfx)version.h.
33672 ($(objpfx)zdump.o): Likewise.
33673 ($(objpfx)version.h): New target.
33675 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33677 * timezone/README: Don't mention modification to tzselect.ksh.
33678 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33679 work on unmodified tzselect.ksh. Substitute version numbers in
33682 * Makefile (format-me): Remove.
33683 (INSTALL): Adjust indentation. Use commands directly instead of
33684 using $(format-me).
33686 * aclocal.m4 (ACX_PKGVERSION): New macro.
33687 (ACX_BUGURL): Likewise.
33688 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33689 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33690 (REPORT_BUGS_TO): Likewise.
33691 * configure: Regenerated.
33692 * config.h.in (PKGVERSION): New macro.
33693 (REPORT_BUGS_TO): Likewise.
33694 * config.make.in (PKGVERSION): New variable.
33695 (PKGVERSION_TEXI): Likewise.
33696 (REPORT_BUGS_TO): Likewise.
33697 (REPORT_BUGS_TEXI): Likewise.
33698 * Makefile (format-me): Use -I$(common-objpfx)manual.
33699 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33700 ($(common-objpfx)manual/%): New target.
33701 (manual/%): Remove target.
33702 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33703 (print_version): Use PKGVERSION.
33704 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33705 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33706 and REPORT_BUGS_TO.
33707 ($(objpfx)xtrace): Likewise.
33708 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33709 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33710 (print_version): Use PKGVERSION.
33711 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33712 (do_version): Use PKGVERSION.
33713 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33715 (common-ldd-rewrite): Likewise.
33716 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33717 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33718 (print_version): Use PKGVERSION.
33719 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33720 * elf/pldd.c (argp_program_bug_address): Remove variable.
33721 (more_help): New function.
33722 (argp): Use more_help.
33723 (print_version): Use PKGVERSION.
33724 * elf/sln.c (main): Use PKGVERSION.
33725 (usage): Use REPORT_BUGS_TO.
33726 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33727 (top level): Use PKGVERSION.
33728 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33729 (print_version): Use PKGVERSION.
33730 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33731 (print_version): Use PKGVERSION.
33732 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33733 (print_version): Use PKGVERSION.
33734 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33735 (print_version): Use PKGVERSION.
33736 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33737 (print_version): Use PKGVERSION.
33738 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33739 (print_version): Use PKGVERSION.
33740 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33742 ($(objpfx)memusage): Likewise.
33743 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33744 (do_version): Use PKGVERSION.
33745 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33746 (print_version): Use PKGVERSION.
33747 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33748 ($PKGVERSION): New variable.
33749 ($REPORT_BUGS_TO): Likewise.
33750 (usage): Use $REPORT_BUGS_TO.
33751 (top level): Use $PKGVERSION.
33752 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33753 ($(objpfx)pkgvers.texi): New rule.
33754 ($(objpfx)stamp-pkgvers): Likewise.
33755 * manual/install.texi: Include pkgvers.texi.
33756 (--with-pkgversion): Document new configure option.
33757 (--with-bugurl): Likewise.
33758 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33759 than necessarily for this particular distribution. Use
33760 REPORT_BUGS_TO for where to report bugs.
33761 * INSTALL: Regenerated.
33762 * manual/libc.texinfo: Include pkgvers.texi.
33763 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33764 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33765 (print_version): Use PKGVERSION.
33766 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33767 (print_version): Use PKGVERSION.
33768 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33769 (print_version): Use PKGVERSION.
33770 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33771 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33773 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33774 (print_version): Use PKGVERSION.
33775 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33776 (print_version): Use PKGVERSION.
33777 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33780 * timezone/checktab.awk: Update from tzcode 2012i.
33781 * timezone/ialloc.c: Likewise.
33782 * timezone/private.h: Likewise.
33783 * timezone/scheck.c: Likewise.
33784 * timezone/tzfile.h: Likewise.
33785 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33786 (TZVERSION): Hardcode tzcode version number.
33787 * timezone/zdump.c: Update from tzcode 2012i.
33788 * timezone/zic.c: Likewise.
33789 * timezone/version.h: New file.
33790 * timezone/README: Describe version.h. Update upstream location.
33793 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33794 (mktemp): Enable declaration.
33795 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33796 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33797 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33798 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33800 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33802 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33804 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33806 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33808 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33812 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33813 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33814 for copies of such integer values.
33815 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33816 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33818 2012-11-09 Andreas Jaeger <aj@suse.de>
33820 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33821 definitions and declarations that are provided by
33822 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33824 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33826 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33827 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33828 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33831 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33833 * elf/elf.h: Update comment before AArch64 relocations.
33835 2012-11-07 David S. Miller <davem@davemloft.net>
33837 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33838 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33839 (__start_context): Declare.
33840 (__makecontext_ret): Delete.
33841 (__makecontext): Hook up __start_context instead of
33843 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33844 (sysdep_routines): Add __start_context when in stdlib.
33846 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33848 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33849 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33850 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33852 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33853 (READELF): New variable. Use it instead of hardcoded "readelf".
33855 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33857 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33858 * sysdeps/x86/Makefile: Here.
33859 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33860 * sysdeps/x86/tst-xmmymm.sh: This.
33862 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33864 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33866 [UNIX98] (pthread_barrier_t): Do not expect.
33867 [UNIX98] (pthread_barrierattr_t): Likewise.
33868 [UNIX98] (pthread_spinlock_t): Likewise.
33869 [UNIX98] (pthread_barrier_destroy): Likewise.
33870 [UNIX98] (pthread_barrier_init): Likewise.
33871 [UNIX98] (pthread_barrier_wait): Likewise.
33872 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33873 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33874 [UNIX98] (pthread_barrierattr_init): Likewise.
33875 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33876 [UNIX98] (pthread_getcpuclockid): Likewise.
33877 [UNIX98] (pthread_mutex_timedlock): Likewise.
33878 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33879 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33880 [UNIX98] (pthread_sigmask): Likewise.
33881 [UNIX98] (pthread_spin_destroy): Likewise.
33882 [UNIX98] (pthread_spin_init): Likewise.
33883 [UNIX98] (pthread_spin_lock): Likewise.
33884 [UNIX98] (pthread_spin_trylock): Likewise.
33885 [UNIX98] (pthread_spin_unlock): Likewise.
33886 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33888 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33889 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33890 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33891 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33892 [XPG3 || XPG4] (pthread_key_t): Likewise.
33893 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33894 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33895 [XPG3 || XPG4] (pthread_once_t): Likewise.
33896 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33897 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33898 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33899 [XPG3 || XPG4] (pthread_t): Likewise.
33901 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33903 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33905 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33906 Change function return type to int.
33908 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33909 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33910 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33911 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33912 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33913 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33914 [!POSIX] (posix_madvise): Likewise.
33915 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33917 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33918 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33919 (mode_t): Likewise.
33920 (posix_mem_offset): Likewise.
33921 (posix_typed_mem_get_info): Likewise.
33922 (posix_typed_mem_open): Likewise.
33924 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33925 Change condition to [XOPEN2K8].
33927 * conform/conformtest.pl: Preprocess allow-header data with -x c
33928 instead of from stdin.
33929 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33930 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33931 [C99-based standards] (cerfc): Likewise.
33932 [C99-based standards] (cexp2): Likewise.
33933 [C99-based standards] (cexpm1): Likewise.
33934 [C99-based standards] (clog10): Likewise.
33935 [C99-based standards] (clog1p): Likewise.
33936 [C99-based standards] (clog2): Likewise.
33937 [C99-based standards] (clgamma): Likewise.
33938 [C99-based standards] (ctgamma): Likewise.
33939 [C99-based standards] (cerff): Likewise.
33940 [C99-based standards] (cerfcf): Likewise.
33941 [C99-based standards] (cexp2f): Likewise.
33942 [C99-based standards] (cexpm1f): Likewise.
33943 [C99-based standards] (clog10f): Likewise.
33944 [C99-based standards] (clog1pf): Likewise.
33945 [C99-based standards] (clog2f): Likewise.
33946 [C99-based standards] (clgammaf): Likewise.
33947 [C99-based standards] (ctgammaf): Likewise.
33948 [C99-based standards] (cerfl): Likewise.
33949 [C99-based standards] (cerfcl): Likewise.
33950 [C99-based standards] (cexp2l): Likewise.
33951 [C99-based standards] (cexpm1l): Likewise.
33952 [C99-based standards] (clog10l): Likewise.
33953 [C99-based standards] (clog1pl): Likewise.
33954 [C99-based standards] (clog2l): Likewise.
33955 [C99-based standards] (clgammal): Likewise.
33956 [C99-based standards] (ctgammal): Likewise.
33957 * conform/data/inttypes.h-data [C99-based standards]: Include
33958 stdint.h-data. Remove all expectations for stdint.h contents.
33959 [C99-based standards] (PRI*): Do not allow.
33960 [C99-based standards] (SCN*): Likewise.
33961 [C99-based standards] (*_t): Likewise.
33962 [C99-based-standards] (PRId8): Expect macro.
33963 [C99-based-standards] (PRIi8): Likewise.
33964 [C99-based-standards] (PRIo8): Likewise.
33965 [C99-based-standards] (PRIu8): Likewise.
33966 [C99-based-standards] (PRIx8): Likewise.
33967 [C99-based-standards] (PRIX8): Likewise.
33968 [C99-based-standards] (SCNd8): Likewise.
33969 [C99-based-standards] (SCNi8): Likewise.
33970 [C99-based-standards] (SCNo8): Likewise.
33971 [C99-based-standards] (SCNu8): Likewise.
33972 [C99-based-standards] (SCNx8): Likewise.
33973 [C99-based-standards] (PRIdLEAST8): Likewise.
33974 [C99-based-standards] (PRIiLEAST8): Likewise.
33975 [C99-based-standards] (PRIoLEAST8): Likewise.
33976 [C99-based-standards] (PRIuLEAST8): Likewise.
33977 [C99-based-standards] (PRIxLEAST8): Likewise.
33978 [C99-based-standards] (PRIXLEAST8): Likewise.
33979 [C99-based-standards] (SCNdLEAST8): Likewise.
33980 [C99-based-standards] (SCNiLEAST8): Likewise.
33981 [C99-based-standards] (SCNoLEAST8): Likewise.
33982 [C99-based-standards] (SCNuLEAST8): Likewise.
33983 [C99-based-standards] (SCNxLEAST8): Likewise.
33984 [C99-based-standards] (PRIdFAST8): Likewise.
33985 [C99-based-standards] (PRIiFAST8): Likewise.
33986 [C99-based-standards] (PRIoFAST8): Likewise.
33987 [C99-based-standards] (PRIuFAST8): Likewise.
33988 [C99-based-standards] (PRIxFAST8): Likewise.
33989 [C99-based-standards] (PRIXFAST8): Likewise.
33990 [C99-based-standards] (SCNdFAST8): Likewise.
33991 [C99-based-standards] (SCNiFAST8): Likewise.
33992 [C99-based-standards] (SCNoFAST8): Likewise.
33993 [C99-based-standards] (SCNuFAST8): Likewise.
33994 [C99-based-standards] (SCNxFAST8): Likewise.
33995 [C99-based-standards] (PRId16): Likewise.
33996 [C99-based-standards] (PRIi16): Likewise.
33997 [C99-based-standards] (PRIo16): Likewise.
33998 [C99-based-standards] (PRIu16): Likewise.
33999 [C99-based-standards] (PRIx16): Likewise.
34000 [C99-based-standards] (PRIX16): Likewise.
34001 [C99-based-standards] (SCNd16): Likewise.
34002 [C99-based-standards] (SCNi16): Likewise.
34003 [C99-based-standards] (SCNo16): Likewise.
34004 [C99-based-standards] (SCNu16): Likewise.
34005 [C99-based-standards] (SCNx16): Likewise.
34006 [C99-based-standards] (PRIdLEAST16): Likewise.
34007 [C99-based-standards] (PRIiLEAST16): Likewise.
34008 [C99-based-standards] (PRIoLEAST16): Likewise.
34009 [C99-based-standards] (PRIuLEAST16): Likewise.
34010 [C99-based-standards] (PRIxLEAST16): Likewise.
34011 [C99-based-standards] (PRIXLEAST16): Likewise.
34012 [C99-based-standards] (SCNdLEAST16): Likewise.
34013 [C99-based-standards] (SCNiLEAST16): Likewise.
34014 [C99-based-standards] (SCNoLEAST16): Likewise.
34015 [C99-based-standards] (SCNuLEAST16): Likewise.
34016 [C99-based-standards] (SCNxLEAST16): Likewise.
34017 [C99-based-standards] (PRIdFAST16): Likewise.
34018 [C99-based-standards] (PRIiFAST16): Likewise.
34019 [C99-based-standards] (PRIoFAST16): Likewise.
34020 [C99-based-standards] (PRIuFAST16): Likewise.
34021 [C99-based-standards] (PRIxFAST16): Likewise.
34022 [C99-based-standards] (PRIXFAST16): Likewise.
34023 [C99-based-standards] (SCNdFAST16): Likewise.
34024 [C99-based-standards] (SCNiFAST16): Likewise.
34025 [C99-based-standards] (SCNoFAST16): Likewise.
34026 [C99-based-standards] (SCNuFAST16): Likewise.
34027 [C99-based-standards] (SCNxFAST16): Likewise.
34028 [C99-based-standards] (PRId32): Likewise.
34029 [C99-based-standards] (PRIi32): Likewise.
34030 [C99-based-standards] (PRIo32): Likewise.
34031 [C99-based-standards] (PRIu32): Likewise.
34032 [C99-based-standards] (PRIx32): Likewise.
34033 [C99-based-standards] (PRIX32): Likewise.
34034 [C99-based-standards] (SCNd32): Likewise.
34035 [C99-based-standards] (SCNi32): Likewise.
34036 [C99-based-standards] (SCNo32): Likewise.
34037 [C99-based-standards] (SCNu32): Likewise.
34038 [C99-based-standards] (SCNx32): Likewise.
34039 [C99-based-standards] (PRIdLEAST32): Likewise.
34040 [C99-based-standards] (PRIiLEAST32): Likewise.
34041 [C99-based-standards] (PRIoLEAST32): Likewise.
34042 [C99-based-standards] (PRIuLEAST32): Likewise.
34043 [C99-based-standards] (PRIxLEAST32): Likewise.
34044 [C99-based-standards] (PRIXLEAST32): Likewise.
34045 [C99-based-standards] (SCNdLEAST32): Likewise.
34046 [C99-based-standards] (SCNiLEAST32): Likewise.
34047 [C99-based-standards] (SCNoLEAST32): Likewise.
34048 [C99-based-standards] (SCNuLEAST32): Likewise.
34049 [C99-based-standards] (SCNxLEAST32): Likewise.
34050 [C99-based-standards] (PRIdFAST32): Likewise.
34051 [C99-based-standards] (PRIiFAST32): Likewise.
34052 [C99-based-standards] (PRIoFAST32): Likewise.
34053 [C99-based-standards] (PRIuFAST32): Likewise.
34054 [C99-based-standards] (PRIxFAST32): Likewise.
34055 [C99-based-standards] (PRIXFAST32): Likewise.
34056 [C99-based-standards] (SCNdFAST32): Likewise.
34057 [C99-based-standards] (SCNiFAST32): Likewise.
34058 [C99-based-standards] (SCNoFAST32): Likewise.
34059 [C99-based-standards] (SCNuFAST32): Likewise.
34060 [C99-based-standards] (SCNxFAST32): Likewise.
34061 [C99-based-standards] (PRId64): Likewise.
34062 [C99-based-standards] (PRIi64): Likewise.
34063 [C99-based-standards] (PRIo64): Likewise.
34064 [C99-based-standards] (PRIu64): Likewise.
34065 [C99-based-standards] (PRIx64): Likewise.
34066 [C99-based-standards] (PRIX64): Likewise.
34067 [C99-based-standards] (SCNd64): Likewise.
34068 [C99-based-standards] (SCNi64): Likewise.
34069 [C99-based-standards] (SCNo64): Likewise.
34070 [C99-based-standards] (SCNu64): Likewise.
34071 [C99-based-standards] (SCNx64): Likewise.
34072 [C99-based-standards] (PRIdLEAST64): Likewise.
34073 [C99-based-standards] (PRIiLEAST64): Likewise.
34074 [C99-based-standards] (PRIoLEAST64): Likewise.
34075 [C99-based-standards] (PRIuLEAST64): Likewise.
34076 [C99-based-standards] (PRIxLEAST64): Likewise.
34077 [C99-based-standards] (PRIXLEAST64): Likewise.
34078 [C99-based-standards] (SCNdLEAST64): Likewise.
34079 [C99-based-standards] (SCNiLEAST64): Likewise.
34080 [C99-based-standards] (SCNoLEAST64): Likewise.
34081 [C99-based-standards] (SCNuLEAST64): Likewise.
34082 [C99-based-standards] (SCNxLEAST64): Likewise.
34083 [C99-based-standards] (PRIdFAST64): Likewise.
34084 [C99-based-standards] (PRIiFAST64): Likewise.
34085 [C99-based-standards] (PRIoFAST64): Likewise.
34086 [C99-based-standards] (PRIuFAST64): Likewise.
34087 [C99-based-standards] (PRIxFAST64): Likewise.
34088 [C99-based-standards] (PRIXFAST64): Likewise.
34089 [C99-based-standards] (SCNdFAST64): Likewise.
34090 [C99-based-standards] (SCNiFAST64): Likewise.
34091 [C99-based-standards] (SCNoFAST64): Likewise.
34092 [C99-based-standards] (SCNuFAST64): Likewise.
34093 [C99-based-standards] (SCNxFAST64): Likewise.
34094 [C99-based-standards] (PRIdMAX): Likewise.
34095 [C99-based-standards] (PRIiMAX): Likewise.
34096 [C99-based-standards] (PRIoMAX): Likewise.
34097 [C99-based-standards] (PRIuMAX): Likewise.
34098 [C99-based-standards] (PRIxMAX): Likewise.
34099 [C99-based-standards] (PRIXMAX): Likewise.
34100 [C99-based-standards] (SCNdMAX): Likewise.
34101 [C99-based-standards] (SCNiMAX): Likewise.
34102 [C99-based-standards] (SCNoMAX): Likewise.
34103 [C99-based-standards] (SCNuMAX): Likewise.
34104 [C99-based-standards] (SCNxMAX): Likewise.
34105 [C99-based-standards] (PRIdPTR): Likewise.
34106 [C99-based-standards] (PRIiPTR): Likewise.
34107 [C99-based-standards] (PRIoPTR): Likewise.
34108 [C99-based-standards] (PRIuPTR): Likewise.
34109 [C99-based-standards] (PRIxPTR): Likewise.
34110 [C99-based-standards] (PRIXPTR): Likewise.
34111 [C99-based-standards] (SCNdPTR): Likewise.
34112 [C99-based-standards] (SCNiPTR): Likewise.
34113 [C99-based-standards] (SCNoPTR): Likewise.
34114 [C99-based-standards] (SCNuPTR): Likewise.
34115 [C99-based-standards] (SCNxPTR): Likewise.
34116 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34118 * conform/data/stdint.h-data: Update comments to clarify
34120 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34122 [C99-based standards] (INT8_MAX): Likewise.
34123 [C99-based standards] (INT16_MIN): Likewise.
34124 [C99-based standards] (INT16_MAX): Likewise.
34125 [C99-based standards] (INT32_MIN): Likewise.
34126 [C99-based standards] (INT32_MAX): Likewise.
34127 [C99-based standards] (INT64_MIN): Likewise.
34128 [C99-based standards] (INT64_MAX): Likewise.
34129 [C99-based standards] (UINT8_MAX): Likewise.
34130 [C99-based standards] (UINT16_MAX): Likewise.
34131 [C99-based standards] (UINT32_MAX): Likewise.
34132 [C99-based standards] (UINT64_MAX): Likewise.
34133 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34134 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34135 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34136 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34137 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34138 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34139 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34140 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34141 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34142 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34143 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34144 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34145 [C99-based standards] (INT_FAST8_MIN): Likewise.
34146 [C99-based standards] (INT_FAST8_MAX): Likewise.
34147 [C99-based standards] (INT_FAST16_MIN): Likewise.
34148 [C99-based standards] (INT_FAST16_MAX): Likewise.
34149 [C99-based standards] (INT_FAST32_MIN): Likewise.
34150 [C99-based standards] (INT_FAST32_MAX): Likewise.
34151 [C99-based standards] (INT_FAST64_MIN): Likewise.
34152 [C99-based standards] (INT_FAST64_MAX): Likewise.
34153 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34154 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34155 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34156 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34157 [C99-based standards] (INTPTR_MIN): Likewise.
34158 [C99-based standards] (INTPTR_MAX): Likewise.
34159 [C99-based standards] (UINTPTR_MAX): Likewise.
34160 [C99-based standards] (INTMAX_MIN): Likewise.
34161 [C99-based standards] (INTMAX_MAX): Likewise.
34162 [C99-based standards] (UINTMAX_MAX): Likewise.
34163 [C99-based standards] (PTRDIFF_MIN): Likewise.
34164 [C99-based standards] (PTRDIFF_MAX): Likewise.
34165 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34166 [C99-based standards] (SIZE_MAX): Likewise.
34167 [C99-based standards] (WCHAR_MAX): Likewise.
34168 [C99-based standards] (WINT_MAX): Likewise.
34169 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34170 constraint on value.
34171 [C99-based standards] (WCHAR_MIN): Likewise.
34172 [C99-based standards] (WINT_MIN): Likewise.
34173 [C99-based standards] (*_t): Allow.
34174 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34175 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34176 Include math.h-data and complex.h-data. Remove all expectations
34177 of math.h and complex.h contents.
34178 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34180 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34181 (struct tm): Expect tag.
34182 [C99-based-standards] (wcstof): Expect function.
34183 [C99-based-standards] (wcstold): Likewise.
34184 [C99-based-standards] (wcstoll): Likewise.
34185 [C99-based-standards] (wcstoull): Likewise.
34186 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34187 macro-int-constant. Specify type.
34188 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34189 constraint on value.
34190 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34192 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34194 [ISO C standards]: Do not allow headers.
34195 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34196 wcs[abcdefghijklmnopqrstuvwxyz]*.
34197 [ISO C standards] (*_t): Do not allow.
34198 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34200 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34201 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34203 [ISO C standards]: Do not allow headers.
34204 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34205 is[abcdefghijklmnopqrstuvwxyz]*.
34206 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34207 to[abcdefghijklmnopqrstuvwxyz]*.
34208 [ISO C standards] (*_t): Do not allow.
34209 * conform/data/stdalign.h-data: New file.
34210 * conform/data/stdbool.h-data: Likewise.
34211 * conform/data/stdnoreturn.h-data: Likewise.
34213 2012-11-07 Roland McGrath <roland@hack.frob.com>
34216 * manual/filesys.texi (Directory Entries): Typo fix.
34217 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34219 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34221 * elf/elf.h (EM_AARCH64): New macro.
34222 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34223 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34224 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34225 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34226 (R_AARCH64_TLSDESC): Likewise.
34227 (NT_ARM_TLS): Likewise.
34228 (NT_ARM_HW_BREAK): Likewise.
34229 (NT_ARM_HW_WATCH): Likewise.
34231 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34234 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34235 (__ieee754_powl): Saturate nonzero exponents with absolute value
34236 below 0x1p-79 to +/- 0x1p-79.
34237 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34238 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34239 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34240 nonzero exponents with absolute value below 0x1p-32 to +/-
34242 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34243 (__ieee754_powl): Saturate nonzero exponents with absolute value
34244 below 0x1p-79 to +/- 0x1p-79.
34245 * math/libm-test.inc (pow_test): Add more tests.
34247 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34249 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34250 _dl_s390_cap_flags with kernel. Increase string length.
34251 (_dl_s390_platforms): Add z196 and zEC12.
34253 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34255 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34256 Change XOPEN21K to XOPEN2K.
34258 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34260 * string/memmove.c: Use memcpy when possible.
34262 2012-11-06 Andreas Jaeger <aj@suse.de>
34264 * po/eo.po: Update from translation team.
34266 2012-11-06 Joseph Myers <joseph@codesourcery.com>
34269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34270 exponent and small x and y exponents, scale x or y up. Increase
34271 by 2 the exponent used in scaling up.
34272 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34273 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34274 * math/libm-test.inc (fma_test): Add more tests.
34275 (fma_test_towardzero): Likewise.
34276 (fma_test_downward): Likewise.
34277 (fma_test_upward): Likewise.
34279 2012-11-05 Joseph Myers <joseph@codesourcery.com>
34282 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34286 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34287 namespace for names of struct fields.
34288 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34290 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34291 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34293 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34296 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34298 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34300 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34304 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34307 2012-11-04 Joseph Myers <joseph@codesourcery.com>
34310 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34311 definitely overflow as x * y not x * y + z.
34312 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34313 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34314 * math/libm-test.inc (fma_test): Add more tests.
34315 (fma_test_towardzero): Likewise.
34316 (fma_test_downward): Likewise.
34317 (fma_test_upward): Likewise.
34319 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34323 * include/stub-tag.h: Remove file.
34324 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34326 * manual/maint.texi (Porting): Don't reference it.
34327 * Makerules ($(objpfx)stubs): Likewise.
34328 * dirent/closedir.c: Don't include <stub-tag.h>.
34329 * dirent/dirfd.c: Likewise.
34330 * dirent/fdopendir.c: Likewise.
34331 * dirent/getdents.c: Likewise.
34332 * dirent/getdents64.c: Likewise.
34333 * dirent/opendir.c: Likewise.
34334 * dirent/readdir.c: Likewise.
34335 * dirent/readdir64.c: Likewise.
34336 * dirent/readdir64_r.c: Likewise.
34337 * dirent/readdir_r.c: Likewise.
34338 * dirent/rewinddir.c: Likewise.
34339 * dirent/seekdir.c: Likewise.
34340 * dirent/telldir.c: Likewise.
34341 * gmon/profil.c: Likewise.
34342 * grp/setgroups.c: Likewise.
34343 * inet/if_index.c: Likewise.
34344 * io/access.c: Likewise.
34345 * io/chdir.c: Likewise.
34346 * io/chmod.c: Likewise.
34347 * io/chown.c: Likewise.
34348 * io/close.c: Likewise.
34349 * io/dup.c: Likewise.
34350 * io/dup2.c: Likewise.
34351 * io/dup3.c: Likewise.
34352 * io/euidaccess.c: Likewise.
34353 * io/faccessat.c: Likewise.
34354 * io/fchdir.c: Likewise.
34355 * io/fchmod.c: Likewise.
34356 * io/fchmodat.c: Likewise.
34357 * io/fchown.c: Likewise.
34358 * io/fchownat.c: Likewise.
34359 * io/fcntl.c: Likewise.
34360 * io/flock.c: Likewise.
34361 * io/fstatfs.c: Likewise.
34362 * io/fstatfs64.c: Likewise.
34363 * io/fstatvfs.c: Likewise.
34364 * io/fstatvfs64.c: Likewise.
34365 * io/futimens.c: Likewise.
34366 * io/fxstat.c: Likewise.
34367 * io/fxstat64.c: Likewise.
34368 * io/fxstatat.c: Likewise.
34369 * io/fxstatat64.c: Likewise.
34370 * io/getcwd.c: Likewise.
34371 * io/isatty.c: Likewise.
34372 * io/lchmod.c: Likewise.
34373 * io/lchown.c: Likewise.
34374 * io/link.c: Likewise.
34375 * io/linkat.c: Likewise.
34376 * io/lseek.c: Likewise.
34377 * io/lseek64.c: Likewise.
34378 * io/lxstat64.c: Likewise.
34379 * io/mkdir.c: Likewise.
34380 * io/mkdirat.c: Likewise.
34381 * io/mkfifo.c: Likewise.
34382 * io/mkfifoat.c: Likewise.
34383 * io/open.c: Likewise.
34384 * io/open64.c: Likewise.
34385 * io/openat.c: Likewise.
34386 * io/openat64.c: Likewise.
34387 * io/pipe.c: Likewise.
34388 * io/pipe2.c: Likewise.
34389 * io/poll.c: Likewise.
34390 * io/posix_fadvise.c: Likewise.
34391 * io/posix_fadvise64.c: Likewise.
34392 * io/posix_fallocate.c: Likewise.
34393 * io/posix_fallocate64.c: Likewise.
34394 * io/read.c: Likewise.
34395 * io/readlink.c: Likewise.
34396 * io/readlinkat.c: Likewise.
34397 * io/rmdir.c: Likewise.
34398 * io/sendfile.c: Likewise.
34399 * io/sendfile64.c: Likewise.
34400 * io/statfs.c: Likewise.
34401 * io/statfs64.c: Likewise.
34402 * io/statvfs.c: Likewise.
34403 * io/statvfs64.c: Likewise.
34404 * io/symlink.c: Likewise.
34405 * io/symlinkat.c: Likewise.
34406 * io/ttyname.c: Likewise.
34407 * io/ttyname_r.c: Likewise.
34408 * io/umask.c: Likewise.
34409 * io/unlink.c: Likewise.
34410 * io/unlinkat.c: Likewise.
34411 * io/utime.c: Likewise.
34412 * io/utimensat.c: Likewise.
34413 * io/write.c: Likewise.
34414 * io/xmknod.c: Likewise.
34415 * io/xmknodat.c: Likewise.
34416 * io/xstat.c: Likewise.
34417 * io/xstat64.c: Likewise.
34418 * login/getpt.c: Likewise.
34419 * login/grantpt.c: Likewise.
34420 * login/unlockpt.c: Likewise.
34421 * math/e_acoshl.c: Likewise.
34422 * math/e_acosl.c: Likewise.
34423 * math/e_asinl.c: Likewise.
34424 * math/e_atan2l.c: Likewise.
34425 * math/e_atanhl.c: Likewise.
34426 * math/e_coshl.c: Likewise.
34427 * math/e_expl.c: Likewise.
34428 * math/e_fmodl.c: Likewise.
34429 * math/e_gammal_r.c: Likewise.
34430 * math/e_hypotl.c: Likewise.
34431 * math/e_j0l.c: Likewise.
34432 * math/e_j1l.c: Likewise.
34433 * math/e_jnl.c: Likewise.
34434 * math/e_lgammal_r.c: Likewise.
34435 * math/e_log10l.c: Likewise.
34436 * math/e_log2l.c: Likewise.
34437 * math/e_logl.c: Likewise.
34438 * math/e_powl.c: Likewise.
34439 * math/e_rem_pio2l.c: Likewise.
34440 * math/e_sinhl.c: Likewise.
34441 * math/e_sqrtl.c: Likewise.
34442 * math/fclrexcpt.c: Likewise.
34443 * math/fedisblxcpt.c: Likewise.
34444 * math/feenablxcpt.c: Likewise.
34445 * math/fegetenv.c: Likewise.
34446 * math/fegetexcept.c: Likewise.
34447 * math/fegetround.c: Likewise.
34448 * math/feholdexcpt.c: Likewise.
34449 * math/fesetenv.c: Likewise.
34450 * math/fesetround.c: Likewise.
34451 * math/feupdateenv.c: Likewise.
34452 * math/fgetexcptflg.c: Likewise.
34453 * math/fraiseexcpt.c: Likewise.
34454 * math/fsetexcptflg.c: Likewise.
34455 * math/ftestexcept.c: Likewise.
34456 * math/k_cosl.c: Likewise.
34457 * math/k_rem_pio2l.c: Likewise.
34458 * math/k_sinl.c: Likewise.
34459 * math/k_tanl.c: Likewise.
34460 * math/s_asinhl.c: Likewise.
34461 * math/s_atanl.c: Likewise.
34462 * math/s_cbrtl.c: Likewise.
34463 * math/s_erfl.c: Likewise.
34464 * math/s_expm1l.c: Likewise.
34465 * math/s_log1pl.c: Likewise.
34466 * math/s_tanhl.c: Likewise.
34467 * misc/acct.c: Likewise.
34468 * misc/brk.c: Likewise.
34469 * misc/chflags.c: Likewise.
34470 * misc/chroot.c: Likewise.
34471 * misc/fchflags.c: Likewise.
34472 * misc/fgetxattr.c: Likewise.
34473 * misc/flistxattr.c: Likewise.
34474 * misc/fremovexattr.c: Likewise.
34475 * misc/fsetxattr.c: Likewise.
34476 * misc/fsync.c: Likewise.
34477 * misc/ftruncate.c: Likewise.
34478 * misc/futimes.c: Likewise.
34479 * misc/futimesat.c: Likewise.
34480 * misc/getdomain.c: Likewise.
34481 * misc/getdtsz.c: Likewise.
34482 * misc/gethostid.c: Likewise.
34483 * misc/gethostname.c: Likewise.
34484 * misc/getloadavg.c: Likewise.
34485 * misc/getpagesize.c: Likewise.
34486 * misc/getsysstats.c: Likewise.
34487 * misc/getxattr.c: Likewise.
34488 * misc/gtty.c: Likewise.
34489 * misc/ioctl.c: Likewise.
34490 * misc/lgetxattr.c: Likewise.
34491 * misc/listxattr.c: Likewise.
34492 * misc/llistxattr.c: Likewise.
34493 * misc/lremovexattr.c: Likewise.
34494 * misc/lsetxattr.c: Likewise.
34495 * misc/lutimes.c: Likewise.
34496 * misc/madvise.c: Likewise.
34497 * misc/mincore.c: Likewise.
34498 * misc/mlock.c: Likewise.
34499 * misc/mlockall.c: Likewise.
34500 * misc/mmap.c: Likewise.
34501 * misc/mprotect.c: Likewise.
34502 * misc/msync.c: Likewise.
34503 * misc/munlock.c: Likewise.
34504 * misc/munlockall.c: Likewise.
34505 * misc/munmap.c: Likewise.
34506 * misc/preadv.c: Likewise.
34507 * misc/preadv64.c: Likewise.
34508 * misc/ptrace.c: Likewise.
34509 * misc/pwritev.c: Likewise.
34510 * misc/pwritev64.c: Likewise.
34511 * misc/readv.c: Likewise.
34512 * misc/reboot.c: Likewise.
34513 * misc/remap_file_pages.c: Likewise.
34514 * misc/removexattr.c: Likewise.
34515 * misc/revoke.c: Likewise.
34516 * misc/select.c: Likewise.
34517 * misc/setdomain.c: Likewise.
34518 * misc/setegid.c: Likewise.
34519 * misc/seteuid.c: Likewise.
34520 * misc/sethostid.c: Likewise.
34521 * misc/sethostname.c: Likewise.
34522 * misc/setregid.c: Likewise.
34523 * misc/setreuid.c: Likewise.
34524 * misc/setxattr.c: Likewise.
34525 * misc/sstk.c: Likewise.
34526 * misc/stty.c: Likewise.
34527 * misc/swapoff.c: Likewise.
34528 * misc/swapon.c: Likewise.
34529 * misc/sync.c: Likewise.
34530 * misc/syncfs.c: Likewise.
34531 * misc/syscall.c: Likewise.
34532 * misc/truncate.c: Likewise.
34533 * misc/ualarm.c: Likewise.
34534 * misc/usleep.c: Likewise.
34535 * misc/ustat.c: Likewise.
34536 * misc/utimes.c: Likewise.
34537 * misc/vhangup.c: Likewise.
34538 * misc/writev.c: Likewise.
34539 * posix/_exit.c: Likewise.
34540 * posix/alarm.c: Likewise.
34541 * posix/execve.c: Likewise.
34542 * posix/fexecve.c: Likewise.
34543 * posix/fork.c: Likewise.
34544 * posix/fpathconf.c: Likewise.
34545 * posix/getaddrinfo.c: Likewise.
34546 * posix/getegid.c: Likewise.
34547 * posix/geteuid.c: Likewise.
34548 * posix/getgid.c: Likewise.
34549 * posix/getgroups.c: Likewise.
34550 * posix/getlogin.c: Likewise.
34551 * posix/getlogin_r.c: Likewise.
34552 * posix/getpgid.c: Likewise.
34553 * posix/getpid.c: Likewise.
34554 * posix/getppid.c: Likewise.
34555 * posix/getresgid.c: Likewise.
34556 * posix/getresuid.c: Likewise.
34557 * posix/getsid.c: Likewise.
34558 * posix/getuid.c: Likewise.
34559 * posix/glob64.c: Likewise.
34560 * posix/nanosleep.c: Likewise.
34561 * posix/pathconf.c: Likewise.
34562 * posix/pause.c: Likewise.
34563 * posix/posix_madvise.c: Likewise.
34564 * posix/pread.c: Likewise.
34565 * posix/pread64.c: Likewise.
34566 * posix/pwrite.c: Likewise.
34567 * posix/pwrite64.c: Likewise.
34568 * posix/sched_getaffinity.c: Likewise.
34569 * posix/sched_getp.c: Likewise.
34570 * posix/sched_gets.c: Likewise.
34571 * posix/sched_primax.c: Likewise.
34572 * posix/sched_primin.c: Likewise.
34573 * posix/sched_rr_gi.c: Likewise.
34574 * posix/sched_setaffinity.c: Likewise.
34575 * posix/sched_setp.c: Likewise.
34576 * posix/sched_sets.c: Likewise.
34577 * posix/sched_yield.c: Likewise.
34578 * posix/setgid.c: Likewise.
34579 * posix/setlogin.c: Likewise.
34580 * posix/setpgid.c: Likewise.
34581 * posix/setresgid.c: Likewise.
34582 * posix/setresuid.c: Likewise.
34583 * posix/setsid.c: Likewise.
34584 * posix/setuid.c: Likewise.
34585 * posix/sleep.c: Likewise.
34586 * posix/spawni.c: Likewise.
34587 * posix/sysconf.c: Likewise.
34588 * posix/times.c: Likewise.
34589 * posix/wait.c: Likewise.
34590 * posix/wait3.c: Likewise.
34591 * posix/wait4.c: Likewise.
34592 * posix/waitpid.c: Likewise.
34593 * resolv/gai_sigqueue.c: Likewise.
34594 * resource/getpriority.c: Likewise.
34595 * resource/getrlimit.c: Likewise.
34596 * resource/getrusage.c: Likewise.
34597 * resource/nice.c: Likewise.
34598 * resource/setpriority.c: Likewise.
34599 * resource/setrlimit.c: Likewise.
34600 * resource/ulimit.c: Likewise.
34601 * rt/aio_cancel.c: Likewise.
34602 * rt/aio_fsync.c: Likewise.
34603 * rt/aio_read.c: Likewise.
34604 * rt/aio_sigqueue.c: Likewise.
34605 * rt/aio_suspend.c: Likewise.
34606 * rt/aio_write.c: Likewise.
34607 * rt/clock_getres.c: Likewise.
34608 * rt/clock_gettime.c: Likewise.
34609 * rt/clock_nanosleep.c: Likewise.
34610 * rt/clock_settime.c: Likewise.
34611 * rt/lio_listio.c: Likewise.
34612 * rt/mq_close.c: Likewise.
34613 * rt/mq_getattr.c: Likewise.
34614 * rt/mq_notify.c: Likewise.
34615 * rt/mq_open.c: Likewise.
34616 * rt/mq_receive.c: Likewise.
34617 * rt/mq_send.c: Likewise.
34618 * rt/mq_setattr.c: Likewise.
34619 * rt/mq_timedreceive.c: Likewise.
34620 * rt/mq_timedsend.c: Likewise.
34621 * rt/mq_unlink.c: Likewise.
34622 * rt/shm_open.c: Likewise.
34623 * rt/shm_unlink.c: Likewise.
34624 * rt/timer_create.c: Likewise.
34625 * rt/timer_delete.c: Likewise.
34626 * rt/timer_getoverr.c: Likewise.
34627 * rt/timer_gettime.c: Likewise.
34628 * rt/timer_settime.c: Likewise.
34629 * setjmp/__longjmp.c: Likewise.
34630 * setjmp/setjmp.c: Likewise.
34631 * signal/kill.c: Likewise.
34632 * signal/killpg.c: Likewise.
34633 * signal/raise.c: Likewise.
34634 * signal/sigaction.c: Likewise.
34635 * signal/sigaltstack.c: Likewise.
34636 * signal/sigblock.c: Likewise.
34637 * signal/sigignore.c: Likewise.
34638 * signal/sigintr.c: Likewise.
34639 * signal/signal.c: Likewise.
34640 * signal/sigpause.c: Likewise.
34641 * signal/sigpending.c: Likewise.
34642 * signal/sigqueue.c: Likewise.
34643 * signal/sigreturn.c: Likewise.
34644 * signal/sigset.c: Likewise.
34645 * signal/sigsetmask.c: Likewise.
34646 * signal/sigstack.c: Likewise.
34647 * signal/sigsuspend.c: Likewise.
34648 * signal/sigtimedwait.c: Likewise.
34649 * signal/sigvec.c: Likewise.
34650 * signal/sigwait.c: Likewise.
34651 * signal/sigwaitinfo.c: Likewise.
34652 * signal/sysv_signal.c: Likewise.
34653 * socket/accept.c: Likewise.
34654 * socket/accept4.c: Likewise.
34655 * socket/bind.c: Likewise.
34656 * socket/connect.c: Likewise.
34657 * socket/getpeername.c: Likewise.
34658 * socket/getsockname.c: Likewise.
34659 * socket/getsockopt.c: Likewise.
34660 * socket/isfdtype.c: Likewise.
34661 * socket/listen.c: Likewise.
34662 * socket/recv.c: Likewise.
34663 * socket/recvfrom.c: Likewise.
34664 * socket/recvmsg.c: Likewise.
34665 * socket/send.c: Likewise.
34666 * socket/sendmsg.c: Likewise.
34667 * socket/sendto.c: Likewise.
34668 * socket/setsockopt.c: Likewise.
34669 * socket/shutdown.c: Likewise.
34670 * socket/sockatmark.c: Likewise.
34671 * socket/socket.c: Likewise.
34672 * socket/socketpair.c: Likewise.
34673 * stdio-common/ctermid.c: Likewise.
34674 * stdio-common/cuserid.c: Likewise.
34675 * stdio-common/remove.c: Likewise.
34676 * stdio-common/rename.c: Likewise.
34677 * stdio-common/renameat.c: Likewise.
34678 * stdio-common/tempname.c: Likewise.
34679 * stdlib/getcontext.c: Likewise.
34680 * stdlib/makecontext.c: Likewise.
34681 * stdlib/setcontext.c: Likewise.
34682 * stdlib/swapcontext.c: Likewise.
34683 * stdlib/system.c: Likewise.
34684 * streams/fattach.c: Likewise.
34685 * streams/fdetach.c: Likewise.
34686 * streams/getmsg.c: Likewise.
34687 * streams/getpmsg.c: Likewise.
34688 * streams/putmsg.c: Likewise.
34689 * streams/putpmsg.c: Likewise.
34690 * sysdeps/unix/bsd/getpt.c: Likewise.
34691 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34692 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34693 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34696 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34697 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34698 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34699 * sysvipc/msgctl.c: Likewise.
34700 * sysvipc/msgget.c: Likewise.
34701 * sysvipc/msgrcv.c: Likewise.
34702 * sysvipc/msgsnd.c: Likewise.
34703 * sysvipc/semctl.c: Likewise.
34704 * sysvipc/semget.c: Likewise.
34705 * sysvipc/semop.c: Likewise.
34706 * sysvipc/semtimedop.c: Likewise.
34707 * sysvipc/shmat.c: Likewise.
34708 * sysvipc/shmctl.c: Likewise.
34709 * sysvipc/shmdt.c: Likewise.
34710 * sysvipc/shmget.c: Likewise.
34711 * termios/tcdrain.c: Likewise.
34712 * termios/tcflow.c: Likewise.
34713 * termios/tcflush.c: Likewise.
34714 * termios/tcgetattr.c: Likewise.
34715 * termios/tcgetpgrp.c: Likewise.
34716 * termios/tcsendbrk.c: Likewise.
34717 * termios/tcsetattr.c: Likewise.
34718 * termios/tcsetpgrp.c: Likewise.
34719 * time/adjtime.c: Likewise.
34720 * time/clock.c: Likewise.
34721 * time/getitimer.c: Likewise.
34722 * time/gettimeofday.c: Likewise.
34723 * time/setitimer.c: Likewise.
34724 * time/settimeofday.c: Likewise.
34725 * time/stime.c: Likewise.
34726 * time/time.c: Likewise.
34728 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
34730 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34733 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34735 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34737 2012-11-03 Joseph Myers <joseph@codesourcery.com>
34740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34741 FE_TONEAREST before applying Dekker multiplication and Knuth
34742 addition. Clear inexact exceptions and check for exact zero
34743 results afterwards.
34744 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34745 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34747 * math/libm-test.inc (fma_test): Add more tests.
34748 (fma_test_towardzero): Likewise.
34749 (fma_test_downward): Likewise.
34750 (fma_test_upward): Likewise.
34751 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34753 (libc_fesetround): New macro.
34754 (libc_fesetroundf): Likewise.
34755 (libc_fesetroundl): Likewise.
34756 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34758 (libc_fesetround_387): Likewise.
34759 (libc_fesetroundf): New macro.
34760 (libc_fesetround): Likewise.
34761 (libc_fesetroundl): Likewise.
34762 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34764 (libc_fesetroundf): New macro.
34765 (libc_fesetround): Likewise.
34766 (libc_fesetroundl): Likewise.
34767 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34768 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34769 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34771 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34772 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34774 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34775 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34777 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34781 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34782 integer constant usable in #if and use that to give value to enum
34784 (FE_DIVBYZERO): Likewise.
34785 (FE_UNDERFLOW): Likewise.
34786 (FE_OVERFLOW): Likewise.
34787 (FE_INVALID): Likewise.
34788 (FE_INVALID_SNAN): Likewise.
34789 (FE_INVALID_ISI): Likewise.
34790 (FE_INVALID_IDI): Likewise.
34791 (FE_INVALID_ZDZ): Likewise.
34792 (FE_INVALID_IMZ): Likewise.
34793 (FE_INVALID_COMPARE): Likewise.
34794 (FE_INVALID_SOFTWARE): Likewise.
34795 (FE_INVALID_SQRT): Likewise.
34796 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34797 (FE_TONEAREST): Likewise.
34798 (FE_TOWARDZERO): Likewise.
34799 (FE_UPWARD): Likewise.
34800 (FE_DOWNWARD): Likewise.
34801 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34802 (FE_DIVBYZERO): Likewise.
34803 (FE_OVERFLOW): Likewise.
34804 (FE_UNDERFLOW): Likewise.
34805 (FE_INEXACT): Likewise.
34806 (FE_TONEAREST): Likewise.
34807 (FE_DOWNWARD): Likewise.
34808 (FE_UPWARD): Likewise.
34809 (FE_TOWARDZERO): Likewise.
34810 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34811 (FE_UNDERFLOW): Likewise.
34812 (FE_OVERFLOW): Likewise.
34813 (FE_DIVBYZERO): Likewise.
34814 (FE_INVALID): Likewise.
34815 (FE_TONEAREST): Likewise.
34816 (FE_TOWARDZERO): Likewise.
34817 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34818 (FE_OVERFLOW): Likewise.
34819 (FE_UNDERFLOW): Likewise.
34820 (FE_DIVBYZERO): Likewise.
34821 (FE_INEXACT): Likewise.
34822 (FE_TONEAREST): Likewise.
34823 (FE_TOWARDZERO): Likewise.
34824 (FE_UPWARD): Likewise.
34825 (FE_DOWNWARD): Likewise.
34826 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34827 (FE_DIVBYZERO): Likewise.
34828 (FE_OVERFLOW): Likewise.
34829 (FE_UNDERFLOW): Likewise.
34830 (FE_INEXACT): Likewise.
34831 (FE_TONEAREST): Likewise.
34832 (FE_DOWNWARD): Likewise.
34833 (FE_UPWARD): Likewise.
34834 (FE_TOWARDZERO): Likewise.
34836 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34838 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34840 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34842 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34843 commands. Quote $PWD.
34844 (blacklist_exports): Don't use remove_newlines. Replace "declare
34846 (remove_newlines): Remove.
34848 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34850 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34851 * stdlib/stdlib.h (atof): Moved to ...
34852 * include/bits/stdlib-float.h: Here. New file.
34853 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34854 * stdlib/bits/stdlib-float.h: New file.
34855 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34857 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34860 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34862 * conform/conformtest.pl (@headers): Add fenv.h.
34863 * conform/data/fenv.h-data: New file.
34864 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34865 include of <math/fenv.h>.
34867 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34868 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34869 && !UNIX98]. Enables tests for XOPEN2K8.
34870 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34871 POSIX2008]: Likewise.
34873 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34874 (struct rusage): Do not expect type or its members.
34877 * math/math.h (FP_NAN): Define macro to integer constant usable in
34878 #if and use that to give value to enum constant.
34879 (FP_INFINITE): Likewise.
34880 (FP_ZERO): Likewise.
34881 (FP_SUBNORMAL): Likewise.
34882 (FP_NORMAL): Likewise.
34884 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34886 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34887 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34890 2012-11-02 Roland McGrath <roland@hack.frob.com>
34892 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34893 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34894 autoconf-time if not.
34895 * configure.in: Remove AC_PREREQ.
34897 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34899 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34900 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34901 of the internal implementation.
34903 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34905 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34906 except include of <misc/sys/syslog.h>.
34908 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34911 function returns with a NULL context exit with zero.
34913 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34915 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34917 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34919 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34920 (run_program_cmd): This.
34921 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34922 (tst_langinfo): New variable. Use it.
34924 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34926 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34927 floating point opcodes.
34929 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34931 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34934 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34936 * sysdeps/mach/hurd/powerpc: Remove directory.
34937 * sysdeps/mach/powerpc: Likewise.
34939 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34941 * scripts/check-local-headers.sh: Ignore c++ headers.
34943 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34945 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34946 __libc_cleanup_region_start argument.
34948 2012-11-01 Joseph Myers <joseph@codesourcery.com>
34952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34953 x * y using scaling, not as x * y + z.
34954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34955 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34956 * math/libm-test.inc (fma_test): Add more tests.
34957 (fma_test_towardzero): Likewise.
34958 (fma_test_downward): Likewise.
34959 (fma_test_upward): Likewise.
34961 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34963 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34965 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34967 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34970 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34972 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34974 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34981 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34984 Fix the order of the list for glibc 2.17.
34985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34988 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34992 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34995 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34996 for low part of x being zero before using __atanl (y).
34997 * math/libm-test.inc (atan2_test): Add another test.
34999 * manual/install.texi (Configuring and compiling): Document
35000 general use of test-wrapper and test-wrapper-env.
35001 * INSTALL: Regenerated.
35003 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35004 (__fma): Do not extract and scale down low bits on after-rounding
35005 systems when result rounded to normal precision would have normal
35007 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35008 (__fmal): Do not extract and scale down low bits on after-rounding
35009 systems when result rounded to normal precision would have normal
35011 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35012 (__fmal): Do not extract and scale down low bits on after-rounding
35013 systems when result rounded to normal precision would have normal
35015 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35017 (fma_test): Add more tests.
35018 (fma_test_towardzero): Likewise.
35019 (fma_test_downward): Likewise.
35020 (fma_test_upward): Likewise.
35022 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35024 * sysdeps/i386/tininess.h: Renamed to ...
35025 * sysdeps/x86/tininess.h: This.
35026 * sysdeps/x86_64/tininess.h: Removed.
35028 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35030 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35031 input. Use $(build-program-cmd).
35032 ($(objpfx)tst-array1-static.out): Likewise.
35033 ($(objpfx)tst-array2.out): Likewise.
35034 ($(objpfx)tst-array3.out): Likewise.
35035 ($(objpfx)tst-array4.out): Likewise.
35036 ($(objpfx)tst-array5.out): Likewise.
35037 ($(objpfx)tst-array5-static.out): Likewise.
35039 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35041 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35044 * nss/nsswitch.h (nss_interface_function): Provide new
35045 macro for use with NSS functions.
35046 * grp/initgroups.c: Use new macro.
35047 * nss/getXXbyYY.c: Likewise.
35048 * nss/getXXbyYY_r.c: Likewise.
35049 * nss/getXXent.c: Likewise.
35050 * nss/getXXent_r.c: Likewise.
35051 * sysdeps/posix/getaddrinfo.c: Likewise.
35053 2012-10-30 Andreas Jaeger <aj@suse.de>
35055 * po/ru.po: Update Russion translation from translation project.
35057 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35062 result and shift together with sticky bit instead of replicating
35063 round-to-nearest rounding.
35064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35065 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35066 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35067 missing underflow exceptions.
35068 (fma_test_towardzero): Add more tests.
35069 (fma_test_downward): Likewise.
35070 (fma_test_upward): Likewise.
35073 * sysdeps/generic/tininess.h: New file.
35074 * sysdeps/i386/tininess.h: Likewise.
35075 * sysdeps/sh/tininess.h: Likewise.
35076 * sysdeps/x86_64/tininess.h: Likewise.
35077 * stdlib/tst-strtod-underflow.c: Likewise.
35078 * stdlib/tst-tininess.c: Likewise.
35079 * stdlib/strtod_l.c: Include <tininess.h>.
35080 (round_and_return): Do not set errno for exact underflow cases.
35081 Force an underflow exception when setting errno for underflow.
35082 Determine underflow based on rounding to normal precision if
35083 TININESS_AFTER_ROUNDING.
35084 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35085 ERANGE for exact underflow cases.
35086 * stdlib/Makefile (tests): Add tst-tininess and
35087 tst-strtod-underflow.
35088 ($(objpfx)tst-tininess): Use $(link-libm).
35089 ($(objpfx)tst-strtod-underflow): Likewise.
35091 2012-10-30 Andreas Jaeger <aj@suse.de>
35094 * elf/Makefile (tests): Remove conditional for have-initfini-array
35095 since this is now always required and the variable does not exist
35097 (tests-static): Likewise.
35098 (modules-names): Likewise.
35100 * po/eo.po: Add Esperanto translation from translation project.
35102 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35103 merged with constructor/destructor.
35104 (init_array): Likewise.
35105 * elf/tst-array2dep.c (fini_array): Likewise.
35106 (init_array): Likewise.
35108 2012-10-29 Mike Frysinger <vapier@gentoo.org>
35110 * manual/message.texi: Delete @cartouche tags.
35112 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35114 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35116 * sysdeps/mach/hurd/fsync.c: Likewise.
35118 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35119 [_POSIX_REALTIME_SIGNALS]: Change condition to
35120 [_POSIX_REALTIME_SIGNALS > 0].
35122 2012-10-27 Andreas Jaeger <aj@suse.de>
35124 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35125 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35127 [__WORDSIZE != 64]: Likewise.
35129 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35131 * iconvdata/tst-table.sh: Remove ${SHELL}.
35132 * iconvdata/tst-tables.sh: Likewise.
35134 2012-10-25 David S. Miller <davem@davemloft.net>
35136 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35137 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35142 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35143 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35144 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35147 2012-10-25 Roland McGrath <roland@hack.frob.com>
35149 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35150 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35153 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35154 Jim Blandy <jimb@codesourcery.com>
35156 * scripts/cross-test-ssh.sh: New file.
35157 * manual/install.texi (Configuring and compiling): Document use of
35159 * INSTALL: Regenerated.
35161 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35163 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35166 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35168 * Makeconfig (run-program-prefix): Fix comment.
35170 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35171 Jim Blandy <jimb@codesourcery.com>
35173 * Makeconfig (test-wrapper): New variable,
35174 (test-wrapper-env): Likewise.
35175 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35176 (run-built-tests): Define to yes.
35177 (run-program-prefix): Use $(test-wrapper).
35178 (built-program-cmd): Likewise.
35179 * Rules (make-test-out): Use $(test-wrapper-env) and
35180 $(host-built-program-cmd).
35181 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35182 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35184 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35185 $(test-wrapper-env) to tst-rtld-load-self.sh.
35186 ($(objpfx)order2.out): Use $(test-wrapper).
35187 ($(objpfx)tst-initorder.out): Likewise.
35188 ($(objpfx)tst-initorder2.out): Likewise.
35189 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35190 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35191 (test_wrapper_env): New variable. Use it to run ld.so.
35192 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35193 Use it to run ld.so.
35194 (test_wrapper_env): Likewise.
35195 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35196 $(test-wrapper) to run-iconv-test.sh.
35197 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35198 (ICONV): Use $test_wrapper.
35199 * posix/Makefile ($(objpfx)globtest.out): Pass
35200 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35201 globtest.sh, not $(run-program-prefix).
35202 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35203 (test_wrapper): Likewise.
35204 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35205 set together with run_via_rtld_prefix.
35206 (run_program_prefix): Define in terms of test_wrapper and
35207 run_via_rtld_prefix.
35209 2012-10-24 Roland McGrath <roland@hack.frob.com>
35211 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35212 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35216 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35217 Declare __clock_getres, __clock_gettime, __clock_settime,
35218 __clock_nanosleep, and __clock_getcpuclockid.
35219 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35220 Remove librt_hidden_def (clock_gettime).
35221 * sysdeps/unix/clock_gettime.c: Likewise.
35222 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35223 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35224 * rt/clock_getres.c: Define __clock_getres as an alias.
35225 * sysdeps/posix/clock_getres.c: Likewise.
35226 * rt/clock_settime.c: Define __clock_settime as an alias.
35227 * sysdeps/unix/clock_settime.c: Likewise.
35228 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35229 * sysdeps/unix/clock_nanosleep.c: Likewise.
35230 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35231 * rt/clock-compat.c: New file.
35232 * rt/Makefile (librt-routines): Add clock-compat and move
35233 $(clock-routines) to ...
35234 (routines): ... here, new variable.
35235 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35236 Don't add get_clockfreq here.
35237 * rt/Versions (libc: GLIBC_2.17): New version set.
35238 Add clock_* symbols here.
35239 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35240 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35241 (GLIBC_2.17): Add clock_* symbols.
35242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35244 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35253 * NEWS: Mention the move.
35255 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35256 Use __open, __read, __close rather than their public counterparts.
35257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35258 (__get_clockfreq_via_cpuinfo): Likewise.
35259 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35260 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35262 * config.h.in (HAVE_IFUNC): New #undef.
35263 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35265 * configure: Regenerated.
35267 2012-10-24 Mike Frysinger <vapier@gentoo.org>
35269 * configure.in: Move READELF check to start of file.
35270 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35271 libc_cv_asm_gnu_indirect_function in the process.
35272 * configure: Regenerated.
35274 2012-10-24 Mike Frysinger <vapier@gentoo.org>
35276 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35277 send the output to /dev/null.
35278 (libc_cv_cc_with_libunwind): Likewise.
35279 (libc_cv_as_noexecstack): Likewise.
35280 * configure: Regenerate.
35282 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35284 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35286 * posix/globtest.sh (TMPDIR): Do not set.
35287 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35288 (testout): Likewise.
35290 2012-10-24 Andreas Jaeger <aj@suse.de>
35292 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35293 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35294 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35295 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35296 posix_fadvise64, posix_fallocate64.
35298 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35299 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35300 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35302 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35304 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35307 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35308 <bits/fcntl-linux.h>.
35309 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35312 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35313 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35314 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35315 [__WORDSIZE != 64]: Likewise.
35317 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35319 * Makeconfig (run-built-tests): New variable.
35320 * Rules [$(cross-compiling) = yes]: Change condition to
35321 [$(run-built-tests) = no].
35322 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35323 to [$(run-built-tests) = yes].
35324 * elf/Makefile [$(cross-compiling) = no]: Likewise
35325 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35326 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35327 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35328 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35329 * io/Makefile [$(cross-compiling) = no]: Likewise.
35330 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35331 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35332 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35333 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35334 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35335 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35336 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35337 * string/Makefile [$(cross-compiling) = no]: Likewise.
35339 * posix/Makefile ($(objpfx)globtest.out): Pass
35340 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35341 $(rtld-installed-name).
35342 * posix/globtest.sh (elf_objpfx): Remove variable.
35343 (rtld_installed_name): Likewise.
35344 (library_path): Likewise.
35345 (run_program_prefix): New variable. Use for running globtest
35348 2012-10-23 Jim Blandy <jimb@codesourcery.com>
35349 Joseph Myers <joseph@codesourcery.com>
35351 * Makeconfig (host-built-program-cmd): New variable.
35352 * elf/Makefile (tst-stackguard1-ARGS): Use
35353 $(host-built-program-cmd).
35354 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35355 (tst-spawn-ARGS): Likewise.
35356 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35358 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35359 Jim Blandy <jimb@codesourcery.com>
35361 * Makeconfig (run-via-rtld-prefix): New variable.
35362 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35363 (built-program-cmd): Likewise.
35365 2012-10-22 Andreas Jaeger <aj@suse.de>
35367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35368 __O_RSYNC if it exists, otherwise to O_SYNC.
35370 2012-10-22 Jim Blandy <jimb@codesourcery.com>
35371 Joseph Myers <joseph@codesourcery.com>
35373 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35375 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35377 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35380 2012-10-22 Andreas Jaeger <aj@suse.de>
35382 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35387 bits/fcntl-linux.h.
35389 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35390 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35394 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35397 2012-10-21 Jim Blandy <jimb@codesourcery.com>
35398 Joseph Myers <joseph@codesourcery.com>
35400 * config.make.in (NM): New variable.
35402 2012-10-21 Andreas Jaeger <aj@suse.de>
35404 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35405 definitions and declarations that are provided by
35406 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35408 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35411 * elf/Makefile (tests-static): Add tst-leaks1-static.
35412 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35413 ($(objpfx)tst-leaks1-static): New rule.
35414 ($(objpfx)tst-leaks1-static-mem): Likewise.
35415 (tst-leaks1-static-ENV): New macro.
35416 * elf/dl-open.c (dl_open_worker): Check the main application
35417 only if SHARED is defined.
35418 * elf/tst-leaks1-static.c: New file.
35420 2012-10-20 Andreas Jaeger <aj@suse.de>
35422 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35423 generic values for Linux.
35424 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35425 and declarations that are provided by <bits/fcntl-linux.h> and
35426 include <bits/fcntl-linux.h>.
35427 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35430 2012-10-20 Roland McGrath <roland@hack.frob.com>
35432 * io/fcntl.h: Move include of <bits/types.h> to the top and
35433 include it unconditionally.
35435 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35437 * wcsmbs/Makefile (tests-ifunc): New variable.
35438 (tests): Add $(tests-ifunc).
35439 * wcsmbs/test-wcschr-ifunc.c: New file.
35440 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35441 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35442 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35443 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35444 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35446 * string/Makefile (tests-ifunc): New variable.
35447 (tests): Add $(tests-ifunc).
35448 * string/test-memccpy.c (TEST_NAME): New macro.
35449 * string/test-memchr.c (TEST_NAME): Likewise.
35450 * string/test-memcmp.c (TEST_NAME): Likewise.
35451 * string/test-memcpy.c (TEST_NAME): Likewise.
35452 * string/test-memmem.c (TEST_NAME): Likewise.
35453 * string/test-memmove.c (TEST_NAME): Likewise.
35454 * string/test-memset.c (TEST_NAME): Likewise.
35455 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35456 * string/test-stpcpy.c (TEST_NAME): Likewise.
35457 * string/test-stpncpy.c (TEST_NAME): Likewise.
35458 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35459 * string/test-strcasestr.c (TEST_NAME): Likewise.
35460 * string/test-strcat.c (TEST_NAME): Likewise.
35461 * string/test-strchr.c (TEST_NAME): Likewise.
35462 * string/test-strcmp.c(TEST_NAME): Likewise.
35463 * string/test-strcpy.c (TEST_NAME): Likewise.
35464 * string/test-strcspn.c (TEST_NAME): Likewise.
35465 * string/test-strlen.c (TEST_NAME): Likewise.
35466 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35467 * string/test-strncmp.c (TEST_NAME): Likewise.
35468 * string/test-strncpy.c (TEST_NAME): Likewise.
35469 * string/test-strnlen.c (TEST_NAME): Likewise.
35470 * string/test-strpbrk.c (TEST_NAME): Likewise.
35471 * string/test-strrchr.c (TEST_NAME): Likewise.
35472 * string/test-strspn.c (TEST_NAME): Likewise.
35473 * string/test-strstr.c (TEST_NAME): Likewise.
35474 * string/test-bcopy-ifunc.c: New file.
35475 * string/test-bzero-ifunc.c: Likewise.
35476 * string/test-memccpy-ifunc.c: Likewise.
35477 * string/test-memchr-ifunc.c: Likewise.
35478 * string/test-memcmp-ifunc.c: Likewise.
35479 * string/test-memcpy-ifunc.c: Likewise.
35480 * string/test-memmem-ifunc.c: Likewise.
35481 * string/test-memmove-ifunc.c: Likewise.
35482 * string/test-mempcpy-ifunc.c: Likewise.
35483 * string/test-memset-ifunc.c: Likewise.
35484 * string/test-rawmemchr-ifunc.c: Likewise.
35485 * string/test-stpcpy-ifunc.c: Likewise.
35486 * string/test-stpncpy-ifunc.c: Likewise.
35487 * string/test-strcasecmp-ifunc.c: Likewise.
35488 * string/test-strcasestr-ifunc.c: Likewise.
35489 * string/test-strcat-ifunc.c: Likewise.
35490 * string/test-strchr-ifunc.c: Likewise.
35491 * string/test-strchrnul-ifunc.c: Likewise.
35492 * string/test-strcmp-ifunc.c: Likewise.
35493 * string/test-strcpy-ifunc.c: Likewise.
35494 * string/test-strcspn-ifunc.c: Likewise.
35495 * string/test-strlen-ifunc.c: Likewise.
35496 * string/test-strncasecmp-ifunc.c: Likewise.
35497 * string/test-strncat-ifunc.c: Likewise.
35498 * string/test-strncmp-ifunc.c: Likewise.
35499 * string/test-strncpy-ifunc.c: Likewise.
35500 * string/test-strnlen-ifunc.c: Likewise.
35501 * string/test-strpbrk-ifunc.c: Likewise.
35502 * string/test-strrchr-ifunc.c: Likewise.
35503 * string/test-strspn-ifunc.c: Likewise.
35504 * string/test-strstr-ifunc.c: Likewise.
35506 * debug/Makefile (tests-ifunc): New variable.
35507 (tests): Add $(tests-ifunc).
35508 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35509 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35510 * debug/test-stpcpy_chk-ifunc.c: New file.
35511 * debug/test-strcpy_chk-ifunc.c: Likewise.
35513 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35516 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35517 header is not read in.
35519 2012-10-19 Joseph Myers <joseph@codesourcery.com>
35521 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35522 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35523 directly. Pass built executable to script as
35524 $(built-program-cmd).
35525 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35526 $testprogram without using LD_LIBRARY_PATH and $ldso.
35528 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35529 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35530 $(rtld-installed-name).
35531 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35532 (rtld_installed_name): Likewise.
35533 (library_path): Likewise.
35534 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35535 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35536 $(run-program-prefix) to tst-tables.sh.
35537 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35538 it to run tst-table-from and tst-table-to.
35539 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35540 Pass it to tst-table.sh.
35541 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35542 $(run-program-prefix) to tst-gettext.sh.
35543 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35545 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35547 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35548 to run tst-gettext.
35549 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35550 to run tst-gettext2.
35551 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35552 to run tst-translit.
35553 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35554 $(run-program-prefix) to tst-mtrace.sh.
35555 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35557 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35558 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35559 $(rtld-installed-name).
35560 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35561 (rtld_installed_name): Likewise.
35562 (run_program_prefix): New variable. Use it to run wordexp-test.
35564 * Makeconfig (ARCH): Remove all definitions.
35565 (machine): Likewise.
35566 [ARCH]: Remove conditional code.
35567 [!objdir]: Give error.
35568 [!objdir] (objpfx): Remove.
35569 [!objdir] (common-objpfx): Likewise.
35570 [!objdir] (common-objdir): Likewise.
35571 * configure.in (config_makefile): Remove. Hardcode Makefile in
35572 AC_CONFIG_FILES call.
35573 * configure: Regenerated.
35576 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35578 (testout): Likewise.
35580 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35581 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35582 $(rtld-installed-name).
35583 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35584 (rtld_installed_name): Likwise.
35585 (runit): Remove function.
35586 (run_getconf): New variable, Use it for running getconf binary.
35588 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35591 * string/test-memmem.c (check_result): New function.
35592 (do_one_test): Use it.
35593 (check1): New function.
35594 (test_main): Use it.
35596 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35598 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35600 2012-10-18 Joseph Myers <joseph@codesourcery.com>
35602 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35603 (_G_LSEEK64): Likewise.
35604 (_G_MMAP64): Likewise.
35605 (_G_FSTAT64): Likewise.
35606 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35607 (_G_LSEEK64): Likewise.
35608 (_G_MMAP64): Likewise.
35609 (_G_FSTAT64): Likewise.
35610 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35611 unconditional. Call __mmap64 directly.
35612 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35613 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35614 __lseek64 directly.
35615 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35616 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35618 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35619 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35620 __lseek64 directly.
35621 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35622 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35623 __lseek64 directly.
35624 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35625 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35626 __lseek64 directly.
35627 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35628 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35629 __fxstat64 directly.
35630 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35631 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35633 (freopen64) [!_G_OPEN64]: Remove conditional code.
35634 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35636 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35637 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35639 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35640 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35642 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35643 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35645 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35646 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35648 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35649 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35651 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35652 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35654 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35656 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35659 * manual/memory.texi (Malloc Tunable Parameters): Add note
35660 about free list pointers overwriting some perturb bytes.
35661 Wording suggested by Roland McGrath.
35663 2012-10-17 Joseph Myers <joseph@codesourcery.com>
35665 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35666 (lgamma_test): Likewise.
35667 (tgamma_test): Likewise.
35669 2012-10-16 Florian Weimer <fweimer@redhat.com>
35672 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35673 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35675 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35677 * NEWS: Mention BZ #14716.
35678 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35679 when removing AVAILABLE1_USES_J macro.
35681 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35683 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35684 (__bswap_64): __uint64_t for unsigned 64-bit int.
35686 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35688 * include/string.h (memmem): Declare libc hidden alias.
35689 * string/memmem.c (memmem): Define libc hidden alias.
35690 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35691 __read, __close instead of open, read, close.
35693 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35696 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35698 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35699 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35700 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35702 (__rawmemchr_sse2): Likewise.
35703 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35704 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35705 (__strchr_sse2): Likewise.
35706 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35707 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35708 (__strcasecmp_sse2): Likewise.
35709 (__strncasecmp_sse2): Likewise.
35710 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35711 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35712 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35713 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35714 (__strrchr_sse2): Likewise.
35715 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35717 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35718 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35719 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35720 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35721 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35722 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35723 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35724 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35725 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35726 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35727 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35728 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35729 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35730 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35731 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35732 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35733 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35734 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35735 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35736 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35737 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35738 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35739 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35740 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35741 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35742 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35743 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35744 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35745 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35746 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35748 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35750 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35751 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35752 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35753 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35755 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35757 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35758 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35759 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35760 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35762 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35763 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35764 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35765 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35766 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35767 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35768 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35769 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35770 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35771 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35772 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35773 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35774 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35775 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35776 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35777 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35778 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35779 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35780 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35781 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35782 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35783 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35784 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35785 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35786 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35787 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35788 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35789 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35790 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35791 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35792 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35793 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35794 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35795 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35796 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35797 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35798 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35799 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35800 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35801 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35802 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35804 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35805 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35806 * include/ifunc-impl-list.h: New file.
35807 * misc/ifunc-impl-list.c: Likewise.
35808 * misc/Makefile (routines): Add ifunc-impl-list.
35809 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35810 * string/test-string.h: Include <ifunc-impl-list.h>.
35811 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35812 TEST_NAME]: New variables.
35813 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35815 (test_init): Call __libc_ifunc_impl_list to initialize
35816 func_list if TEST_IFUNC and TEST_NAME are defined.
35818 * string/Makefile (strop-tests): Add bcopy and bzero.
35819 * string/test-bcopy.c: New file.
35820 * string/test-bzero.c: Likewise.
35821 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35823 * string/test-memset.c: Support bzero test if TEST_BZERO is
35825 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35827 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35829 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35832 2012-10-10 Joseph Myers <joseph@codesourcery.com>
35834 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35835 * configure: Regenerated.
35837 * Makeconfig (+link-static-before-libc): Don't include
35838 $(link-static-libc).
35840 * libio/libio.h (_IO_pos_t): Remove.
35842 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35844 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35847 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35849 * crypt/crypt-entry.c: Include fips-private.h.
35850 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35851 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35852 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35853 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35855 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35857 * crypt/crypt-private.h: Include stdbool.h.
35858 (_ufc_setup_salt_r): Return bool.
35859 * crypt/crypt-entry.c: Include errno.h.
35860 (__crypt_r): Return NULL with EINVAL for bad salt.
35861 * crypt/crypt_util.c (bad_for_salt): New.
35862 (_ufc_setup_salt_r): Check that salt is long enough and within
35863 the specified alphabet.
35864 * crypt/badsalttest.c: New file.
35865 * crypt/Makefile (tests): Add it.
35866 ($(objpfx)badsalttest): New.
35868 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35870 * NEWS: Add entry for BZ #14602.
35872 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35874 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35876 * math/libm-test.inc: Update comment listing what functions and
35878 (isgreater_test): New function.
35879 (isgreaterequal_test): Likewise.
35880 (isless_test): Likewise.
35881 (islessequal_test): Likewise.
35882 (islessgreater_test): Likewise.
35883 (isunordered_test): Likewise.
35884 (main): Call the new functions.
35886 2012-10-09 Roland McGrath <roland@hack.frob.com>
35888 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35889 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35890 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35891 * sysdeps/i386/configure: Regenerated.
35892 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35893 * sysdeps/mach/configure: Regenerated.
35894 * sysdeps/mach/hurd/configure: Regenerated.
35895 * sysdeps/powerpc/configure: Regenerated.
35896 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35897 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35898 * sysdeps/s390/s390-32/configure: Regenerated.
35899 * sysdeps/s390/s390-64/configure: Regenerated.
35900 * sysdeps/sh/configure: Regenerated.
35901 * sysdeps/sparc/configure: Regenerated.
35902 * sysdeps/unix/sysv/linux/configure: Regenerated.
35903 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35904 * sysdeps/x86_64/configure: Regenerated.
35906 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35907 defined. Don't check if MAP is NULL.
35909 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35911 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35912 (_G_stat64): Likewise.
35913 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35914 (_G_stat64): Likewise.
35915 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35916 instead of struct _G_stat64.
35917 * libio/fileops.c (mmap_remap_check): Likewise.
35918 (decide_maybe_mmap): Likewise.
35919 (_IO_new_file_seekoff): Likewise.
35920 (_IO_file_stat): Likewise.
35921 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35923 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35924 instead of struct _G_stat64.
35925 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35927 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35930 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35932 (CHECK_EOL): New macro.
35933 (two_way_short_needle): Check beginning of haystack for EOL. Use
35935 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35936 Replace with CHECK_EOL.
35937 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35938 Replace with CHECK_EOL.
35940 2012-10-08 Joseph Myers <joseph@codesourcery.com>
35942 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35944 * math/libm-test.inc: Update comment listing what functions and
35946 (finite_test): New function.
35947 (isinf_test): Likewise.
35948 (isnan_test): Likewise.
35949 (fpclassify_test): Test subnormal input.
35950 (isfinite_test): Likewise.
35951 (isnormal_test): Likewise.
35952 (main): Call the new functions.
35954 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35957 * Makerules (%.dynsym): Force C locale when running
35958 $(OBJDUMP) --dynamic-syms.
35960 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35962 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35965 2012-10-06 David S. Miller <davem@davemloft.net>
35967 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35968 upper 32-bits of the length value in %o2 since we use branch-on-register
35969 tests which consider the entire 64-bit register.
35971 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35973 * string/test-strstr.c (check2): Add a test for page boundary.
35975 2012-10-05 David S. Miller <davem@davemloft.net>
35977 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35978 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35980 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35982 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35983 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35984 and bzero when HWCAP_SPARC_CRYPTO is present.
35986 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35989 * string/test-strstr.c (check2): New function.
35990 (test_main): Call check2.
35992 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35994 * string/bug-strcasestr1.c (do_test): Moved to ...
35995 * string/test-strcasestr.c (check1): Here. New function.
35996 (do_one_test): Break out result checking code into ...
35997 (check_result): This. New function.
35998 (do_one_test): Call check_result.
35999 (test_main): Call check1.
36000 * string/bug-strchr1.c (do_test): Moved to ...
36001 * string/test-strchr.c (check1): Here. New function.
36002 (do_one_test): Break out result checking code into ...
36003 (check_result): This. New function.
36004 (do_one_test): Call check_result.
36005 (test_main): Call check1.
36006 * string/bug-strstr1.c (main): Moved to ...
36007 * string/test-strstr.c (check1): Here. New function.
36008 (do_one_test): Break out result checking code into ...
36009 (check_result): This. New function.
36010 (do_one_test): Call check_result.
36011 (test_main): Call check1.
36012 * string/bug-strcasestr1.c: Removed.
36013 * string/bug-strchr1.c: Likewise.
36014 * string/bug-strstr1.c: Likewise.
36016 * elf/Makefile (dl-routines): Add hwcaps.
36017 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36018 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36019 (_dl_important_hwcaps): Moved to ...
36020 * elf/dl-hwcaps.c: Here. New file.
36021 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36024 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36025 if IS_IN_rtld isn't defined.
36027 * elf/dl-support.c (_dl_sysinfo_map): New.
36028 Include "get-dynamic-info.h" and "setup-vdso.h".
36029 (_dl_non_dynamic_init): Call setup_vdso.
36030 * elf/dynamic-link.h: Don't include <assert.h>.
36031 (elf_get_dynamic_info): Moved to ...
36032 * elf/get-dynamic-info.h: Here. New file.
36033 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36034 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36035 * elf/setup-vdso.h: Here. New file.
36036 * elf/rtld.c: Include "setup-vdso.h".
36037 (dl_main): Call setup_vdso.
36039 2012-10-05 Joseph Myers <joseph@codesourcery.com>
36041 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36042 creal in comment listing functions tested. List finite, isinf,
36043 isnan, isless, islessequal, isgreater, isgreaterequal,
36044 islessgreater, isunordered, lgamma_r and pow10 as functions and
36045 macros not tested. Mention which functions not tested are aliases
36046 for other functions. Fix typo. Note that signs of NaNs are not
36049 * scripts/config.guess: Update from config.git.
36050 * scripts/config.sub: Likewise.
36052 2012-10-04 Roland McGrath <roland@hack.frob.com>
36054 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36055 * misc/madvise.c (madvise): Renamed to __madvise.
36056 Make madvise a weak alias.
36057 * include/sys/mman.h: Declare __madvise.
36058 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36059 * sysdeps/unix/syscalls.list
36060 (madvise): Make __madvise the strong name, and madvise a weak alias.
36061 * sysdeps/unix/sysv/linux/syscalls.list
36062 (madvise, mmap): Remove redundant entries.
36063 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36064 * malloc/malloc.c (mtrim): Likewise.
36065 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36067 2012-10-03 Roland McGrath <roland@hack.frob.com>
36069 * sysdeps/mach/hurd/dl-cache.c: File removed.
36070 * config.h.in (USE_LDCONFIG): New #undef.
36071 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36072 * configure: Regenerated.
36073 * elf/Makefile (dl-routines): Add dl-cache only under
36074 [$(use-ldconfig) = yes].
36075 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36076 cache on [USE_LDCONFIG].
36077 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36079 * elf/rtld.c (dl_main): Likewise.
36081 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36083 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36084 _SC_LEVEL4_CACHE_LINESIZE.
36086 2012-10-03 Roland McGrath <roland@hack.frob.com>
36088 * sysdeps/unix/bsd/confstr.h: File removed.
36090 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
36092 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36095 2012-10-02 Roland McGrath <roland@hack.frob.com>
36097 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36098 Make 'mapoff' field ElfW(Off) rather than off_t.
36100 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36102 * nscd/Makefile: Remove nscd-cflags and all its users.
36103 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36104 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36107 * malloc.c (malloc_printerr): Clarify error message.
36109 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36113 Set bit_FMA_Usable if FMA is supported.
36114 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36116 (bit_FMA4_Usable): Updated.
36117 (index_FMA_Usable): New macro.
36118 (CPUID_FMA): Likewise
36119 (HAS_FMA): Defined with bit_FMA_Usable.
36121 2012-10-01 Roland McGrath <roland@hack.frob.com>
36123 * bits/types.h (__swblk_t): Type removed.
36124 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36125 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36126 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36127 (__SWBLK_T_TYPE): Likewise.
36128 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36129 (__SWBLK_T_TYPE): Likewise.
36130 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36131 (__SWBLK_T_TYPE): Likewise.
36132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36133 (__SWBLK_T_TYPE): Likewise.
36135 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
36136 Honza Horak <hhorak@redhat.com>
36138 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36139 (xdr_mapname): Use YPMAXMAP as maxsize.
36140 (xdr_peername): Use YPMAXPEER as maxsize.
36141 (xdr_keydat): Use YPAXRECORD as maxsize.
36142 (xdr_valdat): Use YPMAXRECORD as maxsize.
36144 2012-10-01 Roland McGrath <roland@hack.frob.com>
36146 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36148 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36149 * csu/init-first.c: ... here.
36150 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36151 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36152 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36153 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36154 * sysdeps/i386/init-first.c: File removed.
36155 * sysdeps/sh/init-first.c: File removed.
36157 2012-10-01 Joseph Myers <joseph@codesourcery.com>
36160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36161 if x * y might underflow to zero and z is zero.
36162 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36163 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36164 * math/libm-test.inc (min_subnorm_value): New variable.
36165 (fma_test): Add more tests.
36166 (fma_test_towardzero): Likewise.
36167 (fma_test_downward): Likewise
36168 (fma_test_upward): Likewise.
36169 (initialize): Set min_subnorm_value.
36171 2012-09-29 Joseph Myers <joseph@codesourcery.com>
36174 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36176 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36177 mode for addition resulting in exact zero.
36178 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36179 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36181 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36182 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36183 * math/libm-test.inc (fma_test): Add more tests.
36184 (fma_test_towardzero): New function.
36185 (fma_test_downward): Likewise.
36186 (fma_test_upward): Likewise.
36187 (main): Call the new functions.
36189 2012-09-28 David S. Miller <davem@davemloft.net>
36191 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36193 2012-09-28 Roland McGrath <roland@hack.frob.com>
36195 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36196 instead of SIGALRM.
36198 * sysdeps/gnu/_G_config.h: Moved to ...
36199 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36200 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36201 * sysdeps/generic/_G_config.h: ... here.
36203 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36205 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36207 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36208 Conditionalize target on [libnss_test1.so-version].
36210 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36212 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36213 (elfobjdir): Move out of conditionals.
36215 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36216 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36217 (__nss_lookup_function): Conditionalize label remove_from_tree on
36218 [!DO_STATIC_NSS || SHARED], matching its only use.
36220 2012-09-28 David S. Miller <davem@davemloft.net>
36222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36223 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36225 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36227 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36228 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36229 when HWCAP_SPARC_CRYPTO is present.
36231 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36233 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36235 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36238 * stdio-common/vfprintf.c (process_string_arg): Revert
36241 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36243 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36245 * stdio-common/tst-sprintf.c: Include <locale.h>
36246 (main): Test sprintf's handling of incomplete multibyte
36249 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36251 * elf/dl-runtime.c (VERSYMIDX): Removed.
36252 * elf/dl-version.c (VERSYMIDX): Likewise.
36253 * elf/do-rel.h (VERSYMIDX): Likewise.
36254 (VALIDX): Likewise.
36255 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36256 * elf/rtld.c (VALIDX): Likewise.
36257 (ADDRIDX): Likewise.
36258 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36259 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36260 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36261 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36262 (VALIDX): Likewise.
36263 (ADDRIDX): Likewise.
36265 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36267 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36269 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36272 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36274 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36275 addresses are in the same scope as 192.0.2/24.
36276 * posix/gai.conf: Document new scope table defaults.
36278 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36281 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36282 for ftell. Compute offsets from write pointers instead.
36283 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36285 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36288 * libio/Makefile (tests): New test case tst-fseek.
36289 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36290 combination works in wide mode.
36291 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36292 state when the external buffer state changes.
36294 2012-09-27 David S. Miller <davem@davemloft.net>
36297 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36298 pass reloc->r_addend in as the 'high' argument to
36299 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36303 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36305 * rt/tst-aio2.c: Include <pthread.h>.
36306 * rt/tst-aio3.c: Likewise.
36308 2012-09-27 Steve Ellcey <sellcey@mips.com>
36310 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36312 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36314 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36315 contents on [SHARED].
36317 2012-09-26 Marek Polacek <polacek@redhat.com>
36321 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36322 for C++ and GCC <4.3 as well as for non GCC compilers.
36324 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36328 2012-09-25 Roland McGrath <roland@hack.frob.com>
36330 * Makefile.in (all, install): Declare with .PHONY.
36331 Reported by Michael Hope <michael.hope@linaro.org>.
36333 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36335 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36336 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36338 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36340 (sydep_routines): Add the new and the internal functions.
36341 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36342 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36344 (GLIBC_2.17): Add the new function.
36345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36346 (GLIBC_2.17): Likewise.
36347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36348 (GLIBC_2.17): Likewise.
36349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36350 (GLIBC_2.17): Likewise.
36351 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36353 2012-09-25 Alan Modra <amodra@gmail.com>
36355 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36356 Add release barrier before setting once_control to say
36357 initialisation is done. Add hints on lwarx. Use macro in
36359 (clear_once_control): Add release barrier.
36361 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36364 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36366 * math/s_clog10.c (__clog10): Likewise.
36367 * math/s_clog10f.c (__clog10f): Likewise.
36368 * math/s_clog10l.c (__clog10l): Likewise.
36369 * math/s_clogf.c (__clogf): Likewise.
36370 * math/s_clogl.c (__clogl): Likewise.
36371 * math/Makefile (libm-calls): Add x2y2m1.
36372 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36373 (__x2y2m1): Likewise.
36374 (__x2y2m1l): Likewise.
36375 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36376 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36377 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36378 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36379 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36380 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36381 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36382 * sysdeps/i386/fpu/libm-test-ulps: Update.
36383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36386 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36387 int as type of variable DEPTH.
36388 (glob): Use size_t instead of int as type of variables NEWCOUNT
36391 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36393 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36394 Add s_sincosf-sse2.
36395 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36396 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36397 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36398 macros for using routine as __sincosf_ia32.
36399 Use macro for function declaration and weak_alias.
36400 * sysdeps/i386/fpu/libm-test-ulps: Update.
36402 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36405 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36406 subnormal argument.
36407 * math/s_cexpf.c (__cexpf): Likewise.
36408 * math/s_csinf.c (__csinf): Likewise.
36409 * math/s_csinhf.c (__csinhf): Likewise.
36410 * math/s_ctanf.c (__ctanf): Likewise.
36411 * math/s_ctanhf.c (__ctanhf): Likewise.
36412 * math/s_ccosh.c (__ccoshf): Likewise.
36413 * math/s_cexp.c (__cexpl): Likewise.
36414 * math/s_csin.c (__csin): Likewise.
36415 * math/s_csinh.c (__csinh): Likewise.
36416 * math/s_ctan.c (__ctan): Likewise.
36417 * math/s_ctanh.c (ctanh): Likewise.
36418 * math/s_ccoshl.c (__ccoshl): Likewise.
36419 * math/s_cexpl.c (__cexpl): Likewise.
36420 * math/s_csinl.c (__csinl): Likewise.
36421 * math/s_csinhl.c (__csinhl): Likewise.
36422 * math/s_ctanl.c (__ctanl): Likewise.
36423 * math/s_ctanhl.c (__ctanhl): Likewise.
36425 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36427 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36428 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36429 (_IO_off_t): Define to __off_t, not _G_off_t.
36430 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36431 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36432 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36433 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36434 type of __dummy and __dummy2 fields.
36435 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36436 (_G_ssize_t): Likewise.
36437 (_G_off_t): Likewise.
36438 (_G_pid_t): Likewise.
36439 (_G_uid_t): Likewise.
36440 (_G_wchar_t): Likewise.
36441 (_G_wint_t): Likewise.
36442 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36443 (_G_ssize_t): Likewise.
36444 (_G_off_t): Likewise.
36445 (_G_pid_t): Likewise.
36446 (_G_uid_t): Likewise.
36447 (_G_wchar_t): Likewise.
36448 (_G_wint_t): Likewise.
36449 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36450 (_G_ssize_t): Likewise.
36451 (_G_off_t): Likewise.
36452 (_G_pid_t): Likewise.
36453 (_G_uid_t): Likewise.
36454 (_G_wchar_t): Likewise.
36455 (_G_wint_t): Likewise.
36457 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36459 * malloc/arena.c: Include malloc-sysdep.h.
36460 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36461 is sufficient to shrink the heap or an unmap is needed.
36462 * sysdeps/generic/malloc-sysdep.h: New file. Define
36463 new function check_may_shrink_heap.
36464 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36465 new function check_may_shrink_heap.
36467 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36469 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36472 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36474 * catgets/test-gencat.sh: Add "set -e".
36475 * elf/tst-pathopt.sh: Likewise.
36476 * grp/tst_fgetgrent.sh: Likewise.
36477 * iconvdata/run-iconv-test.sh: Likewise.
36478 * intl/tst-gettext.sh: Likewise.
36479 * intl/tst-gettext2.sh: Likewise.
36480 * intl/tst-gettext4.sh: Likewise.
36481 * intl/tst-gettext6.sh: Likewise.
36482 * intl/tst-translit.sh: Likewise.
36483 * io/ftwtest-sh: Likewise.
36484 * libio/test-freopen.sh: Likewise.
36485 * malloc/tst-mtrace.sh: Likewise.
36486 * posix/globtest.sh: Likewise.
36487 * posix/tst-getconf.sh: Likewise.
36488 * posix/wordexp-tst.sh: Likewise.
36489 * stdio-common/tst-printf.sh: Likewise.
36490 * stdio-common/tst-unbputc.sh: Likewise.
36491 * stdlib/tst-fmtmsg.sh: Likewise.
36492 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36493 * catgets/Makefile: Do not specify -e option when running
36494 testsuite shell scripts.
36495 * elf/Makefile: Likewise.
36496 * grp/Makefile: Likewise.
36497 * iconvdata/Makefile: Likewise.
36498 * intl/Makefile: Likewise.
36499 * io/Makefile: Likewise.
36500 * libio/Makefile: Likewise.
36501 * malloc/Makefile: Likewise.
36502 * posix/Makefile: Likewise.
36503 * stdio-common/Makefile: Likewise.
36504 * stdlib/Makefile: Likewise.
36505 * sysdeps/x86_64/Makefile: Likewise.
36507 * io/ftwtest-sh: Add copyright header.
36508 * posix/globtest.sh: Likewise.
36509 * posix/tst-getconf.sh: Likewise.
36510 * posix/wordexp-tst.sh: Likewise.
36511 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36513 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36516 * Makeconfig (+link): Defined as $(+link-static) if
36517 $(build-shared) isn't yes.
36518 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36520 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36522 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36525 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36526 new chunk size with MALLOC_ALIGN_MASK.
36528 2012-09-24 Joseph Myers <joseph@codesourcery.com>
36531 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36533 (__printf_fphex): Determine rounding using get_rounding_mode and
36535 * stdio-common/tst-printf-round.c (struct hex_test): New
36537 (hex_tests): New variable.
36538 (test_hex_in_one_mode): New function.
36539 (do_test): Also run tests for hex float output.
36541 2012-09-21 Joseph Myers <joseph@codesourcery.com>
36543 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36544 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36545 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36546 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36547 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36548 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36549 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36550 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36552 2012-09-20 Joseph Myers <joseph@codesourcery.com>
36554 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36555 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36556 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36557 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36559 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36562 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36564 * elf/tst-rtld-load-self.sh: New test.
36565 * elf/Makefile: Run it.
36567 2012-09-18 Joseph Myers <joseph@codesourcery.com>
36569 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36570 (tst-writev-ENV): Remove.
36571 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36573 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36575 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36577 2012-09-17 Joseph Myers <joseph@codesourcery.com>
36579 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36581 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36583 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36584 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36585 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36588 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36591 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36592 * config.make.in (have-cpp-asm-debuginfo): Removed.
36593 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36594 * configure: Regenerated.
36596 2012-09-14 Joseph Myers <joseph@codesourcery.com>
36599 * stdio-common/printf_fp.c: Include <stdbool.h> and
36601 (___printf_fp): Determine rounding using get_rounding_mode and
36603 * stdio-common/tst-printf-round.c: New file.
36604 * stdio-common/Makefile (tests): Add tst-printf-round.
36605 (link-libm): New variable.
36606 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36608 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36611 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36612 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36614 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36617 2012-09-13 Joseph Myers <joseph@codesourcery.com>
36619 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36620 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36621 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36622 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36624 2012-09-12 Joseph Myers <joseph@codesourcery.com>
36627 * include/rounding-mode.h: New file.
36628 * sysdeps/generic/get-rounding-mode.h: Likewise.
36629 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36630 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36631 (MAX_VALUE): New macro.
36632 (MIN_VALUE): Likewise.
36633 (overflow_value): New function.
36634 (underflow_value): Likewise.
36635 (round_and_return): Use overflow_value and underflow_value to
36636 determine return values in overflow and underflow cases. Use
36637 round_away to determine rounding depending on rounding mode.
36638 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36639 determine return values in overflow and underflow cases.
36640 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36641 (struct test_results): New structure.
36642 (struct test): Use struct test_results to store expected results
36643 for all rounding modes.
36644 (TEST): Include expected results for all rounding modes.
36645 (test_in_one_mode): New function.
36646 (do_test): Use test_in_one_mode to compute and check results.
36647 Check results for all rounding modes.
36648 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36651 2012-12-09 Allan McRae <allan@archlinux.org>
36653 * sysdeps/i386/fpu/libm-test-ulps: Update
36655 2012-09-11 Joseph Myers <joseph@codesourcery.com>
36657 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36658 (_G_int32_t): Likewise.
36659 (_G_uint16_t): Likewise.
36660 (_G_uint32_t): Likewise.
36661 (_G_HAVE_BOOL): Likewise.
36662 (_G_HAVE_ATEXIT): Likewise.
36663 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36664 (_G_HAVE_IO_FILE_OPEN): Likewise.
36665 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36666 (_G_int32_t): Likewise.
36667 (_G_uint16_t): Likewise.
36668 (_G_uint32_t): Likewise.
36669 (_G_HAVE_BOOL): Likewise.
36670 (_G_HAVE_ATEXIT): Likewise.
36671 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36672 (_G_HAVE_IO_FILE_OPEN): Likewise.
36673 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36674 (_G_int32_t): Likewise.
36675 (_G_uint16_t): Likewise.
36676 (_G_uint32_t): Likewise.
36677 (_G_HAVE_BOOL): Likewise.
36678 (_G_HAVE_ATEXIT): Likewise.
36679 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36680 (_G_HAVE_IO_FILE_OPEN): Likewise.
36682 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36684 * csu/libc-tls.c: Update copyright years.
36686 2012-09-10 Joseph Myers <joseph@codesourcery.com>
36688 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36689 [!_G_USING_THUNKS]: Remove conditional code.
36690 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36691 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36693 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36694 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36695 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36696 (_G_VTABLE_LABEL_PREFIX): Likewise.
36697 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36698 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36699 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36700 (_G_VTABLE_LABEL_PREFIX): Likewise.
36701 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36702 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36703 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36704 (_G_VTABLE_LABEL_PREFIX): Likewise.
36705 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36707 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36709 * libio/Makefile: Include ../Makeconfig before tests.
36710 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36711 only if $(build-shared) is yes.
36713 * iconv/gconv_db.c: Update copyright years.
36715 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36717 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36718 unwind info if defined PIC. Fix special cases description.
36719 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36721 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36723 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36725 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36727 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36729 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36732 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36733 (LDLIBS-tst-chk4): This.
36734 (LDFLAGS-tst-chk5): Renamed to ...
36735 (LDLIBS-tst-chk5): This.
36736 (LDFLAGS-tst-chk6): Renamed to ...
36737 (LDLIBS-tst-chk6): This.
36738 (LDFLAGS-tst-lfschk4): Renamed to ...
36739 (LDLIBS-tst-lfschk4): This.
36740 (LDFLAGS-tst-lfschk5): Renamed to ...
36741 (LDLIBS-tst-lfschk5): This.
36742 (LDFLAGS-tst-lfschk6): Renamed to ...
36743 (LDLIBS-tst-lfschk6): This.
36745 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36746 on $(common-objpfx)soversions.mk.
36748 2012-09-07 Joseph Myers <joseph@codesourcery.com>
36751 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36754 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36756 * malloc/arena.c (arena_get_retry): New function that gets
36757 another arena for the caller to try its request on.
36758 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36759 current arena cannot fulfill the request.
36760 (__libc_memalign): Likewise.
36761 (__libc_memalign): Likewise.
36762 (__libc_pvalloc): Likewise.
36763 (__libc_calloc): Likewise.
36765 2012-09-05 John Tobey <john.tobey@gmail.com>
36768 * manual/arith.texi (Operations on Complex): Fix description
36769 of carg branch cut.
36771 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36774 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36778 * manual/memory.texi (Memory): Make order of menu items match
36781 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36783 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36784 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36785 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36787 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36789 * csu/libc-tls.c (static_dtv): Renamed to ...
36790 (_dl_static_dtv): This. Make it global.
36791 (_dl_initial_dtv): Removed.
36792 (__libc_setup_tls): Updated.
36793 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36794 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36797 2012-09-06 Petr Machata <pmachata@redhat.com>
36799 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36800 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36801 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36802 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36804 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36807 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36808 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36811 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36814 * Makeconfig (link-static-before-libc): Replace $(+prector)
36816 (link-static-after-libc): Replace $(+postctor) with
36818 (link-bounded): Replace $(+prector)/$(+postctor) with
36819 $(+prectorT)/$(+postctorT).
36820 (+prectorT): New macro.
36821 (+postctorT): Likewise.
36823 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36825 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36826 (round_str): Handle values above the maximum for IBM long double
36828 * stdlib/tst-strtod-round.c (tests): Regenerated.
36830 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36832 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36834 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36835 zarch_nohighgprs around the zarch optimized routines.
36836 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36837 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36838 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36841 2012-09-05 David S. Miller <davem@davemloft.net>
36843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36845 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36846 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36847 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36848 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36851 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36853 * malloc/arena.c: Fold copyright years.
36854 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36856 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36858 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36860 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36862 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36864 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36866 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36867 change internal state upon failure.
36869 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36871 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36872 * malloc/memusage.c (mmap): Likewise.
36873 (mmap64, mremap): Likewise. Adjust name in comment.
36875 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36877 * libio/fileops.c: Fix typos in comments.
36878 * libio/oldfileops.c: Likewise.
36879 * libio/wfileops.c: Likewise.
36881 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36884 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36885 (tst-malloc-usable-ENV): Set environment for test case.
36886 * malloc/hooks.c (malloc_check_get_size): New function to get
36888 * malloc/malloc.c (musable): Use malloc_check_get_size.
36889 * malloc/tst-malloc-usable.c: New test case.
36891 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36893 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36895 2012-09-05 Allan McRae <allan@archlinux.org>
36898 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36899 determine header location.
36900 * configure: Regenerated.
36902 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36904 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36906 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36907 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36909 (test): Regenerate.
36911 2012-09-04 David S. Miller <davem@davemloft.net>
36913 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36914 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36915 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36917 2012-09-04 Florian Weimer <fweimer@redhat.com>
36919 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36922 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36924 2012-09-04 Joseph Myers <joseph@codesourcery.com>
36927 * libio/iogetdelim.c: Include <limits.h>.
36928 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36929 + len + 1 would overflow.
36931 2012-09-03 Andreas Jaeger <aj@suse.de>
36933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36934 * sysdeps/i386/fpu/libm-test-ulps: Update.
36936 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36938 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36939 Add s_sinf-sse2, s_conf-sse2.
36941 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36942 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36943 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36944 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36946 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36947 for using routine as __sinf_ia32.
36948 Use macro for function declaration and weak_alias.
36949 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36950 for using routine as __cosf_ia32.
36951 Use macro for function declaration and weak_alias.
36953 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36954 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36956 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36957 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36960 * math/libm-test.inc (cos_test): Add more test cases.
36961 (sin_test): Likewise.
36962 (sincos_test): Likewise.
36964 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36966 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36967 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36969 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36971 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36974 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36975 first element of the GOT.
36976 (elf_machine_load_address): Return the difference between
36977 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36979 2012-09-01 Allan McRae <allan@archlinux.org>
36982 * configure.in (AWK): Require gawk version 3.0 or later.
36983 * configure: Regenerated.
36985 2012-09-01 Joseph Myers <joseph@codesourcery.com>
36987 * sysdeps/unix/sysv/linux/kernel-features.h
36988 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36989 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36990 [__NR_clock_getres]: Make code unconditional.
36991 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36992 (clock_getcpuclockid): Remove code left unreachable by removal of
36994 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36995 code unconditional.
36996 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36997 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36998 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36999 Make code unconditional.
37000 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37001 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37002 * sysdeps/unix/sysv/linux/clock_settime.c
37003 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37005 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37006 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37008 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37011 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37012 scripts/test-installation.pl.
37014 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37015 and $ld_so_version if it is set.
37017 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37020 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37021 failure if reading from procfs failed.
37022 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37024 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37026 * sysdeps/unix/sysv/linux/kernel-features.h
37027 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37028 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37029 Remove conditional code.
37030 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37031 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37032 Remove conditional code.
37033 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37034 * sysdeps/unix/sysv/linux/i386/fxstat.c
37035 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37036 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37037 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37038 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37039 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37040 * sysdeps/unix/sysv/linux/i386/lxstat.c
37041 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37042 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37043 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37044 Remove conditional code.
37045 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37046 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37047 Remove conditional code.
37048 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37049 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37050 <kernel-features.h>.
37051 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37053 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37054 Remove conditional code.
37055 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37056 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37057 Remove conditional.
37059 2012-08-27 Mike Frysinger <vapier@gentoo.org>
37062 * NEWS: Add fixed bug number.
37064 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37067 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37068 underflowing exponent in case of negative sign.
37069 * stdlib/tst-strtod-round-data: Add more tests.
37070 * stdlib/tst-strtod-round.c (tests): Regenerated.
37073 * stdlib/strtod_l.c (NDIG): Remove.
37074 (HEXNDIG): Likewise.
37075 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37076 smallest representable value.
37077 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37078 lie within an exact representation of 1/2 ulp of the result.
37079 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37081 (TENS_P9_IDX): Define unconditionally.
37082 (TENS_P9_SIZE): Likewise.
37083 (TENS_P10_IDX): Likewise.
37084 (TENS_P10_SIZE): Likewise.
37085 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37086 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37087 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37088 entries for 10^2^13 and 10^2^14.
37089 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37090 (TENS_P13_IDX): Define.
37091 (TENS_P13_SIZE): Likewise.
37092 (TENS_P14_IDX): Likewise.
37093 (TENS_P14_SIZE): Likewise.
37094 (_fpioconst_pow10): Change array size to
37095 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37097 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37098 1024]: Add entries for 10^2^13 and 10^2^14.
37099 [LAST_POW10 > _LAST_POW10]: Remove #error.
37100 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37101 (_fpioconst_pow10): Change array size to
37102 FPIOCONST_POW10_ARRAY_SIZE.
37103 * stdlib/gen-fpioconst.c: New file.
37104 * stdlib/gen-tst-strtod-round.c: Likewise.
37105 * stdlib/tst-strtod-round-data: Likewise.
37106 * stdlib/tst-strtod-round.c: Likewise.
37107 * stdlib/Makefile (tests): Add tst-strtod-round.
37110 * stdlib/strtod_l.c: Include <stdint.h>.
37111 (NDEBUG): Do not define.
37112 (round_and_return): Change EXPONENT parameter to type intmax_t.
37113 Rearrange calculations to avoid internal overflow possibilities.
37114 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37115 Rearrange calculations to avoid internal overflow possibilities.
37116 Assert that number fits inside MPNSIZE limbs.
37117 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37118 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37119 calculations and add assertions to avoid internal overflow
37120 possibilities. Add casts to avoid signed/unsigned operations.
37121 * stdlib/tst-strtod-overflow.c: New file.
37122 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37124 2012-08-25 Marek Polacek <polacek@redhat.com>
37126 * time/time.h: Fix some typos in comments.
37128 2012-08-23 Roland McGrath <roland@hack.frob.com>
37130 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37131 * posix/tst-rfc3484-2.c: Likewise.
37132 * posix/tst-rfc3484-3.c: Likewise.
37134 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37136 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37137 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37139 2012-08-23 Joseph Myers <joseph@codesourcery.com>
37141 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37142 #include of fxstatat64.c.
37144 2012-08-22 Roland McGrath <roland@hack.frob.com>
37146 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37147 * shadow/getspent_r.c: Likewise.
37148 * shadow/getspnam.c: Likewise.
37149 * shadow/getspnam_r.c: Likewise.
37150 * gshadow/getsgent.c: Likewise.
37151 * gshadow/getsgent_r.c: Likewise.
37152 * gshadow/getsgnam.c: Likewise.
37153 * gshadow/getsgnam_r.c: Likewise.
37154 * inet/getnetbyad.c: Likewise.
37155 * inet/getnetbyad_r.c: Likewise.
37156 * inet/getnetbynm.c: Likewise.
37157 * inet/getnetbynm_r.c: Likewise.
37158 * inet/getnetent.c: Likewise.
37159 * inet/getnetent_r.c: Likewise.
37160 * inet/getproto.c: Likewise.
37161 * inet/getproto_r.c: Likewise.
37162 * inet/getprtent.c: Likewise.
37163 * inet/getprtent_r.c: Likewise.
37164 * inet/getprtname.c: Likewise.
37165 * inet/getprtname_r.c: Likewise.
37166 * inet/getrpcbyname.c: Likewise.
37167 * inet/getrpcbyname_r.c: Likewise.
37168 * inet/getrpcbynumber.c: Likewise.
37169 * inet/getrpcbynumber_r.c: Likewise.
37170 * inet/getrpcent.c: Likewise.
37171 * inet/getrpcent_r.c: Likewise.
37172 * inet/getaliasent.c: Likewise.
37173 * inet/getaliasent_r.c: Likewise.
37174 * inet/getaliasname.c: Likewise.
37175 * inet/getaliasname_r.c: Likewise.
37176 * nscd/getgrgid_r.c: Likewise.
37177 * nscd/getgrnam_r.c: Likewise.
37178 * nscd/gethstbyad_r.c: Likewise.
37179 * nscd/gethstbynm3_r.c: Likewise.
37180 * nscd/getpwnam_r.c: Likewise.
37181 * nscd/getpwuid_r.c: Likewise.
37182 * nscd/getsrvbynm_r.c: Likewise.
37183 * nscd/getsrvbypt_r.c: Likewise.
37184 * nscd/gai.c: Likewise.
37186 * configure.in (build_nscd): New substituted variable, set
37187 by --disable-build-nscd and defaults to $use_nscd.
37188 * configure: Regenerated.
37189 * config.make.in (build-nscd): New substituted variable.
37190 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37191 Change conditional to require [$(build-nscd) = yes] as well.
37192 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37195 * configure.in (use_nscd): New substituted variable, set by
37196 --disable-nscd. If enabled, define USE_NSCD.
37197 * configure: Regenerated.
37198 * config.h.in: Add USE_NSCD.
37199 * config.make.in (use-nscd): New substituted variable.
37200 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37201 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37202 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37203 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37204 (CFLAGS-getgrnam_r.c): Likewise.
37205 (CFLAGS-initgroups.c): Likewise.
37206 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37207 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37209 * inet/getnetgrent_r.c
37210 (nscd_setnetgrent): New function, broken out of ...
37211 (setnetgrent): ... here. Call it.
37212 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37213 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37214 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37215 * nscd/Makefile (routines, aux): Move definitions after include of
37216 Makeconfig. Conditionalize on [$(use-nscd) != no].
37217 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37218 Conditionalize on [USE_NSCD].
37219 (is_nscd, nscd_init_cb): Likewise.
37220 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37221 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37222 * nss/nss_db/db-init.c: Likewise.
37223 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37225 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37226 (make_request): Use it.
37227 (cache_valid_p): New function.
37228 (__check_pf): Use it.
37229 * NEWS: Add item for --disable-nscd.
37231 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37233 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37234 to support sed >= 4.2.1-20-ga9bf076.
37235 * configure: Regenerated.
37237 2012-08-22 Roland McGrath <roland@hack.frob.com>
37239 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37240 Conditionalize whole body on [IREL].
37242 2012-08-22 Jeff Law <law@redhat.com>
37245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37246 if the family is PF_UNSPEC.
37248 2012-08-22 Mike Frysinger <vapier@gentoo.org>
37250 * Makerules (lib-version): Rename from V.
37251 (install-lib-nosubdir): Change V to lib-version.
37253 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37256 * powerpc32/power6/wcschr.c: New file.
37257 * powerpc32/power6/wcscpy.c: New file.
37258 * powerpc32/power6/wcsrchr.c: New file.
37259 * powerpc64/power6/wcschr.c: New file.
37260 * powerpc64/power6/wcscpy.c: New file.
37261 * powerpc64/power6/wcsrchr.c: New file.
37263 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37265 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37266 (two_way_short_needle): Use it.
37267 * string/strstr.c (AVAILABLE1_USES_J): Define.
37268 * string/strcasestr.c: Likewise.
37270 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37272 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37275 * NEWS: Add an entry.
37276 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37277 define their defaults.
37278 (two_way_short_needle): Detect end-of-string on-the-fly.
37279 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37280 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37281 * string/bug-strcasestr1.c: New test.
37282 * string/Makefile: Run it.
37284 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37287 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37288 the first character.
37290 2012-08-21 Roland McGrath <roland@hack.frob.com>
37292 * csu/elf-init.c (__libc_csu_irel): Function removed.
37293 * csu/libc-start.c (apply_irel): New function.
37294 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37296 2012-08-21 Joseph Myers <joseph@codesourcery.com>
37298 * sysdeps/unix/sysv/linux/kernel-features.h
37299 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37300 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37301 <kernel-features.h>.
37302 [__NR_fadvise64_64]: Make code unconditional.
37303 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37304 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37305 !__NR_fadvise64_64)]: Likewise.
37306 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37307 !__NR_fadvise64_64))]: Likewise.
37308 [__NR_fadvise64]: Make code unconditional.
37309 [!__NR_fadvise64]: Remove conditional code.
37310 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37311 <kernel-features.h>.
37312 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37314 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37317 not include <kernel-features.h>.
37318 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37320 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37322 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37323 include <kernel-features.h>.
37324 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37326 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37329 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37331 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37332 slight instruction rearrangements per scrollpipe analysis.
37333 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37335 2012-08-20 Roland McGrath <roland@hack.frob.com>
37337 * manual/syslog.texi (syslog; vsyslog, closelog):
37338 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37339 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37341 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37342 DSOCAPS to match condition on defining it.
37344 2012-08-20 Joseph Myers <joseph@codesourcery.com>
37346 * sysdeps/unix/sysv/linux/kernel-features.h
37347 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37349 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37350 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37352 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37353 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37355 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37356 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37358 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37359 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37361 * sysdeps/unix/sysv/linux/kernel-features.h
37362 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37363 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37365 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37366 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37367 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37368 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37369 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37370 Make code unconditional.
37371 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37372 (__mmap64) [!__NR_mmap2]: Likewise.
37373 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37374 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37375 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37376 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37377 [__NR_mmap2]: Make code unconditional.
37378 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37379 (__mmap64) [!__NR_mmap2]: Likewise.
37381 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37383 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37385 2012-08-18 Andreas Jaeger <aj@suse.de>
37387 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37389 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37391 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37392 * include/unistd.h (__have_sock_cloexec): Likewise.
37393 (__have_pipe2): Likewise.
37394 (__have_dup3): Likewise.
37396 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37399 * include/unistd.h (__have_pipe2): Change define into an extern int.
37400 (__have_dup3): Likewise.
37401 * socket/have_sock_cloexec.c: Include fcntl.h.
37402 (__have_pipe2): New variable.
37403 (__have_dup3): Likewise.
37405 2012-08-17 Mike Frysinger <vapier@gentoo.org>
37407 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37409 2012-08-17 Marek Polacek <polacek@redhat.com>
37411 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37412 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37414 2012-08-17 Roland McGrath <roland@hack.frob.com>
37416 * configure.in: Add AC_SUBST for sysheaders.
37417 * configure: Regenerated.
37418 * config.make.in (sysheaders): New substituted variable.
37420 * sysdeps/unix/mkfifo.c: Moved ...
37421 * sysdeps/posix/mkfifo.c: ... here.
37422 * sysdeps/unix/mkfifoat.c: Moved ...
37423 * sysdeps/posix/mkfifoat.c: ... here.
37425 * sysdeps/unix/utime.c: Moved ...
37426 * sysdeps/posix/utime.c: ... here.
37428 * sysdeps/unix/time.c: Moved ...
37429 * sysdeps/posix/time.c: ... here.
37430 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37431 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37433 * sysdeps/unix/nice.c: Moved ...
37434 * sysdeps/posix/nice.c: ... here.
37436 * sysdeps/unix/alarm.c: Moved ...
37437 * sysdeps/posix/alarm.c: ... here.
37439 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37441 2012-08-17 Jeff Law <law@redhat.com>
37443 * intl/Makefile (codeset_mo): New variable.
37444 ($(codeset_mo)): New target.
37445 (tst-codeset.out): Depend on that. Remove explicit rule.
37446 (tst-gettext3.out, tst-gettext5.out): Likewise.
37447 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37448 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37449 * intl/tst-codeset.sh: Remove.
37450 * intl/tst-gettext3.sh: Likewise.
37451 * intl/tst-gettext5.sh: Likewise.
37453 2012-08-17 Roland McGrath <roland@hack.frob.com>
37455 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37456 * sysdeps/unix/syscalls.list: ... here.
37458 * sysdeps/posix/getaddrinfo.c
37459 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37460 (gaiconf_init, gaiconf_reload): Use them.
37461 [!_STATBUF_ST_NSEC]
37462 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37463 Define using time_t rather than struct timespec.
37465 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37466 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37468 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37470 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37471 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37474 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37475 __libc_cleanup_push argument.
37477 * bits/param.h: New file.
37478 * misc/sys/param.h: New file.
37479 * include/sys/param.h: New file.
37480 * misc/Makefile (headers): Add bits/param.h.
37481 * sysdeps/generic/sys/param.h: File removed.
37482 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37483 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37484 * sysdeps/mach/hurd/bits/param.h: New file.
37485 * sysdeps/mach/hurd/sys/param.h: File removed.
37487 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37490 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37492 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37493 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37496 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37497 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37498 rather than -D_IO_MTSAFE_IO conditionally.
37499 * stdio-common/Makefile (CPPFLAGS): Likewise.
37500 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37501 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37502 Use $(libio-mtsafe).
37503 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37504 of -D_IO_MTSAFE_IO.
37505 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37506 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37507 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37508 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37509 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37510 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37511 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37512 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37513 (CFLAGS-fread_u_chk.c): Likewise.
37514 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37515 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37516 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37517 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37518 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37519 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37520 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37521 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37522 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37524 * libio/Makefile: Test [$(libc-reentrant) = yes]
37525 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37528 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37529 * sysdeps/pthread/configure: File removed.
37530 * sysdeps/pthread/Makeconfig: New file.
37531 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37532 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37534 2012-08-16 Gary Benson <gbenson@redhat.com>
37536 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37537 unmapping the first object in a namespace.
37539 2012-08-16 Roland McGrath <roland@hack.frob.com>
37541 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37542 (__internal_setnetgrent): ... this. Add internal_function to
37543 definition. Add libc_hidden_def.
37544 (setnetgrent): Update caller.
37545 (internal_endnetgrent): Renamed to ...
37546 (__internal_endnetgrent): ... this. Add internal_function to
37547 definition. Add libc_hidden_def.
37548 (endnetgrent): Update caller.
37549 (internal_getnetgrent_r): Renamed to ...
37550 (__internal_getnetgrent_r): ... this. Add internal_function to
37551 definition. Add libc_hidden_def.
37552 (__getnetgrent_r): Update caller.
37553 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37555 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37557 * stdlib/longlong.h: Update from GCC.
37559 2012-08-16 Roland McGrath <roland@hack.frob.com>
37561 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37562 on _QL, which is set by umul_ppmm but never used.
37563 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37564 variables, which are set by GMP macros but never used.
37565 * stdio-common/_itowa.c (_itowa): Likewise.
37566 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37567 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37569 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37571 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37572 struct La_sh_regs is not constant.
37573 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37574 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37575 and struct La_sparc64_regs are not constant.
37577 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37579 * sysdeps/unix/sysv/linux/kernel-features.h
37580 (__ASSUME_POSIX_TIMERS): Remove.
37581 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37582 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37583 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37584 Make code unconditional.
37585 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37586 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37587 Make code unconditional.
37588 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37589 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37590 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37591 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37592 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37593 Make code unconditional.
37594 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37595 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37596 (__libc_missing_posix_timers): Remove.
37598 2012-08-15 Roland McGrath <roland@hack.frob.com>
37600 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37601 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37603 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37605 * elf/dl-sym.c: Include <stdlib.h>.
37607 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37608 constants, which avoids warnings in 32-bit builds.
37610 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37611 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37613 * misc/lseek.c: File moved to ...
37614 * io/lseek.c: ... here.
37616 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37618 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37619 shifting LEN more than 31 bits at once.
37621 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37624 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37625 segmentation fault for a case of two empty input strings.
37626 * string/test-strncasecmp.c (check1): Renamed to...
37627 (bz12205): ...this.
37628 (bz14195): Add new testcase for two empty input strings and N > 0.
37629 (test_main): Call new testcase, adapt for renamed function.
37631 2012-08-15 Andreas Jaeger <aj@suse.de>
37634 * crypt/md5test2.c: New test, based on test supplied by Serge
37635 Belyshev <belyshev@depni.sinp.msu.ru>.
37636 * crypt/Makefile (xtests): Add md5test-giant..
37637 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37639 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37642 * crypt/md5.c (md5_process_block): Don't assume the buffer
37643 length is less than 2**32.
37644 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37645 length is less than 2**64.
37647 2012-08-15 Roland McGrath <roland@hack.frob.com>
37649 * string/str-two-way.h: Include <sys/param.h>.
37650 (MAX): Macro removed.
37652 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37653 Move #define and #undef of memmove to just before and after
37654 including <string.h>.
37656 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37657 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37658 and after including <string.h>. Move declarations of
37659 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37660 to before #include "string/memmove.c".
37662 * include/dirent.h: Declare __getdirentries.
37664 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37665 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37667 2012-08-14 Mike Frysinger <vapier@gentoo.org>
37669 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37670 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37671 * sysdeps/i386/configure: Regenerated.
37672 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37673 STABS_CURRENT_FILE, and STABS_FUN.
37674 (END): Remove call to STABS_FUN_END.
37675 (STABS_CURRENT_FILE1): Delete.
37676 (STABS_CURRENT_FILE): Likewise.
37677 (STABS_FUN): Likewise.
37678 (STABS_FUN_END): Likewise.
37679 (STABS_FUN2): Likewise.
37680 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37681 * sysdeps/x86_64/configure: Regenerated.
37683 2012-08-14 Roland McGrath <roland@hack.frob.com>
37685 * elf/dl-open.c: Include <atomic.h>.
37686 * elf/dl-lookup.c: Likewise.
37688 2012-08-14 Joseph Myers <joseph@codesourcery.com>
37690 * sysdeps/unix/sysv/linux/kernel-features.h
37691 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37692 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37694 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37696 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37697 condition on __ASSUME_CLONE_THREAD_FLAGS.
37699 2012-08-14 Andreas Jaeger <aj@suse.de>
37701 * sysdeps/i386/fpu/libm-test-ulps: Update.
37703 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37705 * include/atomic.h (atomic_exchange_and_add): Split into ...
37706 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37709 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37713 2012-08-13 Jeff Law <law@redhat.com>
37715 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37716 null byte in the output string.
37718 2012-08-10 Joseph Myers <joseph@codesourcery.com>
37720 * sysdeps/unix/sysv/linux/kernel-features.h
37721 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37722 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37723 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37724 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37725 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37726 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37727 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37729 2012-08-09 Jeff Law <law@redhat.com>
37732 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37733 When avoid_arena is set, don't retry in the that arena. Pick the
37734 next one, whatever it might be.
37735 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37736 (arena_lock): Pass in new parameter to arena_get2.
37737 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37739 (__libc_malloc): Unify retrying after main arena failure with
37740 __libc_memalign version.
37741 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37743 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37746 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37747 to __redirect_strstr.
37748 (__strstr_sse42): Use typeof __redirect_strstr.
37749 (__strstr_ia32): Likewise.
37750 (__libc_strstr): New prototype.
37751 (strstr): Renamed to ...
37752 (__libc_strstr): This.
37753 (strstr): New strong alias of __libc_strstr.
37754 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37755 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37758 (__libc_time): New prototype.
37759 (time_ifunc): Replace time with __libc_time.
37760 (time): New strong alias and hidden definition of __libc_time.
37761 (__GI_time): Remove strong alias.
37762 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37763 Include <stddef.h>.
37764 (memmove): Redefined to __redirect_memmove.
37765 (__memmove_sse2): Use typeof __redirect_memmove.
37766 (__memmove_ssse3): Likewise.
37767 (__memmove_ssse3_back): Likewise.
37768 (__libc_memmove): New prototype.
37769 (memmove): Renamed to ...
37770 (__libc_memmove): This.
37771 (memmove): New strong alias of __libc_memmove.
37773 2012-08-08 Mark Salter <msalter@redhat.com>
37776 (R_MN10300_TLS_GD): Define.
37777 (R_MN10300_TLS_LD): Likewise.
37778 (R_MN10300_TLS_LDO): Likewise.
37779 (R_MN10300_TLS_GOTIE): Likewise.
37780 (R_MN10300_TLS_IE): Likewise.
37781 (R_MN10300_TLS_LE): Likewise.
37782 (R_MN10300_TLS_DTPMOD): Likewise.
37783 (R_MN10300_TLS_DTPOFF): Likewise.
37784 (R_MN10300_TLS_TPOFF): Likewise.
37785 (R_MN10300_SYM_DIFF): Likewise.
37786 (R_MN10300_ALIGN): Likewise.
37787 (R_MN10300_NUM): Update.
37789 2012-08-08 Joseph Myers <joseph@codesourcery.com>
37791 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37794 2012-08-08 Roland McGrath <roland@hack.frob.com>
37796 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37798 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37799 sysdeps/unix -> sysdeps/posix move.
37800 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37802 2012-08-07 Allan McRae <allan@archlinux.org>
37805 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37806 (SUNOS_CPP): Likewise.
37807 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37809 (open_input): Call CPP using execvp.
37811 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37813 * sysdeps/unix/sysv/linux/kernel-features.h
37814 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37815 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37816 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37817 (__ASSUME_WAITID_SYSCALL): Likewise.
37818 * sysdeps/unix/sysv/linux/dl-execstack.c
37819 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37820 code unconditional.
37821 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37823 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37824 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37825 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37827 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37829 [__ASSUME_WAITID_SYSCALL]: Likewise.
37830 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37832 2012-08-07 Roland McGrath <roland@hack.frob.com>
37834 * sysdeps/unix/closedir.c: Renamed to ...
37835 * sysdeps/posix/closedir.c: ... here.
37836 * sysdeps/unix/dirfd.c: Renamed to ...
37837 * sysdeps/posix/dirfd.c: ... here.
37838 * sysdeps/unix/dirstream.h: Renamed to ...
37839 * sysdeps/posix/dirstream.h: ... here.
37840 * sysdeps/unix/fdopendir.c: Renamed to ...
37841 * sysdeps/posix/fdopendir.c: ... here.
37842 * sysdeps/unix/opendir.c: Renamed to ...
37843 * sysdeps/posix/opendir.c: ... here.
37844 * sysdeps/unix/readdir.c: Renamed to ...
37845 * sysdeps/posix/readdir.c: ... here.
37846 * sysdeps/unix/readdir_r.c: Renamed to ...
37847 * sysdeps/posix/readdir_r.c: ... here.
37848 * sysdeps/unix/rewinddir.c: Renamed to ...
37849 * sysdeps/posix/rewinddir.c: ... here.
37850 * sysdeps/unix/seekdir.c: Renamed to ...
37851 * sysdeps/posix/seekdir.c: ... here.
37852 * sysdeps/unix/telldir.c: Renamed to ...
37853 * sysdeps/posix/telldir.c: ... here.
37854 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37855 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37856 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37857 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37859 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37860 * bits/fcntl.h: ... here.
37862 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37864 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37865 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37866 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37867 (struct flock): Move l_start, l_len to the beginning.
37868 Use __pid_t for l_pid.
37869 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37870 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37871 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37872 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37873 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37874 [__USE_LARGEFILE64] (struct flock64): New type.
37875 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37877 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37878 * bits/dirent.h: ... here.
37880 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37881 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37883 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37886 Change from 2.6.0 to 2.6.16.
37887 * sysdeps/unix/sysv/linux/configure: Regenerated.
37888 * sysdeps/unix/sysv/linux/kernel-features.h
37889 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37890 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37892 (__ASSUME_UTIMES): Likewise.
37893 (__ASSUME_CLONE_STOPPED): Remove.
37894 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37895 architectures, not kernel version.
37896 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37897 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37898 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37899 (__ASSUME_WAITID_SYSCALL): Likewise.
37900 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37901 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37902 * README: State 2.6.16 as minimum Linux kernel version. Do not
37903 refer to older versions.
37905 2012-08-06 Roland McGrath <roland@hack.frob.com>
37907 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37908 Define alphasort64 as an alias.
37909 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37910 Define versionsort64 as an alias.
37911 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37912 Define scandir64 as an alias.
37913 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37914 Define scandirat64 as an alias.
37915 * dirent/alphasort64.c (alphasort64):
37916 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37917 * dirent/versionsort64.c: Likewise.
37918 * dirent/scandir64.c: Likewise.
37919 * dirent/scandirat64.c: Likewise.
37920 * sysdeps/wordsize-64/alphasort.c: File removed.
37921 * sysdeps/wordsize-64/alphasort64.c: File removed.
37922 * sysdeps/wordsize-64/scandir.c: File removed.
37923 * sysdeps/wordsize-64/scandir64.c: File removed.
37924 * sysdeps/wordsize-64/scandirat.c: File removed.
37925 * sysdeps/wordsize-64/scandirat64.c: File removed.
37926 * sysdeps/wordsize-64/versionsort.c: File removed.
37927 * sysdeps/wordsize-64/versionsort64.c: File removed.
37928 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37929 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37930 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37931 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37932 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37933 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37934 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37935 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37937 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37938 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37939 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37940 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37941 [defined __arch64__ || defined __sparcv9]
37942 (__INO_T_MATCHES_INO64_T): New macro.
37943 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37944 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37945 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37946 * sysdeps/unix/sysv/linux/bits/dirent.h
37947 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37948 (_DIRENT_MATCHES_DIRENT64): New macro.
37950 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37951 Define lockf64 as an alias.
37952 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37953 Define fseeko64 as an alias.
37954 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37955 Define ftello64 as an alias.
37956 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37957 Define _IO_fgetpos64 and fgetpos64 as aliases.
37958 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37959 Define _IO_fsetpos64 and fsetpos64 as aliases.
37960 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37961 Conditionalize body on this.
37962 * libio/fseeko64.c: Likewise.
37963 * libio/ftello64.c: Likewise.
37964 * libio/iofgetpos64.c: Likewise.
37965 * libio/iofsetpos64.c: Likewise.
37966 * sysdeps/wordsize-64/lockf.c: File removed.
37967 * sysdeps/wordsize-64/lockf64.c: File removed.
37968 * sysdeps/wordsize-64/fseeko.c: File removed.
37969 * sysdeps/wordsize-64/fseeko64.c: File removed.
37970 * sysdeps/wordsize-64/ftello.c: File removed.
37971 * sysdeps/wordsize-64/ftello64.c: File removed.
37972 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37973 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37974 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37975 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37976 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37977 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37978 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37979 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37980 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37981 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37982 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37983 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37984 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37985 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37987 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37989 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37991 [defined __arch64__ || defined __sparcv9]
37992 (__OFF_T_MATCHES_OFF64_T): New macro.
37993 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37994 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37995 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37996 (__OFF_T_MATCHES_OFF64_T): New macro.
37998 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38000 * stdlib/secure-getenv.c (__secure_getenv): Replace
38001 GLIBC_2_16 with GLIBC_2_17.
38003 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38005 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38006 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38008 2012-08-03 David S. Miller <davem@davemloft.net>
38010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38012 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38014 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38016 (__ASSUME_CORRECT_SI_PID): Likewise.
38017 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38018 (__ASSUME_TMPFS_NAME): Likewise.
38019 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38020 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38021 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38022 (HAVE_AUX_SECURE): Make definition unconditional.
38023 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38024 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38026 2012-08-03 Roland McGrath <roland@hack.frob.com>
38028 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38029 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38030 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38031 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38032 __eloop_threshold instead of SYMLOOP_MAX.
38034 * sysdeps/generic/eloop-threshold.h: New file.
38035 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38037 * elf/chroot_canon.c (chroot_canon): Likewise.
38039 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38042 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38043 Change to 2.6.0 everywhere.
38044 * sysdeps/unix/sysv/linux/configure: Regenerated.
38045 * sysdeps/unix/sysv/linux/kernel-features.h
38046 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38047 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38049 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38050 (__ASSUME_FUTEX_REQUEUE): Remove.
38051 (__ASSUME_STATFS64): Define unconditionally.
38052 (__ASSUME_AT_SECURE): Likewise.
38053 (__ASSUME_CORRECT_SI_PID): Likewise.
38054 (__ASSUME_TGKILL): Define without depending on kernel version for
38056 (__ASSUME_UTIMES): Likewise.
38057 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38059 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38060 (__ASSUME_TMPFS_NAME): Likewise.
38061 * README: Update reference to Linux kernel versions.
38063 2012-08-02 Marek Polacek <polacek@redhat.com>
38066 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38067 libc_cv_asm_type_prefix with %.
38068 * configure: Regenerated.
38069 * include/libc-symbols.h: Remove comment about
38070 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38071 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38072 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38073 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38074 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38075 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38076 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38077 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38078 * elf/tst-unique2mod1.c: Likewise.
38079 * elf/tst-unique1mod2.c: Likewise.
38080 * elf/tst-unique1mod1.c: Likewise.
38081 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38082 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38083 Replace ASM_TYPE_DIRECTIVE with .type.
38084 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38085 * sysdeps/i386/sysdep.h: Likewise.
38086 * sysdeps/x86_64/sysdep.h: Likewise.
38087 * sysdeps/sh/sysdep.h: Likewise.
38088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38089 Do not define ASM_TYPE_DIRECTIVE.
38090 * sysdeps/powerpc/sysdep.h: Likewise.
38091 * sysdeps/powerpc/powerpc32/sysdep.h:
38092 Replace ASM_TYPE_DIRECTIVE with .type.
38093 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38094 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38095 * sysdeps/i386/fpu/e_powf.S: Likewise.
38096 * sysdeps/i386/fpu/e_expl.S: Likewise.
38097 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38098 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38099 * sysdeps/i386/fpu/e_pow.S: Likewise.
38100 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38101 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38102 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38103 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38104 * sysdeps/i386/fpu/e_log2.S: Likewise.
38105 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38106 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38107 * sysdeps/i386/fpu/e_powl.S: Likewise.
38108 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38109 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38110 * sysdeps/i386/fpu/e_logl.S: Likewise.
38111 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38112 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38113 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38114 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38115 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38116 * sysdeps/i386/fpu/e_log.S: Likewise.
38117 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38118 * sysdeps/i386/fpu/e_logf.S: Likewise.
38119 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38120 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38121 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38122 * sysdeps/i386/fpu/e_log10.S: Likewise.
38123 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38124 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38125 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38126 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38127 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38128 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38129 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38130 * sysdeps/i386/i686/strtok.S: Likewise.
38131 * sysdeps/i386/i386-mcount.S: Likewise.
38132 * sysdeps/i386/strtok.S: Likewise.
38133 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38134 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38135 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38136 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38137 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38138 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38139 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38140 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38141 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38142 * sysdeps/x86_64/_mcount.S: Likewise.
38143 * sysdeps/x86_64/strtok.S: Likewise.
38144 * sysdeps/sh/_mcount.S: Likewise.
38146 2012-08-01 Roland McGrath <roland@hack.frob.com>
38148 * libio/iofopen.c: Include <fcntl.h>.
38149 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38150 (_IO_fopen64, fopen64): Define as aliases.
38151 * libio/iofopen64.c: Include <fcntl.h>.
38152 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38153 Conditionalize body on this.
38154 * sysdeps/wordsize-64/iofopen.c: File removed.
38155 * sysdeps/wordsize-64/iofopen64.c: File removed.
38157 2012-08-01 Marek Polacek <polacek@redhat.com>
38159 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38160 Use dlfcn directly instead of a variable.
38161 (binfmt-subdir): Do not define.
38164 2012-08-01 Joseph Myers <joseph@codesourcery.com>
38166 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38167 Remove all definitions.
38168 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38169 <kernel-features.h>.
38170 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38171 (miss_F_GETOWN_EX): Remove all definitions.
38172 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38174 [!__ASSUME_FCNTL64]: Remove conditional code.
38175 [__ASSUME_FCNTL64]: Make code unconditional.
38176 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38177 <kernel-features.h>.
38178 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38179 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38180 (lockf64) [__NR_fcntl64]: Make code unconditional.
38181 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38183 * sysdeps/unix/sysv/linux/kernel-features.h
38184 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38185 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38186 Make code unconditional.
38187 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38188 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38190 [__NR_vfork]: Make code unconditional.
38191 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38192 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38194 [__NR_vfork]: Make code unconditional.
38195 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38196 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38198 2012-08-01 Roland McGrath <roland@hack.frob.com>
38200 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38201 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38203 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38204 Define mkstemp64 as an alias.
38205 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38206 Define mkstemps64 as an alias.
38207 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38208 Define mkostemp64 as an alias.
38209 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38210 Define mkostemps64 as an alias.
38211 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38212 Conditionalize body on this.
38213 * misc/mkostemp64.c: Likewise.
38214 * misc/mkostemps64.c: Likewise.
38215 * misc/mkstemps64.c: Likewise.
38216 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38217 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38218 * sysdeps/wordsize-64/mkostemp.c: File removed.
38219 * sysdeps/wordsize-64/mkstemp.c: File removed.
38220 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38221 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38222 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38223 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38226 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38227 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38228 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38229 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38231 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38232 compat_symbol macros from <shlib-compat.h> rather than the underlying
38233 default_symbol_version and symbol_version macros, so that DEFAULT
38234 lines in shlib-versions are respected.
38235 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38237 2012-08-01 Florian Weimer <fweimer@redhat.com>
38239 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38240 Declare with warn_unused_result.
38241 (setgid, setregid, setegid, setresgid): Likewise.
38242 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38244 * WUR-REPORT: Remove set*id functions.
38246 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38248 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38250 2012-07-31 Roland McGrath <roland@hack.frob.com>
38253 * include/sys/socket.h (__libc_accept, __libc_accept4):
38254 Add attribute_hidden.
38255 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38257 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38259 * inet/getnetgrent_r.c (setup): Likewise.
38261 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38263 2012-07-31 David S. Miller <davem@davemloft.net>
38265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38267 2012-07-31 Joseph Myers <joseph@codesourcery.com>
38270 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38271 value between 1.0 and 2.0 and smaller part has absolute value less
38273 * math/s_clog10.c (__clog10): Likewise.
38274 * math/s_clog10f.c (__clog10f): Likewise.
38275 * math/s_clog10l.c (__clog10l): Likewise.
38276 * math/s_clogf.c (__clogf): Likewise.
38277 * math/s_clogl.c (__clogl): Likewise.
38278 * math/libm-test.inc (clog_test): Add more tests.
38279 (clog10_test): Likewise.
38280 * sysdeps/i386/fpu/libm-test-ulps: Update.
38281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38283 2012-07-31 Florian Weimer <fweimer@redhat.com>
38285 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38286 Exit with zero in case no suitable GID is found, and write a
38287 message to standard error.
38289 2012-07-30 Roland McGrath <roland@hack.frob.com>
38291 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38293 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38294 (MAXPATHLEN): Removed.
38295 (NOGROUP, NODEV): New macros.
38296 (setbit, clrbit, isset, isclr): New macros.
38297 (howmany, roundup, powerof2): New macros.
38298 (DEV_BSIZE): New macro.
38300 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38301 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38303 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38304 definition on [!__NO_LONG_DOUBLE_MATH].
38306 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38307 PTR_MANGLE and PTR_DEMANGLE.
38309 * socket/accept4.c (accept4): Rename to __libc_accept4.
38310 Define accept4 as a weak alias.
38312 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38313 on [_DIRENT_HAVE_D_TYPE].
38314 * io/ftw.c (ftw_dir): Likewise.
38316 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38318 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38320 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38321 Use the BSD numbers rather than the arbitrary ones we had.
38322 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38323 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38324 (SIGXCPU, SIGXFSZ): New macros.
38327 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38328 initializer on [_LIBC_REENTRANT].
38330 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38331 definitions inside [_POSIX_MAPPED_FILES].
38333 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38335 * dirent/opendir.c: Include <fcntl.h>.
38337 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38338 (__libc_getspecific): Likewise.
38339 (__libc_key_create): Likewise.
38341 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38342 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38343 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38344 (tmpfile64): Define as alias.
38345 * sysdeps/wordsize-64/tmpfile.c: File removed.
38346 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38347 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38348 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38350 * stdio-common/vfscanf.c: Include <stdbool.h>.
38351 * nss/makedb.c: Likewise.
38352 * stdio-common/_i18n_number.h: Likewise.
38353 * argp/argp-help.c: Likewise.
38354 * posix/wordexp.c: Likewise.
38355 * sysdeps/posix/spawni.c: Likewise.
38356 * nss/nss_files/files-initgroups.c: Likewise.
38357 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38358 * nss/nss_files/files-initgroups.c: Likewise.
38359 * nss/nss_db/db-netgrp.c: Likewise.
38360 * nss/nss_db/db-initgroups.c: Likewise.
38361 * io/fchmodat.c: Include <sys/stat.h>.
38363 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38364 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38366 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38369 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38370 Add multiple inclusion protection.
38372 2012-07-27 David S. Miller <davem@davemloft.net>
38374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38376 2012-07-27 Gary Benson <gbenson@redhat.com>
38379 * elf/rtld.c: Include <stap-probe.h>.
38380 (dl_main): Added static probes "init_start" and "init_complete".
38381 * elf/dl-load.c: Include <stap-probe.h>.
38382 (lose): Take new parameter "nsid".
38383 Added static probe "map_failed".
38384 (_dl_map_object_from_fd): Pass namespace id to lose.
38385 Added static probe "map_start".
38386 (open_verify): Pass namespace id to lose.
38387 * elf/dl-open.c: Include <stap-probe.h>.
38388 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38389 and "reloc_complete".
38390 * elf/dl-close.c: Include <stap-probe.h>.
38391 (_dl_close_worker): Added static probes "unmap_start" and
38393 * elf/rtld-debugger-interface.txt: New file documenting the above.
38395 2012-07-26 Roland McGrath <roland@hack.frob.com>
38397 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38398 rather than a string variable.
38399 * sunrpc/rpc_main.c (h_output): Likewise.
38400 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38402 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38404 * inet/check_native.c: New file.
38406 2012-07-26 Joseph Myers <joseph@codesourcery.com>
38409 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38410 if larger part has absolute value 1.0.
38411 * math/s_clog10.c (__clog10): Likewise.
38412 * math/s_clog10f.c (__clog10f): Likewise.
38413 * math/s_clog10l.c (__clog10l): Likewise.
38414 * math/s_clogf.c (__clogf): Likewise.
38415 * math/s_clogl.c (__clogl): Likewise.
38416 * math/libm-test.inc (clog_test): Add more tests.
38417 (clog10_test): Likewise.
38418 * sysdeps/i386/fpu/libm-test-ulps: Update.
38419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38421 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38422 (pltexit): Likewise.
38423 (La_regs): Likewise.
38424 (La_retval): Likewise.
38425 (int_retval): Likewise.
38426 Update #error for removed macros to refer only to definitions in
38428 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38430 (pltexit): Likewise.
38431 (La_regs): Likewise.
38432 (La_retval): Likewise.
38433 (int_retval): Likewise.
38434 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38436 (pltexit): Likewise.
38437 (La_regs): Likewise.
38438 (La_retval): Likewise.
38439 (int_retval): Likewise.
38440 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38442 (pltexit): Likewise.
38443 (La_regs): Likewise.
38444 (La_retval): Likewise.
38445 (int_retval): Likewise.
38446 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38448 (pltexit): Likewise.
38449 (La_regs): Likewise.
38450 (La_retval): Likewise.
38451 (int_retval): Likewise.
38452 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38454 (pltexit): Likewise.
38455 (La_regs): Likewise.
38456 (La_retval): Likewise.
38457 (int_retval): Likewise.
38458 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38460 (pltexit): Likewise.
38461 (La_regs): Likewise.
38462 (La_retval): Likewise.
38463 (int_retval): Likewise.
38464 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38465 macro definitions in tst-audit.h.
38466 * sysdeps/i386/tst-audit.h: New file.
38467 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38468 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38469 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38470 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38471 * sysdeps/sh/tst-audit.h: Likewise.
38472 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38473 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38474 * sysdeps/x86_64/tst-audit.h: Likewise.
38476 2012-07-26 Andreas Jaeger <aj@suse.de>
38478 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38481 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38482 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38483 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38485 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38486 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38487 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38489 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38492 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38494 (si_call_addr, si_syscall, si_arch): Define new macro.
38495 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38497 (si_call_addr, si_syscall, si_arch): Define new marcro.
38498 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38500 (si_call_addr, si_syscall, si_arch): Define new macro.
38501 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38503 (si_call_addr, si_syscall, si_arch): Define new macro.
38505 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38508 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38509 Change to 2.4.21 where previously 2.4.1.
38510 * sysdeps/unix/sysv/linux/configure: Regenerated.
38511 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38512 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38513 Linux kernel version.
38514 (__ASSUME_STD_AUXV): Remove.
38515 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38517 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38518 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38519 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38520 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38521 (__ASSUME_NETLINK_SUPPORT): Likewise.
38522 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38523 (__no_netlink_support): Remove conditional definition.
38524 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38526 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38527 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38528 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38529 (if_nameindex_ioctl): Remove.
38530 (if_nameindex_netlink): Do not handle __no_netlink_support.
38531 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38533 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38534 Remove conditional code.
38535 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38537 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38539 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38540 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38541 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38543 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38544 [!__ASSUME_STD_AUXV]: Remove conditional code.
38545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38546 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38547 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38549 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38550 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38552 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38554 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38555 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38557 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38559 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38562 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38565 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38566 code unconditional.
38567 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38569 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38571 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38574 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38576 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38579 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38580 code unconditional.
38581 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38583 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38585 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38588 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38589 code unconditional.
38590 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38592 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38594 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38597 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38599 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38600 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38601 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38602 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38603 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38604 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38605 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38606 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38607 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38608 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38609 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38610 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38611 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38612 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38613 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38614 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38615 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38616 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38617 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38619 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38620 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38621 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38623 2012-07-25 Florian Weimer <fweimer@redhat.com>
38625 * Versions.def: Add GLIBC_2.17.
38626 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38627 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38628 Introduce __libc_secure_getenv.
38629 * stdlib/Versions (2.17): Add secure_getenv
38630 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38631 * stdlib/secure-getenv.c: Rename __secure_getenv to
38632 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38633 symbol __secure_getenv for GLIBC_2.0.
38634 * stdlib/tst-secure-getenv.c: New.
38635 * stdlib/Makefile (tests): Add testcase.
38636 * manual/startup.texi (Environment Access): Document
38638 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38639 __libc_secure_getenv.
38640 * inet/ruserpass.c (ruserpass): Likewise.
38641 * malloc/mtrace.c (mtrace): Likewise.
38642 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38643 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38644 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38645 * sysdeps/posix/tempname.c: Likewise. Evaluate
38646 HAVE_SECURE_GETENV.
38647 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38648 __secure_getenv to __libc_secure_getenv.
38649 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38656 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38662 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38664 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38665 (struct La_i86_retval): Likewise.
38666 (struct La_x86_64_regs): Likewise.
38667 (struct La_x86_64_retval): Likewise.
38668 (struct La_x32_regs): Likewise.
38669 (struct La_x32_retval): Likewise.
38670 (struct La_ppc32_regs): Likewise.
38671 (struct La_ppc32_retval): Likewise.
38672 (struct La_ppc64_regs): Likewise.
38673 (struct La_ppc64_retval): Likewise.
38674 (struct La_sh_regs): Likewise.
38675 (struct La_sh_retval): Likewise.
38676 (struct La_s390_32_regs): Likewise.
38677 (struct La_s390_32_retval): Likewise.
38678 (struct La_s390_64_regs): Likewise.
38679 (struct La_s390_64_retval): Likewise.
38680 (struct La_sparc32_regs): Likewise.
38681 (struct La_sparc32_retval): Likewise.
38682 (struct La_sparc64_regs): Likewise.
38683 (struct La_sparc64_retval): Likewise.
38684 (struct audit_ifaces): Remove architecture-specific pltenter and
38686 * sysdeps/i386/ldsodefs.h: New file.
38687 * sysdeps/powerpc/ldsodefs.h: Likewise.
38688 * sysdeps/s390/ldsodefs.h: Likewise.
38689 * sysdeps/sh/ldsodefs.h: Likewise.
38690 * sysdeps/sparc/ldsodefs.h: Likewise.
38691 * sysdeps/x86_64/ldsodefs.h: Likewise.
38693 2012-07-25 Marek Polacek <polacek@redhat.com>
38696 * math/libm-test.inc (yn_test): Add another test.
38697 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38698 to ERANGE when the result is +-Inf.
38699 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38700 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38701 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38702 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38704 2012-07-24 Joseph Myers <joseph@codesourcery.com>
38706 * conform/data/time.h-data (NULL): Use macro-constant. Require
38708 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38710 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38712 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38714 * configure.in <sysdeps resolving>: Correct printing
38716 * configure: Regenerate.
38718 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38720 * math/w_ilogb.c: Include <limits.h>.
38721 * math/w_ilogbl.c: Likewise.
38723 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38725 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38726 va_copy. Document allowing for unavailable va_copy only as
38727 pre-C99 compatibility.
38728 * manual/string.texi (Copying and Concatenation): Use va_copy
38729 instead of __va_copy in concat example.
38731 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38733 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38734 (__sendto): Use create_address_port. Initialize APORT and deallocate
38737 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38738 with O_NOLINK passed to __file_name_lookup.
38740 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38741 with O_NOLINK passed to __file_name_lookup.
38743 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38744 negative N or less than NGIDS.
38746 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38747 type to string_t. Set ERANGE as errno and return it if NAME is not big
38748 enough. Use memcpy instead of strncpy.
38750 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38752 * elf/Makefile (check-data): Remove.
38753 (localplt.data): New vpath directive.
38754 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38755 instead of $(check-data).
38756 * scripts/data/localplt-generic.data: Move to ...
38757 * sysdeps/generic/localplt.data: ... here.
38758 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38759 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38760 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38763 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38766 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38769 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38772 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38775 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38779 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38781 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38782 PPC32 and PPC64 files.
38783 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38784 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38786 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38788 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38789 __makecontext_ret to ...
38790 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38791 ... here and call exit if uc_link is NULL. New file.
38792 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38793 __makecontext_ret.S.
38794 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38795 __makecontext_ret to ...
38796 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38797 ... here and call exit if uc_link is NULL. New file.
38798 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38799 __makecontext_ret.S.
38801 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38803 * elf/elf.h (R_390_IRELATIVE): New definition.
38804 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38805 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38806 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38807 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38808 (elf_machine_lazy_rel): Likewise.
38809 * sysdeps/s390/dl-irel.h: New file.
38810 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38811 * sysdeps/s390/s390-64/memset.S: New asm code.
38812 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38813 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38814 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38815 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38816 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38817 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38818 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38819 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38820 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38821 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38822 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38823 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38824 * sysdeps/s390/s390-32/memset.S: New asm code.
38825 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38827 2012-07-17 Marek Polacek <polacek@redhat.com>
38830 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38831 * sysdeps/s390/s390-64/configure.in: Likewise.
38832 * sysdeps/sparc/configure.in: Likewise.
38833 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38834 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38835 * sysdeps/i386/configure.in: Likewise.
38836 * sysdeps/x86_64/configure.in: Likewise.
38837 * sysdeps/sh/configure.in: Likewise.
38838 * sysdeps/s390/s390-32/configure: Regenerated.
38839 * sysdeps/s390/s390-64/configure: Likewise.
38840 * sysdeps/x86_64/configure: Likewise.
38841 * sysdeps/sh/configure: Likewise.
38842 * sysdeps/powerpc/powerpc64/configure: Likewise.
38843 * sysdeps/powerpc/powerpc32/configure: Likewise.
38844 * sysdeps/sparc/configure: Likwise.
38845 * sysdeps/i386/configure: Likewise.
38847 * elf/dl-open.c: Comment fixes.
38849 2012-07-17 Joseph Myers <joseph@codesourcery.com>
38851 * Makefile [CXX] (check-data): Remove.
38852 [CXX] (c++-types.data): New vpath directive.
38853 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38854 vpath. Do not allow for C++ type data being missing.
38855 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38856 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38857 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38858 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38859 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38860 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38861 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38864 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38867 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38870 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38873 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38876 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38879 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38882 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38885 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38886 definitions to architecture-specific files.
38887 (TLS_IE): Likewise.
38888 (TLS_LD): Likewise.
38889 (TLS_GD): Likewise.
38890 * sysdeps/i386/tls-macros.h: New file.
38891 * sysdeps/powerpc/tls-macros.h: Likewise.
38892 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38893 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38894 * sysdeps/sh/tls-macros.h: Likewise.
38895 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38896 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38897 * sysdeps/x86_64/tls-macros.h: Likewise.
38899 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38901 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38902 zero value for regular exit case.
38904 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38905 (__start_context): Preserve zero value for regular exit case.
38907 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38908 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38910 * manual/setjmp.texi (setcontext): Clarify normal process
38911 termination when uc_link is the null pointer.
38912 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38915 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38917 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38918 preprocessor. Test for each exception mask separately.
38920 2012-07-16 Andreas Jaeger <aj@suse.de>
38922 * po/ru.po: Update from translation team.
38924 2012-07-15 Joseph Myers <joseph@codesourcery.com>
38926 * conform/data/string.h-data (NULL): Use macro-constant. Require
38928 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38929 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38930 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38931 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38932 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38934 2012-07-13 Andreas Jaeger <aj@suse.de>
38936 * po/fr.po: Update from translation team.
38938 2012-07-12 Marek Polacek <polacek@redhat.com>
38941 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38942 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38945 2012-07-12 Joseph Myers <joseph@codesourcery.com>
38948 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38949 Change to 2.4.1 where previously 2.4.0.
38950 * sysdeps/unix/sysv/linux/configure: Regenerated.
38951 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38952 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38954 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38955 (__ASSUME_AT_CLKTCK): Remove.
38956 (__ASSUME_AT_PAGESIZE): Likewise.
38957 (__ASSUME_AT_XID): Likewise.
38958 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38959 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38960 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38962 (HAVE_AUX_PAGESIZE): Likewise.
38963 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38964 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38965 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38967 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38971 the temporary buffer used to invoke __gethostbyname2_r,
38972 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38973 host_data / struct gaih_addrtuple.
38974 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38975 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38976 header file nss/nsswitch.h.
38977 * nss/nsswitch.h (global scope): Add definition of implementation
38978 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38979 resolv/nss_dns/dns-host.c).
38981 2012-07-11 Andreas Jaeger <aj@suse.de>
38983 * po/fr.po: Update from translation team.
38985 * po/sv.po: Update from translation team
38986 * po/fr.po: Another update from translation team.
38988 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38990 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38991 for subnormals or multiply small sinh result by itself.
38992 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38995 2012-07-11 David S. Miller <davem@davemloft.net>
38997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38999 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39002 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39003 (INTERNAL_MARK): Shift it here.
39005 2012-07-10 Marek Polacek <polacek@redhat.com>
39008 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39009 libc_cv_asm_global_directive with .globl.
39010 * configure: Regenerated.
39011 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39013 * sysdeps/i386/configure: Regenerated.
39014 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39016 * sysdeps/x86_64/configure: Regenerated.
39017 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39018 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39019 * elf/tst-unique2mod2.c: Likewise.
39020 * elf/tst-unique2mod1.c: Likewise.
39021 * elf/tst-unique1mod2.c: Likewise.
39022 * elf/tst-unique1mod1.c: Likewise.
39023 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39024 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39025 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39026 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39027 * sysdeps/mach/sysdep.h: Likewise.
39028 * sysdeps/i386/sysdep.h: Likewise.
39029 * sysdeps/i386/i386-mcount.S: Likewise.
39030 * sysdeps/x86_64/_mcount.S: Likewise.
39031 * sysdeps/x86_64/sysdep.h: Likewise.
39032 * sysdeps/sh/_mcount.S: Likewise.
39033 * sysdeps/sh/sysdep.h: Likewise.
39034 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39035 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39036 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39037 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39038 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39039 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39040 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39041 * locale/localeinfo.h: Likewise.
39042 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39043 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39045 2012-07-09 Roland McGrath <roland@hack.frob.com>
39048 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39050 * manual/message.texi (The Uniforum approach): Likewise.
39051 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39052 (glibc iconv Implementation): Likewise.
39054 2012-07-09 Joseph Myers <joseph@codesourcery.com>
39057 * math/s_clog.c (__clog): Avoid scaling a value down where that
39058 could result in underflow.
39059 * math/s_clog10.c (__clog10): Likewise.
39060 * math/s_clog10f.c (__clog10f): Likewise.
39061 * math/s_clog10l.c (__clog10l): Likewise.
39062 * math/s_clogf.c (__clogf): Likewise.
39063 * math/s_clogl.c (__clogl): Likewise.
39064 * math/libm-test.inc (clog_test): Add more tests.
39065 (clog10_test): Likewise.
39066 * sysdeps/i386/fpu/libm-test-ulps: Update.
39067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39069 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39072 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39073 by 7 not 8 to examine high bit of fractional part.
39076 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39077 for call to __mcount_internal.
39078 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39079 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39080 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39082 2012-07-06 Joseph Myers <joseph@codesourcery.com>
39085 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39086 approximation for values within 0x1p-13f of an odd multiple of
39088 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39089 exception. Add more tests.
39090 * sysdeps/i386/fpu/libm-test-ulps: Update.
39093 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39094 inputs and return -1 for them. Do not check for +Inf in case not
39095 reachable for +Inf.
39096 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39097 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39098 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39099 and return -1 for them. Do not check for +Inf in case not
39100 reachable for +Inf.
39101 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39103 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39104 and return -1 for them. Do not check for +Inf in case not
39105 reachable for +Inf.
39106 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39107 spurious underflow.
39108 * sysdeps/i386/fpu/libm-test-ulps: Update.
39109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39111 2012-07-06 Mike Frysinger <vapier@gentoo.org>
39113 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39115 2012-07-05 Joseph Myers <joseph@codesourcery.com>
39119 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39120 could result in spurious underflow. Scale down values above
39121 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39122 * math/s_csqrtf.c (__csqrtf): Likewise.
39123 * math/s_csqrtl.c (__csqrtl): Likewise.
39124 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39125 spurious underflow.
39126 * sysdeps/i386/fpu/libm-test-ulps: Update.
39127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39129 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39131 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39133 * catgets/xopen-msg.awk: New file.
39134 * catgets/xopen-msg.sed: Removed.
39136 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39138 * intl/po2test.awk: New file.
39139 * intl/po2test.sed: Removed.
39141 2012-07-04 Joseph Myers <joseph@codesourcery.com>
39144 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39145 or multiply small sinh result by itself.
39146 * math/s_ctanf.c (__ctanf): Likewise.
39147 * math/s_ctanh.c (__ctanh): Likewise.
39148 * math/s_ctanhf.c (__ctanhf): Likewise.
39149 * math/s_ctanhl.c (__ctanhl): Likewise.
39150 * math/s_ctanl.c (__ctanl): Likewise.
39151 * math/libm-test.inc (ctan_test_tonearest): New function.
39152 (ctan_test_towardzero): Likewise.
39153 (ctan_test_downward): Likewise.
39154 (ctan_test_upward): Likewise.
39155 (ctanh_test_tonearest): Likewise.
39156 (ctanh_test_towardzero): Likewise.
39157 (ctanh_test_downward): Likewise.
39158 (ctanh_test_upward): Likewise.
39159 (main): Call these new functions.
39160 * sysdeps/i386/fpu/libm-test-ulps: Update.
39161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39163 2012-07-03 Mike Frysinger <vapier@gentoo.org>
39165 * .gitignore: Delete /ports entry.
39167 2012-07-03 Andreas Jaeger <aj@suse.de>
39169 * po/bg.po: Update from translation team.
39170 * po/cs.po: Likewise.
39171 * po/de.po: Likewise.
39172 * po/hr.po: Likewise.
39173 * po/nl.pl: Likewise.
39174 * po/pl.po: Likewise.
39175 * po/vi.po: Likewise.
39177 2012-07-03 Joseph Myers <joseph@codesourcery.com>
39179 * Makeconfig [!+link] (+link-before-libc): New variable.
39180 [!+link] (+link-after-libc): Likewise.
39181 [!+link] (+link-tests): Likewise.
39182 [!+link] (+link): Define in terms of $(+link-before-libc) and
39183 $(+link-after-libc).
39184 [!+link-static] (+link-static-before-libc): New variable.
39185 [!+link-static] (+link-static-after-libc): Likewise.
39186 [!+link-static] (+link-static-tests): Likewise.
39187 [!+link-static] (+link-static): Define in terms of
39188 $(+link-static-before-libc) and $(+link-static-after-libc).
39189 [build-shared] (link-libc-before-gnulib): New variable.
39190 [build-shared] (link-libc-tests): Likewise.
39191 [build-shared] (link-libc): Define in terms of
39192 $(link-libc-before-gnulib).
39193 [!build-shared] (link-libc-tests): New variable.
39194 (link-libc-static-tests): New variable.
39195 [!gnulib] (gnulib-arch): New variable.
39196 [!gnulib] (gnulib-tests): Likewise.
39197 [!gnulib] (static-gnulib-arch): Likewise.
39198 [!gnulib] (static-gnulib-tests): Likewise.
39199 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39200 Define with "=" instead of ":=".
39201 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39202 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39203 * Rules (binaries-all-notests): New variable.
39204 (binaries-all-tests): Likewise.
39205 (binaries-static-notests): Likewise.
39206 (binaries-static-tests): Likewise.
39207 (binaries-all): Define using $(binaries-all-notests) and
39208 $(binaries-all-tests).
39209 (binaries-static): Define using $(binaries-static-notests) and
39210 $(binaries-static-tests).
39211 (binaries-shared-tests): New variable.
39212 (binaries-shared-notests): Likewise.
39213 (binaries-shared): Remove variable.
39214 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39215 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39216 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39217 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39218 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39219 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39220 * elf/Makefile (sln-modules): New variable.
39221 (extra-objs): Add $(sln-modules:=.o).
39222 (ldconfig-modules): Add static-stubs.
39223 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39224 * elf/static-stubs.c: New file.
39227 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39228 by 7 not 8 to examine high bit of fractional part. Use volatile
39229 variables when splitting into final array of floats if
39230 __FLT_EVAL_METHOD__ != 0.
39231 * math/libm-test.inc (cos_test): Add another test.
39232 (sin_test): Likewise.
39233 * sysdeps/i386/fpu/libm-test-ulps: Update.
39236 * math/libm-test.inc (cosh_test): Add more tests.
39238 * version.h (RELEASE): Set to "development".
39239 (VERSION): Set to "2.16.90".
39241 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39243 * NEWS: Update copyright. Remove last-updated date.
39244 Mention math library bug fixes and timezone data changes.
39245 * README: Mention GNU/Hurd, x32, and HPPA support status.
39247 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39249 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39251 2012-06-27 Andreas Jaeger <aj@suse.de>
39253 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39255 2012-06-25 Andreas Jaeger <aj@suse.de>
39257 * sysdeps/s390/fpu/libm-test-ulps: Update.
39259 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39260 Thomas Schwinge <thomas@codesourcery.com>
39262 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39263 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39264 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39267 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39269 * sysdeps/mach/start.c: Remove file.
39270 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39271 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39272 * sysdeps/sh/init-first.c: Likewise.
39274 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39275 registers for frame unwinding purposes, add CFI directives.
39276 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39277 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39278 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39281 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39282 __fortify_fail returning.
39283 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39285 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39286 sysdeps/sh/____longjmp_chk.S.
39287 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39288 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39289 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39290 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39292 * sysdeps/sh/abort-instr.h: New file.
39293 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39294 process in case exit returns.
39296 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39297 initialize the GOT register before use.
39299 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39300 calculation of ARGC > 4.
39302 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39303 meaningful names to some local labels.
39305 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39306 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39308 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39309 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39310 (__arch_compare_and_exchange_val_16_acq): Likewise.
39311 (__arch_compare_and_exchange_val_32_acq): Likewise.
39312 (atomic_exchange_and_add): Fix gUSA sequence.
39313 (atomic_add): Likewise.
39314 (atomic_add_negative): Likewise.
39315 (atomic_add_zero): Likewise.
39316 (atomic_bit_test_set): Likewise.
39318 2012-06-22 Andreas Schwab <schwab@redhat.com>
39321 * include/link.h (struct link_map): Add l_free_initfini.
39322 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39324 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39325 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39326 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39329 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39331 * configure.in: Use AC_LANG_SOURCE.
39332 * configure: Regenerate.
39334 2012-06-22 Roland McGrath <roland@hack.frob.com>
39336 * configure.in (libc_cv_localstatedir): New substituted variable.
39337 * configure: Regenerated.
39338 * config.make.in (localstatedir): New variable, substituted from
39339 libc_cv_localstatedir.
39340 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39341 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39342 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39343 * sysdeps/gnu/configure: Regenerated.
39345 2012-06-21 Jeff Law <law@redhat.com>
39348 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39349 free. Simplify list management for _LIBC case.
39351 2012-06-21 Joseph Myers <joseph@codesourcery.com>
39354 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39355 Clear sign bit of 64-bit integer value before comparing against
39358 * sysdeps/mach/configure: Regenerated.
39360 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39363 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39365 2012-06-21 Jeff Law <law@redhat.com>
39368 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39369 uint16_t for elements in the "seen" array to avoid char overflows.
39370 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39371 * elf/dl-open.c (dl_open_worker): Likewise.
39373 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39375 * scripts/list-sources.sh: Scan PORTS for translations.
39376 * po/libc.pot: Regenerated.
39378 2012-06-21 Andreas Jaeger <aj@suse.de>
39381 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39383 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39384 * bits/byteswap-16.h (__bswap_16): Likewise.
39385 * bits/byteswap.h (__bswap_constant_16): Likewise.
39387 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39390 * sysdeps/i386/fpu_control.h: Removed.
39391 * sysdeps/x86_64/fpu_control.h: Moved to ...
39392 * sysdeps/x86/fpu_control.h: Here.
39394 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39395 (_FPU_SETCW): Likewise.
39397 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39400 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39401 * sysdeps/x86/fpu/bits/mathinline.h: This.
39402 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39406 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39407 functions if __x86_64__ is defined.
39409 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39411 * string/endian.h: Add !__ASSEMBLER__ condition for including
39412 conversion interfaces.
39414 2012-06-15 Joseph Myers <joseph@codesourcery.com>
39417 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39418 of ABS(x) in calculating zero to negative powers other than odd
39420 * math/libm-test.inc (pow_test): Add more tests.
39422 2012-06-15 Andreas Jaeger <aj@suse.de>
39424 * manual/contrib.texi (Contributors): Update entry of Liubov
39425 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39428 2012-06-15 Cyril Hrubis <metan@ucw.cz>
39430 * string/string.h: Add __wur to GNU version of strerror_r.
39432 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39435 * string/Makefile (tests): Add tst-strtok_r.
39436 * string/tst-strtok_r.c: New file.
39437 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39438 RAX_LP/RDX_LP on SAVE_PTR.
39440 2012-06-14 Roland McGrath <roland@hack.frob.com>
39442 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39444 2012-06-14 Joseph Myers <joseph@codesourcery.com>
39446 * libm_test.inc (csqrt_test): Allow more spurious underflow
39448 (j0_test): Likewise.
39449 (j1_test): Likewise.
39450 (y0_test): Likewise.
39451 (y1_test): Likewise.
39453 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39455 * po/Makefile (libc.pot): Use UTF-8 charset.
39457 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39460 Suppress sign-conversion warning from FD_SET.
39461 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39462 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39463 not unsigned long int.
39464 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39466 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39470 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39471 __extern_always_inline instead of __extern_inline.
39472 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39473 (__signbit): Likewise.
39474 (__signbitl): Support C++ namespace.
39475 (lrintf): New inline function.
39477 (llrintf): Likewise.
39478 (llrint): Likewise.
39488 (floorf): Likewise.
39489 (nearbyint): Likewise.
39490 (nearbyintf): Likewise.
39492 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39494 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39495 non-default versions.
39497 2012-06-11 Roland McGrath <roland@hack.frob.com>
39500 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39502 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39504 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39505 (FE_UPWARD, FE_DOWNWARD): Don't define.
39506 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39507 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39509 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39511 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39514 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39516 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39517 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39518 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39519 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39521 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39524 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39525 * sysdeps/i386/fpu/Implies: New file.
39526 * sysdeps/x86_64/fpu/Implies: Likewise.
39527 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39528 * sysdeps/x86/fpu/bits/fenv.h: This.
39530 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39533 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39536 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39537 character 0xffff that matches the last element of the
39540 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39542 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39545 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39547 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39548 values higher than 25.6283.
39550 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39552 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39553 subnormal exponent extraction and add some __builtin_expect.
39554 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39555 Fix for subnormal mantissa calculation.
39557 2012-06-04 Mike Frysinger <vapier@gentoo.org>
39559 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39560 cpu2 is -1 and errno is not ENOSYS.
39562 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39565 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39566 * sysdeps/x86/bits/string.h: This.
39567 * sysdeps/x86_64/bits/string.h: Removed.
39569 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39570 if not compiling for x86-64, but compiling for >= i486.
39572 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39573 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39575 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39576 New macro from Linux kernel 3.4.0.
39577 (FP_XSTATE_MAGIC2): Likewise.
39578 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39579 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39580 (struct _fpx_sw_bytes): New struct.
39581 (struct _xsave_hdr): Likewise.
39582 (struct _ymmh_state): Likewise.
39583 (struct _xstate): Likewise.
39585 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39586 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39587 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39588 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39589 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39590 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39592 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39593 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39594 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39595 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39596 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39597 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39599 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39602 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39603 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39604 (sysdep_headers): Include sys/platform/ppc.h.
39605 * sysdeps/powerpc/test-gettimebase.c: Test for
39606 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39607 * manual/Makefile (appendices): Include platform.texi.
39608 * manual/contrib.texi (Contributors): Update @node pointers.
39609 * manual/maint.texi (Maintenance): Likewise.
39610 (Platform): New node.
39611 * manual/platform.texi: New file. Document the new features.
39613 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39614 Jakub Jelinek <jakub@redhat.com>
39617 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39618 where __builtin_expect is unavailable.
39620 2012-06-03 David S. Miller <davem@davemloft.net>
39622 * stdlib/longlong.h: Updated from GCC.
39624 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39627 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39628 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39631 (GLIBC_2.16): Likewise.
39633 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39635 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39637 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39640 (default-abi): New variable.
39641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39642 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39644 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39646 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39648 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39651 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39652 definition. Document in comment.
39654 2012-06-01 David S. Miller <davem@davemloft.net>
39656 * stdlib/longlong.h: Updated from GCC.
39658 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39661 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39662 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39663 sys/debugreg.h sys/io.h here.
39664 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39665 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39667 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39668 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39669 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39670 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39671 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39672 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39674 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39675 Define only if __x86_64__ is defined.
39677 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39680 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39681 Use int64_t for variable i.
39682 * math/libm-test.inc (fmod_test): Add more tests.
39684 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39685 z computation is not scheduled after fetestexcept.
39686 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39687 Use math_force_eval instead of asm to ensure calculation scheduled
39688 before exception test.
39689 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39690 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39692 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39695 computation is not scheduled after fetestexcept.
39697 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39700 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39701 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39703 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39705 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39706 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39708 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39711 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39713 (__WCHAR_MIN): Support __WORDSIZE == 64.
39714 (__WCHAR_MAX): Likewise.
39716 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39717 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39720 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39721 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39724 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39725 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39727 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39728 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39730 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39731 Defined to 1 if __x86_64__ isn't defined.
39732 (_STAT_VER_LINUX_OLD): New.
39733 (st_atime): Remove duplicate.
39734 (st_mtime): Likewise.
39735 (st_ctime): Likewise.
39737 2012-05-31 David S. Miller <davem@davemloft.net>
39739 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39742 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39744 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39748 * elf/dl-reloc.c: Include <_itoa.h>.
39749 (_dl_reloc_bad_type): Remove use of INTUSE.
39750 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39751 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39752 * stdio-common/psiginfo.c (psiginfo): Likewise.
39753 * stdio-common/psignal.c (psignal): Likewise.
39754 * string/strsignal.c (strsignal): Likewise.
39755 * include/signal.h (_sys_siglist): Declare hidden proto.
39756 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39757 INTVARDEF with libc_hidden_data_def.
39758 * stdio-common/itoa-udigits.c: Likewise.
39759 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39760 (_itoa_lower_digits_internal): Remove declaration.
39761 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39762 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39763 (_sys_sigabbrev_internal): Remove aliases.
39764 (_sys_siglist): Define hidden alias.
39766 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39771 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39774 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39775 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39777 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39778 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39779 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39780 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39781 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39782 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39784 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39785 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39786 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39788 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39796 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39797 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39798 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39800 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39801 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39802 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39803 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39804 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39805 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39807 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39808 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39810 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39811 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39813 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39814 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39815 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39817 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39818 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39820 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39822 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39823 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39824 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39826 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39828 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39830 2012-05-31 Joseph Myers <joseph@codesourcery.com>
39832 * math/math.h (M_El): Use two more decimal places.
39833 (M_LOG2El): Likewise.
39834 (M_LOG10El): Likewise.
39835 (M_LN2l): Likewise.
39836 (M_LN10l): Likewise.
39838 (M_PI_2l): Likewise.
39839 (M_PI_4l): Likewise.
39840 (M_1_PIl): Likewise.
39841 (M_2_PIl): Likewise.
39842 (M_2_SQRTPIl): Likewise.
39843 (M_SQRT2l): Likewise.
39844 (M_SQRT1_2l): Likewise.
39846 2012-05-31 David S. Miller <davem@davemloft.net>
39848 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39849 values between float registers.
39850 * sysdeps/sparc/sparc64/memset.S: Likewise.
39851 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39853 2012-05-31 Mike Frysinger <vapier@gentoo.org>
39855 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39856 -D_FORTIFY_SOURCE=1.
39857 (CPPFLAGS-tst-longjmp_chk.c): Define.
39858 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39859 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39860 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39861 CFLAGS-tst-wchar-h.c.
39863 2012-05-31 Marek Polacek <polacek@redhat.com>
39866 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39867 __endmntent_internal): Remove declaration.
39868 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39869 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39870 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39872 2012-05-30 David S. Miller <davem@davemloft.net>
39874 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39875 (___Q_simulate_exceptions): Use real FP ops rather than writing
39877 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39880 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39883 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39884 * sysdeps/x86/bits/xtitypes.h: This.
39886 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39887 * sysdeps/x86/bits/wordsize.h: This.
39889 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39890 * sysdeps/x86/bits/huge_vall.h: This.
39892 * sysdeps/i386/bits/select.h: Removed.
39893 * sysdeps/x86_64/bits/select.h: Renamed to ...
39894 * sysdeps/x86/bits/select.h: This.
39896 * sysdeps/i386/bits/setjmp.h: Removed.
39897 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39898 * sysdeps/x86/bits/setjmp.h: This.
39900 * sysdeps/i386/bits/mathdef.h: Removed.
39901 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39902 * sysdeps/x86/bits/mathdef.h: This.
39904 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39907 * include/sys/socket.h (__connect_internal)
39908 (__libc_sa_len_internal): Remove declaration.
39909 (__connect, __libc_sa_len): Declare hidden_proto.
39910 (SA_LEN): Remove use of INTUSE.
39911 * socket/connect.c: Add libc_hidden_def.
39912 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39913 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39914 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39916 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39917 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39918 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39919 of adding _internal alias.
39921 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39924 * sysdeps/i386/bits/link.h: Removed.
39925 * sysdeps/i386/bits/linkmap.h: Likewise.
39926 * sysdeps/x86_64/bits/link.h: Renamed to ...
39927 * sysdeps/x86/bits/link.h: This.
39928 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39929 * sysdeps/x86/bits/linkmap.h: This.
39931 * sysdeps/i386/bits/endian.h: Removed.
39932 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39933 * sysdeps/x86/bits/endian.h: This.
39935 * sysdeps/i386/bits/byteswap.h: Removed.
39936 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39937 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39938 * sysdeps/x86/bits/byteswap.h: This.
39939 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39940 * sysdeps/x86/bits/byteswap-16.h: This.
39941 * sysdeps/i386/Implies: Add x86.
39942 * sysdeps/x86_64/Implies: Likewise.
39944 2012-05-30 David S. Miller <davem@davemloft.net>
39946 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39947 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39948 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39949 (FP_TRAPPING_EXCEPTIONS): Define.
39950 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39951 (FP_TRAPPING_EXCEPTIONS): Define.
39952 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39953 subnormals only when inexact has been signalled or underflow
39954 exceptions are enabled.
39955 (_FP_PACK_CANONICAL): Likewise.
39957 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39960 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39961 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39963 2012-05-30 Richard Henderson <rth@twiddle.net>
39965 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39966 with #ifndef NOT_IN_libc.
39968 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39969 marked to avoid plt entry.
39971 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39974 * Makeconfig (default-abi): New macro.
39975 (abi-includes): Likewise.
39976 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39977 $(abi-$(default-abi)-lib-soname) for soname if defined.
39978 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39980 * Makefile (installed-stubs): Likewise.
39981 * include/stubs-biarch.h: Removed.
39982 * scripts/lib-names.awk: Only handle one library at a time.
39983 * scripts/soversions.awk: Remove WORDSIZE support.
39984 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39986 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39988 (syscall-list-default-condition): Likewise.
39989 (syscall-list-default-condition): Likewise.
39990 (syscall-list-includes): Likewise.
39991 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39992 syscall-list-* with abi-*. Handle undefined abi-variants.
39993 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39994 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39995 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39996 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39997 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39998 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40000 (syscall-list-32-options): Likewise.
40001 (syscall-list-32-condition): Likewise.
40002 (syscall-list-64-options): Likewise.
40003 (syscall-list-64-condition): Likewise.
40004 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40006 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40009 (abi-64-ld-soname): New macro.
40010 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40011 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40014 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40015 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40017 2012-05-30 Joseph Myers <joseph@codesourcery.com>
40019 * sysdeps/unix/sysv/linux/kernel-features.h
40020 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40021 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40022 include <kernel-features.h>.
40023 [!__NR_ftruncate64]: Remove conditional code.
40024 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40025 [__NR_ftruncate64]: Make code unconditional.
40026 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40027 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40028 include <kernel-features.h>.
40029 [!__NR_ftruncate64]: Remove conditional code.
40030 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40031 [__NR_ftruncate64]: Make code unconditional.
40032 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40034 include <kernel-features.h>.
40035 [!__NR_ftruncate64]: Remove conditional code.
40036 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40037 [__NR_ftruncate64]: Make code unconditional.
40038 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40040 include <kernel-features.h>.
40041 [!__NR_ftruncate64]: Remove conditional code.
40042 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40043 [__NR_ftruncate64]: Make code unconditional.
40044 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40046 * configure.in (libc_cv_fpie): Weaken to a compile test using
40047 LIBC_TRY_CC_OPTION.
40048 * configure: Regenerated.
40050 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40065 2012-05-27 David S. Miller <davem@davemloft.net>
40067 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40069 (__Q_simulate_exceptions): Return void. Change to simulate
40070 exceptions by writing into the %fsr.
40071 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40072 (__Qp_handle_exceptions): Likewise.
40074 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40075 __Qp_handle_exceptions.
40076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40077 __Qp_handle_exceptions.
40078 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40079 as unused and give dummy FP_RND_NEAREST initializer.
40080 (FP_INHIBIT_RESULTS): Define.
40081 (___Q_simulate_exceptions): Update declaration.
40082 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40084 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40085 as unused and give dummy FP_RND_NEAREST initializer.
40086 (__Qp_handle_exceptions): Update declaration.
40087 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40090 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40092 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40093 the temporary FPU control word.
40094 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40095 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40096 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40097 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40098 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40099 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40100 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40101 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40102 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40103 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40104 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40106 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40108 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40111 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40113 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40114 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40115 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40116 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40118 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40119 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40122 2012-05-27 Ulrich Drepper <drepper@gmail.com>
40124 * po/h.po: Update from translation team.
40126 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40128 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40130 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40131 handling of denormals.
40132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40133 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40134 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40135 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40136 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40137 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40138 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40141 2012-05-26 Marek Polacek <polacek@redhat.com>
40144 * math/libm-test.inc (fma_test): Don't always expect underflow
40147 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40150 * elf/tst-execstack.c: Include stackinfo.h.
40151 (do_test): Adjust test case to ensure that pthread_getattr_np
40152 behaviour remains the same after marking stack executable.
40154 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40156 * sysdeps/unix/sysv/linux/kernel-features.h
40157 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40158 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40160 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40161 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40162 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40164 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40165 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40167 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40169 * configure.in: Define the default includes to being none.
40170 * configure: Regenerated.
40172 2012-05-25 Roland McGrath <roland@hack.frob.com>
40174 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40175 * sysdeps/x86_64/setjmp.S: Likewise.
40176 * sysdeps/i386/bsd-setjmp.S: Likewise.
40177 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40178 * sysdeps/i386/setjmp.S: Likewise.
40179 * sysdeps/i386/__longjmp.S: Likewise.
40180 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40181 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40183 * include/stap-probe.h: New file.
40184 * configure.in: Handle --enable-systemtap.
40185 * configure: Regenerated.
40186 * config.h.in (USE_STAP_PROBE): New #undef.
40187 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40188 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40189 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40191 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40194 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40195 to 2.4.0 where earlier.
40196 * sysdeps/unix/sysv/linux/configure: Regenerated.
40197 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40198 <kernel-features.h>.
40199 [__ASSUME_32BITUIDS]: Make code unconditional.
40200 [!__ASSUME_32BITUIDS]: Remove conditional code.
40201 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40202 <kernel-features.h>.
40203 [__ASSUME_32BITUIDS]: Make code unconditional.
40204 [!__ASSUME_32BITUIDS]: Remove conditional code.
40205 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40206 [__ASSUME_32BITUIDS]: Make code unconditional.
40207 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40208 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40209 <kernel-features.h>.
40210 [__ASSUME_32BITUIDS]: Make code unconditional.
40211 [!__ASSUME_32BITUIDS]: Remove conditional code.
40212 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40213 <kernel-features.h>.
40214 [__ASSUME_32BITUIDS]: Make code unconditional.
40215 [!__ASSUME_32BITUIDS]: Remove conditional code.
40216 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40217 <kernel-features.h>.
40218 [__ASSUME_32BITUIDS]: Make code unconditional.
40219 [!__ASSUME_32BITUIDS]: Remove conditional code.
40220 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40221 <kernel-features.h>.
40222 [__ASSUME_32BITUIDS]: Make code unconditional.
40223 [!__ASSUME_32BITUIDS]: Remove conditional code.
40224 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40225 <kernel-features.h>.
40226 [__ASSUME_32BITUIDS]: Make code unconditional.
40227 [!__ASSUME_32BITUIDS]: Remove conditional code.
40228 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40229 <kernel-features.h>.
40230 [__ASSUME_32BITUIDS]: Make code unconditional.
40231 [!__ASSUME_32BITUIDS]: Remove conditional code.
40232 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40233 <kernel-features.h>.
40234 [__ASSUME_32BITUIDS]: Make code unconditional.
40235 [!__ASSUME_32BITUIDS]: Remove conditional code.
40236 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40237 <kernel-features.h>.
40238 [__ASSUME_32BITUIDS]: Make code unconditional.
40239 [!__ASSUME_32BITUIDS]: Remove conditional code.
40240 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40241 <kernel-features.h>.
40242 [__ASSUME_32BITUIDS]: Make code unconditional.
40243 [!__ASSUME_32BITUIDS]: Remove conditional code.
40244 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40245 <kernel-features.h>.
40246 [__ASSUME_32BITUIDS]: Make code unconditional.
40247 [!__ASSUME_32BITUIDS]: Remove conditional code.
40248 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40249 <kernel-features.h>.
40250 [__NR_setresgid] (__setresgid): Do not declare.
40251 [__ASSUME_32BITUIDS]: Make code unconditional.
40252 [!__ASSUME_32BITUIDS]: Remove conditional code.
40253 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40254 <kernel-features.h>.
40255 [__NR_setresuid] (__setresuid): Do not declare.
40256 [__ASSUME_32BITUIDS]: Make code unconditional.
40257 [!__ASSUME_32BITUIDS]: Remove conditional code.
40258 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40259 <kernel-features.h>.
40260 [__ASSUME_32BITUIDS]: Make code unconditional.
40261 [!__ASSUME_32BITUIDS]: Remove conditional code.
40262 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40263 <kernel-features.h>.
40264 [__ASSUME_32BITUIDS]: Make code unconditional.
40265 [!__ASSUME_32BITUIDS]: Remove conditional code.
40266 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40267 <kernel-features.h>.
40268 [__ASSUME_32BITUIDS]: Make code unconditional.
40269 [!__ASSUME_32BITUIDS]: Remove conditional code.
40270 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40271 <kernel-features.h>.
40272 [__ASSUME_32BITUIDS]: Make code unconditional.
40273 [!__ASSUME_32BITUIDS]: Remove conditional code.
40274 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40275 <kernel-features.h>.
40276 [__ASSUME_32BITUIDS]: Make code unconditional.
40277 [!__ASSUME_32BITUIDS]: Remove conditional code.
40278 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40279 <kernel-features.h>.
40280 [__ASSUME_32BITUIDS]: Make code unconditional.
40281 [!__ASSUME_32BITUIDS]: Remove conditional code.
40282 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40283 <kernel-features.h>.
40284 [__ASSUME_32BITUIDS]: Make code unconditional.
40285 [!__ASSUME_32BITUIDS]: Remove conditional code.
40286 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40287 <kernel-features.h>.
40288 [__ASSUME_32BITUIDS]: Make code unconditional.
40289 [!__ASSUME_32BITUIDS]: Remove conditional code.
40290 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40291 <kernel-features.h>.
40292 [__ASSUME_32BITUIDS]: Make code unconditional.
40293 [!__ASSUME_32BITUIDS]: Remove conditional code.
40294 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40295 <kernel-features.h>.
40296 [__ASSUME_32BITUIDS]: Make code unconditional.
40297 [!__ASSUME_32BITUIDS]: Remove conditional code.
40298 * sysdeps/unix/sysv/linux/kernel-features.h
40299 (__ASSUME_SETRESUID_SYSCALL): Remove.
40300 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40301 (__ASSUME_32BITUIDS): Likewise.
40302 (__ASSUME_LDT_WORKS): Likewise.
40303 (__ASSUME_O_DIRECTORY): Likewise.
40304 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40305 architecture but not kernel version.
40306 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40307 (__ASSUME_MMAP2_SYSCALL): Likewise.
40308 (__ASSUME_STAT64_SYSCALL): Likewise.
40309 (__ASSUME_IPC64): Likewise.
40310 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40311 <kernel-features.h>.
40312 [__ASSUME_32BITUIDS]: Make code unconditional.
40313 [!__ASSUME_32BITUIDS]: Remove conditional code.
40314 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40315 <kernel-features.h>.
40316 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40317 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40318 132096]: Remove conditional code.
40319 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40320 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40321 <kernel-features.h>.
40322 [__ASSUME_32BITUIDS]: Make code unconditional.
40323 [!__ASSUME_32BITUIDS]: Remove conditional code.
40324 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40325 <kernel-features.h>.
40326 [__ASSUME_32BITUIDS]: Make code unconditional.
40327 [!__ASSUME_32BITUIDS]: Remove conditional code.
40328 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40329 <kernel-features.h>.
40330 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40332 (__setresgid): Do not declare.
40333 [__ASSUME_32BITUIDS]: Make code unconditional.
40334 [!__ASSUME_32BITUIDS]: Remove conditional code.
40335 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40336 <kernel-features.h>.
40337 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40339 (__setresuid): Do not declare.
40340 [__ASSUME_32BITUIDS]: Make code unconditional.
40341 [!__ASSUME_32BITUIDS]: Remove conditional code.
40342 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40343 <kernel-features.h>.
40344 [__ASSUME_32BITUIDS]: Make code unconditional.
40345 [!__ASSUME_32BITUIDS]: Remove conditional code.
40346 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40347 <kernel-features.h>.
40348 [__ASSUME_32BITUIDS]: Make code unconditional.
40349 [!__ASSUME_32BITUIDS]: Remove conditional code.
40351 2012-05-25 Richard Henderson <rth@twiddle.net>
40353 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40354 dl_hwcap to ifunc resolver.
40355 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40357 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40358 dl_hwcap to ifunc resolver.
40359 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40361 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40364 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40365 for |x| <= 2**-26, not 2**-57.
40366 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40369 2012-05-24 Jeff Law <law@redhat.com>
40371 * stdio-common/Makefile (tests): Add bug25.
40372 * stdio-common/bug25.c: New test.
40374 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40377 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40378 multiple of MALLOC_ALIGNMENT in size.
40379 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40381 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40383 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40385 (FILENAME_MAX): Use macro-int-constant.
40386 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40387 (_IOFBF): Use macro-int-constant.
40388 (_IOLBF): Likewise.
40389 (_IONBF): Likewise.
40390 (SEEK_CUR): Likewise.
40391 (SEEK_END): Likewise.
40392 (SEEK_SET): Likewise.
40393 (TMP_MAX): Likewise.
40394 (EOF): Use macro-int-constant. Require < 0.
40395 (NULL): Use macro-constant. Require == 0.
40396 (stdin): Require type to be FILE *.
40397 (stdout): Likewise.
40398 (stderr): Likewise.
40399 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40400 macro-int-constant.
40401 (EXIT_SUCCESS): Likewise.
40402 (NULL): Use macro-constant. Require == 0.
40403 (RAND_MAX): Use macro-int-constant.
40404 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40405 [C99-based standards] (strtof): Require function.
40406 [C99-based standards] (strtold): Likewise.
40407 [C99-based standards] (strtoll): Likewise.
40408 [C99-based standards] (strtoull): Likewise.
40409 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40410 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40411 [ISO || ISO99 || ISO11] (math.h): Likewise.
40412 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40413 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40414 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40416 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40419 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40420 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40421 * intl/dgettext.c (DCGETTEXT): Likewise.
40422 * intl/gettext.c (DCGETTEXT): Likewise.
40423 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40424 * posix/regex_internal.h (gettext): Likewise.
40425 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40426 Remove declaration.
40427 * include/argz.h (__argz_count_internal)
40428 (__argz_stringify_internal): Remove declaration.
40429 (__argz_count, __argz_stringify): Declare hidden proto.
40430 * intl/dcgettext.c: Remove use of INTDEF.
40431 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40432 * string/argz-stringify.c: Likewise.
40433 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40434 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40435 Declare hidden proto.
40436 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40437 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40438 Declare hidden proto.
40439 * include/stdio.h (__asprintf_internal): Don't declare.
40440 (__asprintf): Don't define as macro. Declare hidden proto.
40441 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40442 (__fsetlocking): Declare hidden proto.
40443 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40444 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40446 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40447 (_IO_setlinebuf): Remove use of INTUSE.
40448 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40449 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40450 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40451 Remove declaration.
40452 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40453 (_IO_do_flush): Remove use of INTUSE.
40454 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40455 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40456 (_IO_adjust_column, _IO_least_wmarker)
40457 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40458 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40459 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40460 (_IO_default_doallocate, _IO_wdefault_doallocate)
40461 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40462 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40463 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40464 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40465 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40466 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40467 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40468 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40469 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40470 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40471 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40472 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40473 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40475 (_IO_flush_all_internal, _IO_adjust_column_internal)
40476 (_IO_default_uflow_internal, _IO_default_finish_internal)
40477 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40478 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40479 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40480 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40481 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40482 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40483 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40484 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40485 (_IO_file_close_internal, _IO_file_close_it_internal)
40486 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40487 (_IO_file_init_internal, _IO_file_attach_internal)
40488 (_IO_file_fopen_internal, _IO_file_read_internal)
40489 (_IO_file_sync_internal, _IO_file_seek_internal)
40490 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40491 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40492 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40493 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40494 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40495 (_IO_list_all_internal, _IO_link_in_internal)
40496 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40497 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40498 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40499 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40500 (_IO_do_write_internal, _IO_padn_internal)
40501 (_IO_getline_info_internal, _IO_getline_internal)
40502 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40503 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40504 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40505 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40506 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40507 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40508 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40509 with libc_hidden_ver, remove use of INTUSE.
40510 * libio/genops.c: Likewise.
40511 * libio/freopen.c: Likewise.
40512 * libio/freopen64.c: Likewise.
40513 * libio/iofclose.c: Likewise.
40514 * libio/iofdopen.c: Likewise.
40515 * libio/iofflush.c: Likewise.
40516 * libio/iofflush_u.c: Likewise.
40517 * libio/iofgets.c: Likewise.
40518 * libio/iofgets_u.c: Likewise.
40519 * libio/iofopen.c: Likewise.
40520 * libio/iofopncook.c: Likewise.
40521 * libio/iofread.c: Likewise.
40522 * libio/iofread_u.c: Likewise.
40523 * libio/ioftell.c: Likewise.
40524 * libio/iofwrite.c: Likewise.
40525 * libio/iogetline.c: Likewise.
40526 * libio/iogets.c: Likewise.
40527 * libio/iogetwline.c: Likewise.
40528 * libio/iopadn.c: Likewise.
40529 * libio/iopopen.c: Likewise.
40530 * libio/ioseekoff.c: Likewise.
40531 * libio/ioseekpos.c: Likewise.
40532 * libio/iosetbuffer.c: Likewise.
40533 * libio/iosetvbuf.c: Likewise.
40534 * libio/ioungetc.c: Likewise.
40535 * libio/ioungetwc.c: Likewise.
40536 * libio/iovdprintf.c: Likewise.
40537 * libio/iovsprintf.c: Likewise.
40538 * libio/iovsscanf.c: Likewise.
40539 * libio/memstream.c: Likewise.
40540 * libio/obprintf.c: Likewise.
40541 * libio/oldfileops.c: Likewise.
40542 * libio/oldiofclose.c: Likewise.
40543 * libio/oldiofdopen.c: Likewise.
40544 * libio/oldiofopen.c: Likewise.
40545 * libio/oldiopopen.c: Likewise.
40546 * libio/oldstdfiles.c: Likewise.
40547 * libio/putc.c: Likewise.
40548 * libio/setbuf.c: Likewise.
40549 * libio/setlinebuf.c: Likewise.
40550 * libio/stdfiles.c: Likewise.
40551 * libio/strops.c: Likewise.
40552 * libio/vasprintf.c: Likewise.
40553 * libio/vscanf.c: Likewise.
40554 * libio/vsnprintf.c: Likewise.
40555 * libio/vswprintf.c: Likewise.
40556 * libio/wfiledoalloc.c: Likewise.
40557 * libio/wfileops.c: Likewise.
40558 * libio/wgenops.c: Likewise.
40559 * libio/wmemstream.c: Likewise.
40560 * libio/wstrops.c: Likewise.
40561 * libio/__fpurge.c: Likewise.
40562 * libio/__fsetlocking.c: Likewise.
40563 * assert/assert.c: Likewise.
40564 * debug/fgets_chk.c: Likewise.
40565 * debug/fgets_u_chk.c: Likewise.
40566 * debug/fread_chk.c: Likewise.
40567 * debug/fread_u_chk.c: Likewise.
40568 * debug/gets_chk.c: Likewise.
40569 * debug/obprintf_chk.c: Likewise.
40570 * debug/vasprintf_chk.c: Likewise.
40571 * debug/vdprintf_chk.c: Likewise.
40572 * debug/vsnprintf_chk.c: Likewise.
40573 * debug/vsprintf_chk.c: Likewise.
40574 * malloc/mtrace.c: Likewise.
40575 * misc/error.c: Likewise.
40576 * misc/syslog.c: Likewise.
40577 * stdio-common/asprintf.c: Likewise.
40578 * stdio-common/fxprintf.c: Likewise.
40579 * stdio-common/getw.c: Likewise.
40580 * stdio-common/isoc99_fscanf.c: Likewise.
40581 * stdio-common/isoc99_scanf.c: Likewise.
40582 * stdio-common/isoc99_vfscanf.c: Likewise.
40583 * stdio-common/isoc99_vscanf.c: Likewise.
40584 * stdio-common/isoc99_vsscanf.c: Likewise.
40585 * stdio-common/printf-prs.c: Likewise.
40586 * stdio-common/printf_fp.c: Likewise.
40587 * stdio-common/printf_fphex.c: Likewise.
40588 * stdio-common/printf_size.c: Likewise.
40589 * stdio-common/putw.c: Likewise.
40590 * stdio-common/scanf.c: Likewise.
40591 * stdio-common/sprintf.c: Likewise.
40592 * stdio-common/tmpfile.c: Likewise.
40593 * stdio-common/vfprintf.c: Likewise.
40594 * stdio-common/vfscanf.c: Likewise.
40595 * stdlib/strfmon_l.c: Likewise.
40596 * sunrpc/openchild.c: Likewise.
40597 * sunrpc/xdr_stdio.c: Likewise.
40598 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40599 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40601 2012-05-24 Roland McGrath <roland@hack.frob.com>
40603 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40605 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40606 in the third column, to generate for the shared library an IFUNC
40607 that uses _dl_vdso_vsym.
40608 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40609 * Makeconfig (object-suffixes-noshared): New variable.
40611 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40612 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40613 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40614 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40617 * include/sys/time.h (__gettimeofday): Remove macro.
40618 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40619 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40621 (__gettimeofday): Add libc_hidden_def.
40622 (gettimeofday): Add libc_hidden_weak.
40623 * sysdeps/mach/gettimeofday.c: Likewise.
40624 * sysdeps/posix/gettimeofday.c: Likewise.
40625 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40626 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40627 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40628 (__gettimeofday_internal): Remove strong_alias.
40629 (__gettimeofday): Add libc_hidden_def.
40630 (gettimeofday): Add libc_hidden_weak.
40631 * sysdeps/unix/syscalls.list (gettimeofday):
40632 Remove __gettimeofday_internal alias.
40634 2012-05-24 Daniel Jacobowitz <drow@false.org>
40635 H.J. Lu <hongjiu.lu@intel.com>
40638 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40639 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40640 (largebin_index_32_big): New.
40641 (largebin_index): Use it for 16-byte alignment.
40642 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40643 correction with front_misalign.
40645 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40673 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40674 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40676 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40680 * math/libm-test.inc (exp_test): Add test from bug 14036.
40681 (pow_test): Add test from bug 10846.
40683 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40685 (special_function): Do not include flags in test name.
40686 (parse_args): Likewise.
40687 * sysdeps/i386/fpu/libm-test-ulps: Update.
40688 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40689 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40690 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40693 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40695 * math/libm-test.inc ("Philosophy"): Update comment about
40697 (UNDERFLOW_EXCEPTION): New macro.
40698 (UNDERFLOW_EXCEPTION_OK): Likewise.
40699 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40700 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40701 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40702 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40703 (INVALID_EXCEPTION_OK): Update value.
40704 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40705 (OVERFLOW_EXCEPTION_OK): Likewise.
40706 (IGNORE_ZERO_INF_SIGN): Likewise.
40707 (test_exceptions): Handle underflow exceptions.
40708 (acos_test): Update for underflow exception expectations.
40709 (cexp_test): Likewise.
40710 (clog_test): Likewise.
40711 (clog10_test): Likewise.
40712 (csqrt_test): Likewise.
40713 (ctan_test): Likewise.
40714 (ctanh_test): Likewise.
40715 (exp_test): Likewise.
40716 (exp10_test): Likewise.
40717 (exp2_test): Likewise.
40718 (expm1_test): Likewise.
40719 (fma_test): Likewise.
40720 (j0_test): Likewise.
40721 (jn_test): Likewise.
40722 (nexttoward_test): Likewise.
40723 (pow_test): Likewise.
40724 (scalbn_test): Likewise.
40725 (scalbln_test): Likewise.
40726 (tan_test): Likewise.
40727 (y1_test): Likewise.
40728 * sysdeps/i386/fpu/libm-test-ulps: Update.
40729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40731 2012-05-23 David S. Miller <davem@davemloft.net>
40733 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40734 (__libc_sigaction): Remove unused local variables.
40736 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40738 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40740 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40742 mktime: avoid signed integer overflow
40743 * time/mktime.c (__mktime_internal): Do not mishandle the case
40744 where diff == INT_MIN.
40746 mktime: simplify computation of average
40747 * time/mktime.c (ranged_convert): Use new time_t_avg function
40748 instead of rolling our own (probably-slower) code.
40750 mktime: do not assume signed right shift propagates sign bit
40751 * time/mktime.c (isdst_differ): New static function.
40752 (__mktime_internal): No need to normalize tm_isdst now.
40753 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40756 mktime: merge another wrapv change from gnulib
40757 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40758 from some compilers.
40760 mktime: remove incorrect attempt at unusual arithmetics
40761 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40762 The code didn't really work on such machines anyway.
40763 (TYPE_MINIMUM): Assume two's complement.
40764 (twos_complement_arithmetic): Verify that long_int and time_t
40765 are two's complement (or unsigned, in the latter case).
40767 mktime: check signed shifts on long_int and time_t, too
40768 * time/mktime.c (SHR): Check that shifts work as desired
40769 on the types long_int and time_t too, as SHR is used on
40772 mktime: do not assume 'long' is wide enough
40773 * time/mktime.c (verify): Move decl up.
40774 (long_int): New type.
40775 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40776 to remove assumption in the code that 'long' is wide enough to
40777 store year values. This assumption is not true on x32 and on
40778 some non-glibc platforms.
40780 mktime: merge wrapv change from gnulib
40781 * time/mktime.c (WRAPV): New macro.
40782 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40783 (guess_time_tm, __mktime_internal): Do not assume that signed
40784 integer overflow wraps around; modern compilers generate code
40785 where this assumption is no longer valid.
40787 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40789 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40790 Replace "jmp L(pseudo_end)" with "ret".
40791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40794 2012-05-23 Andreas Jaeger <aj@suse.de>
40796 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40797 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40799 2012-05-23 Andreas Jaeger <aj@suse.de>
40800 Maximilian Attems <max@stro.at>
40802 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40805 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40807 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40808 code so that pseudo_end is just ret and the stack pointer is
40809 correct also for static library in error case.
40811 2012-05-23 Joseph Myers <joseph@codesourcery.com>
40813 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40814 move to syscalls.list.
40815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40820 * manual/install.texi (Running make install): Do not mention Linux
40821 kernel version for which pt_chown is not needed.
40822 (Linux): Do not mention problems with nscd with 2.0 kernels.
40823 * INSTALL: Regenerated.
40825 2012-05-23 Andreas Jaeger <aj@suse.de>
40827 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40828 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40830 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40831 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40832 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40833 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40834 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40835 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40836 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40837 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40838 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40839 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40840 * sysdeps/unix/sysv/linux/bits/in.h
40841 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40843 2012-05-22 Roland McGrath <roland@hack.frob.com>
40845 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40846 (PREPARE_VERSION): Just use assert instead, it will be elided
40847 under [NDEBUG] anyway.
40849 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40851 * sysdeps/unix/sysv/linux/Makefile: Include
40852 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40853 (sysdep_routines): Remove sysctl.
40854 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40855 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40856 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40857 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40858 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40860 2012-05-22 Andreas Jaeger <aj@suse.de>
40862 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40863 that pseudo_end is just ret and the stack pointer is correct also
40864 for static library in error case.
40866 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40869 * nss/nsswitch.c (defconfig_entries): New variable.
40870 (__nss_database_lookup): Don't leak defconfig entries.
40871 (nss_parse_service_list): Don't leak on error paths.
40872 (free_database_entries): New function.
40873 (free_defconfig): New function.
40874 (free_mem): Move common code to free_database_entries.
40876 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40878 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40880 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40882 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40883 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40886 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40887 (INTERNAL_SYSCALL_TYPES): Likewise.
40888 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40889 (LOAD_REGS_TYPES_[1-6]): Likewise.
40890 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40891 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40893 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40895 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40896 copysignl for GLIBC_2_0.
40897 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40898 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40900 logbl for GLIBC_2_0.
40901 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40902 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40904 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40906 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40907 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40909 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40912 * time/mktime.c: Update copyright years.
40914 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40916 mktime: merge comment-quoting-style change from gnulib
40917 * time/mktime.c: Quote 'like this' in comments.
40918 The GNU coding standards suggest that we no longer quote `like this',
40919 as "`" and "'" are typically rendered asymmetrically nowadays.
40920 The typical gnulib style is to quote 'like this' when quoting
40921 code, and "like this" when quoting English.
40923 * time/mktime.c (compile-command): Add "-I.".
40925 mktime: merge mktime-internal.h change from gnulib
40926 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40928 mktime: merge time_r change from gnulib
40929 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40931 mktime: merge DEBUG change from gnulib
40932 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40933 case system <time.h> has a #define.
40935 mktime: merge <sys/types.h> change from gnulib
40936 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40937 since <time.t> is now guaranteed to define time_t.
40939 mktime: merge HAVE_CONFIG_H change from gnulib
40940 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40942 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40947 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40949 (struct rusage): Use anonymous union to pad each field to
40952 2012-05-21 David S. Miller <davem@davemloft.net>
40954 * Makefules (o-iterator): Remove .s cases.
40955 (compile-command.s): Delete.
40956 (COMPILE.s): Delete.
40957 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40959 2012-05-21 Joseph Myers <joseph@codesourcery.com>
40961 * configure.in (libc_cv_predef_stack_protector): Only consider
40962 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40963 * configure: Regenerated.
40965 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40968 New macro. Use R*LP on int and pointer.
40969 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40970 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40971 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40972 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40974 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40975 [__WORDSIZE_TIME64_COMPAT32] instead of
40976 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40977 (struct utmp): Likewise.
40978 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40979 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40981 (__WORDSIZE_TIME64_COMPAT32): This.
40982 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40983 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40984 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40985 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40986 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40987 (__WORDSIZE_TIME64_COMPAT32): New macro.
40989 2012-05-21 Andreas Jaeger <aj@suse.de>
40991 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40992 only if [SHARED]. Add prototype for __wcschr_ia32.
40994 2012-05-21 Roland McGrath <roland@hack.frob.com>
40996 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40997 of %rbp unmolested in the jmp_buf while mangling the low bits.
40998 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40999 unmolested high bits of %rbp while demangling the low bits.
41000 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41002 2012-05-21 Andreas Jaeger <aj@suse.de>
41004 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41005 * sunrpc/svc_simple.c: Use it for registerrpc.
41006 * sunrpc/xcrypt.c: Use it for passwd2des.
41008 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41010 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41012 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41013 Don't define if [__SYSCALL_WORDSIZE != 32].
41014 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41017 2012-05-21 Bruno Haible <bruno@clisp.org>
41018 Andreas Jaeger <aj@suse.de>
41020 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41021 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41022 inptr and inend for must_buffer_ch.
41023 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41024 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41025 * stdio-common/Makefile (tests): Remove bug15.
41026 (bug15-ENV): Remove macro.
41027 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41030 2012-05-19 Andreas Jaeger <aj@suse.de>
41031 Roland McGrath <roland@hack.frob.com>
41033 * manual/contrib.texi: Completely rewritten. It contains now an
41034 alphabetical list of contributors and their contributions.
41036 2012-05-21 Richard Henderson <rth@twiddle.net>
41038 * misc/getauxval.c (__getauxval): Use unsigned long int.
41039 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41040 (getauxval): Use unsigned long int.
41042 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41044 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41046 2012-05-21 Roland McGrath <roland@hack.frob.com>
41048 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41049 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41050 __alignof__ (long double).
41052 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41056 2012-05-20 Richard Henderson <rth@twiddle.net>
41058 * misc/getauxval.c: New file.
41059 * misc/sys/auxv.h: New file.
41060 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41061 (routines): Add getauxval.
41062 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41063 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41064 * elf/dl-sysdep.c (_dl_auxv): Remove.
41065 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41066 * elf/dl-support.c (_dl_auxv): New variable.
41067 (_dl_aux_init): Initialize it.
41068 * manual/startup.texi (Auxiliary Vector): New node.
41069 * sysdeps/generic/bits/hwcap.h: New file.
41070 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41071 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41072 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41073 * sysdeps/sparc/sysdep.h: ... here. Include it.
41074 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41075 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41087 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41091 2012-05-19 David S. Miller <davem@davemloft.net>
41093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41095 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41098 * math/s_ccosh.c: Include <float.h>
41099 (__ccosh): Avoid internal overflow calculating sinh and cosh
41100 values before multiplying by sin and cos values.
41101 * math/s_ccoshf.c: Likewise.
41102 * math/s_ccoshl.c: Likewise.
41103 * math/s_csin.c: Likewise.
41104 * math/s_csinf.c: Likewise.
41105 * math/s_csinl.c: Likewise.
41106 * math/s_csinh.c: Likewise.
41107 * math/s_csinhf.c: Likewise.
41108 * math/s_csinhl.c: Likewise.
41109 * math/libm-test.inc (ccos_test): Add more tests.
41110 (ccosh_test): Likewise.
41111 (csin_test): Likewise.
41112 (csinh_test): Likewise.
41113 * sysdeps/i386/fpu/libm-test-ulps: Update.
41114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41116 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41118 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41119 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41121 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41123 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41125 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41126 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41127 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41128 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41129 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41130 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41131 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41132 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41133 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41134 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41135 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41136 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41137 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41138 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41139 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41140 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41141 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41142 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41143 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41144 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41145 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41146 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41147 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41148 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41149 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41150 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41151 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41152 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41153 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41154 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41155 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41157 2012-05-18 Andreas Jaeger <aj@suse.de>
41159 * csu/.gitignore: Delete.
41161 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41163 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41164 (timex): Use __syscall_slong_t.
41166 2012-05-18 Andreas Jaeger <aj@suse.de>
41167 Carlos O'Donell <carlos_odonell@mentor.com>
41169 * manual/install.texi (Configuring and compiling): Update
41170 description about files modified in the source directory.
41171 * INSTALL: Regenerated.
41173 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41175 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41176 value. Use "or" to set return value to -1.
41177 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41178 negate return value.
41180 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41182 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41183 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41184 failure if the compiler has Graphite support disabled.
41185 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41187 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41188 (CFLAGS-memmove.c): Likewise.
41189 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41192 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41194 * sysdeps/x86_64/x32/_itoa.h: New file.
41196 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41197 getdents system call only if kernel and user dirents have the
41198 same d_ino and d_off.
41200 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41201 LLONG_MAX != LONG_MAX.
41202 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41203 (_fitoa_word): Likewise.
41205 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41207 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41208 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41209 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41211 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41212 include <bits/wordsize.h>. Check __x86_64__ instead of
41214 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41215 if __x86_64__ is defined. Use anonymous union on fpstate.
41217 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41220 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41222 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41223 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41224 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41225 Refer to _rtld_local_ro instead of _rtld_global_ro.
41226 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41228 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41230 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41232 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41233 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41234 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41236 * sysdeps/powerpc/powerpc32/dl-machine.c
41237 (__elf_machine_runtime_setup) [PROF]: Don't reference
41240 2012-05-18 Andreas Jaeger <aj@suse.de>
41242 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41243 function only available for GCCs before 3.4 since GCC 3.4
41244 introduced a builtin.
41246 (llrintf): Likewise.
41247 (llrint): Likewise.
41254 (nearbyint): Likewise.
41255 (nearbyintf): Likewise.
41259 (floorf): Likewise.
41261 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41263 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41264 on both fields and cast pointer to __syscall_ulong_t.
41266 * bits/types.h (__fsword_t): New type.
41267 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41268 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41270 (__FSWORD_T_TYPE): Likewise.
41271 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41272 (__FSWORD_T_TYPE): Likewise.
41273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41274 (__FSWORD_T_TYPE): Likewise.
41275 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41276 (__FSWORD_T_TYPE): Likewise.
41277 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41278 __SWORD_TYPE with __fsword_t.
41279 (statfs64): Likewise.
41281 2012-05-17 David S. Miller <davem@davemloft.net>
41283 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41285 2012-05-17 Andreas Jaeger <aj@suse.de>
41287 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41290 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41292 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41294 2012-05-17 Andreas Jaeger <aj@suse.de>
41296 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41299 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41301 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41303 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41305 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41306 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41308 2012-05-17 Andreas Jaeger <aj@suse.de>
41309 Carlos O'Donell <carlos_odonell@mentor.com>
41312 * sysdeps/x86_64/multiarch/init-arch.h
41313 (bit_YMM_Usable): Rename to...
41314 (bit_AVX_Usable): ... this.
41315 (bit_FMA4_Usable): New macro.
41316 (bit_XMM_state): New macro.
41317 (bit_YMM_state): New macro.
41318 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41319 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41320 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41321 (CPUID_OSXSAVE): New macro.
41322 (CPUID_AVX): New macro.
41323 (CPUID_FMA4): New macro.
41324 (index_YMM_Usable): Rename to...
41325 (index_AVX_Usable): ... this.
41326 (HAS_AVX): Use HAS_ARCH_FEATURE.
41327 (HAS_FMA4): Likewise.
41328 (HAS_YMM_USABLE): Remove.
41329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41330 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41332 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41333 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41334 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41335 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41336 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41338 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41340 * math/libm-test.c: Support platforms without multiple rounding modes.
41341 * math/bug-nextafter.c: Support platforms without FP exceptions.
41342 * math/bug-nexttoward.c: Likewise.
41343 * math/test-fenv.c: Likewise.
41344 * math/test-misc.c: Likewise.
41345 * stdlib/bug-getcontext.c: Likewise.
41347 2012-05-17 Andreas Jaeger <aj@suse.de>
41349 * manual/examples/search.c (critter_cmp): Change signature to
41351 * manual/string.texi (Collation Functions): Likewise.
41353 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41355 * bits/types.h: Fold copyright years.
41356 * bits/typesizes.h: Likewise.
41357 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41358 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41359 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41360 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41361 * time/time.h: Likewise.
41363 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41366 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41367 in instead of returning them. Return void.
41368 (__libc_mallinfo): Accumulate over all arenas.
41369 (__malloc_stats): Adjust for change in int_mallinfo interface.
41371 2012-05-16 Roland McGrath <roland@hack.frob.com>
41374 * configure.in (NM): Add AC_CHECK_TOOL for it.
41375 (libc_extra_cflags): New substituted variable.
41376 Check for -fstack-protector being used implicitly.
41377 * configure: Regenerated.
41378 * config.make.in (config-extra-cflags): New variable,
41379 gets @libc_extra_cflags@.
41380 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41383 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41384 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41385 * configure: Regenerated.
41386 * config.make.in (CPPUNDEFS): New substituted variable.
41387 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41388 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41389 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41391 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41393 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41394 (mq_attr): Use __syscall_slong_t.
41396 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41398 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41399 Check __x86_64__ instead of __WORDSIZE.
41400 (_STAT_VER_LINUX): Likewise.
41401 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41402 __syscall_ulong_t and __syscall_slong_t.
41403 (stat64): Likewise.
41405 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41407 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41409 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41411 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41413 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41415 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41418 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41419 include <bits/wordsize.h>. Check __x86_64__ instead of
41421 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41423 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41425 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41426 include <bits/wordsize.h>. Check __x86_64__ instead of
41428 (user_regs_struct): Use "__extension__ unsigned long long"
41429 instead of "unsigned long" if __x86_64__ is defined.
41430 (user): Likewise. Pad after pointer field if __ILP32__ is
41433 2012-05-16 Joseph Myers <joseph@codesourcery.com>
41435 * configure.in (makeinfo): Require version 4.5 or later. Allow
41437 * configure: Regenerated.
41438 * manual/install.texi (texinfo): Increase version requirement to
41440 * INSTALL: Regenerated.
41442 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41444 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41446 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41448 * sysdeps/x86_64/x32/ffs.c: New file.
41450 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41452 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41453 defined. Use __syscall_ulong_t.
41454 (shminfo): Use __syscall_ulong_t.
41455 (shm_info): Likewise.
41457 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41460 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41462 (msgqnum_t): Use __syscall_ulong_t.
41463 (msglen_t): Likewise.
41464 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41467 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41468 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41470 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41472 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41473 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41475 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41478 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41479 include <bits/wordsize.h>. Check __x86_64__ instead of
41482 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41483 "unsigned long long int" if __x86_64__ is defined.
41484 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41486 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41487 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41488 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41490 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41492 (GET_PC): Cast to uintptr_t first.
41493 (GET_FRAME): Likewise.
41494 (GET_STACK): Likewise.
41496 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41497 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41498 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41499 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41500 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41501 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41502 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41503 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41504 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41505 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41506 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41507 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41508 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41509 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41510 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41511 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41512 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41513 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41514 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41515 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41516 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41517 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41518 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41519 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41520 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41521 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41522 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41523 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41524 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41526 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41528 * Makerules (+depfiles): Also collect depfiles from .oS in
41530 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41531 .oS, $(libnldbl-routines)).
41533 * Makerules (native-compile-mkdep-flags): Define.
41534 * sunrpc/Makefile (extra-objs): Add $(addprefix
41535 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41536 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41537 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41538 calling $(make-target-directory).
41540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41542 * bits/types.h (__snseconds_t): Removed.
41543 * time/time.h (struct timespec): Replace __snseconds_t with
41545 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41546 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41548 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41549 (__SNSECONDS_T_TYPE): Likewise.
41550 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41551 (__SNSECONDS_T_TYPE): Likewise.
41552 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41553 (__SNSECONDS_T_TYPE): Likewise.
41555 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41557 * sysdeps/mach/hurd/bits/typesizes.h
41558 (__SYSCALL_SLONG_TYPE): New macro.
41559 (__SYSCALL_ULONG_TYPE): Likewise.
41561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41563 * bits/types.h (__syscall_slong_t): New type.
41564 (__syscall_ulong_t): Likewise.
41566 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41567 (__SYSCALL_ULONG_TYPE): Likewise.
41568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41569 (__SYSCALL_SLONG_TYPE): Likewise.
41570 (__SYSCALL_ULONG_TYPE): Likewise.
41571 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41572 (__SYSCALL_SLONG_TYPE): Likewise.
41573 (__SYSCALL_ULONG_TYPE): Likewise.
41574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41575 (__SYSCALL_SLONG_TYPE): Likewise.
41576 (__SYSCALL_ULONG_TYPE): Likewise.
41578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41580 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41581 Add sigaltstack-offsets.sym.
41582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41583 <sigaltstack-offsets.h>.
41584 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41585 longjmp_msg pointer.
41586 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41587 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41589 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41591 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41593 * elf/stackguard-macros.h: Remove file.
41594 * sysdeps/generic/stackguard-macros.h: New file.
41595 * sysdeps/i386/stackguard-macros.h: Likewise.
41596 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41597 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41598 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41599 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41600 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41601 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41602 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41603 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41604 <elf/stackguard-macros.h>.
41607 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41608 __aligned__ in attribute.
41609 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41610 (gregset_t): Likewise.
41612 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41614 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41615 * sysdeps/x86_64/64/Implies-after: Here. New file.
41616 * sysdeps/x86_64/x32/Implies-after: New file.
41618 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41620 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41621 and access return value for _dl_profile_fixup. Use R10_LP to
41624 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41626 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41628 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41630 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41631 * sysdeps/x86_64/x32/sysdep.h: New file.
41633 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41635 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41636 * sysdeps/x86_64/setjmp.S: Likewise.
41638 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41640 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41641 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41642 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41643 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41644 remove unused global constant.
41646 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41648 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41649 include of <not-cancel.h>.
41651 2012-05-15 Roland McGrath <roland@hack.frob.com>
41653 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41655 2012-05-15 Jeff Law <law@redhat.com>
41656 Andreas Jaeger <aj@suse.de>
41659 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41661 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41662 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41663 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41664 code changing __hst_map_handle.map.
41666 2012-05-15 Roland McGrath <roland@hack.frob.com>
41668 * configure.in (sysnames): Look for Implies-before and Implies-after
41670 * configure: Regenerated.
41672 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41674 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41675 8-byte data alignment with LP_SIZE alignment.
41677 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41679 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41682 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41684 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41686 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41688 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41689 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41690 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41692 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41694 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41696 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41697 (stackinfo_sub_sp): Likewise.
41699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41701 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41706 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41711 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41716 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41718 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41720 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41721 into R11_LP and load __x86_64_shared_cache_size_half into
41724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41726 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41729 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41731 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41733 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41735 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41737 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41738 powerpc32/power7/fpu/s_logb.c via #include.
41739 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41740 powerpc32/power7/fpu/s_logbf.c via #include.
41741 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41742 powerpc32/power7/fpu/s_logbl.c via #include.
41744 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41746 * README.libm: Remove file.
41748 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41750 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41751 count for x32. Use R*_LP and omit operand-size suffix.
41753 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41755 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41756 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41757 * sysdeps/x86_64/x32/shlib-versions: New file.
41759 2012-05-14 Roland McGrath <roland@hack.frob.com>
41761 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41762 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41763 Use _dl_fatal_printf instead.
41765 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41767 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41768 set if not set by the user. Do not allow for being unset.
41769 * sysdeps/unix/sysv/linux/configure: Regenerated.
41771 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41773 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41774 the `q' suffix from lea and replace .quad with ASM_ADDR.
41776 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41778 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41779 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41781 (PTR_DEMANGLE): Likewise.
41783 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41785 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41787 (ASM_ADDR): Likewise.
41788 (RAX_LP): Likewise.
41789 (RBP_LP): Likewise.
41790 (RBX_LP): Likewise.
41791 (RCX_LP): Likewise.
41792 (RDI_LP): Likewise.
41793 (RSI_LP): Likewise.
41794 (RSP_LP): Likewise.
41797 (R10_LP): Likewise.
41798 (R10_LP): Likewise.
41799 (R11_LP): Likewise.
41800 (R12_LP): Likewise.
41801 (R13_LP): Likewise.
41802 (R14_LP): Likewise.
41803 (R15_LP): Likewise.
41805 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41807 * sysdeps/x86_64/x32/dl-machine.h: New file.
41809 2012-05-14 Andreas Jaeger <aj@suse.de>
41811 * manual/Makefile (subdir): Remove export of subdir.
41812 (all): Remove target.
41813 (.PHONY): Remove all from list.
41814 (mkinstalldirs): Remove.
41815 (.PHONY): Remove installdirs from list.
41816 ($(inst_infodir)/libc.info): Use make-target-directory.
41817 (installdirs): Remove.
41818 (subdir_%): Remove.
41819 (glibc-targets): Remove.
41822 ($(objpfx)stubs ../po/manual.pot): Remove.
41823 ($(objpfx)stamp%): Remove.
41824 (make-target-directory): Remove.
41825 (subdir_install): Remove.
41826 (routines): Remove.
41833 * manual/.gitignore: Remove, it's not needed anymore.
41834 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41836 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41838 (texis): Renamed to $(objpfx)texis.
41839 (texis-path): New, contains path to generated files.
41840 (chapters.%): Use texis-path for complete path, add extra argument
41842 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41843 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41844 (summary,texi, stamp-summary): Use complete path of
41845 files. Generate files in build dir.
41846 (dir-add.texi): Build in build dir.
41847 (libm-err.texi,stamp-libm-err): Likewise.
41848 (version.texi, stamp-version): Likewise.
41849 (.%c.texi): Likewise.
41850 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41851 (mostlyclean): Remove target.
41852 (realclean): Remove target.
41853 (generated): Add new variable with contents from mostlyclean and
41854 realclean, remove entries duplicated in common-mostlyclean, add
41855 stamp-libm-err and stamp-version.
41856 (generated-dirs): Add libc directory.
41857 ($(inst_infodir)/libc.info): Install files from build dir.
41859 * manual/install.texi (Configuring and compiling): Adjust since
41860 the info files are not part of the tar ball anymore.
41862 2012-05-14 Andreas Jaeger <aj@suse.de>
41864 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41867 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41870 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41871 to 2.2.0 where earlier.
41872 * sysdeps/unix/sysv/linux/configure: Regenerated.
41873 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41874 Remove conditional code.
41875 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41876 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41877 Remove conditional code.
41878 [!__NR_lchown]: Likewise.
41879 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41880 [__NR_lchown]: Likewise.
41881 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41882 comment referencing __ASSUME_LCHOWN_SYSCALL.
41883 * sysdeps/unix/sysv/linux/i386/sigaction.c
41884 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41885 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41886 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41887 Remove conditional code.
41888 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41889 (__protocol_available): Remove #if 0 code.
41890 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41892 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41893 * sysdeps/unix/sysv/linux/kernel-features.h
41894 (__ASSUME_GETCWD_SYSCALL): Don't define.
41895 (__ASSUME_REALTIME_SIGNALS): Likewise.
41896 (__ASSUME_PREAD_SYSCALL): Likewise.
41897 (__ASSUME_PWRITE_SYSCALL): Likewise.
41898 (__ASSUME_POLL_SYSCALL): Likewise.
41899 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41900 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41902 (__ASSUME_SIOCGIFNAME): Don't define.
41903 (__ASSUME_MSG_NOSIGNAL): Likewise.
41904 (__ASSUME_SENDFILE): Define unconditionally.
41905 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41906 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41908 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41909 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41910 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41911 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41912 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41913 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41914 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41916 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41919 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41920 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41922 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41923 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41925 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41926 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41928 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41929 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41931 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41932 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41934 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41935 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41937 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41938 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41939 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41940 Remove conditional code.
41941 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41942 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41943 Remove conditional code.
41944 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41945 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41946 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41947 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41948 Remove conditional code.
41949 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41950 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41951 Remove conditional code.
41952 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41953 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41954 Remove conditional code.
41955 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41956 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41957 Remove conditional code.
41958 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41959 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41960 Remove conditional code.
41961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41962 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41963 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41964 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41965 * sysdeps/unix/sysv/linux/sigaction.c
41966 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41967 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41968 * sysdeps/unix/sysv/linux/sigpending.c
41969 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41970 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41971 * sysdeps/unix/sysv/linux/sigprocmask.c
41972 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41973 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41974 * sysdeps/unix/sysv/linux/sigsuspend.c
41975 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41976 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41977 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41978 (__libc_missing_rt_sigs): Remove.
41979 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41980 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41981 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41982 Remove conditional code.
41983 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41984 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41986 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41987 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41988 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41989 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41991 2012-05-14 Andreas Jaeger <aj@suse.de>
41993 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41994 it's not used in glibc.
41995 (__coshm1): Likewise.
41996 (__acosh1p): Likewise.
41999 * manual/string.texi (Copying and Concatenation): Add missing
42000 variable in concat example.
42001 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42003 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42006 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42007 __builtin_clzl with __builtin_clzll.
42009 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42012 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42015 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42017 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42018 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42019 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42020 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42022 2012-05-14 Mike Frysinger <vapier@gentoo.org>
42024 * NEWS: Update ia64 info.
42026 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42028 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42031 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42033 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42034 * sysdeps/unix/syscalls.list (dup3): Likewise.
42035 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42036 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42038 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42040 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42041 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42043 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42045 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42047 (TLS_IE): Use mov/add instead of movq/addq to load thread
42049 (TLS_GD_PREFIX): New.
42052 2012-05-11 David S. Miller <davem@davemloft.net>
42054 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42055 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42056 (_FPU_SETCW): Likewise.
42058 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42060 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42061 is 32-byte aligned.
42063 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42066 * iconvdata/gb18030.c: Update tables.
42067 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42068 characters specially.
42069 (BODY for TO_LOOP): Add encoding of missing ranges.
42071 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42074 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42075 * sysdeps/mach/hurd/dup3.c: Likewise.
42076 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42077 * sysdeps/powerpc/memmove.c:: Likewise.
42079 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42081 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42082 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42084 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42086 * elf/elf.h (R_X86_64_RELATIVE64): New.
42087 (R_X86_64_NUM): Updated.
42088 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42089 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42090 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42091 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42092 tst-quad1pie tst-quad2pie
42093 (modules-names): Add tst-quadmod1 tst-quadmod2.
42094 ($(objpfx)tst-quad1): New dependency.
42095 ($(objpfx)tst-quad2): Likewise.
42096 ($(objpfx)tst-quad1pie): Likewise.
42097 ($(objpfx)tst-quad2pie): Likewise.
42098 * sysdeps/x86_64/tst-quad1.c: New file.
42099 * sysdeps/x86_64/tst-quad1pie.c: New file.
42100 * sysdeps/x86_64/tst-quad2.c: Likewise.
42101 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42102 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42103 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42104 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42105 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42107 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42109 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42110 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42111 * streams/stropts.h (t_scalar_t): Define type.
42113 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42114 (_PATH_PRESERVE): Set to "/var/lib".
42115 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42117 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42120 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42121 if __dir_mkfile succeeded.
42123 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42124 checking for _hurd_dtablesize. Unlock it right after having
42125 finished _hurd_dtable allocation.
42127 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42129 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42130 * sysdeps/mach/hurd/configure: Regenerated.
42131 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42132 special-casing to...
42133 * sysdeps/gnu/configure.in: ... this new file.
42134 * sysdeps/unix/sysv/linux/configure: Regenerated.
42135 * sysdeps/gnu/configure: New generated file.
42137 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42138 for Linux: use nsec instead of usec, as well as:
42139 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42140 members of type struct timespec.
42141 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42143 (struct stat64): Likewise.
42144 (_STATBUF_ST_NSEC): New macro.
42145 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42147 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42148 __strtoul_internal rather than strtoul.
42150 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42152 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42155 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42157 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42158 which preserves existing values.
42159 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42161 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42163 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42164 TIMEOUT values. Return EINVAL for NFDS values either negative or
42165 greater than FD_SETSIZE.
42167 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42169 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42170 allocated, call __vm_protect to finish enabling the existing space, and
42171 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42172 allocate the remainder.
42174 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42176 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42177 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42179 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42181 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42182 sysdeps/mach/hurd/readlink.c.
42184 * posix/tst-sysconf.c (posix_options): Only use
42185 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42186 _POSIX_SYNCHRONIZED_IO when they are defined
42187 * sysdeps/mach/hurd/bits/posix_opt.h:
42188 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42189 (_XOPEN_REALTIME): Undefine macro.
42190 (_XOPEN_REALTIME_THREADS): Undefine macro.
42191 (_XOPEN_SHM): Undefine macro.
42192 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42194 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42196 (_POSIX_ASYNC_IO): Undefine macro.
42197 (_POSIX_PRIORITIZED_IO): Undefine macro.
42198 (_POSIX_SPIN_LOCKS): Define macro to -1.
42200 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42201 SA_NODEFER, SA_RESETHAND.
42202 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42203 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42206 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42208 * elf/Makefile (pldd-modules): Define unconditionally.
42210 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42212 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42214 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42216 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42217 Return ENOENT when name is empty.
42218 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42220 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42222 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42224 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42226 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42228 Fix mlock in all cases except non-readable pages.
42229 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42230 instead of VM_PROT_ALL as parameter to __vm_wire function.
42232 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42233 (__mkdir): When path is `/', just fail with EEXIST.
42234 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42236 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42238 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42239 <sys/uio.h> (for writev).
42240 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42241 and <sys/param.h> (for MIN).
42243 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42245 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42246 REQUESTED_TIME. Properly set the remaining time and return EINTR
42249 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42251 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42252 Depend on against $(link-rpcuserlibs).
42254 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42256 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42257 (__libc_stack_end): Do not use attribute_relro.
42258 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42259 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42260 to libthread-provided value.
42261 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42264 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42267 * bits/libc-lock.h (__libc_once_get): New macro.
42268 * sysdeps/mach/bits/libc-lock.h: Likewise.
42269 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42270 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42271 instead of using implementation details.
42273 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42274 * libio/freopen.c: Likewise.
42275 * libio/freopen64.c: Likewise.
42276 * misc/syslog.c: Likewise.
42277 * nscd/connections.c: Likewise.
42278 * nscd/netgroupcache.c: Likewise.
42279 * sysdeps/posix/getcwd.c: Likewise.
42281 2012-05-10 Roland McGrath <roland@hack.frob.com>
42283 * math/w_ilogbf.c: Add #include <limits.h>.
42285 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42287 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42288 path instead of returning without unlocking.
42290 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42291 immediate-write ioctls.
42292 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42294 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42296 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42297 __builtin_frame_address instead of making assumptions about the
42298 location of the return address relative to DATA. Force early load of
42299 the return address.
42300 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42301 __builtin_frame_address.
42304 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42305 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42306 implement dup3 and do some further code clean-ups.
42307 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42308 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42310 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42312 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42314 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42315 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42316 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42317 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42318 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42321 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42322 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42323 when handler == SIG_ERR, not when handler != SIG_ERR.
42325 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42327 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42328 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42331 accept4 for GNU Hurd.
42332 * include/sys/socket.h (__libc_accept4): New prototype.
42333 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42334 to implement __libc_accept4.
42335 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42337 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42339 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42340 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42341 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42342 signal-defines.sym.
42344 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42346 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42348 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42350 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42351 assertion on O_CLOEXEC flag.
42352 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42353 * hurd/intern-fd.c: Likewise.
42354 * hurd/port2fd.c: Likewise.
42356 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42359 * bits/in.h (IPV6_PKTINFO): Define new macro.
42360 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42362 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42367 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42368 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42369 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42370 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42371 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42372 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42373 * math/libm-test.inc (logb_test) : Additional logb tests.
42375 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42376 Andreas Jaeger <aj@suse.de>
42378 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42379 * configure: Regenerated.
42380 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42381 * config.make.in (link-obsolete-rpc): New substituted variable.
42382 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42383 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42384 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42385 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42386 so that libc.a contains the symbols.
42387 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42388 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42389 * sunrpc/auth_none.c: Likewise.
42390 * sunrpc/auth_unix.c: Likewise.
42391 * sunrpc/authdes_prot.c: Likewise.
42392 * sunrpc/authuxprot.c: Likewise.
42393 * sunrpc/clnt_gen.c: Likewise.
42394 * sunrpc/clnt_perr.c: Likewise.
42395 * sunrpc/clnt_raw.c: Likewise.
42396 * sunrpc/clnt_simp.c: Likewise.
42397 * sunrpc/clnt_tcp.c: Likewise.
42398 * sunrpc/clnt_udp.c: Likewise.
42399 * sunrpc/clnt_unix.c: Likewise.
42400 * sunrpc/des_crypt.c: Likewise.
42401 * sunrpc/des_soft.c: Likewise.
42402 * sunrpc/get_myaddr.c: Likewise.
42403 * sunrpc/key_call.c: Likewise.
42404 * sunrpc/key_prot.c: Likewise.
42405 * sunrpc/netname.c: Likewise.
42406 * sunrpc/pm_getmaps.c: Likewise.
42407 * sunrpc/pm_getport.c: Likewise.
42408 * sunrpc/pmap_clnt.c: Likewise.
42409 * sunrpc/pmap_prot.c: Likewise.
42410 * sunrpc/pmap_prot2.c: Likewise.
42411 * sunrpc/pmap_rmt.c: Likewise.
42412 * sunrpc/publickey.c: Likewise.
42413 * sunrpc/rpc_cmsg.c: Likewise.
42414 * sunrpc/rpc_common.c: Likewise.
42415 * sunrpc/rpc_dtable.c: Likewise.
42416 * sunrpc/rpc_prot.c: Likewise.
42417 * sunrpc/rpc_thread.c: Likewise.
42418 * sunrpc/rtime.c: Likewise.
42419 * sunrpc/svc.c: Likewise.
42420 * sunrpc/svc_auth.c: Likewise.
42421 * sunrpc/svc_raw.c: Likewise.
42422 * sunrpc/svc_run.c: Likewise.
42423 * sunrpc/svc_tcp.c: Likewise.
42424 * sunrpc/svc_udp.c: Likewise.
42425 * sunrpc/svc_unix.c: Likewise.
42426 * sunrpc/svcauth_des.c: Likewise.
42427 * sunrpc/xcrypt.c: Likewise.
42428 * sunrpc/xdr.c: Likewise.
42429 * sunrpc/xdr_array.c: Likewise.
42430 * sunrpc/xdr_float.c: Likewise.
42431 * sunrpc/xdr_intXX_t.c: Likewise.
42432 * sunrpc/xdr_mem.c: Likewise.
42433 * sunrpc/xdr_rec.c: Likewise.
42434 * sunrpc/xdr_ref.c: Likewise.
42435 * sunrpc/xdr_sizeof.c: Likewise.
42436 * sunrpc/xdr_stdio.c: Likewise.
42438 2012-05-10 Roland McGrath <roland@hack.frob.com>
42440 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42441 change. Update copyright years.
42443 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42445 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42447 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42448 Joseph Myers <joseph@codesourcery.com>
42449 Paul Pluzhnikov <ppluzhnikov@google.com>
42452 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42454 [cross-compiling] (extra-libs): Likewise.
42455 [cross-compiling] (extra-libs-others): Likewise.
42456 [cross-compiling] (librpcsvc-routines): Likewise.
42457 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42458 [cross-compiling] (omit-deps): Likewise.
42459 (sunrpc-CPPFLAGS): New variable.
42460 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42461 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42462 (cross-rpcgen-objs): New variable.
42463 (extra-objs): Append $(cross-rpcgen-objs).
42464 ($(cross-rpcgen-objs)): New rule.
42465 ($(objpfx)cross-rpcgen): Likewise.
42466 (rpcgen-cmd): Define to use $(built-program-file). Expand
42468 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42469 ($(objpfx)x%.stmp): Likewise.
42470 * sunrpc/proto.h [IS_IN_build] (_): Define.
42471 [IS_IN_build] (_libc_intl_domainname): Likewise.
42473 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42476 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42477 and R_X86_64_TPOFF64.
42479 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42481 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42482 sysdeps/unix/sysv/syscalls.list.
42485 * sysdeps/unix/sysv/syscalls.list: Remove file.
42487 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42490 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42491 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42492 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42493 (__LC_IDENTIFICATION): Make these macros useful in #if
42494 expressions, as required by C99.
42496 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42498 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42499 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42502 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42504 * stdlib/longlong.h: Updated from GCC.
42506 2012-05-09 Andreas Jaeger <aj@suse.de>
42508 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42509 default is first entry.
42510 (run_mode): Set type.
42511 (main): Remove informal message about syslog.
42512 (options): Fix typo.
42515 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42518 (llrintf): Likewise.
42519 (llrint): Likewise.
42522 (nearbyint): Likewise.
42523 (nearbyintf): Likewise.
42525 2012-05-09 Andreas Jaeger <aj@suse.de>
42526 Pedro Alves <palves@redhat.com>
42528 * nscd/nscd.c (run_mode): Use enum.
42529 (main): Cleanup coding style issue.
42531 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
42532 Andreas Jaeger <aj@suse.de>
42534 * nscd/nscd.c (go_background): Replaced with...
42535 (run_mode): ... this.
42536 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42537 (options): Add -F --foreground.
42538 (main): Implement it.
42539 (parse_opt): Parse it.
42541 2012-05-09 Andreas Jaeger <aj@suse.de>
42544 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42545 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42546 -Wconversion warning.
42547 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42550 2012-05-09 Joseph Myers <joseph@codesourcery.com>
42552 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42554 (LC_ALL): Use macro-int-constant.
42555 (LC_COLLATE): Likewise.
42556 (LC_CTYPE): Likewise.
42557 (LC_MESSAGES): Likewise.
42558 (LC_MONETARY): Likewise.
42559 (LC_NUMERIC): Likewise.
42560 (LC_TIME): Likewise.
42561 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42562 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42564 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42566 [C99-based standards] (float_t): Expect type.
42567 [C99-based standards] (double_t): Expect type.
42568 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42570 [C99-based standards] (HUGE_VALL): Likewise.
42571 [C99-based standards] (INFINITY): Likewise.
42572 [C99-based standards] (NAN): Likewise.
42573 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42574 [C99-based standards] (FP_NAN): Likewise.
42575 [C99-based standards] (FP_NORMAL): Likewise.
42576 [C99-based standards] (FP_SUBNORMAL): Likewise.
42577 [C99-based standards] (FP_ZERO): Likewise.
42578 [C99-based standards] (FP_FAST_FMA): Use
42579 optional-macro-int-constant. Specify type. Require == 1.
42580 [C99-based standards] (FP_FAST_FMAF): Likewise.
42581 [C99-based standards] (FP_FAST_FMAL): Likewise.
42582 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42583 [C99-based standards] (FP_ILOGBNAN): Likewise.
42584 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42586 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42587 [C99-based standards] (math_errhandling): Specify type.
42588 [ISO99 || ISO11] (signgam): Do not allow.
42589 [non-C99-based standards] (copysignf): Do not allow.
42590 [non-C99-based standards] (exp2f): Likewise.
42591 [non-C99-based standards] (log2f): Likewise.
42592 [non-C99-based standards] (modff): Allow.
42593 [non-C99-based standards] (erff): Do not allow.
42594 [non-C99-based standards] (erfcf): Likewise.
42595 [non-C99-based standards] (gammaf): Likewise.
42596 [non-C99-based standards] (hypotf): Likewise.
42597 [non-C99-based standards] (j0f): Likewise.
42598 [non-C99-based standards] (j1f): Likewise.
42599 [non-C99-based standards] (jnf): Likewise.
42600 [non-C99-based standards] (lgammaf): Likewise.
42601 [non-C99-based standards] (tgammaf): Likewise.
42602 [non-C99-based standards] (y0f): Likewise.
42603 [non-C99-based standards] (y1f): Likewise.
42604 [non-C99-based standards] (ynf): Likewise.
42605 [non-C99-based standards] (isnanf): Likewise.
42606 [non-C99-based standards] (acoshf): Likewise.
42607 [non-C99-based standards] (asinhf): Likewise.
42608 [non-C99-based standards] (atanhf): Likewise.
42609 [non-C99-based standards] (cbrtf): Likewise.
42610 [non-C99-based standards] (expm1f): Likewise.
42611 [non-C99-based standards] (ilogbf): Likewise.
42612 [non-C99-based standards] (log1pf): Likewise.
42613 [non-C99-based standards] (logbf): Likewise.
42614 [non-C99-based standards] (nextafterf): Likewise.
42615 [non-C99-based standards] (remainderf): Likewise.
42616 [non-C99-based standards] (rintf): Likewise.
42617 [non-C99-based standards] (scalbf): Likewise.
42618 [non-C99-based standards] (copysignl): Likewise.
42619 [non-C99-based standards] (exp2l): Likewise.
42620 [non-C99-based standards] (log2l): Likewise.
42621 [non-C99-based standards] (modfl): Allow.
42622 [non-C99-based standards] (erfl): Do not allow.
42623 [non-C99-based standards] (erfcl): Likewise.
42624 [non-C99-based standards] (gammal): Likewise.
42625 [non-C99-based standards] (hypotl): Likewise.
42626 [non-C99-based standards] (j0l): Likewise.
42627 [non-C99-based standards] (j1l): Likewise.
42628 [non-C99-based standards] (jnl): Likewise.
42629 [non-C99-based standards] (lgammal): Likewise.
42630 [non-C99-based standards] (tgammal): Likewise.
42631 [non-C99-based standards] (y0l): Likewise.
42632 [non-C99-based standards] (y1l): Likewise.
42633 [non-C99-based standards] (ynl): Likewise.
42634 [non-C99-based standards] (isnanl): Likewise.
42635 [non-C99-based standards] (acoshl): Likewise.
42636 [non-C99-based standards] (asinhl): Likewise.
42637 [non-C99-based standards] (atanhl): Likewise.
42638 [non-C99-based standards] (cbrtl): Likewise.
42639 [non-C99-based standards] (expm1l): Likewise.
42640 [non-C99-based standards] (ilogbl): Likewise.
42641 [non-C99-based standards] (log1pl): Likewise.
42642 [non-C99-based standards] (logbl): Likewise.
42643 [non-C99-based standards] (nextafterl): Likewise.
42644 [non-C99-based standards] (remainderl): Likewise.
42645 [non-C99-based standards] (rintl): Likewise.
42646 [non-C99-based standards] (scalbl): Likewise.
42647 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42648 [non-C99-based standards] (FP_*): Do not allow.
42649 [C99-based standards] (FP_*): Change to
42650 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42651 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42653 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42654 (SIG_ERR): Likewise.
42655 [X/Open-based standards] (SIG_HOLD): Likewise.
42656 (SIG_IGN): Likewise.
42657 (SIGABRT): Use macro-int-constant. Specify type. Require
42659 (SIGFPE): Likewise.
42660 (SIGILL): Likewise.
42661 (SIGINT): Likewise.
42662 (SIGSEGV): Likewise.
42663 (SIGTER): Likewise.
42664 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42665 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42666 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42667 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42668 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42669 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42670 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42671 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42672 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42673 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42674 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42675 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42676 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42677 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42678 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42679 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42680 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42681 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42682 [X/Open-based standards] (SIGTRAP): Likewise.
42683 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42684 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42685 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42686 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42687 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42690 2012-05-08 Ian Wienand <ianw@vmware.com>
42693 * time/tzset.c (__tzset_parse_tz): Update default rules for
42694 daylight time changes in the Energy Policy Act of 2005.
42696 2012-05-09 Andreas Jaeger <aj@suse.de>
42699 * elf/ldconfig.c (parse_conf): Change string to make clear that
42700 ldconfig only issued a warning if ld.so.conf does not exist.
42702 2012-05-08 David S. Miller <davem@davemloft.net>
42704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42705 movxtod instead of popping the value on the stack.
42707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42709 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42711 * config.h.in: Add HAVE_ARM_PCS_VFP.
42713 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
42716 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42717 checking but the checks are disabled for any reason.
42719 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42721 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42722 and ELF64_R_TYPE with ELFW(R_TYPE).
42724 2012-05-08 Joseph Myers <joseph@codesourcery.com>
42726 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42727 (ulimit): Likewise.
42729 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42730 (settimeofday): Likewise.
42732 2012-05-08 Mike Frysinger <vapier@gentoo.org>
42734 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42735 a struct th_u2 inside the union, and move tu_block/tu_code into
42736 a new th_u3 union of tu_block/tu_code inside of that. Move
42737 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42738 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42739 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42740 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42741 (th_stuff): Change to th_u1.tu_stuff.
42743 (th_msg): Change to th_u1.th_u2.tu_data.
42745 2012-05-07 David S. Miller <davem@davemloft.net>
42747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42750 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42751 (SETUP_PIC_REG): Use it.
42752 (SETUP_PIC_REG_LEAF): Use it.
42754 2012-05-07 Joseph Myers <joseph@codesourcery.com>
42758 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42760 (EXPL_FINITE): Likewise.
42761 (FLDLOG): Likewise.
42762 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42763 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42765 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42767 (EXPL_FINITE): Likewise.
42768 (FLDLOG): Likewise.
42769 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42770 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42772 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42773 test of -max_value argument for long double.
42774 * sysdeps/i386/fpu/libm-test-ulps: Update.
42775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42777 2012-05-06 David S. Miller <davem@davemloft.net>
42779 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42780 quad soft-float symbols whose references which are compiler
42782 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42784 2012-05-06 Joseph Myers <joseph@codesourcery.com>
42788 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42790 (EXPL_FINITE): Likewise.
42791 (FLDLOG): Likewise.
42794 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42795 Adjust comments for base varying.
42796 (__expl_finite): Change alias to EXPL_FINITE.
42797 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42799 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42800 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42801 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42802 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42803 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42805 (EXPL_FINITE): Likewise.
42806 (FLDLOG): Likewise.
42809 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42810 Adjust comments for base varying.
42811 (__expl_finite): Change alias to EXPL_FINITE.
42812 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42817 * math/libm-test.inc (check_float_internal): Correct ulp
42818 calculation for subnormal expected results.
42820 2012-05-06 Andreas Jaeger <aj@suse.de>
42822 * Makeconfig (+math-flags): New, set to -frounding-math.
42823 (+cflags): Add +math-flags so that all of glibc gets compiled with
42826 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42828 2012-05-05 Joseph Myers <joseph@codesourcery.com>
42830 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42836 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42837 (__ieee754_expl): Allow for and saturate large arguments.
42838 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42839 (u_threshold): Likewise.
42840 (__exp): Call __ieee754_exp before checking for overflow and
42842 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42843 (u_threshold): Likewise.
42844 (__expf): Call __ieee754_expf before checking for overflow and
42846 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42847 (u_threshold): Likewise.
42848 (__expl): Call __ieee754_expl before checking for overflow and
42850 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42851 (__ieee754_expl): Allow for and saturate large arguments.
42852 * math/libm-test.inc (exp_test): Add another test. Do not allow
42853 missing overflow exception on overflow.
42854 (expm1_test): Do not allow missing overflow exception on overflow.
42856 * sysdeps/i386/fpu/e_expl.c: Move to ...
42857 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42858 rather than using inline asm.
42859 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42860 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42861 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42863 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42866 (signal): Likewise.
42870 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42872 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42873 sysdeps/unix/common/syscalls.list.
42874 (fchmod): Likewise.
42875 (fchown): Likewise.
42876 (ftruncate): Likewise.
42877 (getrusage): Likewise.
42878 (gettimeofday): Likewise.
42879 (setpgid): Likewise.
42880 (setregid): Likewise.
42881 (setreuid): Likewise.
42882 (sigaction): Likewise.
42883 (truncate): Likewise.
42884 (vhangup): Likewise.
42885 * sysdeps/unix/common/syscalls.list: Remove file.
42886 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42887 * sysdeps/unix/sysv/linux/Implies: Likewise.
42889 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42891 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42893 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42897 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42900 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42903 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42906 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42909 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42912 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42915 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42919 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42923 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42926 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42930 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42934 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42936 * sysdeps/unix/common/bits/dirent.h: Remove file.
42937 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42939 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42940 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42941 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42942 * sysdeps/unix/bsd/isatty.c: Likewise.
42943 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42944 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42945 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42947 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42950 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42951 long double comparison inaccuracies.
42952 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42955 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42957 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42958 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42960 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42963 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42964 nonzero digits before rounding a hex value.
42965 * stdlib/tst-strtod.c (tests): Add another test.
42967 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42969 * sysdeps/s390/fpu/libm-test-ulps: Update.
42971 2012-05-03 Andreas Jaeger <aj@suse.de>
42973 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42974 does not get optimized out.
42975 (malloc_opt_barrier): New.
42977 2012-05-03 Andreas Jaeger <aj@suse.de>
42978 Roland McGrath <roland@hack.frob.com>
42980 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42981 intermediate file deletion.
42982 (generated): Add .symlist files.
42984 2012-05-03 Joseph Myers <joseph@codesourcery.com>
42987 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42988 Redirect under this condition.
42989 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42990 [__USE_GNU] (__dprintf_chk): Not under this condition.
42991 [__USE_GNU] (__vdprintf_chk): Likewise.
42992 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42993 under this condition.
42994 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42995 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42996 [__USE_XOPEN2K8] (vdprintf): Likewise.
42997 [__USE_GNU] (__dprintf_chk): Not under this condition.
42998 [__USE_GNU] (__vdprintf_chk): Likewise.
42999 [__USE_GNU] (dprintf): Likewise.
43000 [__USE_GNU] (vdprintf): Likewise.
43002 2012-05-03 Roland McGrath <roland@hack.frob.com>
43004 * elf/Makefile (common-generated): Set this instead of generated for
43005 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43006 $(all-built-dso)-derived lists.
43008 2012-05-03 Andreas Jaeger <aj@suse.de>
43010 * sysdeps/i386/fpu/libm-test-ulps: Update.
43013 * FAQ.in: Likewise.
43014 * scripts/gen-FAQ.pl: Likewise.
43015 * manual/install.texi (Installation): Point to online location of
43017 * Makefile (files-for-dist): Remove FAQ.
43020 2012-05-02 Allan McRae <allan@archlinux.org>
43022 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43023 (LDFLAGS-reldepmod5.so): Likewise.
43024 (LDFLAGS-reldep6mod1.so): Likewise.
43025 (LDFLAGS-reldep6mod4.so): Likewise.
43026 (LDFLAGS-reldep8mod3.so): Likewise.
43027 (LDFLAGS-unload4mod1.so): Likewise.
43028 (LDFLAGS-unload4mod2.so): Likewise.
43029 (LDFLAGS-tst-initorder): Likewise.
43030 (LDFLAGS-tst-initordera2.so): Likewise.
43031 (LDFLAGS-tst-initordera3.so): Likewise.
43032 (LDFLAGS-tst-initordera4.so): Likewise.
43033 (LDFLAGS-tst-initorderb2.so): Likewise.
43034 (LDFLAGS-noload): Likewise.
43035 (LDFLAGS-next): Likewise.
43036 (LDFLAGS-order2mod1.so): Likewise.
43037 (LDFLAGS-order2mod2.so): Likewise.
43038 (LDFLAGS-tst-initorder2): Likewise.
43039 (LDFLAGS-tst-initorder2a.so): Likewise.
43040 (LDFLAGS-tst-initorder2b.so): Likewise.
43041 (LDFLAGS-tst-initorder2c.so): Likewise.
43042 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43044 2012-05-02 David S. Miller <davem@davemloft.net>
43046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43048 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43051 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43053 2012-05-02 Andreas Jaeger <aj@suse.de>
43055 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43056 since we manipulate rounding mode.
43057 (CPPFLAGS-test-idouble.c): Likewise.
43058 (CPPFLAGS-test-ifloat.c): Likewise.
43059 (CFLAGS-test-ldouble.c): Likewise.
43060 (CFLAGS-test-double.c): Likewise.
43061 (CFLAGS-test-float.c): Likewise.
43062 (CFLAGS-test-misc.c): Likewise.
43063 (CFLAGS-test-test-fenv.c): Likewise.
43065 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43069 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43070 comparisons to determine direction to adjust input.
43072 2012-05-01 Roland McGrath <roland@hack.frob.com>
43074 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43075 output to the target.
43077 * scripts/localplt.awk: New file.
43078 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43079 (check-localplt-CFLAGS): Variable removed.
43080 ($(all-built-dso:=.jmprel)): New static pattern rule.
43081 (generated): Add those targets.
43082 (localplt-built-dso): New variable.
43083 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43085 * elf/check-localplt.c: File removed.
43087 * scripts/check-execstack.awk: New file.
43088 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43089 (check-execstack-CFLAGS): Variable removed.
43090 ($(objpfx)check-execstack.h): Target removed.
43091 ($(objpfx)execstack-default): New target.
43092 (generated): Add that instead of check-execstack.h.
43093 ($(all-built-dso:=.phdr)): New static pattern rule.
43094 (generated): Add those targets.
43095 * elf/check-execstack.c: File removed.
43097 * scripts/check-textrel.awk: New file.
43098 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43099 (check-textrel-CFLAGS): Variable removed.
43100 (all-built-dso): Use := to define.o
43101 ($(all-built-dso:=.dyn)): New static pattern rule.
43102 (generated): Add those targets.
43103 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43104 * config.make.in (READELF): New substituted variable.
43105 * elf/check-textrel.c: File removed.
43107 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43109 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43111 * conform/data/ctype.h-data [C99-based standards] (isblank):
43113 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43114 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43115 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43116 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43117 Specify type. Require positive value.
43118 (EILSEQ): Likewise.
43119 (ERANGE): Likewise.
43120 [ISO || POSIX] (EILSEQ): Do not expect.
43121 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43122 Specify type. Require positive value.
43123 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43124 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43125 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43126 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43127 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43128 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43129 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43130 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43131 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43132 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43133 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43134 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43135 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43136 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43137 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43138 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43139 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43140 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43141 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43142 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43143 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43144 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43145 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43146 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43147 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43148 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43149 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43150 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43151 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43152 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43153 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43154 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43155 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43156 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43157 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43158 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43159 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43160 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43161 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43162 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43163 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43164 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43165 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43166 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43167 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43168 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43169 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43170 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43171 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43172 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43173 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43174 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43175 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43176 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43177 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43178 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43179 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43180 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43181 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43182 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43183 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43184 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43185 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43186 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43187 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43188 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43189 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43190 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43191 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43192 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43193 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43194 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43195 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43196 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43197 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43198 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43199 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43201 (FLT_ROUNDS): Expect as macro, not constant.
43202 (FLT_MANT_DIG): Use macro-int-constant.
43203 (DBL_MANT_DIG): Likewise.
43204 (LDBL_MANT_DIG): Likewise.
43205 (FLT_DIG): Likewise.
43206 (DBL_DIG): Likewise.
43207 (LDBL_DIG): Likewise.
43208 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43209 (DBL_MIN_EXP): Likewise.
43210 (LDBL_MIN_EXP): Likewise.
43211 (FLT_MAX_EXP): Use macro-int-constant.
43212 (DBL_MAX_EXP): Likewise.
43213 (LDBL_MAX_EXP): Likewise.
43214 (FLT_MAX_10_EXP): Likewise.
43215 (DBL_MAX_10_EXP): Likewise.
43216 (LDBL_MAX_10_EXP): Likewise.
43217 (FLT_MAX): Use macro-constant.
43218 (DBL_MAX): Likewise.
43219 (LDBL_MAX): Likewise.
43220 (FLT_EPSILON): Use macro-constant. Give upper bound.
43221 (DBL_EPSILON): Likewise.
43222 (LDBL_EPSILON): Likewise.
43223 (FLT_MIN): Likewise.
43224 (DBL_MIN): Likewise.
43225 (LDBL_MIN): Likewise.
43226 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43227 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43228 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43229 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43230 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43231 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43232 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43233 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43234 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43235 [ISO11] (FLT_TRUE_MIN): Likewise.
43236 [ISO11] (LDBL_TRUE_MIN): Likewise.
43237 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43238 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43239 (SCHAR_MIN): Use macro-int-constant. Specify type.
43240 (SCHAR_MAX): Likewise.
43241 (UCHAR_MAX): Likewise.
43242 (CHAR_MIN): Likewise.
43243 (CHAR_MAX): Likewise.
43244 (MB_LEN_MAX): Use macro-int-constant.
43245 (SHRT_MIN): Use macro-int-constant. Specify type.
43246 (SHRT_MAX): Likewise.
43247 (USHRT_MAX): Likewise.
43248 (INT_MAX): Likewise.
43249 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43251 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43253 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43255 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43256 bound negative. Suffix upper bound with "L".
43257 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43259 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43261 [C99-based standards] (LLONG_MAX): Likewise.
43262 [C99-based standards] (ULLONG_MAX): Likewise.
43263 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43265 [ISO11] (max_align_t): Require type.
43266 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43268 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43269 from $CFLAGS, without defining away __attribute__ calls.
43270 (checknamespace): Use $CFLAGS_namespace.
43272 * conform/conformtest.pl (@keywords): Only include C99 keywords
43273 for standards based on C99 or C11.
43275 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43277 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43280 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43281 usability of symbols in #if.
43283 * conform/conformtest.pl: If macro or constant types start
43284 "promoted:", expect the symbol to be of the following type
43285 promoted by the integer promotions.
43287 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43288 in one place. Also handle "macro-constant".
43290 * conform/conformtest.pl: Only accept expected macro values with
43291 "==". Parse all "macro" lines in one place.
43292 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43294 * conform/conformtest.pl: Handle braced types on "constant" lines
43295 instead of handling "typed-constant".
43296 * conform/data/signal.h-data: Use "constant" instead of
43299 * conform/conformtest.pl: Handle "optional-" at start of lines in
43300 one place rather than duplicating several cases. Handle each
43301 format of "macro" line with initial "optional-".
43303 * conform/conformtest.pl: Only accept expected constant or
43304 optional-constant values with "==". Parse all "constant" lines in
43305 one place. Parse all "optional-constant" lines in one place.
43306 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43307 * conform/data/fmtmsg.h-data: Likewise.
43308 * conform/data/netinet/in.h-data: Likewise.
43309 * conform/data/tar.h-data: Likewise.
43310 * conform/data/limits.h-data: Use "==" form on "constant" and
43311 "optional-constant" lines.
43313 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43314 Use -std=c99 for XOPEN2K.
43315 (@knownproblems): Remove.
43316 (newtoken): Don't check %isknown.
43318 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43319 Do not expect macro.
43320 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43321 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43322 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43323 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43324 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43325 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43326 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43327 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43328 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43329 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43330 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43331 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43332 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43333 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43334 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43335 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43336 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43337 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43338 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43339 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43340 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43341 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43342 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43343 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43344 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43345 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43346 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43347 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43348 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43349 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43350 [XPG3] (acosh): Likewise.
43351 [XPG3] (asinh): Likewise.
43352 [XPG3] (atanh): Likewise.
43353 [XPG3] (cbrt): Likewise.
43354 [XPG3] (expm1): Likewise.
43355 [XPG3] (ilogb): Likewise.
43356 [XPG3] (log1p): Likewise.
43357 [XPG3] (logb): Likewise.
43358 [XPG3] (nextafter): Likewise.
43359 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43360 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43361 [XPG3] (remainder): Likewise.
43362 [XPG3] (rint): Likewise.
43363 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43364 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43365 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43366 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43367 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43368 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43369 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43370 [UNIX98 || XOPEN2K] (scalb): Expect.
43371 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43372 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43373 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43374 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43375 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43376 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43377 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43378 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43379 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43380 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43381 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43382 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43383 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43384 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43385 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43386 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43387 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43388 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43389 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43390 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43391 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43392 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43393 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43394 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43395 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43396 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43397 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43398 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43399 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43400 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43401 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43402 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43403 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43404 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43405 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43406 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43407 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43408 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43409 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43410 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43411 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43412 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43413 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43414 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43415 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43416 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43417 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43418 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43419 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43420 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43421 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43422 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43423 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43424 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43425 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43426 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43427 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43428 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43429 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43430 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43431 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43432 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43433 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43434 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43435 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43436 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43437 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43438 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43439 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43440 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43441 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43442 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43443 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43444 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43445 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43446 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43447 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43448 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43449 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43450 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43451 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43452 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43453 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43454 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43455 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43456 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43457 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43458 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43459 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43460 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43461 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43462 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43463 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43464 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43465 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43466 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43467 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43468 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43469 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43470 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43471 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43472 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43473 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43474 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43475 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43476 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43477 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43478 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43479 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43480 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43481 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43482 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43483 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43484 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43485 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43486 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43487 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43488 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43489 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43490 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43491 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43492 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43493 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43494 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43495 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43496 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43497 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43498 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43499 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43500 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43501 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43502 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43503 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43504 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43505 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43506 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43507 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43509 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43510 _XOPEN_SOURCE_EXTENDED for XPG4.
43512 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43514 * Makeconfig (localtime): Remove variable.
43515 (inst_localtime-file): Likewise.
43517 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43538 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43542 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43543 comparisons to determine direction to adjust input.
43544 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43545 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43546 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43548 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43550 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43552 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43553 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43555 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43557 * math/libm-test.inc (nexttoward_test): Add more tests.
43559 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43562 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43563 in version GLIBC_2.1, not GLIBC_2.0.
43564 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43567 2012-04-30 Joseph Myers <joseph@codesourcery.com>
43570 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43572 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43573 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43574 * math/libm-test.inc (acos_test): Add more tests.
43575 (asin_test): Likewise.
43576 * sysdeps/i386/fpu/libm-test-ulps: Update.
43577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43580 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43582 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43583 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43584 * math/libm-test.inc (acos_test_tonearest): New function.
43585 (acos_test_towardzero): Likewise.
43586 (acos_test_downward): Likewise.
43587 (acos_test_upward): Likewise.
43588 (asin_test_tonearest): Likewise.
43589 (asin_test_towardzero): Likewise.
43590 (asin_test_downward): Likewise.
43591 (asin_test_upward): Likewise.
43592 (main): Call the new functions.
43593 * sysdeps/i386/fpu/libm-test-ulps: Update.
43594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43598 * math/e_exp10.c: Include <float.h>.
43599 (__ieee754_exp10): Handle underflow here rather than multiplying
43600 large negative argument by M_LN10.
43601 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43603 * math/e_exp10l.c: Include <float.h>.
43604 (__ieee754_exp10l): Handle underflow here rather than multiplying
43605 large negative argument by M_LN10l.
43606 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43607 spurious overflow exception on underflow.
43609 2012-04-29 Marek Polacek <polacek@redhat.com>
43611 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43612 (__fortify_function): New macro.
43613 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43614 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43615 __extern_always_inline.
43616 * libio/bits/stdio2.h: Likewise.
43617 * libio/bits/stdio.h: Likewise.
43618 * string/string.h: Likewise.
43619 * string/bits/string3.h: Likewise.
43620 * include/stdio.h: Likewise.
43621 * stdlib/bits/stdlib.h: Likewise.
43622 * stdlib/stdlib.h: Likewise.
43623 * rt/bits/mqueue2.h: Likewise.
43624 * rt/mqueue.h: Likewise.
43625 * posix/bits/unistd.h: Likewise.
43626 * posix/unistd.h: Likewise.
43627 * io/bits/poll2.h: Likewise.
43628 * io/bits/fcntl2.h: Likewise.
43629 * io/fcntl.h: Likewise.
43630 * io/sys/poll.h: Likewise.
43631 * misc/bits/syslog.h: Likewise.
43632 * misc/bits/syslog-ldbl.h: Likewise.
43633 * misc/sys/syslog.h: Likewise.
43634 * socket/bits/socket2.h: Likewise.
43635 * socket/sys/socket.h: Likewise.
43636 * debug/tst-chk1.c: Likewise.
43637 * wcsmbs/bits/wchar2.h: Likewise.
43638 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43639 * wcsmbs/wchar.h: Likewise.
43641 2012-04-29 Andreas Jaeger <aj@suse.de>
43643 * Makerules (tests): Remove enable-check-abi protection.
43644 (check-abi-warn): Remove.
43645 (check-abi-%): Remove check-abi-warn usage.
43647 * configure.in: Remove check-abi configure option.
43648 * configure: Regenerated.
43649 * config.make.in (enable-check-abi): Remove.
43651 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43654 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43655 double functions to double *_finite functions.
43658 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43659 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43661 * stdio-common/Makefile (tests): Add tst-sprintf3.
43662 * stdio-common/tst-sprintf3.c: New file.
43664 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43665 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43667 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43669 * conform/conformtest.pl: Remove duplicate typed-constant
43672 2012-04-28 David S. Miller <davem@davemloft.net>
43674 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43675 (check-abi-%): Remove AWK script prerequisite and explicit
43677 (check-abi): Rewrite to just diff the symlist with the abilist.
43678 (config-tls, config-abi-config): Delete, no longer used.
43679 (update-abi-%): Remove AWK script and explicit abilist directory.
43680 (update-abi): Rewrite to simply compare and conditionally copy the
43681 symlist and the sysdep abilist file. Remove update-abi-config
43683 * abilist/ld.abilist: Remove.
43684 * abilist/libBrokenLocale.abilist: Remove.
43685 * abilist/libanl.abilist: Remove.
43686 * abilist/libcrypt.abilist: Remove.
43687 * abilist/libdl.abilist: Remove.
43688 * abilist/librt.abilist: Remove.
43689 * abilist/libthread_db.abilist: Remove.
43690 * abilist/libutil.abilist: Remove.
43691 * scripts/extract-abilist.awk: Remove.
43692 * scripts/merge-abilist.awk: Remove.
43693 * sysdeps/generic/libcidn.abilist: New file.
43694 * sysdeps/generic/libnss_compat.abilist: New file.
43695 * sysdeps/generic/libnss_db.abilist: New file.
43696 * sysdeps/generic/libnss_dns.abilist: New file.
43697 * sysdeps/generic/libnss_files.abilist: New file.
43698 * sysdeps/generic/libnss_hesiod.abilist: New file.
43699 * sysdeps/generic/libnss_nis.abilist: New file.
43700 * sysdeps/generic/libnss_nisplus.abilist: New file.
43701 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43702 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43703 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43705 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43706 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43707 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43708 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43709 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43710 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43711 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43712 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43713 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43715 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43716 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43717 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43718 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43720 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43721 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43722 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43723 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43724 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43725 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43727 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43728 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43729 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43731 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43732 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43734 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43736 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43738 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43740 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43742 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43744 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43746 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43748 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43750 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43752 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43754 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43756 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43834 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43835 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43836 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43839 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43840 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43841 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43842 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43843 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43844 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43845 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43846 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43847 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43899 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43901 * conform/conformtest.pl: Fix typo in handling typed-constant from
43904 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43906 * README: Cut down references to pre-2.6 Linux kernels and
43907 Linuxthreads. Update lists of configurations in libc and ports
43908 and sort alphabetically. Say "or newer" with Linux kernel version
43911 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43913 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43916 * math/libm-test.inc (logb_test_downward): New test to expose
43917 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43920 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43923 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43925 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43926 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43928 2012-04-26 Joseph Myers <joseph@codesourcery.com>
43930 * sysdeps/unix/i386/brk.S: Remove file.
43931 * sysdeps/unix/i386/dl-brk.S: Likewise.
43932 * sysdeps/unix/i386/pipe.S: Likewise.
43933 * sysdeps/unix/i386/sigreturn.S: Likewise.
43934 * sysdeps/unix/i386/syscall.S: Likewise.
43935 * sysdeps/unix/i386/vfork.S: Likewise.
43936 * sysdeps/unix/i386/wait.S: Likewise.
43938 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43939 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43941 * configure.in (arm*-none*): Do not allow without
43942 --enable-hacker-mode.
43943 (netbsd*): Remove case setting base_os.
43944 (386bsd*): Likewise.
43945 (freebsd*): Likewise.
43948 (sunos*): Likewise.
43949 (ultrix*): Likewise.
43950 (newsos*): Likewise.
43951 (dynix*): Likewise.
43957 (minix*): Likewise.
43958 (irix4*): Likewise.
43959 (irix6*): Likewise.
43960 (solaris[2-9]*): Likewise.
43962 * configure: Regenerated.
43964 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43967 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43968 overflow or cancellation in calculating denominator.
43969 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43970 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43971 down expression to avoid unexpected rounding in newer GCCs.
43972 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43974 2012-04-26 David S. Miller <davem@davemloft.net>
43976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43977 long-double compat symbols.
43978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43992 2012-04-25 David S. Miller <davem@davemloft.net>
43994 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43995 HWCAP_* values only after the memory barriers have been defined.
43996 (atomic_full_barrier): Define.
43997 (atomic_read_barrier): Define.
43998 (atomic_write_barrier): Define.
44000 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44002 * shlib-versions: Add libgcc_s version information.
44003 * sysdeps/generic/libgcc_s.h: Remove.
44004 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44006 * sysdeps/gnu/unwind-resume.c: Likewise.
44007 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44009 2012-04-25 David S. Miller <davem@davemloft.net>
44011 * sysdeps/unix/sparc/brk.S: Delete.
44012 * sysdeps/unix/sparc/dl-brk.S: Delete.
44013 * sysdeps/unix/sparc/pipe.S: Delete.
44014 * sysdeps/unix/sparc/sysdep.S: Delete.
44015 * sysdeps/unix/sparc/sysdep.h: Delete.
44016 * sysdeps/unix/sparc/vfork.S: Delete.
44017 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44018 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44019 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44020 (ret_ERRVAL, r0, r1, MOVE): Define.
44021 (JUMPTARGET): Remove.
44022 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44023 sysdeps/unix/sparc/sysdep.h
44024 (ENTRY, END): Remove.
44025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44027 2012-04-25 Joseph Myers <joseph@codesourcery.com>
44029 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44030 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44033 * timezone/README: Update upstream location and email address for
44035 * timezone/zdump.c: Update from tzcode 2012b.
44036 * timezone/zic.c: Likewise.
44038 * configure.in (libc_cv_as_needed): Remove test.
44039 * configure: Regenerated.
44040 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44041 conditional definition.
44042 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44043 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44044 * config.make.in (have-as-needed): Remove variable.
44046 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44047 Paul Pluzhnikov <ppluzhnikov@google.com>
44049 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44052 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44054 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44055 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44056 * sysdeps/sh/strlen.S: Likewise.
44058 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44060 * sysdeps/unix/fork.S: Remove file.
44061 * sysdeps/unix/i386/fork.S: Likewise.
44062 * sysdeps/unix/sparc/fork.S: Likewise.
44064 * sysdeps/unix/system.c: Remove file.
44065 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44067 * sysdeps/unix/getegid.S: Remove file.
44068 * sysdeps/unix/geteuid.S: Likewise.
44070 2012-04-24 Roland McGrath <roland@hack.frob.com>
44072 * scripts/check-localplt.awk: New file.
44073 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44075 * scripts/data/localplt-generic.data: Add a comment.
44077 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44078 NODE when __dir_mkfile failed.
44079 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44080 Reported by Ludovic Courtès <ludo@gnu.org>.
44082 2012-04-24 Andreas Jaeger <aj@suse.de>
44084 * Makerules (common-clean): Also remove gen-as-const-headers
44087 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44089 * Makerules (native-compile): Do not change working directory for
44090 build. Use $(OUTPUT_OPTION) in command.
44091 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44093 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44096 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44097 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44098 * math/libm-test.inc (floor_test): Add more tests.
44099 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44101 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44103 * sysdeps/unix/getdents.c: Remove file.
44104 * sysdeps/unix/sysv/getdents.c: Likewise.
44105 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44107 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44108 sysdeps/unix/mman/syscalls.list.
44110 (mprotect): Likewise.
44112 (munmap): Likewise.
44113 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44114 * sysdeps/unix/mman/syscalls.list: Remove.
44115 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44117 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44118 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44119 * configure: Regenerated.
44120 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44121 $(libgcc_s_suffix).
44122 * config.make.in (libgcc_s_suffix): Remove variable.
44124 2012-04-23 Joseph Myers <joseph@codesourcery.com>
44126 * sysdeps/unix/sysv/gethostname.c: Move to ...
44127 * sysdeps/posix/gethostname.c: ... here.
44129 * sysdeps/unix/execve.S: Remove file.
44131 * sysdeps/unix/_exit.S: Remove file.
44133 2012-04-23 Andreas Jaeger <aj@suse.de>
44136 * manual/Makefile: Remove make dist support, there's no
44137 need for a stand-alone documentation tar ball.
44138 (TEXI2DVI): Define always, it's not in Makeconfig.
44141 (edition): Removed.
44142 (glibc-doc-$(edition).tar): Removed
44146 (ETAGS): Remove, it's in Makeconfig.
44147 (move-if-change): Remove, it's in Makeconfig.
44149 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
44152 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44153 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44154 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44155 (strtod_l, strtof_l, strtold_l): Remove __wur.
44156 It is not necessarily an error to ignore strtol's return value.
44157 One can reliably look at the stored endptr to decide whether
44158 the number had valid syntax.
44160 2012-04-21 Andreas Jaeger <aj@suse.de>
44163 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44165 2012-04-21 Joseph Myers <joseph@codesourcery.com>
44167 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44168 * sysdeps/unix/sysv/Versions: Remove file.
44170 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44175 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
44178 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44179 version from __vm86.
44181 2012-04-20 Joseph Myers <joseph@codesourcery.com>
44183 * sysdeps/unix/common/lxstat.c: Remove file.
44184 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44186 * sysdeps/unix/sysv/Makefile: Remove file.
44188 * sysdeps/unix/sysv/direct.h: Remove file.
44190 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44191 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44192 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44193 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44194 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44195 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44196 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44198 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44200 * sysdeps/unix/xmknod.c: Remove file.
44201 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44203 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44205 * sysdeps/unix/sysv/i386/time.S: Remove file.
44207 * sysdeps/unix/fxstat.c: Remove file.
44208 * sysdeps/unix/xstat.c: Likewise.
44209 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44211 * sysdeps/unix/sysv/sigaction.c: Remove file.
44213 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44214 (sysdep_headers): Remove variable.
44215 [termio.h not in sysdep_headers] (generated): Likewise.
44216 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44217 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44218 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44219 * sysdeps/unix/sysv/tcflow.c: Likewise.
44220 * sysdeps/unix/sysv/tcflush.c: Likewise.
44221 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44222 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44223 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44224 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44225 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44227 * sysdeps/unix/siglist.c: Remove file.
44229 * sysdeps/unix/getppid.S: Remove file.
44231 * sysdeps/unix/mkdir.c: Remove file.
44232 * sysdeps/unix/rmdir.c: Likewise.
44234 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44236 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44238 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44239 errlist-compat value.
44241 2012-04-18 David S. Miller <davem@davemloft.net>
44243 * sysdeps/generic/memcopy.h (reg_char): Delete.
44244 * debug/strcat_chk.c: Use char, not reg_char.
44245 * debug/strcpy_chk.c: Likewise.
44246 * debug/strncat_chk.c: Likewise.
44247 * debug/strncpy_chk.c: Likewise.
44248 * string/memchr.c: Likewise.
44249 * string/memrchr.c: Likewise.
44250 * string/rawmemchr.c: Likewise.
44251 * string/strcat.c: Likewise.
44252 * string/strchr.c: Likewise.
44253 * string/strchrnul.c: Likewise.
44254 * string/strcmp.c: Likewise.
44255 * string/strcpy.c: Likewise.
44256 * string/strncat.c: Likewise.
44257 * string/strncmp.c: Likewise.
44258 * string/strncpy.c: Likewise.
44260 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44262 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44263 __builtin_memcopy is called when src and dest ranges are known to not
44266 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44268 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44269 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44270 fwd_align_merge macro call.
44271 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44272 bwd_align_merge macro call.
44273 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44275 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44277 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44278 bwd_align_merge macros.
44279 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44280 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44281 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44283 2012-04-18 David S. Miller <davem@davemloft.net>
44285 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44287 2012-04-18 Andreas Jaeger <aj@suse.de>
44290 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44291 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44292 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44294 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44295 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44296 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44298 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44299 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44300 Adjust for changed ldbl-128 files.
44302 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44303 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44304 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44306 2012-04-17 David S. Miller <davem@davemloft.net>
44308 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44310 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44312 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44313 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44314 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44315 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44316 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44317 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44319 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44322 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44323 * math/libm-test.inc: Add ilogb errno and exception tests.
44324 * math/w_ilogb.c: New file: ilogb wrapper.
44325 * math/w_ilogbf.c: New file: ilogbf wrapper.
44326 * math/w_ilogbl.c: New file: ilogbl wrapper.
44327 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44328 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44329 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44330 exception being thrown with 0.0 as argument.
44331 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44332 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44333 exception being thrown with 0.0 as argument.
44334 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44335 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44336 exception being thrown with 0.0 as argument.
44337 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44338 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44339 exception being thrown with 0.0 as argument.
44340 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44341 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44342 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44343 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44344 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44345 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44346 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44347 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44348 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44350 2012-04-17 Petr Baudis <pasky@ucw.cz>
44352 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44355 2012-04-16 Marek Polacek <polacek@redhat.com>
44357 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44359 2012-04-16 Marek Polacek <polacek@redhat.com>
44361 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44362 operands of fdivp instruction.
44364 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44366 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44367 * elf/tst-auditmod3b.c: Likewise.
44368 * elf/tst-auditmod4b.c: Likewise.
44369 * elf/tst-auditmod5b.c: Likewise.
44370 * elf/tst-auditmod6b.c: Likewise.
44371 * elf/tst-auditmod6c.c: Likewise.
44372 * elf/tst-auditmod7b.c: Likewise.
44373 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44374 * sysdeps/x86_64/preconfigure.in: Likewise.
44375 * sysdeps/x86_64/preconfigure: Regenerated.
44377 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44379 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44382 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
44384 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44385 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44387 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44390 * locale/iso-639.def: Fix gl language name. Spotted by
44393 2012-04-12 Roland McGrath <roland@hack.frob.com>
44396 * libio/libio.h (__io_write_fn): Update comment.
44398 2012-04-12 Petr Baudis <pasky@ucw.cz>
44401 * stdio.texi (Hook Functions): The user provided writer function
44402 is not allowed to return -1.
44404 2012-04-11 David S. Miller <davem@davemloft.net>
44406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44408 2012-04-11 Mike Frysinger <vapier@gentoo.org>
44410 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44411 Add a leading slash to rtkaio.
44413 2012-04-11 Jim Meyering <meyering@redhat.com>
44416 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44417 It is not necessarily an error to ignore fwrite's return
44418 value. One can reliably use ferror to test for errors after
44421 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44423 * bits/types.h (__snseconds_t): New type.
44424 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44426 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44427 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44428 (__SNSECONDS_T_TYPE): Likewise.
44429 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44430 (__SNSECONDS_T_TYPE): Likewise.
44431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44432 (__SNSECONDS_T_TYPE): Likewise.
44434 2012-04-10 Andreas Jaeger <aj@suse.de>
44437 * manual/time.texi (Processor Time): Return type of times is
44438 elapsed real time since an arbitrary point in the past.
44439 (CPU Time): Move CLK_TCK from here...
44440 (Processor Time): ...to here. Correct description.
44441 * manual/conf.texi (Constants for Sysconf): Correct description of
44444 2012-04-10 David S. Miller <davem@davemloft.net>
44447 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44448 where the is a gap between DT_REL(A) and DT_JMPREL.
44450 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44452 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44453 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44454 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44456 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44458 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44459 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44460 (dl_main): Handle --inhibit-cache.
44461 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44463 * elf/dl-load.c (_dl_map_object): Use it.
44464 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44466 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44469 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44470 (__ieee754_powl): Saturate large exponents rather than testing for
44471 overflow of y*log2(x).
44472 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44473 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44477 * math/s_ctan.c: Include <float.h>.
44478 (__ctan): Avoid internal overflow or cancellation in calculating
44480 * math/s_ctanf.c: Likewise.
44481 * math/s_ctanl.c: Likewise.
44482 * math/s_ctanh.c: Likewise.
44483 * math/s_ctanhf.c: Likewise.
44484 * math/s_ctanhl.c: Likewise.
44485 * math/libm-test.inc (ctan_test): Add more tests.
44486 (ctanh_test): Likewise.
44487 * sysdeps/i386/fpu/libm-test-ulps: Update.
44488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44490 2012-04-09 Andreas Jaeger <aj@suse.de>
44493 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44494 is an optional BSD extension.
44497 * manual/stdio.texi (Opening Streams): Document additional fopen
44500 2012-04-09 Roland McGrath <roland@hack.frob.com>
44502 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44503 %eax without telling the compiler.
44505 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44508 * manual/install.texi: Use sourceware.org.
44510 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44513 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44514 (__ieee754_pow): Generate overflow and underflow using huge*huge
44515 and tiny*tiny rather than just returning constant infinity or zero
44516 for large exponents.
44517 * math/libm-test.inc (pow_test): Require overflow exceptions for
44518 applicable cases of large exponents.
44521 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44522 (__ieee754_pow): Use iterative multiplication algorithm only for
44523 integer exponents with absolute value below 1024. Check for odd
44524 integer exponents when using algorithm for real exponents.
44525 * math/libm-test.inc (pow_test): Add more tests.
44526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44528 2012-04-08 Joseph Myers <joseph@codesourcery.com>
44531 * math/libm-test.inc (exp_test): Do not allow overflow exception
44534 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44537 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44538 instead of __kernel_standard_f.
44540 2012-04-08 Mike Frysinger <vapier@gentoo.org>
44542 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44543 * sysdeps/x86_64/memset_chk.S: Likewise.
44545 2012-04-08 Andreas Jaeger <aj@suse.de>
44548 * manual/startup.texi (Environment Access): Describe return value
44549 for putenv and setenv.
44552 * manual/filesys.texi (Directory Entries): Add description for
44556 * manual/filesys.texi (Directory Entries): Clarify that it's file
44557 system not operating system in the description of DT_UNKNOWN.
44560 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44562 2012-04-08 Stephen Compall <s11@member.fsf.org>
44565 * manual/llio.texi (Opening and Closing Files): Add cross
44566 reference to explain mode argument.
44568 2012-04-07 Mike Frysinger <vapier@gentoo.org>
44570 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44571 * sysdeps/x86_64/memset_chk.S: Likewise.
44573 2012-04-07 David S. Miller <davem@davemloft.net>
44575 * elf/elf.h (R_SPARC_WDISP10): Define.
44576 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44578 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44579 R_SPARC_SIZE64 and R_SPARC_H34.
44581 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44583 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44584 conditions and remove no longer applicable assertion.
44586 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44588 * bits/byteswap.h: Include <features.h>.
44589 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44590 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44592 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44594 * bits/byteswap.h (__bswap_16): Removed.
44595 Include <bits/byteswap-16.h> to get __bswap_16.
44596 * sysdeps/i386/bits/byteswap.h: Likewise.
44597 * sysdeps/s390/bits/byteswap.h: Likewise.
44598 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44599 * bits/byteswap-16.h: New file.
44600 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44601 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44602 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44603 * string/Makefile (headers): Add bits/byteswap-16.h.
44605 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44608 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44610 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44611 * nss/tst-nss-static.c: New.
44613 2012-04-06 Robert Millan <rmh@gnu.org>
44616 * manual/llio.texi (File Position Primitive): lseek
44617 refers to WHENCE when it really means OFFSET.
44619 2012-04-06 Andreas Jaeger <aj@suse.de>
44621 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44622 strncmp declarations.
44624 * abilist/libc.abilist: Add __poll and __ppoll.
44626 2012-04-05 David S. Miller <davem@davemloft.net>
44628 * scripts/check-local-headers.sh: Accept a host triplet in the
44629 path matched by the exclude regexp.
44631 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44633 * sysdeps/powerpc/powerpc32/dl-machine.h
44634 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44635 * sysdeps/s390/s390-32/dl-machine.h
44636 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44637 * sysdeps/sparc/sparc32/dl-machine.h
44638 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44639 * sysdeps/sparc/sparc64/dl-machine.h
44640 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44642 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44644 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44645 undefined symbol errors.
44647 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44650 2012-04-05 Michael Matz <matz@suse.de>
44653 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44655 2012-04-05 Andreas Jaeger <aj@suse.de>
44658 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44661 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44663 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44664 which ROUND is no valid rounding mode.
44666 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44668 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44670 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44672 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44674 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44675 an exception using FPU order intentionally.
44677 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44679 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44680 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44681 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44682 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44684 2012-04-05 Simon Josefsson <simon@josefsson.org>
44687 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44688 EINVAL when BUFLEN is too smal.
44690 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44693 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44694 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44696 2012-04-03 Andreas Jaeger <aj@suse.de>
44699 * manual/setjmp.texi (System V contexts): Fix sentence.
44702 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44703 New macro for this case.
44704 [!__GNUC__] (__bswap_64): New inline function for this case.
44705 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44706 * bits/byteswap.h: Likewise.
44707 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44708 ull, guard with __GLIBC_HAVE_LONG_LONG.
44710 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44711 __GLIBC_HAVE_LONG_LONG.
44713 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44714 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44716 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44719 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44720 inptr and inend, rather than using last_ch.
44722 2012-04-02 David S. Miller <davem@davemloft.net>
44724 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44725 * stdio-common/printf-parse.h (read_int): Change return type to
44726 'int', return -1 on INT_MAX overflow.
44727 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44728 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44729 overflows INT_MAX. Check for overflow of in-format-string precision
44730 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44731 SIZE_MAX not INT_MAX for integer overflow test.
44732 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44733 skip the construct in the format string but do not record anything.
44734 * stdio-common/bug22.c: Adjust to test both width/prevision
44735 INT_MAX overflow as well as total length INT_MAX overflow. Check
44736 explicitly for proper errno values.
44738 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44740 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44742 * string/test-strcmp.c [! WIDE]: Likewise.
44743 * time/tst-mktime2.c: Likewise for INT_MAX.
44744 * string/test-string.h: #include <sys/param.h> for MIN.
44746 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44747 * sysdeps/i386/init-first.c (init): Likewise.
44748 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44749 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44750 * sysdeps/sh/init-first.c (init): Likewise.
44752 2012-04-01 Ulrich Drepper <drepper@gmail.com>
44754 * po/ru.po: Update from translation team.
44755 * po/vi.po: Likewise.
44757 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44759 * resolv/nss_dns/dns-host.c: Merge copyright years.
44761 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44763 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44764 Optimize memcpy with prefetch if
44765 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44766 src, dst pointers have unequal 16 byte alignments.
44768 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44771 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44772 from a CNAME entry and return the minimum ttl for the query.
44773 (gaih_getanswer_slice): Likewise.
44775 2012-03-30 Jeff Law <law@redhat.com>
44777 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44779 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44780 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44782 * resolv/nss_dns/dns-host.c: Update copyright year.
44784 2012-03-30 Ulrich Drepper <drepper@gmail.com>
44786 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44787 requests to save a system call. Fix check that all bytes are sent.
44789 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44790 comments for sendmmsg.
44792 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44795 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44796 with only 1 character between 0x0041 and 0x01b0.
44797 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44798 * wcsmbs/tst-mbsnrtowcs.c: New file.
44800 2012-03-29 David S. Miller <davem@davemloft.net>
44802 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44803 small copies by hand.
44805 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44808 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44809 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44812 2012-03-28 David S. Miller <davem@davemloft.net>
44814 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44815 that branches into memcpy.
44816 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44817 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44818 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44819 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44820 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44822 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44823 implementation too.
44824 * sysdeps/sparc/mempcpy.S: New file.
44826 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44827 the IFUNC routine in the libc case.
44828 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44830 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44831 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44832 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44833 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44834 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44835 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44836 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44837 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44839 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44840 loop to 256 bytes instead of 64 bytes and fix test signedness.
44842 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44843 * sysdeps/sparc/sparc32/Makefile: rather than here...
44844 * sysdeps/sparc/sparc64/Makefile: and here.
44846 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44848 * malloc/mallocbug.c: Avoid warnings about unused variables.
44850 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44853 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44854 in the right place. Discard and retry query if response is
44855 larger than input buffer size.
44857 2012-03-28 Joseph Myers <joseph@codesourcery.com>
44862 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44863 x for large integer exponent.
44864 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44865 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44866 sign of result as needed afterwards.
44867 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44868 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44869 result for underflowing pow the same as for overflow.
44870 (__kernel_standard_l): Handle powl overflow and underflow here
44871 rather than calling __kernel_standard.
44872 * math/libm-test.inc (pow_test): Add more tests.
44887 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44888 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44889 (__kernel_standard_l): New function.
44890 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44892 * math/w_acosl.c (__acosl): Likewise.
44893 * math/w_asinl.c (__asinl): Likewise.
44894 * math/w_atan2l.c (__atan2l): Likewise.
44895 * math/w_atanhl.c (__atanhl): Likewise.
44896 * math/w_coshl.c (__coshl): Likewise.
44897 * math/w_exp10l.c (__exp10l): Likewise.
44898 * math/w_exp2l.c (__exp2l): Likewise.
44899 * math/w_fmodl.c (__fmodl): Likewise.
44900 * math/w_hypotl.c (__hypotl): Likewise.
44901 * math/w_j0l.c (__j0l, __y0l): Likewise.
44902 * math/w_j1l.c (__j1l, __y1l): Likewise.
44903 * math/w_jnl.c (__jnl, __ynl): Likewise.
44904 * math/w_lgammal.c (__lgammal): Likewise.
44905 * math/w_log10l.c (__log10l): Likewise.
44906 * math/w_log2l.c (__log2l): Likewise.
44907 * math/w_logl.c (__logl): Likewise.
44908 * math/w_powl.c (__powl): Likewise.
44909 * math/w_remainderl.c (__remainderl): Likewise.
44910 * math/w_scalbl.c (sysv_scalbl): Likewise.
44911 * math/w_sinhl.c (__sinhl): Likewise.
44912 * math/w_sqrtl.c (__sqrtl): Likewise.
44913 * math/w_tgammal.c (__tgammal): Likewise.
44914 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44915 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44916 * math/libm-test.inc (acos_test): Add more tests.
44917 (acosh_test): Likewise.
44918 (asin_test): Likewise.
44919 (atanh_test): Likewise.
44920 (exp_test): Likewise.
44921 (exp10_test): Likewise.
44922 (exp2_test): Likewise.
44923 (expm1_test): Likewise.
44924 (lgamma_test): Likewise.
44925 (log_test): Likewise.
44926 (log10_test): Likewise.
44927 (log1p_test): Likewise.
44928 (log2_test): Likewise.
44929 (pow_test): Do not allow some spurious overflow exceptions.
44930 (sqrt_test): Add more tests.
44931 (tgamma_test): Likewise.
44932 (y0_test): Likewise.
44933 (y1_test): Likewise.
44934 (yn_test): Likewise.
44936 2012-03-27 Anton Blanchard <anton@samba.org>
44938 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44940 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44941 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44942 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44944 2012-03-27 David S. Miller <davem@davemloft.net>
44946 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44948 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44949 have-as-vis3 check.
44951 2012-03-27 Andreas Jaeger <aj@suse.de>
44953 * sysdeps/x86_64/elf/configure.in: Moved to ...
44954 * sysdeps/x86_64/configure.in: ... here.
44955 * sysdeps/x86_64/elf/start.S: Moved to ...
44956 * sysdeps/x86_64/start.S: ... here.
44957 * sysdeps/x86_64/elf/configure: Delete.
44959 * sysdeps/x86_64/configure.in: Merge contents from
44960 sysdeps/i386/configure.in (without i686 check).
44962 * sysdeps/i386/elf/Versions: Merge into ...
44963 * sysdeps/i386/Versions: ... this.
44964 * sysdeps/i386/elf/Versions: Delete file.
44965 * sysdeps/i386/elf/start.S: Moved to ...
44966 * sysdeps/i386/start.S: ...here.
44967 * sysdeps/i386/elf/configure.in: Merge into...
44968 * sysdeps/i386/configure.in: ...here.
44969 * sysdeps/i386/elf/configure.in: Delete file.
44970 * sysdeps/i386/elf/configure: Delete file.
44972 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44973 * debug/backtracesyms.c: ... here.
44974 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44975 * debug/backtracesymsfd.c: ... here.
44976 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44977 * sysdeps/generic/ifunc-sel.h: ... here.
44979 * sysdeps/unix/i386/start.c: Delete file.
44980 * sysdeps/unix/sparc/start.c: Delete file.
44981 * sysdeps/unix/start.c: Delete file.
44983 * sysdeps/sh/elf/configure.in: Moved to ...
44984 * sysdeps/sh/configure.in: ... here.
44985 * sysdeps/sh/elf/start.S: Moved to ...
44986 * sysdeps/sh/start.S: ... here.
44987 * sysdeps/sh/elf/configure: Delete file.
44989 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44990 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44991 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44992 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44993 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44994 * sysdeps/powerpc/powerpc64/start.S: here.
44995 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44996 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44997 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44998 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44999 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45001 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45002 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45003 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45004 * sysdeps/powerpc/powerpc32/start.S: ... here.
45005 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45006 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45007 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45009 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45010 * sysdeps/powerpc/ifunc-sel.h: ... here.
45011 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45012 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45014 * sysdeps/sparc/elf/configure.in: Moved to ...
45015 * sysdeps/sparc/configure.in: ... here.
45016 * sysdeps/sparc/elf/configure: Delete file.
45017 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45018 * sysdeps/sparc/sparc32/start.S: ... here.
45019 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45020 * sysdeps/sparc/sparc64/start.S: ... here.
45021 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45022 * sysdeps/sparc/sparc32/Makefile: ... this.
45023 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45024 * sysdeps/sparc/sparc64/Makefile: ... this.
45026 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45027 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45028 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45029 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45030 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45031 * sysdeps/s390/s390-32/setjmp.S: ... here.
45032 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45033 * sysdeps/s390/s390-32/configure.in: ... here.
45034 * sysdeps/s390/s390-32/elf/configure: Delete file.
45035 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45036 * sysdeps/s390/s390-32/start.S: ... here.
45038 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45039 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45040 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45041 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45042 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45043 * sysdeps/s390/s390-64/setjmp.S: ... here.
45044 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45045 * sysdeps/s390/s390-64/configure.in: ... here
45046 * sysdeps/s390/s390-64/elf/configure: Delete file.
45047 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45048 * sysdeps/s390/s390-64/start.S: ... here.
45049 * sysdeps/s390/s390-64/elf/configure: Delete.
45051 * configure.in: Remove support for elf directories in sysdeps.
45053 * configure: Regenerated.
45054 * sysdeps/i386/configure: Regenerated.
45055 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45056 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45057 * sysdeps/s390/s390-32/configure: Regenerated.
45058 * sysdeps/s390/s390-64/configure: Regenerated.
45059 * sysdeps/sh/configure: Regenerated.
45060 * sysdeps/sparc/configure: Regenerated.
45061 * sysdeps/x86_64/configure: Regenerated.
45063 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45067 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45068 denormal result into account.
45070 2012-03-25 Roland McGrath <roland@hack.frob.com>
45072 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45073 Reported by Allan McRae <allan@archlinux.org>.
45075 2012-03-23 Jeff Law <law@redhat.com>
45077 * nss/getnssent.c (__nss_getent): Fix typo.
45079 2012-03-23 David S. Miller <davem@davemloft.net>
45081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45083 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45085 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45086 to pad to uint64_t for each field.
45087 (dl_tls_index): Replace unsigned long with uint64_t.
45089 2012-03-23 Daniel Jacobowitz <dmj@google.com>
45090 Paul Pluzhnikov <ppluzhnikov@google.com>
45093 * grp/Makefile (otherlibs): Don't set it.
45094 * inet/Makefile (otherlibs): Likewise.
45095 * login/Makefile (otherlibs): Likewise.
45096 * nscd/Makefile (otherlibs): Likewise.
45097 * posix/Makefile (otherlibs): Likewise.
45098 * pwd/Makefile (otherlibs): Likewise.
45099 * rt/Makefile (otherlibs): Likewise.
45100 * sunrpc/Makefile (otherlibs): Likewise.
45101 * nss/Makefile (otherlibs): Likewise.
45102 Add libnss_files to routines and static-only-routines.
45103 ($(objpfx)getent): Remove rule.
45104 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45105 static-only-routines.
45107 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45110 * math/s_cexp.c: Include <float.h>.
45111 (__cexp): Handle exp result overflowing not necessarily
45112 overflowing both real and imaginary parts of result.
45113 * math/s_cexpf.c: Likewise.
45114 * math/s_cexpl.c: Likewise.
45115 * math/libm-test.inc (cexp_test): Add more tests.
45116 * sysdeps/i386/fpu/libm-test-ulps: Update.
45117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45119 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45121 * include/link.h (ELFW): New macro.
45122 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45123 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45125 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45127 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45130 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45132 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45134 (struct La_x32_retval): Likewise.
45136 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45138 * sysdeps/x86_64/preconfigure.in: New file.
45139 * sysdeps/x86_64/preconfigure: New generated file.
45141 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45144 * math/e_exp2l.c: Include <float.h>.
45145 (__ieee754_exp2l): Handle overflow and underflow cases
45146 separately. Only pass fractional part of argument to
45148 * math/libm-test.inc (exp2_test): Add more tests.
45150 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45151 negating x to take absolute value.
45152 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45154 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45155 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45157 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45158 computing low part if x was negated.
45159 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45161 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45163 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45164 la_x32_gnu_pltexit.
45165 (pltexit): Cast int_retval to ptrdiff_t.
45166 * elf/tst-auditmod3b.c: Likewise.
45167 * elf/tst-auditmod4b.c: Likewise.
45168 * elf/tst-auditmod5b.c: Likewise.
45169 * elf/tst-auditmod6b.c: Likewise.
45170 * elf/tst-auditmod6c.c: Likewise.
45171 * elf/tst-auditmod7b.c: Likewise.
45173 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45174 and x32_gnu_pltexit.
45176 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45177 __ELF_NATIVE_CLASS.
45178 (La_x32_regs): New macro.
45179 (La_x32_retval): Likewise.
45180 (la_x32_gnu_pltenter): New function prototype.
45181 (la_x32_gnu_pltexit): Likewise.
45183 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45185 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45190 * configure.in (libc_cv_cc_nofma): Check for option to disable
45191 generation of FMA instructions.
45192 * configure: Regenerate.
45193 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45194 * sysdeps/ieee754/dbl-64/Makefile: New file.
45195 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45196 Remove brandred-fma4.
45197 (CFLAGS-brandred-fma4.c): Remove.
45198 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45199 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45201 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45204 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45206 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45207 LLONG_MAX != LONG_MAX.
45208 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45209 (_fitoa_word): Likewise.
45210 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45211 LLONG_MAX != LONG_MAX.
45212 * stdio-common/_itowa.h: Include <_itoa.h>.
45213 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45214 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45215 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45216 only if not defined.
45217 (_ITOA_WORD_TYPE): Likewise.
45218 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45219 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45221 2012-03-21 David S. Miller <davem@davemloft.net>
45223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45225 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45227 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45228 of x86_64 when setting libc_cv_slibdir, libdir and
45230 * sysdeps/unix/sysv/linux/configure: Regenerated.
45232 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45234 * manual/lang.texi (Old Varargs): Remove section.
45235 (How Variadic): Update menu.
45236 (va_start): Do not mention varargs.h.
45238 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45239 Joseph Myers <joseph@codesourcery.com>
45241 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45243 * configure: Regenerated.
45245 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45247 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45248 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45251 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45254 * Makefile (files-for-dist): Remove NOTES.
45255 (NOTES): Remove rule.
45256 * README: Don't refer to NOTES.
45257 * manual/creature.texi: Don't include macros.texi.
45258 * manual/intro.texi (creature.texi): Remove comment referring to
45261 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45262 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45263 * configure: Regenerated.
45264 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45265 LIBC_TRY_CC_OPTION.
45266 (libc_cv_as_i686): Likewise.
45267 (libc_cv_cc_avx): Likewise.
45268 (libc_cv_cc_sse2avx): Likewise.
45269 (libc_cv_cc_fma4): Likewise.
45270 (libc_cv_cc_novzeroupper): Likewise.
45271 * sysdeps/i386/configure: Regenerated.
45274 * sysdeps/i386/fpu/s_cexp.S: Remove.
45275 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45276 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45277 * math/libm-test.inc (cexp_test): Add more tests.
45278 * sysdeps/i386/fpu/libm-test-ulps: Update.
45279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45281 2012-03-21 Allan McRae <allan@archlinux.org>
45283 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45285 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45288 * math/w_exp2.c: Do not include <float.h>.
45289 (o_threshold, u_threshold): Remove.
45290 (__exp2): Calculate result before checking finiteness and calling
45292 * math/w_exp2f.c: Likewise.
45293 * math/w_exp2l.c: Likewise.
45294 * math/libm-test.inc (exp2_test): Require overflow exception for
45298 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45299 range of signed 64-bit integers before using fistpll. Remove
45300 checks for whether integers fit in mantissa bits.
45301 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45302 the range of signed 32-bit integers before using fistpl. Remove
45303 checks for whether integers fit in mantissa bits.
45304 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45305 (__ieee754_powl): Test for y outside the range of signed 64-bit
45306 integers before using fistpll. Reduce 64-bit values to 63-bit
45308 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45309 divide-by-zero is raised for zero to large negative powers.
45310 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45311 (__ieee754_powl): Test for y outside the range of signed 64-bit
45312 integers before using fistpll. Reduce 64-bit values to 63-bit
45314 * math/libm-test.inc (pow_test): Add more tests.
45316 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45318 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45319 <stdio-common/_itoa.h>.
45320 * debug/segfault.c: Likewise.
45321 * elf/dl-cache.c: Likewise.
45322 * elf/dl-minimal.c: Likewise.
45323 * elf/dl-misc.c: Likewise.
45324 * elf/dl-sysdep.c: Likewise.
45325 * elf/dl-version.c: Likewise.
45326 * elf/rtld.c: Likewise.
45327 * hurd/hurdsock.c: Likewise.
45328 * hurd/lookup-retry.c: Likewise.
45329 * malloc/malloc.c: Likewise.
45330 * malloc/mtrace.c: Likewise.
45331 * nscd/nscd_getgr_r.c: Likewise.
45332 * nscd/nscd_getpw_r.c: Likewise.
45333 * nscd/nscd_getserv_r.c: Likewise.
45334 * posix/getopt_init.c: Likewise.
45335 * posix/wordexp.c: Likewise.
45336 * stdio-common/_itoa.c: Likewise.
45337 * stdio-common/printf_fphex.c: Likewise.
45338 * stdio-common/vfprintf.c: Likewise.
45339 * string/_strerror.c: Likewise.
45340 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45341 * sysdeps/i386/i686/hp-timing.h: Likewise.
45342 * sysdeps/mach/_strerror.c: Likewise.
45343 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45344 * sysdeps/mach/hurd/sethostid.c: Likewise.
45345 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45346 * sysdeps/mach/xpg-strerror.c: Likewise.
45347 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45348 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45349 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45350 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45351 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45352 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45353 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45354 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45355 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45356 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45357 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45358 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45359 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45360 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45361 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45362 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45363 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45364 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45365 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45366 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45367 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45369 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45371 * stdio-common/_itoa.h: Moved to ...
45372 * sysdeps/generic/_itoa.h: Here.
45374 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45376 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45377 instead of "_itoa.h" and "_itowa.h".
45378 * stdio-common/vfprintf.: Likewise.
45380 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45382 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45384 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45385 (__signbit): Likwise.
45386 (llrintf): Likwise.
45389 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45391 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45394 2012-03-20 Joseph Myers <joseph@codesourcery.com>
45396 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45397 OVERFLOW_EXCEPTION_OK.
45398 * math/libm-test.inc ("Philosophy"): Update comment about
45400 (OVERFLOW_EXCEPTION): Define.
45401 (OVERFLOW_EXCEPTION_OK): Likewise.
45402 (INVALID_EXCEPTION_OK): Renumber.
45403 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45404 (IGNORE_ZERO_INF_SIGN): Likewise.
45405 (test_exceptions): Handle FE_OVERFLOW.
45406 (exp10_test): Expect overflow exceptions.
45407 (exp2_test): Likewise.
45408 (expm1_test): Likewise.
45409 (nextafter_test): Likewise.
45410 (pow_test): Likewise.
45411 (scalbn_test): Likewise.
45412 (scalbln_test): Likewise.
45414 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45416 * sysdeps/x86_64/bits/atomic.h
45417 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45419 (atomic_exchange_acq): Likewise.
45420 (__arch_exchange_and_add_body): Likewise.
45421 (__arch_add_body): Likewise.
45422 (atomic_add_negative): Likewise.
45423 (atomic_add_zero): Likewise.
45425 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45427 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45428 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45430 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45432 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45433 Check __x86_64__ instead of __WORDSIZE.
45435 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45437 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45439 2012-03-19 David S. Miller <davem@davemloft.net>
45441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45443 * sysdeps/sparc/fpu/fenv_private.h: New file.
45444 * sysdeps/sparc/fpu/math_private.h: Use it.
45445 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45447 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45448 (libc_feholdexcept_setroundl): Remove.
45449 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45451 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45452 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45454 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45456 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45457 int64_t instead of long int.
45458 (INSERT_WORDS64): Likwise.
45460 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45462 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45463 _Unwind_GetCFA return to _Unwind_Ptr first.
45465 2012-03-19 Joseph Myers <joseph@codesourcery.com>
45468 * math/s_clog.c: Include <float.h>.
45469 (__clog): Scale large or subnormal inputs.
45470 * math/s_clogf.c: Likewise.
45471 * math/s_clogl.c: Likewise.
45472 * math/s_clog10.c: Include <float.h>.
45473 (M_LOG10_2): Define.
45474 (__clog10): Scale large or subnormal inputs.
45475 * math/s_clog10f.c: Likewise.
45476 * math/s_clog10l.c: Likewise.
45477 * math/libm-test.inc (clog_test): Add more tests.
45478 (clog10_test): Likewise.
45479 * sysdeps/i386/fpu/libm-test-ulps: Update.
45480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45483 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45485 * math/libm-test.inc (atan2_test): Add another test.
45487 * Makerules (common-objdir-compile): Remove.
45488 * sysdeps/unix/Makefile (config-generated): Do not add
45489 $(unix-generated) to variable.
45490 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45491 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45493 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45495 [generic bits/local_lim.h] (before-compile): Do not append to
45497 [generic bits/local_lim.h] (common-generated): Likewise.
45498 [generic sys/param.h] (before-compile): Do not append to variable.
45499 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45500 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45501 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45502 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45504 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45505 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45506 [generic sys/param.h] ($(addprefix
45507 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45508 [generic sys/param.h] (common-generated): Do not append to
45510 [generic sys/param.h] (sysdep_headers): Likewise.
45511 [generic bits/errno.h] (before-compile): Do not append to
45513 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45515 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45516 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45517 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45518 [generic bits/errno.h] (common-generated): Do not append to
45520 [generic bits/ioctls.h] (before-compile): Do not append to
45522 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45524 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45525 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45526 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45528 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45529 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45530 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45531 [generic bits/ioctls.h] (common-generated): Do not append to
45533 [generic sys/syscall.h] (syscall.h): Remove variable.
45534 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45536 [generic sys/syscall.h] (before-compile): Do not append to
45538 [generic sys/syscall.h] (common-generated): Likewise.
45539 * sysdeps/unix/errnos-tmpl.c: Remove file.
45540 * sysdeps/unix/errnos.awk: Likewise.
45541 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45542 * sysdeps/unix/ioctls.awk: Likewise.
45543 * sysdeps/unix/mk-local_lim.c: Likewise.
45544 * sysdeps/unix/snarf-ioctls: Likewise.
45546 2012-03-19 Richard Henderson <rth@twiddle.net>
45548 * sysdeps/i386/fpu/fenv_private.h: New file.
45549 * sysdeps/i386/fpu/math_private.h: Use it.
45550 (math_opt_barrier, math_force_eval): Remove.
45551 (libc_feholdexcept_setround_53bit): Remove.
45552 (libc_feupdateenv_53bit): Remove.
45553 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45554 (math_opt_barrier, math_force_eval): Remove.
45555 (libc_feholdexcept): Remove.
45556 (libc_feholdexcept_setround): Remove.
45557 (libc_fetestexcept, libc_fesetenv): Remove.
45558 (libc_feupdateenv_test): Remove.
45559 (libc_feupdateenv, libc_feholdsetround): Remove.
45560 (libc_feresetround): Remove.
45562 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45563 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45565 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45566 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45567 (libc_feupdateenv_testl): New.
45568 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45569 (libc_feupdateenv_testf): New.
45570 (libc_feupdateenv): Use libc_feupdateenv_test.
45571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45572 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45574 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45575 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45576 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45577 (libc_feresetround_noex): New.
45578 (libc_feresetround_noexf): New.
45579 (libc_feresetround_noexl): New.
45580 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45581 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45582 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45583 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45585 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45586 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45588 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45589 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45590 SET_RESTORE_ROUND_NOEX.
45591 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45592 SET_RESTORE_ROUND_NOEXF.
45593 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45594 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45595 (libc_feholdsetroundf): New.
45596 (libc_feresetround, libc_feresetroundf): New.
45598 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45599 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45600 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45602 * sysdeps/generic/math_private.h: Include <fenv.h>.
45603 (default_libc_feholdexcept): New.
45604 (default_libc_feholdexcept_setround): New.
45605 (default_libc_fesetenv, default_libc_feupdateenv): New.
45606 (libc_feholdexcept): Only define if undefined.
45607 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45608 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45609 (libc_feholdexcept_setroundl): Likewise.
45610 (libc_feholdexcept_setround_53bit): Likewise.
45611 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45612 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45613 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45614 (libc_feupdateenv_53bit): Likewise.
45615 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45616 (libc_feholdexcept): Convert from macro to inline function.
45617 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45618 (libc_fesetenv, libc_feupdateenv): Likewise.
45620 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45621 not previously defined.
45622 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45623 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45624 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45625 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45626 * sysdeps/ieee754/flt-32/math_private.h: New file.
45627 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45628 math_private.h below SET_FLOAT_WORD.
45629 (__isnan, __isinf_ns, __finite): Remove.
45630 (__isnanf, __isinf_nsf, __finitef): Remove.
45632 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45636 2012-03-17 David S. Miller <davem@davemloft.net>
45639 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45642 2012-03-16 David S. Miller <davem@davemloft.net>
45644 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45648 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45650 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45651 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45652 sysdep_routines when subdir is sysvipc.
45653 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45654 __getshmlba helper.
45656 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45658 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45660 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45663 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45665 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45666 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45667 (__lround): Renamed to ...
45668 (__llround): This. Replace long int with long long int.
45669 Define lround functions as aliases of llround functions.
45670 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45672 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45674 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45675 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45676 adresses to uintptr_t. Replace "long int" and "unsigned long
45677 int" with "greg_t" on va_arg.
45679 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45681 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45682 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45684 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45685 Move e_machine check before EI_CLASS check. Handle x32
45686 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45687 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45688 SKIP_EM_IA_64 and include
45689 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45691 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45692 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45693 (add_system_dir): New macro.
45695 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45696 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45698 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45709 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45711 * math/w_j0f.c (j0f): Likewise.
45713 * math/w_j0l.c (__j0l): Likewise.
45715 * math/w_j1.c (j1): Likewise.
45717 * math/w_j1f.c (j1f): Likewise.
45719 * math/w_j1l.c (__j1l): Likewise.
45721 * math/w_jn.c (jn): Likewise.
45723 * math/w_jnf.c (jnf): Likewise.
45725 * math/w_jnl.c (__jnl): Likewise.
45727 * math/libm-test.inc (j0_test): Add more tests.
45728 (j1_test): Likewise.
45729 (jn_test): Likewise. Add trailing semicolon to existing test.
45730 (y0_test): Likewise.
45731 (y1_test): Likewise.
45732 * sysdeps/i386/fpu/libm-test-ulps: Update.
45733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45737 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45738 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45739 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45740 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45741 (__tanl): Set errno for infinite argument.
45742 * sysdeps/i386/fpu/mptan.c: Remove.
45743 * sysdeps/i386/fpu/s_tan.S: Likewise.
45744 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45745 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45746 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45747 * math/libm-test.inc (tan_test): Add more tests and enable more
45748 tests for double and long double.
45749 * sysdeps/i386/fpu/libm-test-ulps: Update.
45750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45752 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45754 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45755 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45757 2012-03-16 Roland McGrath <roland@hack.frob.com>
45759 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45760 * configure.in: Use it for both main tree and add-ons.
45761 * configure: Regenerated.
45763 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45765 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45767 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45769 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45773 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45774 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45775 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45776 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45777 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45779 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45780 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45781 != 0 for prec == 2.
45782 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45783 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45784 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45785 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45786 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45787 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45788 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45789 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45790 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45791 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45792 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45793 * math/libm-test.inc (cos_test): Add more tests and enable more
45794 tests for long double.
45795 (sin_test): Likewise.
45796 (sincos_test): Likewise.
45797 * sysdeps/i386/fpu/libm-test-ulps: Update.
45798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45800 2012-03-16 David S. Miller <davem@davemloft.net>
45802 * sysdeps/sparc/fpu/math_private.h: New file.
45804 2012-03-15 David S. Miller <davem@davemloft.net>
45806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45820 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45821 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45823 * sysdeps/sparc/sparc-ifunc.h: New file.
45824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45849 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45850 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45851 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45864 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45866 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45867 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45869 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45871 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45875 2012-03-15 Andreas Jaeger <aj@suse.de>
45878 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45879 ieee754/flt-32 implementation for sin, cos and sincos.
45880 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45881 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45882 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45883 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45884 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45885 ieee754/flt-32 implementation for tan.
45887 * math/libm-test.inc (cos_test): Enable some large input tests for
45889 (sin_test): Likewise.
45890 (sincos_test): Likewise.
45891 (tan_test): Add tests for large input.
45893 * sysdeps/i386/fpu/libm-test-ulps: Update.
45895 2012-03-15 Andreas Jaeger <aj@suse.de>
45898 * math/libm-test.inc (cos_test): Add more test cases.
45899 (sin_test): Likewise.
45900 (sincos_test): Likewise.
45902 2012-03-15 Andreas Jaeger <aj@suse.de>
45905 * math/libm-test.inc (cos_test): Add a test case for large input
45907 (sin_test): Likewise.
45908 (sincos_test): Likewise.
45910 2012-03-15 Andreas Jaeger <aj@suse.de>
45911 Joseph Myers <joseph@codesourcery.com>
45914 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45915 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45916 * sysdeps/i386/fpu/branred.c: Likewise.
45917 * sysdeps/i386/fpu/dosincos.c: Likewise.
45918 * sysdeps/i386/fpu/mpa.c: Likewise.
45919 * sysdeps/i386/fpu/s_cos.S: Likewise.
45920 * sysdeps/i386/fpu/s_sin.S: Likewise.
45921 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45922 * sysdeps/i386/fpu/sincos32.c: Likewise.
45924 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45926 (libc_feupdateenv_53bit): Define.
45927 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45929 (libc_feupdateenv_53bit): Define.
45931 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45932 53 bit (without extend i386 double precision).
45934 * math/libm-test.inc (sincos_test): Add tests for large input.
45938 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45940 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45944 2012-03-15 David S. Miller <davem@davemloft.net>
45946 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45947 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45948 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45949 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45973 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45974 fmin/fmax sysdep routines.
45975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45977 2012-03-14 David S. Miller <davem@davemloft.net>
45979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45983 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45984 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45985 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45986 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45991 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45992 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45999 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46000 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46001 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46002 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46003 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46004 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46005 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46006 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46051 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46056 * sysdeps/sparc/configure.in: New file.
46057 * sysdeps/sparc/configure: Generate.
46058 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46059 * configure: Regenerate.
46060 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46061 * config.make.in (have-as-vis3): New.
46062 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46063 available use -Av9d instead of -Av9a.
46064 * sysdeps/sparc/sparc64/Makefile: Likewise.
46065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46074 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46075 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46076 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46077 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46078 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46080 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46081 fzeros/fnegs to load 0x80000000 into a float register instead of
46083 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46085 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46089 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46090 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46091 ($(inst_includedir)/bits/syscall.h): Remove rule.
46092 ($(objpfx)bits/syscall.d): Include instead of
46093 $(objpfx)syscall-list.d.
46094 (generated): Change syscall-list.h and syscall-list.d to
46095 bits/syscall.h and bits/syscall.d.
46097 2012-03-14 Roland McGrath <roland@hack.frob.com>
46100 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46102 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46105 * math/s_csqrt.c: Include <float.h>.
46106 (__csqrt): Scale large or subnormal inputs.
46107 * math/s_csqrtf.c: Likewise.
46108 * math/s_csqrtl.c: Likewise.
46109 * math/libm-test.inc (csqrt_test): Add more tests.
46110 * sysdeps/i386/fpu/libm-test-ulps: Update.
46111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46114 * math/libm-test.inc (hypot_test): Add more tests.
46116 2012-03-13 David S. Miller <davem@davemloft.net>
46119 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46120 double-precision for the calculation instead of scaling.
46122 2012-03-13 Joseph Myers <joseph@codesourcery.com>
46124 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46125 manipulate bits before adding and subtracting TWO52[sx].
46126 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46127 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46129 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46131 2012-03-13 David S. Miller <davem@davemloft.net>
46133 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46134 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46135 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46136 rtld-global-offsets.h
46137 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46139 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46142 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46144 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46145 'err' in the ifdef scope in which it is actually used.
46147 * nss/nss_db/db-init.c: Include string.h
46149 2012-03-12 David S. Miller <davem@davemloft.net>
46151 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46152 masking out of the most significant byte of random value used.
46153 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46154 Fix coding style in previous change.
46156 * sysdeps/unix/sysv/linux/kernel-features.h
46157 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46158 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46160 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46163 2012-03-11 David S. Miller <davem@davemloft.net>
46165 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46166 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46167 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46168 for 'resultvar' otherwise things get truncated on 64-bit.
46170 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46171 Fix masking out of the most significant byte of random value used.
46173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46175 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46179 2012-03-09 David S. Miller <davem@davemloft.net>
46181 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46182 variables with appropriate CPP guards.
46183 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46184 from the frame pointer, not the stack pointer. Correct layout
46185 comments. Fix test on resulting framesize and the management of
46186 the outregs buffer for pltexit. Preserve floating point return
46187 values across _dl_call_pltexit call.
46188 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46189 framesize and the management of the outregs buffer for pltexit.
46190 Preserve floating point return values across _dl_call_pltexit
46192 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46193 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46194 (la_sparc64_gnu_pltexit): New functions.
46195 (print_exit): Fix format string for return register value.
46197 2012-03-10 Joseph Myers <joseph@codesourcery.com>
46199 * sunrpc/Makefile (others): Add rpcgen.
46200 ($(objpfx)rpcgen): Remove special build rule and dependency on
46202 * sunrpc/rpcgen.c: New file.
46204 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46207 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46208 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46209 * sysdeps/i386/crti.S: Likewise.
46210 * sysdeps/i386/crtn.S: Likewise.
46211 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46212 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46213 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46214 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46215 * sysdeps/sh/crti.S: Likewise.
46216 * sysdeps/sh/crtn.S: Likewise.
46217 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46220 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46222 * locale/programs/locfile-kw.gperf: Likewise.
46223 * locale/programs/charmap-kw.h: Regenerated.
46224 * locale/programs/locfile-kw.h: Likewise.
46227 * intl/plural.y: Replace FSF snail mail address with URL.
46228 * intl/plural.c: Regenerated.
46230 2012-03-09 Richard Henderson <rth@twiddle.net>
46232 * include/math_private.h: Remove file.
46233 * math/math_private.h: Move file ...
46234 * sysdeps/generic/math_private.h: ... here.
46236 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46237 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46238 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46240 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46241 and <math_private.h>.
46242 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46243 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46244 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46245 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46246 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46247 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46248 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46249 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46250 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46251 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46252 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46253 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46254 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46255 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46256 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46257 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46258 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46259 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46260 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46261 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46263 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46264 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46266 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46267 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46268 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46269 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46271 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46272 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46273 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46274 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46275 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46276 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46277 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46278 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46279 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46280 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46281 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46282 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46283 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46284 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46285 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46286 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46287 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46288 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46289 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46290 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46291 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46292 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46293 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46294 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46295 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46296 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46297 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46298 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46299 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46300 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46301 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46302 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46303 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46304 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46305 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46306 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46307 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46308 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46309 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46310 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46311 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46312 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46313 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46314 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46316 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46317 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46320 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46321 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46322 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46323 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46324 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46325 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46326 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46327 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46328 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46329 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46330 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46331 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46332 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46333 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46334 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46335 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46336 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46337 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46338 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46339 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46340 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46341 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46342 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46343 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46344 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46345 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46346 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46347 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46348 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46349 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46350 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46351 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46352 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46353 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46354 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46355 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46356 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46357 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46358 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46359 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46360 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46361 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46362 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46363 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46364 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46365 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46366 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46367 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46368 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46369 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46370 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46371 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46372 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46373 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46374 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46375 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46376 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46377 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46378 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46379 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46380 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46381 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46382 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46383 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46384 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46385 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46386 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46387 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46388 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46389 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46390 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46391 * sysdeps/ieee754/k_standard.c: Likewise.
46392 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46393 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46394 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46395 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46396 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46397 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46398 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46399 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46400 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46401 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46402 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46403 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46404 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46405 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46406 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46407 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46408 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46409 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46410 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46411 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46412 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46413 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46414 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46415 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46416 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46417 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46418 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46419 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46420 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46421 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46422 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46423 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46424 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46425 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46426 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46427 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46428 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46429 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46430 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46431 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46432 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46433 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46434 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46435 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46436 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46437 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46438 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46439 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46440 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46441 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46442 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46443 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46444 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46445 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46446 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46447 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46448 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46449 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46450 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46451 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46452 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46453 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46454 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46455 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46456 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46457 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46458 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46459 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46460 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46461 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46462 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46463 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46464 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46465 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46466 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46467 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46468 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46469 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46470 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46471 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46472 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46473 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46474 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46475 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46476 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46477 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46478 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46479 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46480 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46481 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46482 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46483 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46484 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46485 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46486 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46487 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46488 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46489 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46490 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46491 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46492 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46493 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46494 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46495 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46496 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46499 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46500 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46501 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46502 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46503 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46504 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46505 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46506 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46507 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46508 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46509 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46510 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46511 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46512 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46513 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46514 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46515 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46516 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46517 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46518 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46519 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46520 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46521 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46522 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46523 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46524 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46525 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46526 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46527 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46528 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46529 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46530 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46531 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46532 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46533 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46534 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46535 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46536 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46537 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46538 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46539 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46540 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46541 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46542 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46543 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46544 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46545 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46546 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46547 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46548 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46549 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46550 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46551 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46552 * sysdeps/ieee754/s_lib_version.c: Likewise.
46553 * sysdeps/ieee754/s_matherr.c: Likewise.
46554 * sysdeps/ieee754/s_signgam.c: Likewise.
46555 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46556 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46557 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46558 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46559 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46560 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46561 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46562 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46563 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46564 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46565 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46566 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46567 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46568 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46569 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46570 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46571 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46572 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46573 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46574 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46575 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46577 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46579 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46580 * sunrpc/rpc_main.c: Likewise.
46581 * sunrpc/rpc_svcout.c: Likewise.
46583 2012-03-09 David S. Miller <davem@davemloft.net>
46585 * include/math_private.h: New file.
46587 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46589 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46590 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46591 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46592 from <bits/socket_type.h>.
46593 (enum __socket_type): Don't define here.
46594 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46596 bits/socket_type.h.
46599 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46600 checking __USE_GNU.
46602 * Makerules ($(inst_includedir)/%.h): New rule.
46603 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46604 (install-others): Remove variable setting.
46605 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46607 2012-03-08 Richard Henderson <rth@twiddle.net>
46609 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46610 from macro to inline function; merge with the
46611 !__LIBC_INTERNAL_MATH_INLINES version.
46612 (__ieee754_sqrtf): Likewise.
46614 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46615 to inline function.
46616 (__rintf, __floor, __floorf): Likewise.
46618 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46619 macro to inline function.
46620 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46622 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46623 not <math/math_private.h>.
46625 2012-03-08 David S. Miller <davem@davemloft.net>
46627 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46629 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46631 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46633 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46635 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46636 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46638 2012-03-08 Ulrich Drepper <drepper@gmail.com>
46640 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46641 be defined individually, they must be defined as a block. Define
46642 S for printing a string instead of hidint the different by using a
46643 macro for adding the 'l'.
46644 * stdio-common/tst-fphex-wide.c: Adjust.
46646 2012-03-07 Marek Polacek <polacek@redhat.com>
46648 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46650 2012-03-08 Marek Polacek <polacek@redhat.com>
46653 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46654 * stdio-common/tst-fphex.c: Define a few macros to make the
46655 test reusable. Use them.
46656 * stdio-common/tst-fphex-wide.c: New file.
46658 2012-03-08 Joseph Myers <joseph@codesourcery.com>
46661 * manual/macros.texi (gnusystems): New macro.
46662 (nongnusystems): Likewise.
46663 (gnulinuxhurdsystems): Likewise.
46664 (gnuhurdsystems): Likewise..
46665 (gnulinuxsystems): Likewise.
46666 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46667 variants of the GNU system, not "GNU system".
46668 * manual/conf.texi: Likewise.
46669 * manual/errno.texi: Likewise. Update example of errno macro
46671 * manual/filesys.texi: Likewise.
46672 (getumask): Document as specific to GNU/Hurd.
46673 * manual/install.texi: Likewise. Reword some references to
46675 * manual/intro.texi: Likewise.
46676 * manual/io.texi: Likewise.
46677 (File Name Portability): Detail which constraints are inapplicable
46678 to all GNU systems and which are only inapplicable to GNU/Hurd.
46679 * manual/job.texi: Likewise.
46680 * manual/llio.texi: Likewise.
46681 (O_NOCTTY): Document as present on GNU/Linux.
46682 * manual/maint.texi: Likewise.
46683 * manual/memory.texi: Likewise.
46684 * manual/pattern.texi: Likewise.
46685 * manual/pipe.texi: Likewise.
46686 * manual/process.texi: Likewise.
46687 * manual/resource.texi: Likewise.
46688 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46690 * manual/setjmp.texi: Likewise.
46691 * manual/signal.texi: Likewise.
46692 * manual/startup.texi: Likewise.
46693 * manual/stdio.texi: Likewise.
46694 * manual/terminal.texi: Likewise.
46695 (ONLCR): Document as POSIX.
46696 (OXTABS): Document availability on GNU/Linux as XTABS.
46697 (ONOEOT): Document availability separately from other bits.
46698 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46699 * manual/time.texi: Likewise.
46700 * manual/users.texi: Likewise.
46701 * INSTALL: Regenerated.
46702 * sysdeps/gnu/errlist.c: Regenerated.
46704 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46705 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46706 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46708 * configure: Regenerated.
46710 2012-03-07 Joseph Myers <joseph@codesourcery.com>
46712 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46713 default includes instead of AC_HEADER_CHECK.
46714 * sysdeps/i386/configure: Regenerated.
46717 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46718 * math/s_cacoshf.c (__cacoshf): Likewise.
46719 * math/s_cacoshl.c (__cacoshl): Likewise.
46720 * math/s_casinh.c (__casinh): Set signs of result from argument.
46721 * math/s_casinhf.c (__casinhf): Likewise.
46722 * math/s_casinhl.c (__casinhl): Likewise.
46723 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46724 (casinh_test): Add more tests.
46725 * sysdeps/i386/fpu/libm-test-ulps: Update.
46726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46728 2012-03-07 Ulrich Drepper <drepper@gmail.com>
46730 * po/zh_TW.po: Update from translation team.
46732 * login/Makefile (distribute): Remove variable.
46733 * catgets/Makefile: Likewise.
46734 * mach/Makefile: Likewise.
46735 * malloc/Makefile: Likewise.
46736 * misc/Makefile: Likewise.
46737 * iconv/Makefile: Likewise.
46738 * nscd/Makefile: Likewise.
46739 * hurd/Makefile: Likewise.
46740 * manual/Makefile: Likewise.
46741 * locale/Makefile: Likewise.
46742 * intl/Makefile: Likewise.
46743 * conform/Makefile: Likewise.
46744 * nss/Makefile: Likewise.
46745 * time/Makefile: Likewise.
46746 * soft-fp/Makefile: Likewise.
46747 * dirent/Makefile: Likewise.
46748 * gmon/Makefile: Likewise.
46749 * po/Makefile: Likewise.
46750 * rt/Makefile: Likewise.
46751 * socket/Makefile: Likewise.
46752 * math/Makefile: Likewise.
46753 * signal/Makefile: Likewise.
46754 * debug/Makefile: Likewise.
46755 * elf/Makefile: Likewise.
46756 * timezone/Makefile: Likewise.
46757 * stdlib/Makefile: Likewise.
46758 * iconvdata/Makefile: Likewise.
46759 * sunrpc/Makefile: Likewise.
46760 * io/Makefile: Likewise.
46761 * argp/Makefile: Likewise.
46762 * inet/Makefile: Likewise.
46763 * hesiod/Makefile: Likewise.
46764 * grp/Makefile: Likewise.
46765 * csu/Makefile: Likewise.
46766 * wctype/Makefile: Likewise.
46767 * crypt/Makefile: Likewise.
46768 * libio/Makefile: Likewise.
46769 * string/Makefile: Likewise.
46770 * nis/Makefile: Likewise.
46771 * resolv/Makefile: Likewise.
46772 * stdio-common/Makefile: Likewise.
46773 * wcsmbs/Makefile: Likewise.
46774 * dlfcn/Makefile: Likewise.
46775 * posix/Makefile: Likewise.
46778 * timezone/Makefile: Don't install timezone files, just the programs
46781 2012-03-06 Ulrich Drepper <drepper@gmail.com>
46783 * nss/databases.def: Add missing gshadow entry.
46785 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46787 2012-03-06 Marek Polacek <polacek@redhat.com>
46790 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46791 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46792 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46793 * stdio-common/tst-long-dbl-fphex.c: New file.
46795 2012-03-06 David S. Miller <davem@davemloft.net>
46797 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46798 (set_obp_int): New function.
46799 (get_obp_int): New function.
46800 (__get_clockfreq_via_dev_openprom): Likewise.
46801 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46802 Avoid unused variable warnings on 'val' and use builtin_expect.
46803 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46805 (INLINE_CLONE_SYSCALL): Likewise.
46807 2012-03-05 David S. Miller <davem@davemloft.net>
46809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46811 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46815 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46816 only for |x| >= 40.
46817 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46819 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
46821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46822 Replace gettimeofday with __vdso_gettimeofday.
46824 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46825 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46826 __vdso_clock_gettime and __vdso_getcpu.
46828 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46829 time with __vdso_time.
46831 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46833 * manual/lang.texi (size_t): Note types to which size_t may be
46834 equivalent with the GNU C Library, but do not describe when
46835 differences between them are significant.
46837 2012-03-05 Andreas Jaeger <aj@suse.de>
46839 * sysdeps/i386/fpu/libm-test-ulps: Update.
46841 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46844 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46845 (__ieee754_pow): Save and restore rounding mode and use
46846 round-to-nearest for main computations.
46847 * math/libm-test.inc (pow_test_tonearest): New function.
46848 (pow_test_towardzero): Likewise.
46849 (pow_test_downward): Likewise.
46850 (pow_test_upward): Likewise.
46851 (main): Call the new functions.
46852 * sysdeps/i386/fpu/libm-test-ulps: Update.
46853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46856 * math/libm-test.inc (cosh_test_tonearest): New function.
46857 (cosh_test_towardzero): Likewise.
46858 (cosh_test_downward): Likewise.
46859 (cosh_test_upward): Likewise.
46860 (sinh_test_tonearest): Likewise.
46861 (sinh_test_towardzero): Likewise.
46862 (sinh_test_downward): Likewise.
46863 (sinh_test_upward): Likewise.
46864 (main): Call the new functions.
46865 * sysdeps/i386/fpu/libm-test-ulps: Update.
46866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46868 2012-03-05 Tom de Vries <tom@codesourcery.com>
46870 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46871 default stack guard is set in last bytes.
46872 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46874 2012-03-05 Kees Cook <keescook@chromium.org>
46876 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46879 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46880 possibly allocate from heap instead of stack.
46881 * stdio-common/bug-vfprintf-nargs.c: New file.
46882 * stdio-common/Makefile (tests): Add nargs overflow test.
46884 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46888 2012-03-03 Marek Polacek <polacek@redhat.com>
46890 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46891 * math/math_private.h: Likewise.
46892 * stdlib/tst-strtod.c: Likewise.
46893 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46894 * sysdeps/x86_64/bits/atomic.h: Likewise.
46896 2012-03-02 David S. Miller <davem@davemloft.net>
46898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46902 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46903 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46904 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46905 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46907 2012-03-02 Roland McGrath <roland@hack.frob.com>
46910 * manual/examples/README: New file, says the example source files
46911 can be used under GPL>=2.
46912 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46913 line containing just "*/".
46914 * manual/examples/add.c: Add copyright header (GPL>=2).
46915 * manual/examples/argp-ex1.c: Likewise.
46916 * manual/examples/argp-ex2.c: Likewise.
46917 * manual/examples/argp-ex3.c: Likewise.
46918 * manual/examples/argp-ex4.c: Likewise.
46919 * manual/examples/atexit.c: Likewise.
46920 * manual/examples/db.c: Likewise.
46921 * manual/examples/dir.c: Likewise.
46922 * manual/examples/dir2.c: Likewise.
46923 * manual/examples/execinfo.c: Likewise.
46924 * manual/examples/filecli.c: Likewise.
46925 * manual/examples/filesrv.c: Likewise.
46926 * manual/examples/fmtmsgexpl.c: Likewise.
46927 * manual/examples/genpass.c: Likewise.
46928 * manual/examples/inetcli.c: Likewise.
46929 * manual/examples/inetsrv.c: Likewise.
46930 * manual/examples/isockad.c: Likewise.
46931 * manual/examples/longopt.c: Likewise.
46932 * manual/examples/memopen.c: Likewise.
46933 * manual/examples/memstrm.c: Likewise.
46934 * manual/examples/mkfsock.c: Likewise.
46935 * manual/examples/mkisock.c: Likewise.
46936 * manual/examples/mygetpass.c: Likewise.
46937 * manual/examples/pipe.c: Likewise.
46938 * manual/examples/popen.c: Likewise.
46939 * manual/examples/rprintf.c: Likewise.
46940 * manual/examples/search.c: Likewise.
46941 * manual/examples/select.c: Likewise.
46942 * manual/examples/setjmp.c: Likewise.
46943 * manual/examples/sigh1.c: Likewise.
46944 * manual/examples/sigusr.c: Likewise.
46945 * manual/examples/stpcpy.c: Likewise.
46946 * manual/examples/strdupa.c: Likewise.
46947 * manual/examples/strftim.c: Likewise.
46948 * manual/examples/strncat.c: Likewise.
46949 * manual/examples/subopt.c: Likewise.
46950 * manual/examples/swapcontext.c: Likewise.
46951 * manual/examples/termios.c: Likewise.
46952 * manual/examples/testopt.c: Likewise.
46953 * manual/examples/testpass.c: Likewise.
46954 * manual/examples/timeval_subtract.c: Likewise.
46957 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46959 * manual/timeval_subtract.c.texi: ... here, new file.
46961 2012-03-02 David S. Miller <davem@davemloft.net>
46963 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46965 2012-03-02 Joseph Myers <joseph@codesourcery.com>
46968 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46969 (__sin): Save and restore rounding mode and use round-to-nearest
46970 for all computations.
46971 (__cos): Save and restore rounding mode and use round-to-nearest
46972 for all computations.
46973 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46975 (tan): Save and restore rounding mode and use round-to-nearest for
46977 * math/libm-test.inc (cos_test_tonearest): New function.
46978 (cos_test_towardzero): Likewise.
46979 (cos_test_downward): Likewise.
46980 (cos_test_upward): Likewise.
46981 (sin_test_tonearest): Likewise.
46982 (sin_test_towardzero): Likewise.
46983 (sin_test_downward): Likewise.
46984 (sin_test_upward): Likewise.
46985 (tan_test_tonearest): Likewise.
46986 (tan_test_towardzero): Likewise.
46987 (tan_test_downward): Likewise.
46988 (tan_test_upward): Likewise.
46989 (main): Call the new functions.
46990 * sysdeps/i386/fpu/libm-test-ulps: Update.
46991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46994 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46995 small n, then large n, before computing and testing k+n.
46996 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46997 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46999 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47001 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47002 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47003 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47004 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47005 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47006 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47007 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47008 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47009 * math/libm-test.inc (scalbn_test): Add more tests.
47010 (scalbln_test): Likewise.
47012 * manual/filesys.texi (mode_t): Describe constraints on size and
47013 signedness, not exact equivalence to a particular type.
47015 (ino64_t): Likewise.
47017 (nlink_t): Likewise.
47018 (blkcnt_t): Likewise.
47019 (blkcnt64_t): Likewise.
47020 * manual/llio.texi (off_t): Likewise.
47023 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47024 (__ieee754_exp): Save and restore rounding mode and use
47025 round-to-nearest for all computations.
47026 * math/libm-test.inc (exp_test_tonearest): New function.
47027 (exp_test_towardzero): Likewise.
47028 (exp_test_downward): Likewise.
47029 (exp_test_upward): Likewise.
47030 (main): Call the new functions.
47031 * sysdeps/i386/fpu/libm-test-ulps: Update.
47032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47034 2012-03-01 Chris Demetriou <cgd@google.com>
47036 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47037 have predictable order.
47039 2012-03-01 David S. Miller <davem@davemloft.net>
47041 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47043 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47044 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47045 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47046 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47048 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47049 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47050 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47052 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47053 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47054 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47055 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47056 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47060 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47061 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47062 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47064 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47065 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47066 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47067 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47068 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47069 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47070 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47071 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47072 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47073 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47074 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47075 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47076 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47077 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47078 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47079 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47080 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47081 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47082 * sysdeps/sparc/elf/configure: Regenerated.
47084 2012-03-01 Joseph Myers <joseph@codesourcery.com>
47086 * configure.in (AS, LD): Require binutils 2.20 or later.
47087 * configure: Regenerated.
47088 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47089 as required minimum version.
47090 * INSTALL: Regenerated.
47094 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47095 before squaring exponent.
47096 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47097 bottom long double and 27 bits of top long double before squaring
47099 * math/libm-test.inc (erfc_test): Add more tests.
47100 * sysdeps/i386/fpu/libm-test-ulps: Update.
47101 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47104 2012-03-01 Kai Tietz <ktietz@redhat.com>
47106 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47107 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47108 containing bit-fields.
47109 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47110 * soft-fp/single.h (_FP_UNION_S): Likewise.
47111 * soft-fp/double.h (_FP_UNION_D): Likewise.
47113 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47116 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47117 not include ../strcmp.S.
47118 [USE_AS_STRNCASECMP_L]: Likewise.
47119 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47120 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47121 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47122 (__strncasecmp_l_ia32): Define as alias to
47123 __strncasecmp_l_nonascii.
47126 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47127 * sysdeps/i386/fpu/libm-test-ulps: Update.
47128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47130 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47133 2012-02-29 Jeff Law <law@redhat.com>
47135 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47136 out of bounds read.
47138 2012-02-29 Marek Polacek <polacek@redhat.com>
47141 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47142 * elf/Makefile: Add rules to run tst-unused-dep.out.
47144 2012-02-28 David S. Miller <davem@davemloft.net>
47146 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47147 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47148 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47150 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47151 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47153 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47155 * math/libm-test.inc (llround_test): Move one test from
47156 lround_test. Use TEST_f_L in moved test.
47157 (lround_test): Move misplaced test to llround_test. Add testcase
47160 2012-02-28 Ulrich Drepper <drepper@gmail.com>
47162 * sysdeps/x86_64/fpu/e_expf.S: New file.
47163 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47165 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47168 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47169 of remain_len that may cause incomplete multi-byte character and
47171 * posix/bug-regex33.c: New file.
47172 * posix/Makefile (tests): Add bug-regex33.
47174 2012-02-28 Joseph Myers <joseph@codesourcery.com>
47176 * manual/macros.texi: New file.
47177 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47178 * manual/libc.texinfo: Include macros.texi.
47179 * manual/creatute.texi: Likewise.
47180 * manual/install.texi: Likewise.
47181 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47182 @glibcadj{} in references to the GNU C Library.
47183 * manual/charset.texi: Likewise.
47184 * manual/conf.texi: Likewise.
47185 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47186 when not using those macros.
47187 * manual/creature.texi: Likewise.
47188 * manual/crypt.texi: Likewise.
47189 * manual/errno.texi: Likewise.
47190 * manual/filesys.texi: Likewise.
47191 * manual/header.texi: Likewise.
47192 * manual/install.texi: Likewise.
47193 * manual/intro.texi: Likewise.
47194 * manual/io.texi: Likewise.
47195 * manual/job.texi: Likewise.
47196 * manual/lang.texi: Likewise.
47197 * manual/libc.texiinfo: Likewise.
47198 * manual/llio.texi: Likewise.
47199 * manual/locale.texi: Likewise.
47200 * manual/maint.texi: Likewise.
47201 * manual/math.texi: Likewise.
47202 * manual/memory.texi: Likewise.
47203 * manual/message.texi: Likewise.
47204 * manual/nss.texi: Likewise.
47205 * manual/pattern.texi: Likewise.
47206 * manual/process.texi: Likewise.
47207 * manual/resource.texi: Likewise.
47208 * manual/search.texi: Likewise.
47209 * manual/setjmp.texi: Likewise.
47210 * manual/signal.texi: Likewise.
47211 * manual/socket.texi: Likewise.
47212 * manual/startup.texi: Likewise.
47213 * manual/stdio.texi: Likewise.
47214 * manual/string.texi: Likewise.
47215 * manual/sysinfo.texi: Likewise.
47216 * manual/syslog.texi: Likewise.
47217 * manual/terminal.texi: Likewise.
47218 * manual/time.texi: Likewise.
47219 * manual/users.texi: Likewise.
47220 * INSTALL: Regenerated.
47221 * NOTES: Regenerated.
47222 * sysdeps/gnu/errlist.c: Regenerated.
47224 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47226 * include/dirent.h: Include <dirstream.h> before
47229 2012-02-28 David S. Miller <davem@davemloft.net>
47231 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47232 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47233 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47234 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47236 2012-02-27 David S. Miller <davem@davemloft.net>
47238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47240 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47241 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47244 frame pointer instead of stack pointer relative arg slot.
47245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47246 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47247 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47249 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47252 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47254 2012-02-27 David S. Miller <davem@davemloft.net>
47256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47260 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47261 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47262 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47263 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47265 2012-02-27 Joseph Myers <joseph@codesourcery.com>
47267 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47268 later. Allow versions 5-9.
47269 * configure: Regenerated.
47270 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47271 required minimum version and 4.6 as recommended version. Do not
47272 mention bugs in GCC 2.7 and 2.8.
47273 * INSTALL: Regenerated.
47275 2012-02-27 David S. Miller <davem@davemloft.net>
47277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47281 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47282 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47283 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47284 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47286 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47287 manipulate bits before adding and subtracting TWO112[sx].
47288 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47290 2012-02-27 Roland McGrath <roland@hack.frob.com>
47293 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47294 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47295 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47296 being in POSIX, because they are in 1003.1-2008.
47298 * rt/tst-aio.c: Include <fcntl.h>.
47299 * rt/tst-aio7.c: Likewise.
47300 * rt/tst-aio64.c: Likewise.
47302 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47304 2012-02-27 Joseph Myers <joseph@codesourcery.com>
47306 * manual/install.texi (--with-headers): Describe headers as
47307 interface headers, not private headers.
47308 (Specific advice for GNU/Linux systems): Describe use of headers
47309 from "make headers_install", not private headers from older
47311 * INSTALL: Regenerated.
47312 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47314 * sysdeps/unix/sysv/linux/configure: Regenerated.
47316 * manual/llio.texi (fclean): Remove documentation.
47318 * manual/Makefile (libc-texi-generated): New variable. Include
47320 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47321 $(libc-texi-generated), not duplicated list of files.
47322 (version.texi, stamp-version): New rules.
47323 (realclean): Remove $(libc-texi-generated), not individual files
47324 from that list. Do not remove dir-add.texinfo.
47325 * manual/libc.texinfo: Comment out uses of edition numbers and
47326 references to printed manual. Remove last-updated dates.
47327 (EDITION): Comment out.
47329 (VERSION, UPDATED): Remove.
47330 (version.texi): Include.
47332 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47334 * sysdeps/posix/spawni.c: Include <signal.h>.
47335 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47336 * sysdeps/pthread/aio_fsync.c: Likewise.
47338 2012-02-26 Ulrich Drepper <drepper@gmail.com>
47340 * conform/Makefile (tests): Run only when not cross-compiling and
47341 when fast-check is not defined.
47343 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47344 * conform/data/limits.h-data: Fixes for POSIX2008.
47345 * conform/run-conformtest.sh: Run all tests.
47346 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47348 * include/bits/dlfcn.h: Likewise.
47349 * include/langinfo.h: Likewise.
47350 * include/monetary.h: Likewise.
47351 * include/sys/poll.h: Likewise.
47353 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47355 * posix/spawn.h: Define __need_sigset_t.
47356 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47357 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47358 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47359 to get sigevent_t only.
47360 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47361 only for __USE_GNU.
47362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47363 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47364 process_vm_writev only for __USE_GNU.
47365 * termios/termios.h: Declare tcgetsid also for POSIX2008.
47367 * conform/Makefile: For now ignore errors from run-conformtest.
47368 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47369 POSIX to avoid namespace pollution. Don't prepend headers.
47370 * conform/data/aio.h-data: Fixes for POSIX testing.
47371 * conform/data/fcntl.h-data: Likewise.
47372 * conform/data/glob.h-data: Likewise.
47373 * conform/data/grp.h-data: Likewise.
47374 * conform/data/pthread.h-data: Likewise.
47375 * conform/data/pwd.h-data: Likewise.
47376 * conform/data/signal.h-data: Likewise.
47377 * conform/data/spawn.h-data: Likewise.
47378 * conform/data/stdio.h-data: Likewise.
47379 * conform/data/stdlib.h-data: Likewise.
47380 * conform/data/stropts.h-data: Likewise.
47381 * conform/data/sys/mman.h-data: Likewise.
47382 * conform/data/sys/stat.h-data: Likewise.
47383 * conform/data/sys/types.h-data: Likewise.
47384 * conform/data/sys/wait.h-data: Likewise.
47385 * conform/data/time.h-data: Likewise.
47386 * conform/data/unistd.h-data: Likewise.
47387 * conform/data/utime.h-data: Likewise.
47389 * io/sys/stat.h: fchmod was always in POSIX.
47390 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47391 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47392 * rt/aio.h: Define __need_timespec before including <time.h>.
47393 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47394 struct. Add forward declaration of pthread_attr_t and use it in
47396 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47397 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47398 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47399 always remove CLK_TCK definition.
47401 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47403 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47405 2012-02-25 Ulrich Drepper <drepper@gmail.com>
47407 * conform/run-conformtest.sh: New file.
47408 * conform/Makefile: Run run-conformtest for tests.
47409 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47412 * conform/data/uchar.h-data: New file.
47413 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47414 * conform/data/arpa/inet.h-data: Likewise.
47415 * conform/data/assert.h-data: Likewise.
47416 * conform/data/complex.h-data: Likewise.
47417 * conform/data/cpio.h-data: Likewise.
47418 * conform/data/ctype.h-data: Likewise.
47419 * conform/data/dirent.h-data: Likewise.
47420 * conform/data/dlfcn.h-data: Likewise.
47421 * conform/data/errno.h-data: Likewise.
47422 * conform/data/fcntl.h-data: Likewise.
47423 * conform/data/float.h-data: Likewise.
47424 * conform/data/fmtmsg.h-data: Likewise.
47425 * conform/data/fnmatch.h-data: Likewise.
47426 * conform/data/ftw.h-data: Likewise.
47427 * conform/data/glob.h-data: Likewise.
47428 * conform/data/grp.h-data: Likewise.
47429 * conform/data/iconv.h-data: Likewise.
47430 * conform/data/inttypes.h-data: Likewise.
47431 * conform/data/langinfo.h-data: Likewise.
47432 * conform/data/libgen.h-data: Likewise.
47433 * conform/data/limits.h-data: Likewise.
47434 * conform/data/locale.h-data: Likewise.
47435 * conform/data/math.h-data: Likewise.
47436 * conform/data/monetary.h-data: Likewise.
47437 * conform/data/mqueue.h-data: Likewise.
47438 * conform/data/ndbm.h-data: Likewise.
47439 * conform/data/net/if.h-data: Likewise.
47440 * conform/data/netdb.h-data: Likewise.
47441 * conform/data/netinet/in.h-data: Likewise.
47442 * conform/data/nl_types.h-data: Likewise.
47443 * conform/data/poll.h-data: Likewise.
47444 * conform/data/pthread.h-data: Likewise.
47445 * conform/data/pwd.h-data: Likewise.
47446 * conform/data/regex.h-data: Likewise.
47447 * conform/data/sched.h-data: Likewise.
47448 * conform/data/search.h-data: Likewise.
47449 * conform/data/semaphore.h-data: Likewise.
47450 * conform/data/setjmp.h-data: Likewise.
47451 * conform/data/signal.h-data: Likewise.
47452 * conform/data/spawn.h-data: Likewise.
47453 * conform/data/stdarg.h-data: Likewise.
47454 * conform/data/stdio.h-data: Likewise.
47455 * conform/data/stdlib.h-data: Likewise.
47456 * conform/data/string.h-data: Likewise.
47457 * conform/data/strings.h-data: Likewise.
47458 * conform/data/stropts.h-data: Likewise.
47459 * conform/data/sys/ipc.h-data: Likewise.
47460 * conform/data/sys/mman.h-data: Likewise.
47461 * conform/data/sys/msg.h-data: Likewise.
47462 * conform/data/sys/resource.h-data: Likewise.
47463 * conform/data/sys/select.h-data: Likewise.
47464 * conform/data/sys/sem.h-data: Likewise.
47465 * conform/data/sys/shm.h-data: Likewise.
47466 * conform/data/sys/socket.h-data: Likewise.
47467 * conform/data/sys/stat.h-data: Likewise.
47468 * conform/data/sys/statvfs.h-data: Likewise.
47469 * conform/data/sys/time.h-data: Likewise.
47470 * conform/data/sys/timeb.h-data: Likewise.
47471 * conform/data/sys/times.h-data: Likewise.
47472 * conform/data/sys/types.h-data: Likewise.
47473 * conform/data/sys/uio.h-data: Likewise.
47474 * conform/data/sys/un.h-data: Likewise.
47475 * conform/data/sys/utsname.h-data: Likewise.
47476 * conform/data/sys/wait.h-data: Likewise.
47477 * conform/data/syslog.h-data: Likewise.
47478 * conform/data/tar.h-data: Likewise.
47479 * conform/data/termios.h-data: Likewise.
47480 * conform/data/utime.h-data: Likewise.
47481 * conform/data/utmpx.h-data: Likewise.
47482 * conform/data/varargs.h-data: Likewise.
47483 * conform/data/wchar.h-data: Likewise.
47484 * conform/data/wctype.h-data: Likewise.
47485 * conform/data/wordexp.h-data: Likewise.
47487 * include/stropts.h: New file.
47488 * include/uchar.h: New file.
47489 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47490 * include/assert.h: Likewise.
47491 * include/ctype.h: Likewise.
47492 * include/dirent.h: Likewise.
47493 * include/dlfcn.h: Likewise.
47494 * include/fcntl.h: Likewise.
47495 * include/fnmatch.h: Likewise.
47496 * include/glob.h: Likewise.
47497 * include/grp.h: Likewise.
47498 * include/libio.h: Likewise.
47499 * include/locale.h: Likewise.
47500 * include/math.h: Likewise.
47501 * include/net/if.h: Likewise.
47502 * include/netdb.h: Likewise.
47503 * include/netinet/in.h: Likewise.
47504 * include/pthread.h: Likewise.
47505 * include/pwd.h: Likewise.
47506 * include/regex.h: Likewise.
47507 * include/sched.h: Likewise.
47508 * include/search.h: Likewise.
47509 * include/setjmp.h: Likewise.
47510 * include/signal.h: Likewise.
47511 * include/stdio.h: Likewise.
47512 * include/stdlib.h: Likewise.
47513 * include/string.h: Likewise.
47514 * include/sys/cdefs.h: Likewise.
47515 * include/sys/mman.h: Likewise.
47516 * include/sys/msg.h: Likewise.
47517 * include/sys/resource.h: Likewise.
47518 * include/sys/select.h: Likewise.
47519 * include/sys/socket.h: Likewise.
47520 * include/sys/stat.h: Likewise.
47521 * include/sys/statvfs.h: Likewise.
47522 * include/sys/time.h: Likewise.
47523 * include/sys/times.h: Likewise.
47524 * include/sys/uio.h: Likewise.
47525 * include/sys/utsname.h: Likewise.
47526 * include/sys/wait.h: Likewise.
47527 * include/termios.h: Likewise.
47528 * include/time.h: Likewise.
47529 * include/ulimit.h: Likewise.
47530 * include/unistd.h: Likewise.
47531 * include/utime.h: Likewise.
47532 * include/wchar.h: Likewise.
47533 * include/wctype.h: Likewise.
47534 * include/wordexp.h: Likewise.
47536 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47538 * time/time.h: TIME_UTC must be a macro.
47539 Make timespec_get available for ISO C11 only as well.
47541 2012-02-24 Ulrich Drepper <drepper@gmail.com>
47543 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47544 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47546 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47548 * configure.in: Use -o not -a in test for unsupported multi-arch.
47550 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47552 * manual/texinfo.tex: Update to version 2012-01-19.16.
47554 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47556 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47558 2012-02-24 Roland McGrath <roland@hack.frob.com>
47561 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47562 * manual/fdl-1.3.texi: New file.
47563 * manual/fdl-1.1.texi: File removed.
47566 * manual/libc.texinfo (FDL_VERSION): New @set.
47567 Use it for mention of FDL in cover text.
47568 (Documentation License): Use it in @include file name.
47570 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47571 Roland McGrath <roland@hack.frob.com>
47574 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47575 (not LONG_LONG_MAX and LONG_LONG_MIN.
47576 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47577 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47579 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47581 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47585 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47586 manipulate bits before adding and subtracting TWO23[sx].
47587 * math/libm-test.inc (nearbyint_test): Add more tests.
47589 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47592 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47593 bits before adding and subtracting TWO23[sx].
47594 * math/libm-test.inc (rint_test): Add more tests.
47595 (rint_test_tonearest): Likewise.
47596 (rint_test_towardzero): Likewise.
47597 (rint_test_downward): Likewise.
47598 (rint_test_upward: Likewise.
47600 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47603 * include/stdc-predef.h: New file. Extracted from features.h.
47604 * include/features.h: Include stdc-predef.h.
47605 * Makefile (headers): Add stdc-predef.h.
47606 * CONFORMANCE (Compiler limitations): Update.
47608 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47610 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47612 2012-02-21 David S. Miller <davem@davemloft.net>
47614 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47615 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47617 2012-02-20 David S. Miller <davem@davemloft.net>
47619 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47620 using a normal save/restore sequence, rather than allocating a
47621 dummy stack frame just to store a frame pointer and restore.
47622 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47624 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47626 * manual/install.texi: Fix stray word in line-wrapped comment.
47628 2012-02-20 David S. Miller <davem@davemloft.net>
47630 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47631 both binutils and gcc support GOTDATA.
47633 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47634 "rd %pc" in the PIC register setup sequences.
47636 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47637 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47638 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47639 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47640 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47641 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47642 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47643 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47645 (SYSCALL_ERROR_HANDLER): Likewise.
47646 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47647 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47649 (SYSCALL_ERROR_HANDLER): Likewise.
47651 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47652 (HAVE_GCC_GOTDATA): New.
47653 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47654 relocation support in both binutils and gcc.
47655 * sysdeps/sparc/elf/configure: Regenerate.
47657 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47658 * sysdeps/sparc/sparc32/elf/configure: Delete.
47659 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47660 * sysdeps/sparc/sparc64/elf/configure: Delete.
47661 * sysdeps/sparc/elf/configure.in: New file.
47662 * sysdeps/sparc/elf/configure: Generate.
47664 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47665 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47666 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47667 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47668 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47670 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47672 * manual/install.texi: Do not mention specific glibc version
47674 * manual/libc.texinfo (VERSION, UPDATED): Update.
47675 (@copying): Use @copyright{} and range of years.
47677 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47680 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47681 [crti.S not in sysdirs] (generated): Do not append.
47682 [crti.S not in sysdirs] (omit-deps): Likewise.
47683 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47684 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47685 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47686 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47687 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47689 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47690 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47691 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47692 * csu/defs.awk: Remove file.
47693 * sysdeps/generic/initfini.c: Likewise.
47694 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47696 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47699 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47701 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47702 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47703 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47704 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47705 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47706 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47708 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47709 (__EPOLL_PACKED): Define to empty if not defined by
47711 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47715 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47717 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47718 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47719 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47720 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47722 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47726 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47728 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47730 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47731 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47732 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47735 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47737 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47738 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47740 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47742 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47743 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47745 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47747 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47750 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47752 * math/w_acos.c: Use non-signaling floating-point comparisons.
47753 * math/w_acosf.c: Likewise.
47754 * math/w_acosh.c: Likewise.
47755 * math/w_acoshf.c: Likewise.
47756 * math/w_acoshl.c: Likewise.
47757 * math/w_acosl.c: Likewise.
47758 * math/w_asin.c: Likewise.
47759 * math/w_asinf.c: Likewise.
47760 * math/w_asinl.c: Likewise.
47761 * math/w_atanh.c: Likewise.
47762 * math/w_atanhf.c: Likewise.
47763 * math/w_atanhl.c: Likewise.
47764 * math/w_exp2.c: Likewise.
47765 * math/w_exp2f.c: Likewise.
47766 * math/w_exp2l.c: Likewise.
47767 * math/w_j0.c: Likewise.
47768 * math/w_j0f.c: Likewise.
47769 * math/w_j0l.c: Likewise.
47770 * math/w_j1.c: Likewise.
47771 * math/w_j1f.c: Likewise.
47772 * math/w_j1l.c: Likewise.
47773 * math/w_jn.c: Likewise.
47774 * math/w_jnf.c: Likewise.
47775 * math/w_log.c: Likewise.
47776 * math/w_log10.c: Likewise.
47777 * math/w_log10f.c: Likewise.
47778 * math/w_log10l.c: Likewise.
47779 * math/w_log2.c: Likewise.
47780 * math/w_log2f.c: Likewise.
47781 * math/w_log2l.c: Likewise.
47782 * math/w_logf.c: Likewise.
47783 * math/w_logl.c: Likewise.
47784 * math/w_sqrt.c: Likewise.
47785 * math/w_sqrtf.c: Likewise.
47786 * math/w_sqrtl.c: Likewise.
47787 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47788 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47789 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47790 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47791 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47793 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47796 * manual/string.texi (strnlen): Use correct parameter name in
47797 equivalent expression.
47799 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47802 * manual/users.texi (seteuid): Consistently use neweuid for
47805 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47808 * manual/nss.texi (Services in the NSS configuration): Correct
47809 list of services in example configuration file.
47811 2012-02-19 Nick Bowler <nbowler@draconx.ca>
47814 * manual/arith.texi: Remove statements about negative zero
47815 behaving identically to zero.
47817 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47820 * manual/install.texi: Do not document upgrading from libc5.
47822 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47825 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47827 2012-02-18 David S. Miller <davem@davemloft.net>
47829 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47830 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47831 %o7 across the call.
47832 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47835 SETUP_PIC_REG_LEAF.
47836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47837 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47838 * sysdeps/sparc/crtn.S: Likewise.
47840 2012-02-17 Ulrich Drepper <drepper@gmail.com>
47842 * aout/Makefile: Remove.
47844 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47847 * manual/examples/argp-ex1.c (main): Format definition in GNU
47849 * manual/examples/argp-ex2.c (main): Likewise.
47850 * manual/examples/argp-ex3.c (main): Likewise.
47851 * manual/examples/argp-ex4.c (main): Likewise.
47852 * manual/examples/longopt.c (main): Use new-style prototype
47854 * manual/examples/strncat.c (main): Specify return type and use
47855 (void) for arguments.
47856 * manual/examples/subopt.c (main): Use char **argv argument.
47858 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47861 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47864 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47867 * manual/string.texi (strchr): Change when strchrnul is
47870 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47873 * manual/locale.texi (setlocale): Document LOCPATH.
47875 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47878 * manual/process.texi (execle): Move @dots{} before last argument.
47880 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
47883 * manual/charset.texi (Generic Charset Conversion): Fix typo
47884 (LC_TYPE -> LC_CTYPE).
47886 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47889 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47890 (scalbnf): Likewise.
47891 (scalbnl): Likewise.
47892 (scalbln): Likewise.
47893 (scalblnf): Likewise.
47894 (scalblnl): Likewise.
47895 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47896 (vwarnx): Likewise.
47899 * manual/filesys.texi (telldir): Use braces around return type.
47900 * manual/llio.texi (mmap): Add space after comma.
47901 (mmap64): Likewise.
47902 * manual/math.texi (jn): Use @var{} on parameter names.
47908 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47910 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47912 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47913 (sched_get_priority_max): Likewise.
47914 * manual/signal.texi (sigvec): Add space after comma.
47915 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47917 (if_indextoname): Likewise.
47918 (if_freenameindex): Likewise.
47919 (sendto): Use ',' instead of '.' in prototype.
47920 * manual/startup.texi (syscall): Use @dots{} instead of literal
47922 * manual/stdio.texi (__fpending): Separate initial words of
47923 paragraph from @deftypefun line.
47924 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47926 (vsyslog): Use @var{} on parameter names.
47927 * manual/terminal.texi (stty): Use @var{} on parameter names.
47928 * manual/users.texi (getutmp): Use @var{} on parameter names.
47929 (getutmpx): Likewise.
47931 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47934 * manual/stdio.texi (fopen): Fix typos in description of
47937 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47940 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47941 get clock_id definition.
47943 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
47946 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47947 (madvise): Cast every argument to void on its own.
47949 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47952 * manual/startup.texi (Exit Status): Fix typo.
47954 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47957 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47958 * manual/examples/argp-ex2.c: Likewise.
47959 * manual/examples/argp-ex3.c: Likewise.
47961 2012-02-16 Richard Henderson <rth@redhat.com>
47963 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47964 * sysdeps/s390/s390-32/initfini.c: Remove.
47965 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47966 * sysdeps/s390/s390-64/initfini.c: Remove.
47968 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47970 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47971 compiler output for sysdeps/generic/initfini.c.
47972 * sysdeps/sh/elf/initfini.c: Remove file.
47974 2012-02-16 David S. Miller <davem@davemloft.net>
47977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47979 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47980 * sysdeps/sparc/crti.S: New file.
47981 * sysdeps/sparc/crtn.S: New file.
47982 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47983 * sysdeps/sparc/sparc64/Makefile: Likewise.
47985 2012-02-15 Mike Frysinger <vapier@gentoo.org>
47988 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47990 2012-02-15 Roland McGrath <roland@hack.frob.com>
47993 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47995 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47996 (write, read, close): Likewise.
47997 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47999 2012-02-15 Joseph Myers <joseph@codesourcery.com>
48001 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48002 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48003 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48004 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48006 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48010 2012-02-14 Marek Polacek <polacek@redhat.com>
48012 * sysdeps/x86_64/crti.S: New file.
48013 * sysdeps/x86_64/crtn.S: New file.
48014 * sysdeps/x86_64/elf/initfini.c: Remove file.
48016 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48018 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48019 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48020 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48021 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48023 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48027 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48029 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48030 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48031 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48032 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48034 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48038 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48040 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48041 __feraiseexcept instead of feraiseexcept.
48043 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48044 nanosleep invocations.
48045 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48046 strings, and add error checking for a nanosleep invocations.
48048 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48050 Replace FSF snail mail address with URLs, as per GNU coding standards.
48051 Most of the snail mail addresses were wrong anyway, and omitting
48052 them makes the source code easier to maintain. Almost all of the
48053 changes are to license notices and to locale LC_IDENTIFICATION
48054 addresses, except for this one:
48055 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48056 not its snail mail address.
48058 2012-02-09 Richard Henderson <rth@twiddle.net>
48060 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48061 of kernel-features.h.
48063 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48065 2012-02-08 Marek Polacek <polacek@redhat.com>
48067 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48068 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48069 * sysdeps/gnu/_G_config.h: Likewise.
48070 * sysdeps/generic/_G_config.h: Likewise.
48072 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48074 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48078 * sysdeps/powerpc/powerpc32/crti.S: New file.
48079 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48080 * sysdeps/powerpc/powerpc64/crti.S: New file.
48081 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48083 * Makeconfig (have-initfini): Don't set.
48084 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48085 * configure.in (nopic_initfini): Don't substitute.
48086 * config.h.in (HAVE_INITFINI): Don't #undef.
48087 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48088 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48090 2012-02-08 Joseph Myers <joseph@codesourcery.com>
48092 Support crti.S and crtn.S provided directly by architectures.
48093 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48094 [crti.S in sysdirs] (omit-deps): Likewise.
48095 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48096 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48097 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48098 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48099 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48100 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48101 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48102 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48103 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48104 compiler output for sysdeps/generic/initfini.c.
48105 * sysdeps/i386/elf/Makefile: Remove file.
48106 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48108 2012-02-07 Marek Polacek <polacek@redhat.com>
48110 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48111 * sysdeps/gnu/_G_config.h: Likewise.
48112 * sysdeps/mach/hurd/_G_config.h: Likewise.
48114 2012-02-07 Marek Polacek <polacek@redhat.com>
48116 * math/Makefile (tests): Add tst-CMPLX2.
48117 * math/tst-CMPLX2.c: New file.
48119 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48121 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48123 * math/libm-test.inc (jn_test): Add missing L suffix.
48125 2012-02-06 Marek Polacek <polacek@redhat.com>
48127 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48128 * sysdeps/i386/fpu/e_powf.S: Likewise.
48129 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48130 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48131 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48132 * sysdeps/i386/fpu/e_pow.S: Likewise.
48133 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48134 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48135 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48136 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48137 * sysdeps/i386/fpu/e_log2.S: Likewise.
48138 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48139 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48140 * sysdeps/i386/fpu/e_powl.S: Likewise.
48141 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48142 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48143 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48144 * sysdeps/i386/fpu/e_logl.S: Likewise.
48145 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48146 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48147 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48148 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48149 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48150 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48151 * sysdeps/i386/fpu/e_log.S: Likewise.
48152 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48153 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48154 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48155 * sysdeps/i386/fpu/e_logf.S: Likewise.
48156 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48157 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48158 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48159 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48160 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48161 * sysdeps/i386/fpu/e_log10.S: Likewise.
48162 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48163 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48164 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48165 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48166 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48167 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48168 * sysdeps/i386/asm-syntax.h: Likewise.
48169 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48170 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48171 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48172 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48173 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48174 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48175 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48176 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48177 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48178 * sysdeps/powerpc/sysdep.h: Likewise.
48179 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48180 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48182 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48185 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48187 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48189 * sysdeps/i386/sysdep.h: Include <features.h>.
48190 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48193 2012-02-05 Joseph Myers <joseph@codesourcery.com>
48195 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48197 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48200 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48202 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48203 (SETUP_PIC_REG): Use GET_PC_THUNK.
48204 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48207 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48209 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48210 for non-PIC compilation.
48211 (SETUP_PIC_REG): Add .p2align directive.
48212 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48213 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48214 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48215 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48216 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48217 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48218 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48219 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48220 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48221 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48222 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48223 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48224 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48225 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48226 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48227 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48228 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48229 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48230 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48231 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48232 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48233 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48234 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48235 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48236 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48237 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48238 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48239 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48240 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48241 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48242 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48243 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48244 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48245 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48246 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48247 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48248 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48249 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48250 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48251 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48252 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48254 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48256 * math/tst-CMPLX.c: Include <stdio.h>.
48258 2012-01-31 Joseph Myers <joseph@codesourcery.com>
48260 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48262 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48263 * sysdeps/sparc/bits/mathdef.h: Likewise.
48265 2012-01-31 Marek Polacek <polacek@redhat.com>
48267 * libio/libio.h: Don't define _PARAMS.
48268 * locale/programs/config.h: Don't define PARAMS.
48269 * stdlib/strtol_l.c: Likewise.
48270 (__strtol_l): Remove PARAMS from the prototype.
48272 2012-01-31 Ulrich Drepper <drepper@gmail.com>
48274 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48275 names. Just use the correct names. Remove unnecessary wrapper
48277 * malloc/arena.c: Likewise.
48278 * malloc/hooks.c: Likewise.
48280 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48281 ARENA_TEST says not to. Simplify test for creation of a new arena.
48282 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48284 2012-01-30 Ulrich Drepper <drepper@gmail.com>
48286 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48288 (update_get_addr): New function.
48289 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48290 GET_ADDR_MODULE parameter.
48292 2012-01-30 Joseph Myers <joseph@codesourcery.com>
48294 * crypt/cert.c: Remove __STDC__ conditionals.
48295 * crypt/crypt-entry.c: Likewise.
48296 * crypt/crypt_util.c: Likewise.
48297 * libio/filedoalloc.c: Likewise.
48298 * libio/fileops.c: Likewise.
48299 * libio/genops.c: Likewise.
48300 * libio/iofclose.c: Likewise.
48301 * libio/iofdopen.c: Likewise.
48302 * libio/iofopen.c: Likewise.
48303 * libio/iofopen64.c: Likewise.
48304 * libio/iogetdelim.c: Likewise.
48305 * libio/iopopen.c: Likewise.
48306 * libio/obprintf.c: Likewise.
48307 * libio/oldfileops.c: Likewise.
48308 * libio/oldiofclose.c: Likewise.
48309 * libio/oldiofdopen.c: Likewise.
48310 * libio/oldiofopen.c: Likewise.
48311 * libio/oldiopopen.c: Likewise.
48312 * libio/wfiledoalloc.c: Likewise.
48313 * libio/wgenops.c: Likewise.
48314 * locale/programs/xmalloc.c: Likewise.
48315 * misc/syslog.c: Likewise.
48316 * stdio-common/xbug.c: Likewise.
48317 * string/memchr.c: Likewise.
48318 * string/memcmp.c: Likewise.
48319 * string/memrchr.c: Likewise.
48320 * string/rawmemchr.c: Likewise.
48321 * sysdeps/posix/getcwd.c: Likewise.
48322 * time/strftime_l.c: Likewise.
48324 2012-01-30 Joseph Myers <joseph@codesourcery.com>
48326 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48327 * config.make.in (config-cflags-sse2avx): Define.
48328 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48331 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48333 * scripts/config.guess: Update from upstream config git repository.
48334 * scripts/config.sub: Likewise.
48336 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48338 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48340 (R_TILEPRO_*, R_TILEGX_*): New macros.
48342 * scripts/firstversions.awk: Fix bug in version range handling.
48344 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48346 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48348 * include/sys/epoll.h: New file.
48349 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48352 2012-01-28 Ulrich Drepper <drepper@gmail.com>
48354 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48355 Avoid unnecessary __WORDSIZE == 64 test.
48356 (fmaxf): Use VEX format if possible.
48361 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48362 * math/math_private.h: Remove libc_fegetround* and
48364 * sysdeps/i386/configure.in: Check for -msse2avx.
48365 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48366 also if SSE2AVX is defined.
48367 Remove libc_fegetround* and libc_fesetround*.
48368 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48369 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48372 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48373 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48374 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48375 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48376 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48378 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48380 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48382 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48384 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48386 2012-01-27 Ulrich Drepper <drepper@gmail.com>
48389 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48391 * Makeconfig (libm): Define.
48392 * elf/Makefile: Add rules to build and run tst-relsort1.
48393 * elf/tst-relsort1.c: New file.
48394 * elf/tst-relsort1mod1.c: New file.
48395 * elf/tst-relsort1mod2.c: New file.
48397 2012-01-27 Joseph Myers <joseph@codesourcery.com>
48399 * math/s_ldexp.c: Remove __STDC__ conditionals.
48400 * math/s_ldexpf.c: Likewise.
48401 * math/s_ldexpl.c: Likewise.
48402 * math/s_nextafter.c: Likewise.
48403 * math/s_nexttowardf.c: Likewise.
48404 * math/s_significand.c: Likewise.
48405 * math/s_significandf.c: Likewise.
48406 * math/s_significandl.c: Likewise.
48407 * math/w_jnl.c: Likewise.
48408 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48409 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48410 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48411 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48412 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48413 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48414 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48415 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48416 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48417 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48418 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48419 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48420 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48421 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48422 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48423 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48424 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48425 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48427 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48428 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48429 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48430 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48431 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48432 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48433 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48434 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48435 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48436 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48437 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48438 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48439 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48440 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48441 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48442 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48443 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48444 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48445 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48446 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48447 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48448 * sysdeps/ieee754/k_standard.c: Likewise.
48449 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48450 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48451 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48452 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48453 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48454 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48455 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48456 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48457 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48458 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48459 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48460 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48461 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48462 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48463 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48464 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48465 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48466 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48467 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48468 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48469 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48470 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48471 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48472 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48473 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48474 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48475 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48476 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48478 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48479 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48480 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48481 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48482 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48483 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48484 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48485 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48486 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48487 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48488 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48489 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48490 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48491 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48492 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48493 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48494 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48495 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48496 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48497 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48498 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48499 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48500 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48501 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48502 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48503 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48504 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48505 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48506 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48507 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48508 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48509 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48510 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48511 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48512 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48513 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48514 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48515 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48516 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48517 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48518 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48519 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48520 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48521 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48522 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48523 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48524 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48525 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48526 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48527 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48528 * sysdeps/ieee754/s_matherr.c: Likewise.
48529 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48530 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48531 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48532 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48534 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48536 * crypt/md5.h: Remove __STDC__ conditionals.
48537 * libio/libioP.h: Likewise.
48538 * locale/programs/config.h: Likewise.
48539 * sysdeps/generic/sysdep.h: Likewise.
48540 * sysdeps/i386/asm-syntax.h: Likewise.
48541 * sysdeps/s390/asm-syntax.h: Likewise.
48542 * sysdeps/unix/sysdep.h: Likewise.
48543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48546 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48548 * libio/libio.h: Remove __STDC__ conditionals.
48549 * malloc/obstack.h: Likewise.
48550 * math/complex.h: Likewise.
48551 * math/math.h: Likewise.
48552 * sysdeps/generic/_G_config.h: Likewise.
48553 * sysdeps/gnu/_G_config.h: Likewise.
48554 * sysdeps/mach/hurd/_G_config.h: Likewise.
48555 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48556 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48557 * sysdeps/sparc/bits/mathdef.h: Likewise.
48559 2012-01-26 Ulrich Drepper <drepper@gmail.com>
48562 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48563 Clean up HAS_* macros.
48564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48565 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48567 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48569 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48570 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48571 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48572 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48573 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48575 2012-01-25 Joseph Myers <joseph@codesourcery.com>
48577 * elf/tst-unique3.cc (gets): Remove declaration.
48578 * elf/tst-unique3lib.cc (gets): Likewise.
48579 * elf/tst-unique3lib2.cc (gets): Likewise.
48580 * elf/tst-unique4.cc (gets): Likewise.
48582 2012-01-24 Ulrich Drepper <drepper@gmail.com>
48584 * include/stdio.h: Add C++ protection. Add gets declarations and
48586 * debug/tst-chk1.c: Don't declare gets here.
48587 * stdio-common/tst-gets.c: Likewise.
48589 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48591 * posix/glob: Remove directory.
48593 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48595 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48597 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48599 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48600 of the non-standard EPFNOSUPPORT.
48602 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48604 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48605 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48606 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48608 2012-01-21 Ulrich Drepper <drepper@gmail.com>
48610 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48612 2012-01-20 Ulrich Drepper <drepper@gmail.com>
48614 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48616 * nscd/grpcache.c (cache_addgr): Likewise.
48617 * nscd/hstcache.c (cache_addhst): Likewise.
48618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48619 * nscd/pwdcache.c (cache_addpw): Likewise.
48620 * nscd/servicescache.c (cache_addserv): Likewise.
48622 2012-01-16 Ulrich Drepper <drepper@gmail.com>
48624 * malloc/malloc.c: Various cleanups.
48625 * malloc/hooks.c: Likewise.
48627 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48628 * stdlib/bug-fmtmsg1.c: New file.
48630 * stdlib/fmtmsg.c (init): Add missing unlock.
48631 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48633 2012-01-12 Marek Polacek <polacek@redhat.com>
48635 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48638 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48640 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48641 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48642 macro to ensure uniqueness of label name.
48643 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48644 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48646 2012-01-11 Ulrich Drepper <drepper@gmail.com>
48648 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48650 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48651 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48652 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48653 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48655 2012-01-10 Ulrich Drepper <drepper@gmail.com>
48657 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48659 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48660 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48661 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48663 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48665 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48666 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48667 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48668 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48670 * math/bits/math-finite.h: Add ldexp support.
48672 2012-01-10 Marek Polacek <polacek@redhat.com>
48674 * locale/programs/localedef.h (show_archive_content): Add noreturn
48677 2012-01-09 Ulrich Drepper <drepper@gmail.com>
48679 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48681 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48683 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48685 * io/Makefile (headers): Add bits/poll2.h.
48687 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48690 typo #include statement.
48692 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48694 * include/sys/cdefs.h: Define __attribute_alloc_size.
48695 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48696 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48697 * elf/pldd.c: Likewise.
48698 * iconv/iconv_charmap.c: Likewise.
48699 * iconv/iconvconfig.c: Likewise.
48700 * iconv/strtab.c: Likewise.
48701 * locale/programs/locale.c: Likewise.
48702 * locale/programs/localedef.h: Likewise.
48703 * locale/programs/simple-hash.c: Likewise.
48704 * nscd/nscd.h: Likewise.
48705 * nss/makedb.c: Likewise.
48706 * sysdeps/generic/ldconfig.h: Likewise.
48707 * locale/programs/localedef.c: Remove xmalloc prototype.
48708 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48710 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48712 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48715 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48717 * math/Makefile (tests): Add tst-CMPLX.
48718 * math/tst-CMPLX.c: New file.
48720 * math/complex.h (CMPLXL): Fix typo.
48722 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48723 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48725 * debug/tst-chk1.c: Add poll and ppoll tests.
48726 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48727 * include/sys/poll.h: Add hidden proto for ppoll.
48728 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48729 * sysdeps/mach/hurd/ppoll.c: Likewise.
48730 * io/ppoll.c: Likewise.
48731 * debug/poll_chk.c: New file.
48732 * debug/ppoll_chk.c: New file.
48733 * include/bits/poll2.h: New file.
48734 * io/bits/poll2.h: New file.
48737 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48739 * configure.in: static is always set to yes. Remove.
48740 * config.make.in: Don't set build-static.
48741 * Makeconfig: Remove use of build-static.
48742 * dlfcn/Makefile: Likewise.
48743 * elf/Makefile: Likewise.
48744 * math/Makefile: Likewise.
48745 * misc/Makefile: Likewise.
48746 * nptl/Makefile: Likewise.
48747 * sysdeps/mach/hurd/Makefile: Likewise.
48749 * configure.in: PWD_P is not used anymore.
48750 * config.make.in: Remove PWD_P entry.
48752 * configure.in: Remove last remnants of RANLIB.
48753 No need to check for signed size_t anymore.
48754 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48756 Remove __builtin_expect test because we require at least gcc 3.4.
48757 * aclocal.m4: Likewise.
48759 * wcsmbs/mbrtoc16.c: Implement using towc function.
48760 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48761 * wcsmbs/wcsmbsload.c: Likewise.
48762 * iconv/gconv_simple.c: Likewise.
48763 * iconv/gconv_int.h: Likewise.
48764 * iconv/gconv_builtin.h: Likewise.
48765 * iconv/iconv_prog.c: Remove CHAR16 handling.
48767 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48769 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48771 * configure.in: Remove --with-elf and --enable-bounded options.
48772 Dont set base_machine for ia64. More non-ELF conditions removed.
48773 Remove testing and setting of leading underscore information.
48774 * config.make.in (build-bounded): Set to no.
48775 * config.h.in: Remove NO_UNDERSCORES entry.
48776 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48778 * csu/start.c: Remove !NO_UNDERSCORE code.
48779 * locale/localeinfo.h: Likewise.
48780 * sysdeps/generic/machine-gmon.h: Likewise.
48781 * sysdeps/generic/sysdep.h: Likewise.
48782 * sysdeps/i386/sysdep.h: Likewise.
48783 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48784 * sysdeps/mach/sysdep.h: Likewise.
48785 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48786 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48787 * sysdeps/sh/sysdep.h: Likewise.
48788 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48789 * sysdeps/unix/i386/sysdep.S: Likewise.
48790 * sysdeps/unix/sparc/start.c: Likewise.
48791 * sysdeps/unix/sparc/sysdep.S: Likewise.
48792 * sysdeps/unix/sparc/sysdep.h: Likewise.
48793 * sysdeps/unix/start.c: Likewise.
48794 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48795 * sysdeps/x86_64/sysdep.h: Likewise.
48797 2012-01-07 Ulrich Drepper <drepper@gmail.com>
48800 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48802 * argp/argp-fmtstream.h: Use const instead __const.
48803 * argp/argp.h: Likewise.
48804 * assert/assert.h: Likewise.
48805 * bits/fenv.h: Likewise.
48806 * bits/sched.h: Likewise.
48807 * bits/sigset.h: Likewise.
48808 * bits/sigthread.h: Likewise.
48809 * catgets/nl_types.h: Likewise.
48810 * conform/data/pthread.h-data: Likewise.
48811 * crypt/crypt-private.h: Likewise.
48812 * crypt/crypt.h: Likewise.
48813 * crypt/crypt_util.c: Likewise.
48814 * ctype/ctype.h: Likewise.
48815 * debug/execinfo.h: Likewise.
48816 * debug/mbsnrtowcs_chk.c: Likewise.
48817 * debug/mbsrtowcs_chk.c: Likewise.
48818 * debug/wcsnrtombs_chk.c: Likewise.
48819 * debug/wcsrtombs_chk.c: Likewise.
48820 * debug/wcstombs_chk.c: Likewise.
48821 * dirent/dirent.h: Likewise.
48822 * dlfcn/dlfcn.h: Likewise.
48823 * elf/neededtest4.c: Likewise.
48824 * grp/grp.h: Likewise.
48825 * gshadow/gshadow.h: Likewise.
48826 * iconv/gconv.h: Likewise.
48827 * iconv/gconv_int.h: Likewise.
48828 * iconv/gconv_simple.c: Likewise.
48829 * iconv/iconv.h: Likewise.
48830 * iconv/loop.c: Likewise.
48831 * iconv/skeleton.c: Likewise.
48832 * include/aio.h: Likewise.
48833 * include/aliases.h: Likewise.
48834 * include/argz.h: Likewise.
48835 * include/arpa/inet.h: Likewise.
48836 * include/assert.h: Likewise.
48837 * include/dirent.h: Likewise.
48838 * include/dlfcn.h: Likewise.
48839 * include/execinfo.h: Likewise.
48840 * include/fcntl.h: Likewise.
48841 * include/fenv.h: Likewise.
48842 * include/glob.h: Likewise.
48843 * include/grp.h: Likewise.
48844 * include/libintl.h: Likewise.
48845 * include/mntent.h: Likewise.
48846 * include/netdb.h: Likewise.
48847 * include/pwd.h: Likewise.
48848 * include/rpc/netdb.h: Likewise.
48849 * include/sched.h: Likewise.
48850 * include/search.h: Likewise.
48851 * include/shadow.h: Likewise.
48852 * include/signal.h: Likewise.
48853 * include/stdio.h: Likewise.
48854 * include/stdlib.h: Likewise.
48855 * include/string.h: Likewise.
48856 * include/sys/socket.h: Likewise.
48857 * include/sys/stat.h: Likewise.
48858 * include/sys/statfs.h: Likewise.
48859 * include/sys/statvfs.h: Likewise.
48860 * include/sys/syslog.h: Likewise.
48861 * include/sys/time.h: Likewise.
48862 * include/sys/uio.h: Likewise.
48863 * include/time.h: Likewise.
48864 * include/unistd.h: Likewise.
48865 * include/utmp.h: Likewise.
48866 * include/wchar.h: Likewise.
48867 * include/wctype.h: Likewise.
48868 * inet/aliases.h: Likewise.
48869 * inet/arpa/inet.h: Likewise.
48870 * inet/netinet/ether.h: Likewise.
48871 * inet/netinet/in.h: Likewise.
48872 * intl/libintl.h: Likewise.
48873 * io/bits/fcntl2.h: Likewise.
48874 * io/fcntl.h: Likewise.
48875 * io/ftw.h: Likewise.
48876 * io/sys/poll.h: Likewise.
48877 * io/sys/stat.h: Likewise.
48878 * io/sys/statfs.h: Likewise.
48879 * io/sys/statvfs.h: Likewise.
48880 * io/utime.h: Likewise.
48881 * libio/bits/stdio.h: Likewise.
48882 * libio/bits/stdio2.h: Likewise.
48883 * libio/libio.h: Likewise.
48884 * libio/libioP.h: Likewise.
48885 * libio/stdio.h: Likewise.
48886 * locale/lc-ctype.c: Likewise.
48887 * locale/locale.h: Likewise.
48888 * login/utmp.h: Likewise.
48889 * malloc/arena.c: Likewise.
48890 * malloc/malloc.c: Likewise.
48891 * malloc/malloc.h: Likewise.
48892 * malloc/mcheck.c: Likewise.
48893 * malloc/mtrace.c: Likewise.
48894 * math/bits/mathcalls.h: Likewise.
48895 * math/fenv.h: Likewise.
48896 * math/math_private.h: Likewise.
48897 * misc/bits/error.h: Likewise.
48898 * misc/bits/syslog.h: Likewise.
48899 * misc/err.h: Likewise.
48900 * misc/error.h: Likewise.
48901 * misc/fstab.h: Likewise.
48902 * misc/mntent.h: Likewise.
48903 * misc/regexp.h: Likewise.
48904 * misc/search.h: Likewise.
48905 * misc/sgtty.h: Likewise.
48906 * misc/sys/mman.h: Likewise.
48907 * misc/sys/syslog.h: Likewise.
48908 * misc/sys/uio.h: Likewise.
48909 * misc/sys/xattr.h: Likewise.
48910 * misc/ttyent.h: Likewise.
48911 * nis/rpcsvc/ypclnt.h: Likewise.
48912 * nss/nss.h: Likewise.
48913 * posix/bits/unistd.h: Likewise.
48914 * posix/fnmatch.h: Likewise.
48915 * posix/glob.h: Likewise.
48916 * posix/sched.h: Likewise.
48917 * posix/spawn.h: Likewise.
48918 * posix/sys/wait.h: Likewise.
48919 * posix/unistd.h: Likewise.
48920 * posix/wordexp.h: Likewise.
48921 * pwd/pwd.h: Likewise.
48922 * resolv/netdb.h: Likewise.
48923 * resource/sys/resource.h: Likewise.
48924 * rt/aio.h: Likewise.
48925 * rt/bits/mqueue2.h: Likewise.
48926 * rt/mqueue.h: Likewise.
48927 * shadow/shadow.h: Likewise.
48928 * signal/signal.h: Likewise.
48929 * socket/send.c: Likewise.
48930 * socket/sendto.c: Likewise.
48931 * socket/sys/socket.h: Likewise.
48932 * stdio-common/printf.h: Likewise.
48933 * stdlib/bits/stdlib.h: Likewise.
48934 * stdlib/fmtmsg.h: Likewise.
48935 * stdlib/monetary.h: Likewise.
48936 * stdlib/stdlib.h: Likewise.
48937 * stdlib/ucontext.h: Likewise.
48938 * streams/stropts.h: Likewise.
48939 * string/argz.h: Likewise.
48940 * string/bits/string2.h: Likewise.
48941 * string/string.h: Likewise.
48942 * string/strings.h: Likewise.
48943 * sunrpc/rpc/auth.h: Likewise.
48944 * sunrpc/rpc/auth_des.h: Likewise.
48945 * sunrpc/rpc/clnt.h: Likewise.
48946 * sunrpc/rpc/netdb.h: Likewise.
48947 * sunrpc/rpc/pmap_clnt.h: Likewise.
48948 * sunrpc/rpc/xdr.h: Likewise.
48949 * sysdeps/generic/inttypes.h: Likewise.
48950 * sysdeps/generic/net/if.h: Likewise.
48951 * sysdeps/generic/sys/swap.h: Likewise.
48952 * sysdeps/gnu/net/if.h: Likewise.
48953 * sysdeps/gnu/utmpx.h: Likewise.
48954 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48955 * sysdeps/i386/i486/bits/string.h: Likewise.
48956 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48957 * sysdeps/s390/bits/string.h: Likewise.
48958 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48959 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48960 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48961 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48962 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48963 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48964 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48965 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48966 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48967 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48968 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48969 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48970 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48971 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48972 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48973 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48974 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48975 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48976 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48977 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48978 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48979 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48980 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48981 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48982 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48983 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48984 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48985 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48986 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48987 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48988 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48989 * sysvipc/sys/ipc.h: Likewise.
48990 * sysvipc/sys/msg.h: Likewise.
48991 * sysvipc/sys/sem.h: Likewise.
48992 * sysvipc/sys/shm.h: Likewise.
48993 * termios/termios.h: Likewise.
48994 * time/sys/time.h: Likewise.
48995 * time/time.h: Likewise.
48996 * wcsmbs/bits/wchar2.h: Likewise.
48997 * wcsmbs/uchar.h: Likewise.
48998 * wcsmbs/wchar.h: Likewise.
48999 * wctype/wctype.h: Likewise.
49002 * Makeconfig: Remove all but ELF support including AIX support.
49003 * Makerules: Likewise.
49004 * config.h.in: Likewise.
49005 * config.make.in: Likewise.
49006 * configure: Likewise.
49007 * configure.in: Likewise.
49008 * csu/Makefile: Likewise.
49009 * csu/version.c: Likewise.
49010 * debug/Makefile: Likewise.
49011 * dlfcn/Makefile: Likewise.
49012 * elf/Makefile: Likewise.
49013 * extra-lib.mk: Likewise.
49014 * iconv/Makefile: Likewise.
49015 * include/libc-symbols.h: Likewise.
49016 * include/shlib-compat.h: Likewise.
49017 * resolv/Makefile: Likewise.
49018 * resolv/res_libc.c: Likewise.
49019 * rt/Makefile: Likewise.
49020 * sysdeps/i386/asm-syntax.h: Likewise.
49021 * sysdeps/i386/sysdep.h: Likewise.
49022 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49023 * sysdeps/mach/sysdep.h: Likewise.
49024 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49025 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49026 * sysdeps/s390/asm-syntax.h: Likewise.
49027 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49028 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49029 * sysdeps/sh/sysdep.h: Likewise.
49030 * sysdeps/unix/sparc/sysdep.h: Likewise.
49031 * sysdeps/wordsize-32/divdi3.c: Likewise.
49032 * sysdeps/x86_64/sysdep.h: Likewise.
49034 * argp/Versions: Remove _argp_unlock_xxx.
49037 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49038 * abilist/libBrokenLocale.abilist: Likewise.
49039 * abilist/libanl.abilist: Likewise.
49040 * abilist/libc.abilist: Likewise.
49041 * abilist/libcrypt.abilist: Likewise.
49042 * abilist/libdl.abilist: Likewise.
49043 * abilist/libm.abilist: Likewise.
49044 * abilist/libnsl.abilist: Likewise.
49045 * abilist/libpthread.abilist: Likewise.
49046 * abilist/libresolv.abilist: Likewise.
49047 * abilist/librt.abilist: Likewise.
49048 * abilist/libthread_db.abilist: Likewise.
49049 * abilist/libutil.abilist: Likewise.
49050 * abilist/libnss_db.abilist: New file.
49052 * scripts/abilist.awk: Add support for indirect functions.
49054 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49056 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49058 * shlib-versions: Remove entries for ports architectures.
49060 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49062 * elf/stackguard-macros.h: Remove support for IA-64.
49063 * elf/tst-auditmod1.c: Likewise.
49064 * sysdeps/generic/ldsodefs.h: Likewise.
49066 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49067 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49071 * configure.in: Remove --enable-omitfp support.
49073 * config.make.in: Likewise.
49074 * Makeconfig: Likewise.
49075 * manual/install.texi: Likewise.
49077 In case anyone cares, the IA-64 architecture could move to ports.
49078 * sysdeps/ia64/*: Removed.
49079 * sysdeps/unix/sysv/linux/ia64/*: Removed.
49080 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49083 * configure.in: Remove entries for unsupported architectures.
49086 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49087 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49089 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49090 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49091 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49092 fall back to using wcrtomb.
49093 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49094 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49096 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49097 * wcsmbs/tst-c16c32-1.c: New file.
49099 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49102 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49104 * elf/tst-unique3.cc: Add explicit declaration of gets.
49105 * elf/tst-unique3lib.cc: Likewise.
49106 * elf/tst-unique3lib2.cc: Likewise.
49107 * elf/tst-unique4.cc: Likewise.
49109 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49111 2012-01-06 Joseph Myers <joseph@codesourcery.com>
49114 * assert/assert.h (static_assert): Don't define for C++.
49115 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49116 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49118 2012-01-03 Ulrich Drepper <drepper@gmail.com>
49120 * iconv/loop.c (single loop): Fix assertion in storing of
49123 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49125 2012-01-01 Ulrich Drepper <drepper@gmail.com>
49127 * posix/getconf.c: Update copyright year.
49128 * nss/getent.c: Likewise.
49129 * nss/makedb.c: Likewise.
49130 * iconv/iconvconfig.c: Likewise.
49131 * iconv/iconv_prog.c: Likewise.
49132 * elf/ldconfig.c: Likewise.
49133 * elf/pldd.c: Likewise.
49134 * elf/sotruss.ksh: Likewise.
49135 * catgets/gencat.c: Likewise.
49136 * csu/version.c: Likewise.
49137 * elf/ldd.bash.in: Likewise.
49138 * elf/sprof.c (print_version): Likewise.
49139 * locale/programs/locale.c: Likewise.
49140 * locale/programs/localedef.c: Likewise.
49141 * login/programs/pt_chown.c: Likewise.
49142 * nscd/nscd.c (print_version): Likewise.
49143 * debug/xtrace.sh: Likewise.
49144 * malloc/memusage.sh: Likewise.
49145 * malloc/mtrace.pl: Likewise.
49146 * debug/catchsegv.sh: Likewise.
49148 2011-12-30 Jakub Jelinek <jakub@redhat.com>
49150 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49153 2011-12-24 Ulrich Drepper <drepper@gmail.com>
49156 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49157 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49159 * iconv/gconv_int.h: Likewise.
49160 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49161 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49162 from libc for GLIBC_2.16.
49163 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49164 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49165 * wcsmbs/uchar.h: Really define mbstate_t.
49166 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49167 * wcsmbs/c16rtomb.c: New file.
49168 * wcsmbs/mbrtoc16.c: New file.
49169 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49170 for C/POSIX locale.
49171 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49172 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49174 * wcsmbs/wchar.h: Add missing __restrict.
49176 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49179 * time/Makefile (routines): Add timespec_get.
49180 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49181 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49182 timespec for ISO C11.
49183 * time/timespec_get.c: New file.
49184 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49185 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49188 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49189 * stdlib/stdlib.h: Declare aligned_alloc.
49190 * Versions.def: Add GLIBC_2.16 for libc.
49191 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49194 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49197 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49201 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49204 * assert/assert.h (static_assert): Define.
49206 * version.h: Update for 2.16 development version.
49209 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49212 * version.h (RELEASE): Bump for 2.15 release.
49213 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49215 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49216 Patch by Marek Polacek <mpolacek@redhat.com>.
49218 * bits/byteswap.h: Protect long long constants with __extension__.
49219 * sysdeps/i386/bits/byteswap.h: Likewise.
49220 * sysdeps/ia64/bits/byteswap.h: Likewise.
49221 * sysdeps/s390/bits/byteswap.h: Likewise.
49222 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49224 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49228 destination buffer.
49229 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49231 2011-12-23 Marek Polacek <polacek@redhat.com>
49233 * elf/dl-addr.c (determine_info): Add inline keyword.
49234 * elf/tst-auditmod4b.c (check_avx): Likewise.
49235 * elf/tst-auditmod6b.c (check_avx): Likewise.
49236 * elf/tst-auditmod6c.c (check_avx): Likewise.
49237 * elf/tst-auditmod7b.c (check_avx): Likewise.
49239 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49241 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49244 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49247 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49248 processing for last bytes.
49250 2011-08-06 Bruno Haible <bruno@clisp.org>
49253 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49254 U+0385, not to U+1FEE.
49257 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49258 entry for U+00A5 U+0301.
49260 2011-12-22 Ulrich Drepper <drepper@gmail.com>
49263 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49264 buffer for the output is too small.
49266 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49270 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49271 SSE flags if possible.
49273 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49276 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49277 processing for last bytes.
49279 2011-12-22 Joseph Myers <joseph@codesourcery.com>
49281 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49282 (syscall-list-default-options, syscall-list-default-condition)
49283 (syscall-list-includes): Define.
49284 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49285 list of ABIs and options and #if conditions for each ABI. Do not
49286 handle common syscalls between ABIs specially.
49287 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49289 (syscall-list-variants, syscall-list-32bit-options)
49290 (syscall-list-32bit-condition, syscall-list-64bit-options)
49291 (syscall-list-64bit-condition): Define.
49292 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49293 (syscall-list-variants, syscall-list-32bit-options)
49294 (syscall-list-32bit-condition, syscall-list-64bit-options)
49295 (syscall-list-64bit-condition): Define.
49296 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49298 (syscall-list-variants, syscall-list-32bit-options)
49299 (syscall-list-32bit-condition, syscall-list-64bit-options)
49300 (syscall-list-64bit-condition): Define.
49301 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49303 (syscall-list-variants, syscall-list-32bit-options)
49304 (syscall-list-32bit-condition, syscall-list-64bit-options)
49305 (syscall-list-64bit-condition): Define.
49307 2011-12-22 Ulrich Drepper <drepper@gmail.com>
49309 * locale/iso-639.def: Add brx entry.
49312 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49313 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49315 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49316 __feraiseexcept_renamed.
49318 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49321 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49322 EPOLLET with unsigned values.
49323 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49324 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49326 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49327 to large cancellation.
49328 * math/s_cacoshf.c: Likewise.
49329 * math/s_cacoshl.c: Likewise.
49331 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49335 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49336 * math/s_cacoshf.c: Likewise.
49337 * math/s_cacoshl.c: Likewise.
49339 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49342 * iconv/gconv.h: Define __GCONV_SWAP.
49343 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49344 * iconvdata/utf-16.c: Likewise.
49345 * iconvdata/utf-32.c: Likewise.
49347 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49350 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49351 numerator after shifting it by one limb.
49353 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49355 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49356 under [__USE_EXTERN_INLINES].
49358 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49361 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49363 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49365 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49366 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49368 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49369 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49370 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49371 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49372 for strncasecmp/strncasecmp_l compilation.
49373 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49374 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49376 2011-12-08 Marek Polacek <mpolacek@redhat.com>
49379 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49382 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49385 * time/tzfile.c (__tzfile_read): Check values from file header.
49387 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49389 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49390 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49391 * powerpc/powerpc32/dl-start.S: Likewise.
49392 * powerpc/powerpc32/elf/start.S: Likewise.
49393 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49394 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49395 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49396 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49397 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49398 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49399 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49400 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49401 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49402 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49403 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49404 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49405 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49406 * powerpc/powerpc32/memset.S: Likewise.
49407 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49408 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49409 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49410 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49411 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49412 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49413 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49414 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49415 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49416 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49417 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49418 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49419 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49421 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49423 * math/libm-test.inc: Added more nearbyint tests.
49424 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49426 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49429 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49431 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49434 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49436 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49437 Add wcscpy-ssse3 wcscpy-c.
49438 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49439 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49440 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49441 * sysdeps/x86_64/wcschr.S: New file.
49442 * sysdeps/x86_64/wcsrchr.S: New file.
49443 * string/test-strcmp.c: Remove checking of wcscmp function for
49445 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49446 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49447 wcsrchr-sse2 wcsrchr-c.
49448 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49449 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49450 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49451 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49452 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49453 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49454 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49455 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49456 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49457 * wcsmbc/wcschr.c (WCSCHR): New macro.
49459 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49461 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49462 * wcsmbs/test-wcsrchr.c: New file.
49463 * string/test-strrchr.c: Add wcsrchr support.
49465 * wcsmbs/test-wcscpy.c: New file.
49466 * string/test-strcpy.c: Add wcscpy support.
49469 2011-12-10 Ulrich Drepper <drepper@gmail.com>
49471 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49474 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49477 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49479 2011-12-04 Ulrich Drepper <drepper@gmail.com>
49481 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49482 Minor optimizations.
49484 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49485 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49486 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49488 2011-12-03 Ulrich Drepper <drepper@gmail.com>
49490 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49491 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49492 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49493 for gcc to avoid warnings.
49494 * inet/Makefile (tests): Add tst-checks.
49495 * inet/tst-checks.c: New file.
49497 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49500 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49503 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49504 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49506 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49508 2011-12-02 Ulrich Drepper <drepper@gmail.com>
49510 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49513 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49515 2011-11-29 Joseph Myers <joseph@codesourcery.com>
49517 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49518 conditional on GCC version.
49519 (__arch_compare_and_exchange_val_8_acq)
49520 (__arch_compare_and_exchange_val_16_acq)
49521 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49522 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49523 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49525 2011-12-02 Joseph Myers <joseph@codesourcery.com>
49527 * sysdeps/sh/backtrace.c: New file.
49529 2011-12-02 Andreas Schwab <schwab@redhat.com>
49531 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49534 2011-12-01 Andreas Schwab <schwab@redhat.com>
49536 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49537 falling back to utime.
49539 2011-11-30 Andreas Schwab <schwab@redhat.com>
49541 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49542 expectations for float.
49544 2011-11-29 Andreas Schwab <schwab@redhat.com>
49546 * locale/weight.h (findidx): Add parameter len.
49547 * locale/weightwc.h (findidx): Likewise.
49548 * posix/fnmatch_loop.c (FCT): Adjust caller.
49549 * posix/regcomp.c (build_equiv_class): Likewise.
49550 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49551 * posix/regexec.c (check_node_accept_bytes): Likewise.
49552 * string/strcoll_l.c (STRCOLL): Likewise.
49553 * string/strxfrm_l.c (STRXFRM): Likewise.
49555 2011-11-17 Ulrich Drepper <drepper@gmail.com>
49557 * Makefile.in: Remove CVSOPT handling.
49558 * configure.in: Remove use of AC_REVISION.
49559 * iconvdata/Makefile (distribute): No need to filter out CVS.
49560 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49563 2011-11-16 Andreas Schwab <schwab@redhat.com>
49565 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49566 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49567 [USE_AS_STRNCASECMP_L]: Likewise.
49568 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49569 NO_TLS_DIRECT_SEG_REFS.
49570 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49571 Fix argument offsets for non-PIC.
49572 [USE_AS_STRNCASECMP_L]: Likewise.
49573 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49574 NO_TLS_DIRECT_SEG_REFS.
49576 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49578 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49580 * locale/loadlocale.c (_nl_load_locale): Likewise.
49582 2011-11-15 Andreas Schwab <schwab@redhat.com>
49584 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49585 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49586 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49587 (SYSCALL_GETTIME): Set errno on error.
49589 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49590 count references to noai6ai_cached.
49592 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49594 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49596 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49597 FD_CLOEXEC for /proc/self/maps.
49599 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49600 FD_CLOEXEC for /proc/meminfo.
49602 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49605 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49606 FD_CLOEXEC for given file.
49608 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49610 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49611 FD_CLOEXEC for /etc/hosts.
49612 (_gethtent): Likewise.
49614 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49616 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49617 cancellation and set FD_CLOEXEC for /etc/netgroup.
49619 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49620 reading /etc/publickey.
49622 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49623 allow cancellation when reading /etc/group.
49625 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49627 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49629 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49630 when using data file.
49632 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49634 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49635 (write_nis_obj): Use "c" and "e" in fopen.
49637 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49639 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49641 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49643 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49645 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49648 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49650 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49652 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49654 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49655 file parsing and set FD_CLOEXEC.
49657 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49659 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49661 2011-11-14 Andreas Schwab <schwab@redhat.com>
49663 * malloc/arena.c (arena_get2): Don't call reused_arena when
49664 _int_new_arena failed.
49666 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49668 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49669 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49670 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49671 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49672 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49673 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49674 to compile strcasecmp and strncasecmp.
49675 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49676 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49680 2011-11-13 Ulrich Drepper <drepper@gmail.com>
49682 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49683 locale-defines.sym to gen-as-const-headers.
49684 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49685 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49686 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49687 to compile strcasecmp and strncasecmp.
49688 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49689 strcasecmp_l and strncasecmp_l.
49690 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49691 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49692 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49693 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49694 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49695 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49696 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49697 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49698 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49699 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49700 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49702 2011-11-12 Ulrich Drepper <drepper@gmail.com>
49704 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49705 result of SYSDEP_GETTIME_CPU to retval.
49706 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49707 parameter list to macro. Remove trailing semicolon. Adjust users.
49709 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49712 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49714 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49716 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49717 from unused variable.
49719 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49721 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49724 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49727 * sunrpc/rpc_prot.c (rejected): Fix case value.
49729 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49730 unsigned long long int to avoid warnings in shift.
49732 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49734 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49737 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49738 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49739 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49741 * nis/nis_table.c (nis_list): Use variable of correct type for
49742 result of __follow_path call.
49744 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49746 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49747 of math functions ceil, trunc, floor, round, and sqrt, when
49748 avaliable on the platform.
49749 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49751 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49752 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49753 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49755 2011-10-30 Marek Polacek <mpolacek@redhat.com>
49757 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49758 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49760 2011-11-11 Roland McGrath <roland@hack.frob.com>
49762 * include/unistd.h: Fix __readlink return type.
49763 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49765 2011-11-11 Ulrich Drepper <drepper@gmail.com>
49767 * stdlib/ucontext.h: Undo last change for makecontext.
49769 2011-11-11 Andreas Schwab <schwab@redhat.com>
49771 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49773 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49774 * setjmp/setjmp.h: Mark functions as non-leaf.
49775 * setjmp/bits/setjmp2.h: Likewise.
49776 * stdlib/ucontext.h: Likewise.
49778 2011-11-10 Andreas Schwab <schwab@redhat.com>
49780 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49781 (reused_arena): Don't check arena limit.
49782 (arena_get2): Atomically check arena limit.
49784 2011-11-08 Ulrich Drepper <drepper@gmail.com>
49786 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49787 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49789 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49792 2011-11-07 Andreas Schwab <schwab@redhat.com>
49794 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49795 handler when locking.
49797 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49798 Fix size of allocated buffer.
49800 2011-11-04 Andreas Schwab <schwab@redhat.com>
49803 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49804 declarations for long double functions.
49805 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49807 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49809 2011-11-03 Andreas Schwab <schwab@redhat.com>
49811 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49814 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49817 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49819 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49821 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49823 * include/alloca.h (stackinfo_alloca_round): Define.
49824 (extend_alloca): Use it.
49825 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49826 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49829 * scripts/check-local-headers.sh: Ignore libaudit.h.
49831 * nscd/Makefile (extra-objs): Make recursively expanded.
49833 2011-11-01 Ulrich Drepper <drepper@gmail.com>
49835 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49836 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49838 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49839 * posix/tst-rfc3484-2.c: Likewise.
49840 * posix/tst-rfc3484-3.c: Likewise.
49842 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49844 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49846 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49847 process_vm_writev from libc using GLIBC_2.15 version.
49849 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49851 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49853 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49856 2011-10-31 Ulrich Drepper <drepper@gmail.com>
49859 * nss/getent.c (initgroups_keys): Show error message in case no group
49862 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49863 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49864 __bump_nl_timestamp.
49865 * nscd/connections (nscd_init): When host database is served open
49866 netlink socket and request notification about configuration changes.
49867 (main_loop_poll): Track netlink file descriptor and bump timestamp
49868 in case data becomes available.
49869 (main_loop_epoll): Likewise.
49870 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49871 (database_pers_head): Add extra_data fileds.
49872 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49873 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49874 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49876 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49877 in6ai data, call __free_in6ai.
49878 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49879 Add -DHAVE_NETLINK.
49880 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49881 interface information. Reuse previous data if netlink timestamp
49883 (__bump_nl_timestamp): New function.
49884 (__free_in6ai): New function.
49886 2011-10-30 Ulrich Drepper <drepper@gmail.com>
49888 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49889 close_not_cancel_no_status here.
49890 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49892 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49895 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49898 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49899 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49900 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49902 2011-07-03 Andreas Jaeger <aj@suse.de>
49905 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49906 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49907 * math/libm-test.inc (sin_test): Add test case.
49909 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49912 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49913 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49915 * elf/chroot_canon.c (chroot_canon): Cleanups.
49917 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49920 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49921 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49923 * string/test-strchr.c: Make usable for strchrnul testing.
49924 * string/test-strchrnul.c: New file.
49925 * string/Makefile (strop-tests): Add strchrnul.
49927 * po/it.po: Update from translation team.
49928 * po/es.po: Likewise.
49930 2011-10-28 Ulrich Drepper <drepper@gmail.com>
49932 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49933 the three constants needed as parameters. Drop the others.
49934 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49935 __m128i_strloadu_tolower.
49936 Create and initialize variable zero and use it in all the places
49937 where _mm_setzero_si128 was used.
49939 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49940 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49941 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49942 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49944 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49945 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49946 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49947 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49948 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49949 __mpranred, __mptan.
49950 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49951 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49952 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49953 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49954 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49955 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49956 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49957 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49958 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49960 2011-10-28 Andreas Schwab <schwab@redhat.com>
49962 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49963 redefine if SHARED.
49964 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49967 wide char related routines to wcsmbs subdir.
49969 2011-10-27 Andreas Schwab <schwab@redhat.com>
49972 * misc/sys/cdefs.h (__THROWNL): Define.
49973 * posix/unistd.h: Use __THREADNL instead of __THREAD
49974 for memory synchronization functions.
49976 2011-10-26 Roland McGrath <roland@hack.frob.com>
49979 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49981 * manual/stdio.texi (Obstack Streams): Node removed.
49983 2011-10-26 Andreas Schwab <schwab@redhat.com>
49985 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49986 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49987 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49989 * math/math_private.h (math_force_eval): Allow non-addressable
49991 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49993 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49995 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49996 file is not needed.
49998 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49999 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50000 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50001 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50002 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50003 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50004 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50005 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50007 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50008 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50009 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50010 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50011 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50012 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50013 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50014 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50015 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50016 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50017 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50018 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50019 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50020 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50021 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50022 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50023 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50024 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50025 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50027 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50028 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50030 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50031 place. Use VEX encoding when compiling for AVX.
50033 2011-10-25 Andreas Schwab <schwab@redhat.com>
50035 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50036 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50038 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50040 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50042 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50043 useless if() expression.
50044 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50045 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50046 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50048 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50049 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50050 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50051 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50052 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50053 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50054 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50055 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50056 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50057 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50058 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50059 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50060 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50061 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50062 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50064 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50066 2011-10-25 Andreas Schwab <schwab@redhat.com>
50068 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50070 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50072 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50074 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50075 .text section. Avoid duplicate constants.
50076 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50078 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50080 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50083 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50084 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50085 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50086 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50087 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50088 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50089 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50090 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50091 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50092 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50093 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50094 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50096 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50097 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50098 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50099 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50100 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50101 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50102 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50103 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50104 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50105 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50106 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50107 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50108 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50109 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50110 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50111 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50112 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50114 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50115 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50116 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50117 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50118 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50119 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50120 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50122 2011-10-24 Ulrich Drepper <drepper@gmail.com>
50124 * sysdeps/x86_64/dla.h: Move to ...
50125 * sysdeps/x86_64/fpu/dla.h: ...here.
50126 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50127 situations. Use __builtin_fma only for gcc 4.6 and up.
50129 * config.make.in: Add have-mfma4 entry.
50130 * configure.in: Substitute libc_cv_cc_fma4.
50131 * math/Makefile (dbl-only-routines): Add sincostab.
50132 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50133 Use __sincostab not sincos.
50134 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50136 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50141 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50142 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50143 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50144 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50146 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50147 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50149 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50150 define aliases when function name is a macro.
50151 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50152 sysdeps/ieee754/dbl-64/sincos.tbl.
50153 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50154 fma4-enabled routines.
50155 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50156 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50157 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50158 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50159 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50160 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50161 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50162 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50163 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50164 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50165 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50166 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50167 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50168 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50169 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50170 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50171 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50172 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50173 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50174 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50175 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50176 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50177 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50178 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50179 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50180 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50181 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50182 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50183 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50184 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50186 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50188 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50190 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50194 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50195 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50197 2011-10-24 Andreas Schwab <schwab@redhat.com>
50199 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50201 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50203 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50205 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50207 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50209 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50210 Remove unused variable magic_bits.
50211 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50213 * string/strnlen.c: Define and use STRNLEN macro.
50214 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50215 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50216 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50217 * wcsmbs/wcslen.c: Define and use WCSLEN.
50218 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50219 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50220 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50221 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50222 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50223 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50224 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50226 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50228 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50229 strnlen-sse2-no-bsf.
50230 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50231 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50232 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50233 Add strnlen support.
50234 (USE_AS_STRNLEN): New macro.
50235 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50236 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50237 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50238 * sysdeps/x86_64/wcslen.S: New file.
50240 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50242 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50243 XMM-moves are used for copying on small sizes.
50245 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50247 * wcsmbs/Makefile (strop-tests): Add wcschr.
50248 * wcsmbs/test-wcschr.c: New file.
50249 * string/test-strchr.c: Update.
50250 Add wcschr support.
50253 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50255 * wcsmbs/Makefile (strop-tests): Add wcslen.
50256 * wcsmbs/test-wcslen.c: New file.
50257 * string/test-strlen.c: Update.
50258 Add wcslen support.
50261 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50263 * po/it.po: Update from translation team.
50265 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50267 * sysdeps/x86_64/wcscmp.S: Update.
50268 Fix wrong comparison semantics.
50269 wcscmp shall use signed comparison not unsigned.
50270 Don't use substraction to avoid overflow bug.
50271 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50272 * wcsmbc/wcscmp.c: Likewise.
50273 * string/test-strcmp.c: Likewise.
50274 Add new tests to check cases with negative values.
50276 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50278 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50279 * sysdeps/x86_64/dla.h: ...here. New file.
50280 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50281 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50282 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50283 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50284 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50285 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50286 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50287 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50288 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50290 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50292 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50293 __ynl_finite aliases.
50295 2011-10-22 Ulrich Drepper <drepper@gmail.com>
50297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50299 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50301 [DLA_FMA] (EMULV): Use DLA_FMA.
50302 [DLA_FMA] (MUL12): Use EMULV.
50303 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50304 that are not needed.
50305 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50306 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50309 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50310 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50311 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50313 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50315 * math/s_nan.c: Undef __nan.
50316 * math/s_nanf.c: Undef __nanf.
50317 * math/s_nanl.c: Undef __nanl.
50318 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50321 2011-10-22 Ulrich Drepper <drepper@gmail.com>
50323 * math/s_catan.c: Add branch predictions.
50324 * math/s_catanf.c: Likewise.
50325 * math/s_catanh.c: Likewise.
50326 * math/s_catanhf.c: Likewise.
50327 * math/s_catanhl.c: Likewise.
50328 * math/s_catanl.c: Likewise.
50329 * math/s_cexp.c: Likewise.
50330 * math/s_cexpf.c: Likewise.
50331 * math/s_cexpl.c: Likewise.
50332 * math/s_clog.c: Likewise.
50333 * math/s_clog10.c: Likewise.
50334 * math/s_clog10f.c: Likewise.
50335 * math/s_clog10l.c: Likewise.
50336 * math/s_clogf.c: Likewise.
50337 * math/s_clogl.c: Likewise.
50338 * math/s_csqrt.c: Likewise.
50339 * math/s_csqrtf.c: Likewise.
50340 * math/s_csqrtl.c: Likewise.
50341 * math/s_ctanf.c: Likewise.
50342 * math/s_ctanh.c: Likewise.
50343 * math/s_ctanhf.c: Likewise.
50344 * math/s_ctanhl.c: Likewise.
50345 * math/s_ctanl.c: Likewise.
50347 * math/math_private.h: Define __nan, __nanf, __nanl.
50348 * math/s_cacosh.c: Include <math_private.h>.
50349 * math/s_cacoshl.c: Likewise.
50350 * math/s_casinh.c: Likewise.
50351 * math/s_casinhf.c: Likewise.
50352 * math/s_casinhl.c: Likewise.
50353 * math/s_ccos.c: Rely entire on ccosh.
50354 * math/s_ccosf.c: Rely entire on ccoshf.
50355 * math/s_ccosl.c: Rely entirely on ccoshl.
50356 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50357 Remove tests for FE_INVALID.
50358 * math/s_ccoshf.c: Likewise.
50359 * math/s_ccoshl.c: Likewise.
50360 * math/s_csin.c: Likewise.
50361 * math/s_csinf.c: Likewise.
50362 * math/s_csinh.c Likewise.
50363 * math/s_csinhf.c: Likewise.
50364 * math/s_csinhl.c: Likewise.
50365 * math/s_csinl.c: Likewise.
50366 * math/s_ctan.c: Likewise.
50367 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50368 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50369 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50371 2011-10-21 Ulrich Drepper <drepper@gmail.com>
50373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50374 compilation problems.
50376 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50379 2011-10-20 Ulrich Drepper <drepper@gmail.com>
50381 * sysdeps/i386/configure.in: Test for -mfma4 option.
50382 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50383 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50384 COMMON_CPUID_INDEX_80000001.
50385 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50386 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50387 use it if FMA3 is not supported.
50388 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50390 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50391 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50393 2011-10-20 Andreas Schwab <schwab@redhat.com>
50396 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50397 it would create a cycle with a link time dependency.
50399 2011-10-19 Ulrich Drepper <drepper@gmail.com>
50401 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50403 * string/Makefile (strop-tests): Add rawmemchr.
50404 * string/test-rawmemchr.c: New file.
50406 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50407 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50408 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50409 when compiling str{,n}casecmp and when AVX is available. Hook up
50410 new optimized code in initializers.
50412 2011-10-19 Andreas Schwab <schwab@redhat.com>
50414 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50415 __feraiseexcept instead of feraiseexcept.
50417 2011-10-18 Ulrich Drepper <drepper@gmail.com>
50419 * math/math_private.h: Define defaults for libc_fetestexcept and
50421 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50422 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50423 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50424 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50425 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50426 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50427 libc_fetestexcept and libc_feupdateenv.
50429 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50430 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50431 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50432 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50433 libc_feholdexcept_setround.
50435 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50436 Add s_nearbyint-c and s_nearbyintf-c.
50437 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50438 nearbyintf inlines.
50439 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50440 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50441 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50442 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50444 * math/math_private.h: Define defaults for libc_fegetround,
50445 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50446 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50447 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50448 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50449 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50450 standard functions.
50451 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50452 Remove comments and hacks for old compiler versions.
50453 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50454 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50455 libc_feholdexceptl.
50457 2011-10-18 Andreas Schwab <schwab@redhat.com>
50459 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50460 (__feraiseexcept_renamed): Add __NTH.
50461 (feraiseexcept): Add __NTH. Rename local variables to fix
50462 namespace violations.
50464 2011-10-17 Ulrich Drepper <drepper@gmail.com>
50466 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50468 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50470 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50471 recently added interfaces.
50472 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50474 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50475 about macro parameter expansion.
50477 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50478 __NO_MATH_INLINES is defined. Cleanups.
50480 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50481 and __floorf is target has SSE4.1.
50482 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50483 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50484 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50485 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50487 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50489 (floorf): Likewise.
50491 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50493 2011-10-17 Andreas Schwab <schwab@redhat.com>
50495 * misc/sys/cdefs.h: Fix last change.
50497 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50500 2011-10-16 Ulrich Drepper <drepper@gmail.com>
50502 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50504 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50505 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50506 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50507 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50508 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50509 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50510 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50511 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50512 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50513 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50514 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50515 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50516 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50517 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50518 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50519 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50520 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50521 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50522 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50523 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50524 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50525 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50527 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50528 ceil, ceilf, floor, floorf.
50530 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50531 Perform IRELATIVE relocations last.
50533 * elf/do-rel.h: Add another parameter nrelative, replacing the
50534 local variable with the same name. Change name of the function
50535 to end in Rel or Rela (uppercase).
50536 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50537 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50538 elf_dynamic_do_##reloc function.
50540 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50542 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50543 is sufficient, at least on modern CPUs.
50545 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50547 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50548 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50550 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50552 * math/bits/math-finite.h: Add entries for exp.
50553 * math/e_expl.c: Add __*_finite alias.
50554 * sysdeps/i386/fpu/e_exp.S: Likewise.
50555 * sysdeps/i386/fpu/e_expf.S: Likewise.
50556 * sysdeps/i386/fpu/e_expl.c: Likewise.
50557 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50558 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50559 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50560 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50561 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50562 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50563 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50565 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50566 is sufficient, at least on modern CPUs.
50568 * ctype/ctype-info.c (__ctype_init): Define.
50569 * include/ctype.h (__ctype_init): Declare.
50570 (__ctype_b_loc): The variable is always initialized.
50571 (__ctype_toupper_loc): Likewise.
50572 (__ctype_tolower_loc): Likewise.
50573 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50574 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50576 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50578 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50580 * configure.in: Also look in $cxxmachine/include for C++ system
50583 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50585 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50586 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50587 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50588 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50590 (USE_AS_WMEMCMP): New macro.
50592 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50593 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50594 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50595 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50597 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50598 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50599 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50600 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50601 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50602 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50603 (USE_AS_WMEMCMP): New macro.
50604 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50605 * sysdeps/string/test-memcmp.c: Update.
50606 Fix simple_wmemcmp.
50608 * wcsmbs/wmemcmp.c: Update.
50609 (WMEMCMP): New macro.
50612 2011-10-12 Andreas Jaeger <aj@suse.de>
50615 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50617 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50619 * libio/iofwide.c (do_length): Avoid warning.
50621 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50623 2011-10-14 Ulrich Drepper <drepper@gmail.com>
50625 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50627 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50628 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50629 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50630 * sysdeps/i386/i686/fpu/e_log.S: New file.
50631 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50632 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50634 * ctype/ctype.h: Add support for inlined isXXX functions when
50635 compiling C++ code.
50637 2011-10-14 Andreas Schwab <schwab@redhat.com>
50639 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50641 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50643 2011-10-13 Roland McGrath <roland@hack.frob.com>
50646 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50648 2011-10-13 Andreas Schwab <schwab@redhat.com>
50650 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50651 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50654 * sysdeps/x86_64/memrchr.S: Check for zero size.
50656 * string/stratcliff.c: Add memrchr tests.
50658 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50660 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50661 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50662 rawmemchr-sse2 rawmemchr-sse2-bsf.
50663 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50664 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50665 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50666 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50667 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50668 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50669 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50670 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50671 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50672 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50673 * string/memrchr.c (MEMRCHR): New macro.
50675 2011-10-12 Ulrich Drepper <drepper@gmail.com>
50677 Add integration with gcc's -ffinite-math-only and optimize wrapper
50679 * Versions.def: Define GLIBC_2.15 version for libm.
50680 * math/Makefile (headers): Add bits/math-finite.h.
50681 * math/bits/math-finite.h: New file.
50682 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50683 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50684 * math/e_acoshl.c: Add __*_finite alias.
50685 * math/e_acosl.c: Likewise.
50686 * math/e_asinl.c: Likewise.
50687 * math/e_atan2l.c: Likewise.
50688 * math/e_atanhl.c: Likewise.
50689 * math/e_coshl.c: Likewise.
50690 * math/e_exp10.c: Likewise.
50691 * math/e_exp10f.c: Likewise.
50692 * math/e_exp10l.c: Likewise.
50693 * math/e_exp2l.c: Likewise.
50694 * math/e_fmodl.c: Likewise.
50695 * math/e_gammal_r.c: Likewise.
50696 * math/e_hypotl.c: Likewise.
50697 * math/e_j0l.c: Likewise.
50698 * math/e_j1l.c: Likewise.
50699 * math/e_jnl.c: Likewise.
50700 * math/e_lgammal_r.c: Likewise.
50701 * math/e_log10l.c: Likewise.
50702 * math/e_log2l.c: Likewise.
50703 * math/e_logl.c: Likewise.
50704 * math/e_powl.c: Likewise.
50705 * math/e_sinhl.c: Likewise.
50706 * math/e_sqrtl.c: Likewise.
50707 * math/e_scalb.c: Completely rewritten and optimized.
50708 * math/e_scalbf.c: Likewise.
50709 * math/e_scalbl.c: Likewise.
50710 * math/w_acos.c: Likewise.
50711 * math/w_acosf.c: Likewise.
50712 * math/w_acosl.c: Likewise.
50713 * math/w_acosh.c: Likewise.
50714 * math/w_acoshf.c: Likewise.
50715 * math/w_acoshl.c: Likewise.
50716 * math/w_asin.c: Likewise.
50717 * math/w_asinf.c: Likewise.
50718 * math/w_asinl.c: Likewise.
50719 * math/w_atan2.c: Likewise.
50720 * math/w_atan2f.c: Likewise.
50721 * math/w_atan2l.c: Likewise.
50722 * math/w_atanh.c: Likewise.
50723 * math/w_atanhf.c: Likewise.
50724 * math/w_atanhl.c: Likewise.
50725 * math/w_exp10.c: Likewise.
50726 * math/w_exp10f.c: Likewise.
50727 * math/w_exp10l.c: Likewise.
50728 * math/w_fmod.c: Likewise.
50729 * math/w_fmodf.c: Likewise.
50730 * math/w_fmodl.c: Likewise.
50731 * math/w_j0.c: Likewise.
50732 * math/w_j0f.c: Likewise.
50733 * math/w_j0l.c: Likewise.
50734 * math/w_j1.c: Likewise.
50735 * math/w_j1f.c: Likewise.
50736 * math/w_j1l.c: Likewise.
50737 * math/w_jn.c: Likewise.
50738 * math/w_jnf.c: Likewise.
50739 * math/w_log.c: Likewise.
50740 * math/w_logf.c: Likewise.
50741 * math/w_logl.c: Likewise.
50742 * math/w_log10.c: Likewise.
50743 * math/w_log10f.c: Likewise.
50744 * math/w_log10l.c: Likewise.
50745 * math/w_log2.c: Likewise.
50746 * math/w_log2f.c: Likewise.
50747 * math/w_log2l.c: Likewise.
50748 * math/w_pow.c: Likewise.
50749 * math/w_powf.c: Likewise.
50750 * math/w_powl.c: Likewise.
50751 * math/w_remainder.c: Likewise.
50752 * math/w_remainderf.c: Likewise.
50753 * math/w_remainderl.c: Likewise.
50754 * math/w_scalb.c: Likewise.
50755 * math/w_scalbf.c: Likewise.
50756 * math/w_scalbl.c: Likewise.
50757 * math/w_sqrt.c: Likewise.
50758 * math/w_sqrtf.c: Likewise.
50759 * math/w_sqrtl.c: Likewise.
50760 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50761 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50763 * math/math_private.h: Declare __kernel_standard_f.
50764 * math/w_cosh.c: Remove cruft and optimize a bit.
50765 * math/w_coshf.c: Likewise.
50766 * math/w_coshl.c: Likewise.
50767 * math/w_exp2.c: Likewise.
50768 * math/w_exp2f.c: Likewise.
50769 * math/w_exp2l.c: Likewise.
50770 * math/w_hypot.c: Likewise.
50771 * math/w_hypotf.c: Likewise.
50772 * math/w_hypotl.c: Likewise.
50773 * math/w_lgamma.c: Likewise.
50774 * math/w_lgamma_r.c: Likewise.
50775 * math/w_lgammaf.c: Likewise.
50776 * math/w_lgammaf_r.c: Likewise.
50777 * math/w_lgammal.c: Likewise.
50778 * math/w_lgammal_r.c: Likewise.
50779 * math/w_sinh.c: Likewise.
50780 * math/w_sinhf.c: Likewise.
50781 * math/w_sinhl.c: Likewise.
50782 * math/w_tgamma.c: Likewise.
50783 * math/w_tgammaf.c: Likewise.
50784 * math/w_tgammal.c: Likewise.
50785 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50786 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50787 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50788 Minor optimizations. Pretty printing. Remove cruft.
50789 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50790 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50791 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50792 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50793 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50794 * sysdeps/i386/fpu/e_asin.S: Likewise.
50795 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50796 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50797 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50798 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50799 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50800 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50801 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50802 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50803 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50804 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50805 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50806 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50807 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50808 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50809 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50810 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50811 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50812 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50813 * sysdeps/i386/fpu/e_log.S: Likewise.
50814 * sysdeps/i386/fpu/e_log10.S: Likewise.
50815 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50816 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50817 * sysdeps/i386/fpu/e_log2.S: Likewise.
50818 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50819 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50820 * sysdeps/i386/fpu/e_logf.S: Likewise.
50821 * sysdeps/i386/fpu/e_logl.S: Likewise.
50822 * sysdeps/i386/fpu/e_pow.S: Likewise.
50823 * sysdeps/i386/fpu/e_powf.S: Likewise.
50824 * sysdeps/i386/fpu/e_powl.S: Likewise.
50825 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50826 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50827 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50828 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50829 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50830 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50831 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50832 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50833 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50834 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50835 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50837 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50838 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50839 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50840 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50841 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50842 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50843 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50844 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50845 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50846 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50847 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50848 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50850 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50851 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50852 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50854 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50855 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50856 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50857 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50858 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50859 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50860 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50861 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50862 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50863 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50864 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50865 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50866 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50867 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50868 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50869 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50870 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50871 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50872 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50873 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50874 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50875 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50876 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50877 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50878 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50879 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50880 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50881 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50882 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50883 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50884 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50885 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50886 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50887 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50888 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50889 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50890 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50891 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50892 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50893 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50894 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50895 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50896 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50897 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50898 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50899 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50900 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50902 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50903 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50904 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50905 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50906 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50907 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50908 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50909 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50910 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50911 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50912 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50913 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50914 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50915 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50916 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50917 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50918 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50919 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50920 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50921 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50922 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50923 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50924 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50925 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50926 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50927 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50928 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50929 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50930 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50931 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50932 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50933 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50934 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50935 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50936 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50937 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50938 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50939 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50940 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50941 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50942 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50943 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50944 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50945 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50946 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50947 (__isnanf): Likewise.
50948 (__isinf_ns): Likewise.
50949 (__isinf_nsf): Likewise.
50950 (__finite): Likewise.
50951 (__finitef): Likewise.
50952 (__ieee754_sqrt): Define as macro.
50953 (__ieee754_sqrtf): Define as macro.
50954 (__ieee754_sqrtl): Define as macro.
50955 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50957 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50958 __FINITE_MATH_ONLY__ consistent.
50959 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50961 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50963 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50966 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50968 2011-10-09 Ulrich Drepper <drepper@gmail.com>
50970 * po/ja.po: Update from translation team.
50972 2011-10-08 Roland McGrath <roland@hack.frob.com>
50974 * locale/programs/locarchive.c (prepare_address_space): New function.
50975 (create_archive, enlarge_archive, open_archive): Use it.
50977 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50978 inside [SHARED], where it is used.
50980 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50982 * nss/getent.c (netgroup_keys): Remove unused variable.
50983 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50985 2011-10-08 Ulrich Drepper <drepper@gmail.com>
50987 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50988 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50989 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50990 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50991 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50992 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50993 * math/Makefile (libm-calls): Add s_isinf_ns.
50994 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50995 * math/multc3.c: Likewise.
50996 * math/s_casin.c: Likewise.
50997 * math/s_casinf.c: Likewise.
50998 * math/s_casinl.c: Likewise.
50999 * math/s_ccos.c: Likewise.
51000 * math/s_ccosf.c: Likewise.
51001 * math/s_ccosl.c: Likewise.
51002 * math/s_ctan.c: Likewise.
51003 * math/s_ctanf.c: Likewise.
51004 * math/s_ctanh.c: Likewise.
51005 * math/s_ctanhf.c: Likewise.
51006 * math/s_ctanhl.c: Likewise.
51007 * math/s_ctanl.c: Likewise.
51008 * math/w_fmod.c: Likewise.
51009 * math/w_fmodf.c: Likewise.
51010 * math/w_fmodl.c: Likewise.
51011 * math/w_remainder.c: Likewise.
51012 * math/w_remainderf.c: Likewise.
51013 * math/w_remainderl.c: Likewise.
51014 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51015 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51016 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51018 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51019 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51020 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51021 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51023 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51025 * stdio-common/printf_fphex.c: Likewise.
51026 * stdio-common/printf_size.c: Likewise.
51028 * math/e_exp10.c: Include math_private.h using <...> not "...".
51029 * math/e_exp10f.c: Likewise.
51030 * math/e_exp10l.c: Likewise.
51031 * math/e_exp2l.c: Likewise.
51032 * math/e_j0l.c: Likewise.
51033 * math/e_j1l.c: Likewise.
51034 * math/e_jnl.c: Likewise.
51035 * math/e_lgammal_r.c: Likewise.
51036 * math/e_rem_pio2l.c: Likewise.
51037 * math/e_scalb.c: Likewise.
51038 * math/e_scalbf.c: Likewise.
51039 * math/e_scalbl.c: Likewise.
51040 * math/k_cosl.c: Likewise.
51041 * math/k_sinl.c: Likewise.
51042 * math/k_tanl.c: Likewise.
51043 * math/s_cacoshf.c: Likewise.
51044 * math/s_catan.c: Likewise.
51045 * math/s_catanf.c: Likewise.
51046 * math/s_catanh.c: Likewise.
51047 * math/s_catanhf.c: Likewise.
51048 * math/s_catanhl.c: Likewise.
51049 * math/s_catanl.c: Likewise.
51050 * math/s_ccosh.c: Likewise.
51051 * math/s_ccoshf.c: Likewise.
51052 * math/s_ccoshl.c: Likewise.
51053 * math/s_cexp.c: Likewise.
51054 * math/s_cexpf.c: Likewise.
51055 * math/s_cexpl.c: Likewise.
51056 * math/s_clog.c: Likewise.
51057 * math/s_clog10.c: Likewise.
51058 * math/s_clog10f.c: Likewise.
51059 * math/s_clog10l.c: Likewise.
51060 * math/s_clogf.c: Likewise.
51061 * math/s_clogl.c: Likewise.
51062 * math/s_csin.c: Likewise.
51063 * math/s_csinf.c: Likewise.
51064 * math/s_csinh.c: Likewise.
51065 * math/s_csinhf.c: Likewise.
51066 * math/s_csinhl.c: Likewise.
51067 * math/s_csinl.c: Likewise.
51068 * math/s_csqrt.c: Likewise.
51069 * math/s_csqrtf.c: Likewise.
51070 * math/s_csqrtl.c: Likewise.
51071 * math/s_ctan.c: Likewise.
51072 * math/s_ctanf.c: Likewise.
51073 * math/s_ctanh.c: Likewise.
51074 * math/s_ctanhf.c: Likewise.
51075 * math/s_ctanhl.c: Likewise.
51076 * math/s_ctanl.c: Likewise.
51077 * math/s_ldexp.c: Likewise.
51078 * math/s_ldexpf.c: Likewise.
51079 * math/s_ldexpl.c: Likewise.
51080 * math/s_significand.c: Likewise.
51081 * math/s_significandf.c: Likewise.
51082 * math/s_significandl.c: Likewise.
51083 * math/w_acos.c: Likewise.
51084 * math/w_acosf.c: Likewise.
51085 * math/w_acosh.c: Likewise.
51086 * math/w_acoshf.c: Likewise.
51087 * math/w_acoshl.c: Likewise.
51088 * math/w_acosl.c: Likewise.
51089 * math/w_asin.c: Likewise.
51090 * math/w_asinf.c: Likewise.
51091 * math/w_asinl.c: Likewise.
51092 * math/w_atan2.c: Likewise.
51093 * math/w_atan2f.c: Likewise.
51094 * math/w_atan2l.c: Likewise.
51095 * math/w_atanh.c: Likewise.
51096 * math/w_atanhf.c: Likewise.
51097 * math/w_atanhl.c: Likewise.
51098 * math/w_cosh.c: Likewise.
51099 * math/w_coshf.c: Likewise.
51100 * math/w_coshl.c: Likewise.
51101 * math/w_dremf.c: Likewise.
51102 * math/w_exp10.c: Likewise.
51103 * math/w_exp10f.c: Likewise.
51104 * math/w_exp10l.c: Likewise.
51105 * math/w_exp2.c: Likewise.
51106 * math/w_exp2f.c: Likewise.
51107 * math/w_fmod.c: Likewise.
51108 * math/w_fmodf.c: Likewise.
51109 * math/w_fmodl.c: Likewise.
51110 * math/w_hypot.c: Likewise.
51111 * math/w_hypotf.c: Likewise.
51112 * math/w_hypotl.c: Likewise.
51113 * math/w_j0.c: Likewise.
51114 * math/w_j0f.c: Likewise.
51115 * math/w_j0l.c: Likewise.
51116 * math/w_j1.c: Likewise.
51117 * math/w_j1f.c: Likewise.
51118 * math/w_j1l.c: Likewise.
51119 * math/w_jn.c: Likewise.
51120 * math/w_jnf.c: Likewise.
51121 * math/w_jnl.c: Likewise.
51122 * math/w_lgamma.c: Likewise.
51123 * math/w_lgamma_r.c: Likewise.
51124 * math/w_lgammaf.c: Likewise.
51125 * math/w_lgammaf_r.c: Likewise.
51126 * math/w_lgammal.c: Likewise.
51127 * math/w_lgammal_r.c: Likewise.
51128 * math/w_log.c: Likewise.
51129 * math/w_log10.c: Likewise.
51130 * math/w_log10f.c: Likewise.
51131 * math/w_log10l.c: Likewise.
51132 * math/w_log2.c: Likewise.
51133 * math/w_log2f.c: Likewise.
51134 * math/w_log2l.c: Likewise.
51135 * math/w_logf.c: Likewise.
51136 * math/w_logl.c: Likewise.
51137 * math/w_pow.c: Likewise.
51138 * math/w_powf.c: Likewise.
51139 * math/w_powl.c: Likewise.
51140 * math/w_remainder.c: Likewise.
51141 * math/w_remainderf.c: Likewise.
51142 * math/w_remainderl.c: Likewise.
51143 * math/w_scalb.c: Likewise.
51144 * math/w_scalbf.c: Likewise.
51145 * math/w_scalbl.c: Likewise.
51146 * math/w_sinh.c: Likewise.
51147 * math/w_sinhf.c: Likewise.
51148 * math/w_sinhl.c: Likewise.
51149 * math/w_sqrt.c: Likewise.
51150 * math/w_sqrtf.c: Likewise.
51151 * math/w_sqrtl.c: Likewise.
51152 * math/w_tgamma.c: Likewise.
51153 * math/w_tgammaf.c: Likewise.
51154 * math/w_tgammal.c: Likewise.
51156 * po/ja.po: Update from translation team.
51158 2011-09-29 Andreas Jaeger <aj@suse.de>
51161 * sunrpc/netname.c (netname2host): Fix logic.
51165 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51167 * math/w_remainder.c (__remainder): Likewise.
51168 * math/w_remainderf.c (__remainderf): Likewise.
51169 * math/libm-test.inc (remainder_test): Add test cases.
51171 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51173 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51176 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51178 * string/test-memcmp.c: Avoid unncessary #defines.
51179 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51181 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51183 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51184 Use new sse2 version for core i3 - i7 as it's faster
51185 than sse42 version.
51186 (bit_Prefer_PMINUB_for_stringop): New.
51187 * sysdeps/x86_64/rawmemchr.S: Update.
51188 Replace with faster SSE2 version.
51189 * sysdeps/x86_64/memrchr.S: New file.
51190 * sysdeps/x86_64/memchr.S: Update.
51191 Replace with faster SSE2 version.
51193 2011-09-12 Marek Polacek <mpolacek@redhat.com>
51195 * elf/dl-load.c (lose): Add cast to avoid warning.
51197 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51199 * po/ca.po: Update from translation team.
51201 * inet/getnetgrent_r.c: Hook up nscd.
51202 * nscd/Makefile (routines): Add nscd_netgroup.
51203 (nscd-modules): Add netgroupcache.
51204 (CFLAGS-netgroupcache.c): Define.
51205 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51206 (cache_search): Add const to second parameter.
51207 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51209 (dbs): Add netgrdb entry.
51210 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51211 (verify_persistent_db): Handle netgrdb.
51212 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51213 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51215 (netgroup_response_header): Define.
51216 (innetgroup_response_header): Define.
51217 (datahead): Add netgroup_response_header and innetgroup_response_header
51219 * nscd/nscd.conf: Add entries for netgroup cache.
51220 * nscd/nscd.h (dbtype): Add netgrdb.
51221 (_PATH_NSCD_NETGROUP_DB): Define.
51222 (netgroup_iov_disabled): Declare.
51223 (xmalloc, xcalloc, xrealloc): Move declarations here.
51224 (cache_search): Adjust prototype.
51225 Add netgroup-related prototypes.
51226 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51227 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51228 (__nscd_innetgr): Declare.
51229 * nscd/selinux.c (perms): Use access_vector_t as element type and
51230 add netgroup-related initializers.
51231 * nscd/netgroupcache.c: New file.
51232 * nscd/nscd_netgroup.c: New file.
51233 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51234 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51235 For four parameters use innetgr.
51236 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51237 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51238 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51239 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51241 * nscd/connections.c (register_traced_file): Don't register file
51242 for disabled databases.
51244 2011-10-06 Ulrich Drepper <drepper@gmail.com>
51246 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51248 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51249 from tree and freeing node.
51251 2011-09-25 Jiri Olsa <jolsa@redhat.com>
51253 * nss/nsswitch.c (__nss_database_lookup): Handle
51254 nss_parse_service_list out of memory case.
51256 2011-09-15 Jiri Olsa <jolsa@redhat.com>
51258 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51259 out of memory case.
51261 2011-10-04 Andreas Schwab <schwab@redhat.com>
51263 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51264 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51266 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51267 elf_machine_rela, elf_machine_lazy_rel.
51268 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51269 (ELF_DYNAMIC_DO_REL): Likewise.
51270 (ELF_DYNAMIC_DO_RELA): Likewise.
51271 (ELF_DYNAMIC_RELOCATE): Likewise.
51272 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51273 to ELF_DYNAMIC_DO_REL.
51274 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51275 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51276 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51278 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51279 skip_ifunc, don't call ifunc function if non-zero.
51280 (elf_machine_rela): Likewise.
51281 (elf_machine_lazy_rel): Likewise.
51282 (elf_machine_lazy_rela): Likewise.
51283 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51284 (elf_machine_lazy_rel): Likewise.
51285 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51287 (elf_machine_lazy_rel): Likewise.
51288 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51290 (elf_machine_lazy_rel): Likewise.
51291 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51292 (elf_machine_lazy_rel): Likewise.
51293 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51294 (elf_machine_lazy_rel): Likewise.
51295 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51296 (elf_machine_lazy_rel): Likewise.
51297 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51298 (elf_machine_lazy_rel): Likewise.
51299 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51300 (elf_machine_lazy_rel): Likewise.
51301 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51302 (elf_machine_lazy_rel): Likewise.
51304 2011-09-28 Ulrich Drepper <drepper@gmail.com>
51306 * nss/nss_files/files-init.c (_nss_files_init): Use static
51307 initialization for all the *_traced_file variables.
51309 2011-09-28 Andreas Schwab <schwab@redhat.com>
51311 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51313 2011-09-27 Roland McGrath <roland@hack.frob.com>
51316 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51318 2011-09-27 Andreas Schwab <schwab@redhat.com>
51320 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51321 Reread the line before reparsing it.
51323 2011-09-26 Andreas Schwab <schwab@redhat.com>
51325 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51327 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51328 Maxim Kuvyrkov <maxim@codesourcery.com>
51329 Joseph Myers <joseph@codesourcery.com>
51331 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51332 if needed for __stack_chk_guard.
51334 2011-09-19 Roland McGrath <roland@hack.frob.com>
51336 * sysdeps/posix/spawni.c (script_execute): Always define it.
51337 It will be optimized away if unused.
51338 (maybe_script_execute): New function.
51339 (__spawni): Call it.
51341 * Makerules: Don't include tls.make.
51342 (config-tls): Always set to thread.
51343 * tls.make.c: File removed.
51345 2011-09-19 Mike Frysinger <vapier@gentoo.org>
51347 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51348 * config.make.in (CPPFLAGS-config): New substituted variable.
51350 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51352 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51355 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51356 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51358 2011-09-15 Roland McGrath <roland@hack.frob.com>
51360 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51361 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51362 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51363 (CALL_FAIL): Likewise.
51364 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51365 (CALL_FAIL): Macro removed.
51366 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51368 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51370 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51371 for __FINITE_MATH_ONLY__ == 1.
51373 2011-09-15 Andreas Schwab <schwab@redhat.com>
51375 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51376 __ieee754_sqrt instead of sqrt.
51377 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51378 __ieee754_sqrtf instead of sqrtf.
51379 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51380 __floorf instead of floorf.
51381 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51382 __floorf, __truncf instead of floorf, truncf.
51384 2011-09-14 Ulrich Drepper <drepper@gmail.com>
51386 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51388 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51389 __extern_always_inline.
51390 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51393 2011-09-14 Andreas Schwab <schwab@redhat.com>
51395 * elf/rtld.c (dl_main): Also relocate in dependency order when
51396 doing symbol dependency testing.
51398 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51400 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51401 Always define `refsym'.
51403 2011-09-13 Andreas Schwab <schwab@redhat.com>
51405 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51406 (__FD_ELT): Renamed from __FDELT.
51407 * misc/bits/select2.h (__FD_ELT): Likewise.
51408 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51409 __FD_MASK instead of __FDELT, __FDMASK.
51410 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51412 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51415 * elf/Makefile (gen-ldd): Fix pattern.
51417 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51418 (init_tls): Likewise.
51420 2011-09-12 Ulrich Drepper <drepper@gmail.com>
51422 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51424 2011-09-12 Andreas Schwab <schwab@redhat.com>
51426 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51427 `struct cmsghdr *' instead of `void *'.
51428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51431 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51433 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51435 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51436 ldd_rewrite_script.
51438 2011-09-11 Ulrich Drepper <drepper@gmail.com>
51440 * configure.in: Remove --with-tls option.
51441 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51442 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51443 out in case it is missing.
51444 * sysdeps/ia64/elf/configure.in: Likewise.
51445 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51446 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51447 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51448 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51449 * sysdeps/sh/elf/configure.in: Likewise.
51450 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51451 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51452 * sysdeps/x86_64/elf/configure.in: Likewise.
51453 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51454 * sysdeps/mach/hurd/tls.h: Likewise.
51457 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51460 * configure.in: Fix use of AC_INIT.
51462 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51464 2011-09-10 Ulrich Drepper <drepper@gmail.com>
51466 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51468 * malloc/hooks.c: Likewise.
51471 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51472 variables statically.
51473 (narenas): Initialize.
51474 (list_lock): Initialize.
51475 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51476 initializtion of main_arena and list_lock. Small cleanups.
51477 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51478 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51479 Add initializers to main_arena and mp_.
51480 (malloc_state): Remove pagesize member. Change all users to use
51483 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51484 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51485 is always initialized.
51487 * malloc/malloc.c: Removed unused configurations and dead code.
51488 * malloc/arena.c: Likewise.
51489 * malloc/hooks.c: Likewise.
51490 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51492 * include/tls.h: Removed. USE___THREAD must always be defined.
51493 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51494 * elf/dl-libc.c: Likewise.
51495 * elf/dl-tsd.c: Likewise.
51496 * include/errno.h: Likewise.
51497 * include/netdb.h: Likewise.
51498 * include/resolv.h: Likewise.
51499 * inet/herrno-loc.c: Likewise.
51500 * inet/herrno.c: Likewise.
51501 * malloc/arena.c: Likewise.
51502 * malloc/hooks.c: Likewise.
51503 * malloc/malloc.c: Likewise.
51504 * resolv/res-state.c: Likewise.
51505 * resolv/res_libc.c: Likewise.
51506 * sysdeps/i386/dl-machine.h: Likewise.
51507 * sysdeps/ia64/dl-machine.h: Likewise.
51508 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51509 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51510 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51511 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51512 * sysdeps/sh/dl-machine.h: Likewise.
51513 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51514 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51515 * sysdeps/unix/i386/sysdep.S: Likewise.
51516 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51517 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51518 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51519 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51520 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51522 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51524 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51526 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51527 * sysdeps/x86_64/dl-machine.h: Likewise.
51528 * tls.make.c: Likewise.
51530 * configure.in: Remove --with-__thread option. Make tests for
51531 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51532 tls_model attribute fail if no support is available. Remove
51534 * Makeconfig: Adjust for dropped configure option. All features are
51536 * Makerules: Likewise.
51537 * Versions.def: Likewise.
51538 * argp/argp-fmtstream.c: Likewise.
51539 * argp/argp-fmtstream.h: Likewise.
51540 * argp/argp-help.c: Likewise.
51541 * assert/assert.c: Likewise.
51542 * config.h.in: Likewise.
51543 * config.make.in: Likewise.
51544 * configure: Likewise.
51545 * configure.in: Likewise.
51546 * csu/Versions: Likewise.
51547 * csu/init.c: Likewise.
51548 * elf/tst-audit2.c: Likewise.
51549 * elf/tst-tls10.c: Likewise.
51550 * elf/tst-tls10.h: Likewise.
51551 * elf/tst-tls11.c: Likewise.
51552 * elf/tst-tls12.c: Likewise.
51553 * elf/tst-tls14.c: Likewise.
51554 * elf/tst-tlsmod11.c: Likewise.
51555 * elf/tst-tlsmod12.c: Likewise.
51556 * elf/tst-tlsmod13.c: Likewise.
51557 * elf/tst-tlsmod13a.c: Likewise.
51558 * elf/tst-tlsmod14a.c: Likewise.
51559 * elf/tst-tlsmod15b.c: Likewise.
51560 * elf/tst-tlsmod16a.c: Likewise.
51561 * elf/tst-tlsmod16b.c: Likewise.
51562 * elf/tst-tlsmod7.c: Likewise.
51563 * elf/tst-tlsmod8.c: Likewise.
51564 * elf/tst-tlsmod9.c: Likewise.
51565 * gmon/gmon.c: Likewise.
51566 * grp/fgetgrent_r.c: Likewise.
51567 * grp/putgrent.c: Likewise.
51568 * hurd/fopenport.c: Likewise.
51569 * include/libc-symbols.h: Likewise.
51570 * include/tls.h: Likewise.
51571 * intl/gettextP.h: Likewise.
51572 * intl/loadinfo.h: Likewise.
51573 * locale/global-locale.c: Likewise.
51574 * locale/localeinfo.h: Likewise.
51575 * mach/devstream.c: Likewise.
51576 * malloc/arena.c: Likewise.
51577 * malloc/set-freeres.c: Likewise.
51578 * misc/err.c: Likewise.
51579 * misc/getttyent.c: Likewise.
51580 * misc/mntent_r.c: Likewise.
51581 * posix/getopt.c: Likewise.
51582 * posix/wordexp.c: Likewise.
51583 * pwd/fgetpwent_r.c: Likewise.
51584 * resolv/Versions: Likewise.
51585 * resolv/res_hconf.c: Likewise.
51586 * shadow/fgetspent_r.c: Likewise.
51587 * shadow/putspent.c: Likewise.
51588 * stdio-common/printf_fphex.c: Likewise.
51589 * stdio-common/tmpfile.c: Likewise.
51590 * stdlib/abort.c: Likewise.
51591 * stdlib/fmtmsg.c: Likewise.
51592 * sunrpc/auth_unix.c: Likewise.
51593 * sunrpc/clnt_perr.c: Likewise.
51594 * sunrpc/clnt_tcp.c: Likewise.
51595 * sunrpc/clnt_udp.c: Likewise.
51596 * sunrpc/clnt_unix.c: Likewise.
51597 * sunrpc/openchild.c: Likewise.
51598 * sunrpc/svc_simple.c: Likewise.
51599 * sunrpc/svc_tcp.c: Likewise.
51600 * sunrpc/svc_udp.c: Likewise.
51601 * sunrpc/svc_unix.c: Likewise.
51602 * sunrpc/xdr.c: Likewise.
51603 * sunrpc/xdr_array.c: Likewise.
51604 * sunrpc/xdr_rec.c: Likewise.
51605 * sunrpc/xdr_ref.c: Likewise.
51606 * sunrpc/xdr_stdio.c: Likewise.
51608 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51610 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51612 2011-07-03 Andreas Jaeger <aj@suse.de>
51614 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51615 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51616 regenerate with gen-libm-tests.pl.
51618 2010-05-12 Petr Baudis <pasky@suse.cz>
51621 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51622 around j0() zero points by switching to j1().
51623 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51624 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51626 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51628 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51630 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51632 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51635 Patch in part by Pavel Roskin <proski@gnu.org>.
51638 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51640 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51641 Free memory block if necessary.
51644 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51645 be NULL. Don't lock in this case.
51647 2011-09-09 Roland McGrath <roland@hack.frob.com>
51649 * elf/elf.h (ELFOSABI_GNU): New macro.
51650 (ELFOSABI_LINUX): Define to that.
51652 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51654 * string/strncat.c (strncat): Undef the symbol in case it has been
51655 defined in bits/string.h.
51657 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51659 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51661 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51664 2011-08-17 Andreas Jaeger <aj@suse.de>
51666 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51668 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51669 Ian Lance Taylor <iant@google.com>
51671 * math/libm-test.inc (lround_test): New testcase.
51672 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51674 2011-09-08 Ulrich Drepper <drepper@gmail.com>
51676 * Makefile: Remove support for automatic cvs check-ins.
51677 * Makerules: Likewise.
51678 * config.make.in: Likewise.
51679 * configure.in: Likewise.
51680 * intl/Makefile: Likewise.
51681 * locale/Makefile: Likewise.
51682 * po/Makefile: Likewise.
51683 * posix/Makefile: Likewise.
51684 * sysdeps/gnu/Makefile: Likewise.
51685 * sysdeps/mach/hurd/Makefile: Likewise.
51686 * sysdeps/sparc/sparc32/Makefile: Likewise.
51689 * posix/Makefile (bug-regex32-ENV): Define.
51690 Patch by John Stanley <jpsinthemix@verizon.net>.
51692 * misc/Makefile (headers): Add bits/select2.h.
51693 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51694 * misc/bits/select2.h: New file.
51695 * include/bits/select2.h: New file.
51696 * debug/Makefile (routines): Add fdelt_chk.
51697 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51698 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51700 * debug/fdelt_chk.c: New file.
51702 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51703 * wcsmbs/test-wmemcmp.c: Likewise.
51704 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51705 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51707 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51709 * string/Makefile (strop-tests): Add memcmp.
51710 * string/test-wmemcmp.c: New file.
51711 * string/test-memcmp.c: Add wmemcmp support.
51713 2011-09-08 Roland McGrath <roland@hack.frob.com>
51716 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51719 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51720 garbage value in a __mach_port_mod_refs call in the cases of the
51721 task-self and thread-self ports.
51723 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51725 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51727 2011-09-08 Andreas Schwab <schwab@redhat.com>
51729 * elf/dl-load.c (lose): Check for non-null L.
51731 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51733 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51735 * elf/dl-libc.c (dlerror_run): Pass back error code from
51739 * elf/dl-load.c (lose): Free l_origin if it is valid.
51741 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51743 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51744 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51745 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51746 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51747 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51748 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51750 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51752 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51753 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51754 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51755 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51756 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51757 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51758 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51759 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51760 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51761 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51763 2011-08-15 Alan Modra <amodra@gmail.com>
51766 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51767 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51768 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51769 ppc_mcount to static-only-routines.
51770 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51772 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51773 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51775 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51777 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51778 for finite and infinity parameters.
51780 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51782 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51783 and add nop instructions for throughput optimization.
51784 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51786 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51788 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51789 aligned copy for power7 with vector-scalar instructions.
51790 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51792 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51794 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51797 2011-09-07 Andreas Schwab <schwab@redhat.com>
51800 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51803 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51805 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51806 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51807 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51808 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51811 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51813 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51814 Forgot to demangle the pointer.
51816 * sysdeps/i386/sysdep.h: Define atom_text_section.
51817 * sysdeps/x86_64/sysdep.h: Likewise.
51818 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51819 section with atom_text_section.
51820 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51821 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51822 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51823 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51824 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51826 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51827 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51828 already be defined. Change to take two parameters and don't assign
51829 result to variable. Adjust all users.
51830 Define INTERNAL_GETTIME if not already defined.
51831 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51834 HAVE_CLOCK_GETTIME_VSYSCALL.
51835 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51837 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51838 gettimeofday vsyscall, just use time.
51840 2011-09-06 Andreas Schwab <schwab@redhat.com>
51842 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51845 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51847 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51851 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51852 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51853 syscall if possible.
51855 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51857 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51858 e_ident. Don't pass to find_mapsXX.
51859 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51861 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51864 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51865 * sysdeps/x86_64/multiarch/strchr.S: Update.
51866 Check bit_slow_BSF bit.
51867 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51868 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51869 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51871 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51874 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51876 (tryshell): Define.
51877 (__spawni): Change last parameter to be flag. Test
51878 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51879 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51880 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51881 * posix/spawni.c: Likewise.
51882 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51883 * posix/spawnp.c: Likewise. Change normal version to use
51884 SPAWN_XFLAGS_USE_PATH.
51885 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51886 SPAWN_XFLAGS_TRY_SHELL.
51889 * posix/glob.h: Remove gcc 1.x support.
51892 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51894 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51897 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51899 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51900 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51901 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51902 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51903 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51904 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51906 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51908 * sysdeps/x86_64/wcscmp.S: New file.
51910 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51911 wcscmp-c wcscmp-sse2
51912 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51913 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51914 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51915 * wcsmbs/wcscmp.c: Allow renaming.
51917 2011-09-05 David S. Miller <davem@davemloft.net>
51919 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51920 stack slot, rather than the struct return pointer slot.
51921 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51922 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51924 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51926 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51928 * po/ja.po: Update from translation team.
51931 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51932 kernel in 64-bit binaries.
51934 2011-09-01 David S. Miller <davem@davemloft.net>
51936 * elf/elf.h (HWCAP_SPARC_*): Move to..
51937 * sysdeps/sparc/sysdep.h: this new file and add new values.
51938 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51939 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51940 _DL_HWCAP_COUNT to 24.
51941 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51943 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51944 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51945 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51946 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51947 instead of magic constants.
51948 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51950 2011-08-31 David S. Miller <davem@davemloft.net>
51952 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51953 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51954 Reimplement to do errno handling inline.
51955 (SYSCALL_ERROR_HANDLER): New macro.
51956 (__SYSCALL_STRING): Do not do errno handling in asm.
51957 (__CLONE_SYSCALL_STRING): Delete.
51958 (__INTERNAL_SYSCALL_STRING): Delete.
51959 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51960 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51961 (PSEUDO): Reimplement to do errno handling inline.
51962 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51963 (SYSCALL_ERROR_HANDLER): New macro.
51964 (__SYSCALL_STRING): Do not do errno handling in asm.
51965 (__CLONE_SYSCALL_STRING): Delete.
51966 (__INTERNAL_SYSCALL_STRING): Delete.
51967 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51968 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51970 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51971 (inline_syscall*): Add 'err' argument.
51972 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51973 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51974 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51975 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51977 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51978 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51980 2011-08-30 Andreas Schwab <schwab@redhat.com>
51982 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51984 2011-08-29 Jiri Olsa <jolsa@redhat.com>
51986 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51989 2011-08-24 David S. Miller <davem@davemloft.net>
51991 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51993 2011-08-24 Andreas Schwab <schwab@redhat.com>
51995 * elf/Makefile: Add rules to build and run unload8 test.
51996 * elf/unload8.c: New file.
51997 * elf/unload8mod1.c: New file.
51998 * elf/unload8mod1x.c: New file.
51999 * elf/unload8mod2.c: New file.
52000 * elf/unload8mod3.c: New file.
52002 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52005 2011-08-23 David S. Miller <davem@davemloft.net>
52007 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52008 subtract stack bias.
52009 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52010 %sp not %fp in calculations.
52011 (_JMPBUF_UNWINDS_ADJ): Likewise.
52013 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52014 (aio_suspend): Call it to force an exception region around the
52015 AIO_MISC_WAIT() invocation.
52017 2011-08-23 Andreas Schwab <schwab@redhat.com>
52019 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52022 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52024 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52026 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52027 and <dl-machine.h>.
52028 (Elf64_FuncDesc): Remove.
52030 2011-08-22 David S. Miller <davem@davemloft.net>
52032 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52033 sigaltstack check, add missing cfi directives.
52034 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52035 missing cfi directives, and sigaltstack handling.
52037 2011-08-16 Andreas Schwab <schwab@redhat.com>
52040 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52041 object is seen twice.
52042 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52044 * elf/Makefile (distribute): Add tst-initorder2.c.
52045 (tests): Add tst-initorder2.
52046 (modules-names): Add tst-initorder2a tst-initorder2b
52047 tst-initorder2c tst-initorder2d. Add rules to build them.
52048 ($(objpfx)tst-initorder2.out): New rule.
52049 * elf/tst-initorder2.c: New file.
52050 * elf/tst-initorder2.exp: New file.
52052 2011-08-22 Andreas Schwab <schwab@redhat.com>
52054 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52056 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52057 dependencies back to end of function.
52059 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52060 $(elfobjdir)/ld.so.
52062 2011-08-21 Ulrich Drepper <drepper@gmail.com>
52064 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52065 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52066 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52067 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52068 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52069 of __vdso_gettimeofday.
52070 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52071 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52073 (_libc_vdso_platform_setup): Remove initialization of
52074 __vdso_gettimeofday and __vdso_time.
52076 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52078 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52079 and fgetc_unlocked.
52080 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52083 * elf/dl-open.c (add_to_global): Report additions to the global scope
52084 for LD_DEBUG=scopes.
52085 (dl_open_worker): Also print scope of newly loaded dependencies.
52086 (_dl_show_scope): Indicate if there is no scope.
52089 * stdio-common/Makefile (tests): Add bug24.
52090 * stdio-common/bug24.c: New file.
52092 2011-08-19 Andreas Jaeger <aj@suse.de>
52095 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52096 non-existant file when using close-on-exec mode.
52098 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52101 the very first instruction.
52103 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52104 the CFI state in the end.
52105 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52106 inclusion of dl-trampoline.h.
52107 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52109 2011-08-19 Andreas Schwab <schwab@redhat.com>
52111 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52112 expectations for long double.
52114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52115 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52117 2011-08-14 David S. Miller <davem@davemloft.net>
52119 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52120 artificual limit depends upon the system page size.
52122 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52124 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52125 * resolv/Makefile: Define CFLAGS-libresolv.
52127 2011-08-17 Andreas Schwab <schwab@redhat.com>
52129 * nss/makedb.c (compute_tables): Make variables used in nested
52132 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52134 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52135 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52136 if buffer was too small.
52138 * elf/pldd.c (main): Attach to all threads in the process.
52139 Rewrite /proc handling to use *at functions.
52141 2011-08-16 Ulrich Drepper <drepper@gmail.com>
52143 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52144 specifies first scope to show.
52145 (dl_open_worker): Update callers. Move printing scope of new
52146 object to before the relocation.
52147 * elf/rtld.c (dl_main): Update _dl_show_scope call.
52148 * sysdeps/generic/ldsodefs.h: Update declaration.
52150 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52151 string for the scope number.
52153 2011-08-14 Ulrich Drepper <drepper@gmail.com>
52155 * nscd/servicescache.c (cache_addserv): Make sure written is always
52158 2011-08-14 Roland McGrath <roland@hack.frob.com>
52160 * sysdeps/i386/i486/bits/atomic.h
52161 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52162 statement expression, so as to suppress "set but not used" warning.
52163 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52165 * string/strncat.c (STRNCAT): Use prototype definition.
52167 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52168 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52170 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52171 (localedef-modules): Add localedef.
52172 (locale-modules): Add locale.
52174 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52175 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52176 to avoid a warning.
52178 2011-08-14 David S. Miller <davem@davemloft.net>
52180 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52181 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52183 2011-08-13 Ulrich Drepper <drepper@gmail.com>
52185 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52186 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52187 * elf/rtld.c (dl_main): Set l_name of vDSO.
52188 Call _dl_show_scope when DL_DEBUG_SCOPES.
52189 (process_dl_debug): Recognize scopes flag and also set it for all.
52190 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52191 Declare _dl_show_scope.
52193 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52194 (do_dlopen): Pass caller_dlopen to dl_open.
52195 (__libc_dlopen_mode): Initialize caller_dlopen.
52197 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52198 of libc. Make tolower call locale-independent. Optimize a bit by
52199 using isdigit instead of isalnum.
52200 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52202 2011-08-12 Ulrich Drepper <drepper@gmail.com>
52204 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52205 was a dependency or dynamically loaded.
52207 2011-08-11 Ulrich Drepper <drepper@gmail.com>
52209 * intl/l10nflist.c: Allow architecture-specific pop function.
52210 * sysdeps/x86_64/l10nflist.c: New file.
52212 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52215 2011-08-10 Andreas Schwab <schwab@redhat.com>
52217 * include/dirent.h: Add libc_hidden_proto for scandirat and
52218 scandirat64. Don't declare __scandirat64.
52219 * dirent/scandirat.c: Add libc_hidden_def.
52220 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52221 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52223 2011-08-10 David S. Miller <davem@davemloft.net>
52225 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52227 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52228 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52229 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52231 2011-08-09 Ulrich Drepper <drepper@gmail.com>
52233 * Versions.def [libc]: Add GLIBC_2.15.
52234 * dirent/Makefile (routines): Add scandirat and scandirat64.
52235 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52237 * dirent/dirent.h: Declare scandirat and scandirat64.
52238 * dirent/scandirat.c: New file.
52239 * dirent/scandirat64.c: New file.
52240 * sysdeps/wordsize-64/scandirat.c: New file.
52241 * sysdeps/wordsize-64/scandirat64.c: New file.
52242 * dirent/opendir.c: Define opendirat.
52243 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52245 * dirent/scandir64.c: Adjust for scandir.c change.
52246 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52247 __scandirat64, and __scandir_cancel_handler.
52248 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52249 additional parameter and use openat instead of open (outside of ld.so).
52250 Add new __opendir as wrapper around __opendirat.
52251 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52252 here without requiring old scandirat implementation.
52254 2011-08-08 Ulrich Drepper <drepper@gmail.com>
52256 * dirent/scandir.c (cancel_handler): Renamed to
52257 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52258 defined. Adjust users.
52259 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52260 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52262 2011-08-04 Ulrich Drepper <drepper@gmail.com>
52264 * string/test-string.h (IMPL): Use __STRING to expand name and then
52267 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52270 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52272 * string/Makefile: Update.
52273 (strop-tests): Append strncat.
52274 * string/test-wcscmp.c: New file.
52275 New comprehensive test for wcscmp.
52276 * string/test-strcmp.c: Update.
52277 (WIDE): New define.
52279 2011-07-22 Andreas Schwab <schwab@redhat.com>
52281 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52284 2011-07-26 Andreas Schwab <schwab@redhat.com>
52286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52287 encoding to ACE if AI_IDN.
52289 2011-08-01 Jakub Jelinek <jakub@redhat.com>
52291 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52292 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52294 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52296 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52297 Fix overflow bug in strncat.
52298 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52300 * string/test-strncat.c: Update.
52301 Add new tests for checking overflow bugs.
52303 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52306 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52307 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52308 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52309 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52310 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52311 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52312 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52313 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52315 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52316 (USE_AS_STRCAT): Define.
52317 Add strcat and strncat support.
52318 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52320 2011-07-25 Andreas Schwab <schwab@redhat.com>
52322 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52323 __n bigger than INT_MAX+1.
52324 (__strncmp_g): Likewise.
52326 2011-07-23 Ulrich Drepper <drepper@gmail.com>
52328 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52329 * libio/stido.h: Likewise.
52331 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52333 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52336 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52337 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52338 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52339 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52340 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52343 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52348 (_dl_x86_64_save_sse): Likewise.
52350 2011-07-22 Ulrich Drepper <drepper@gmail.com>
52352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52354 (_dl_x86_64_save_sse): Likewise.
52356 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52358 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52360 2011-07-21 Andreas Schwab <schwab@redhat.com>
52362 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52364 (_dl_x86_64_save_sse): Use correct AVX check.
52366 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52368 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52369 bug in strncpy/strncat.
52370 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52372 2011-07-21 Ulrich Drepper <drepper@gmail.com>
52374 * string/tester.c (test_strcat): Add tests for different alignments
52375 of source and destination.
52376 (test_strncat): Likewise.
52378 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52381 * posix/glob.c (glob): Check passed in values before using them in
52382 expressions to avoid some overflows.
52383 (glob_in_dir): Likewise.
52386 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52387 check for AVX enablement so that we don't crash with old kernels and
52389 * elf/tst-audit4.c: Add same checks here.
52390 * elf/tst-audit6.c: Likewise.
52392 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52394 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52396 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52398 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52400 * po/cs.po: Update from translation team.
52401 * po/bg.po: Likewise.
52403 2011-07-12 Marek Polacek <mpolacek@redhat.com>
52405 * misc/sys/cdefs.h: Add support for const attribute.
52406 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52407 to gnu_dev_{major,minor,makedev} functions.
52409 2011-07-20 Marek Polacek <mpolacek@redhat.com>
52411 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52413 2011-07-20 Andreas Schwab <schwab@redhat.com>
52415 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52418 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52420 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52421 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52422 register in order to avoid conflicts with the soft frame pointer
52423 being held in r11 when necessary.
52424 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52425 (INTERNAL_VSYSCALL_NCS): Likewise.
52427 2011-07-14 Marek Polacek <mpolacek@redhat.com>
52429 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52430 * elf/dl-fini.c (_dl_fini): Adjust caller.
52431 * elf/dl-close.c (_dl_close_worker): Likewise.
52432 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52434 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52436 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52437 "aux_cache->nlibs < 0".
52439 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52440 in the reload-count case.
52442 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52445 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52446 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52447 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52448 * sysdeps/x86_64/multiarch/strcat.S: New file.
52449 * sysdeps/x86_64/multiarch/strncat.S: New file.
52450 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52451 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52452 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52453 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52454 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52455 (USE_AS_STRCAT): Define.
52456 Add strcat and strncat support.
52457 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52458 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52459 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52460 * string/strncat.c: Update.
52461 (USE_AS_STRNCAT): Define.
52462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52463 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52465 * sysdeps/x86_64/multiarch/init-arch.h
52466 (bit_Prefer_PMINUB_for_stringop): New.
52467 (index_Prefer_PMINUB_for_stringop): Likewise.
52468 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52469 bit_Prefer_PMINUB_for_stringop.
52471 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52473 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52475 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52476 of casting of buffer.
52477 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52478 buffer32 and buffer64.
52479 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52480 writes instead of casting of buffer.
52481 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52483 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52486 2011-07-19 Andreas Schwab <schwab@redhat.com>
52488 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52490 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52492 * nscd/nscd.c (termination_handler): Don't do anything for a database
52493 if it has not yet been initialized.
52495 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52497 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52499 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52501 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52503 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52505 * po/nl.po: Update from translation team.
52506 * po/sv.po: Likewise.
52508 2011-07-16 Roland McGrath <roland@hack.frob.com>
52510 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52511 now disallowed by GCC.
52513 * configure.in (use-default-link): Default to yes if a test -shared
52514 link meets our qualifications.
52515 * configure: Regenerated.
52517 * config.make.in (output-format): New variable.
52518 * configure.in: Check for ld --print-output-format support.
52519 * configure: Regenerated.
52520 * Makerules ($(common-objpfx)format.lds)
52521 [$(output-format) != unknown]: Just use $(output-format),
52522 instead of the linker-script munging.
52524 2011-07-14 Roland McGrath <roland@hack.frob.com>
52526 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52527 of $(common-objpfx)shlib.lds.
52528 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52530 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52531 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52533 * configure.in (-z relro check): Adjust test code to add a large
52534 writable data section after it.
52535 * configure: Regenerated.
52537 2011-07-11 Roland McGrath <roland@hack.frob.com>
52539 * configure.in (-z relro check): Fix test code to make the variable
52541 * configure: Regenerated.
52543 2011-07-11 Ulrich Drepper <drepper@gmail.com>
52545 * nscd/nscd.h (struct traced_file): Define.
52546 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52547 elements. Add traced_files.
52548 (inotify_fd): Declare.
52549 (register_traced_file): Declare.
52550 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52551 (inotify_fd): Export.
52552 (resolv_conf_descr): Remove.
52553 (nscd_init): Move inotify descriptor creation to main.
52554 Don't register files for notification here.
52555 (register_traced_file): New function.
52556 (invalidate_cache): Don't use reset_res to determine whether to call
52557 res_init, go through the list of registered files.
52558 (main_loop_poll): The inotify descriptors are now stored in the
52559 structures for the traced files.
52560 (main_loop_epoll): Likewise
52561 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52562 to __nss_disable_nscd.
52563 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52564 for a database anymore. Check the records for all the registered
52566 * nss/Makefile (libnss_files-routines): Add files-init.
52567 (libnss_db-routines): Add db-init.
52568 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52569 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52570 * nss/nss_db/db-init.c: New file.
52571 * nss/nss_files/files-init.c: New file.
52572 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52573 __nss_lookup_function.
52574 (__nss_lookup_function): Call nss_load_library.
52575 (nss_load_all_libraries): New function.
52576 (__nss_disable_nscd): Take parameter with callback function for files
52577 to register. Set is_nscd. Load all the DSOs for the NSS modules
52578 used for the cached services.
52579 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52580 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52581 options for features to all the files in nscd.
52583 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52585 2011-07-10 Roland McGrath <roland@hack.frob.com>
52587 * csu/elf-init.c (__libc_csu_init): Comment typo.
52589 2011-07-09 Ulrich Drepper <drepper@gmail.com>
52591 * po/pl.po: Update from translation team.
52592 * po/ja.po: Likewise.
52593 * po/ru.po: Likewise.
52594 * po/ko.po: Likewise.
52595 * po/fr.po: Likewise.
52597 2011-07-09 Roland McGrath <roland@hack.frob.com>
52599 * configure.in (.ctors/.dtors header and trailer check):
52600 Use an empirical test on a built program.
52601 * configure: Regenerated.
52603 * configure.in (-z relro check): Use an empirical test on a built DSO.
52604 Detect, but do not require, on ia64.
52605 * configure: Regenerated.
52607 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52608 Update tests that use readelf to use $READELF instead.
52609 * configure: Regenerated.
52611 2011-07-08 Ulrich Drepper <drepper@gmail.com>
52613 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52614 if the result is not used.
52616 2011-07-05 Andreas Jaeger <aj@suse.de>
52619 * stdlib/tst-strtod.c: Add testcase.
52621 2011-07-07 Ulrich Drepper <drepper@gmail.com>
52623 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52624 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52625 The latter has a higher limit. Take additional parameter to pass to
52627 (__pathconf): Pass file to __statfs_link_max.
52628 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52630 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52634 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52635 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52637 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52638 (__statfs_filesize_max): Likewise.
52639 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52641 2011-07-05 Andreas Jaeger <aj@suse.de>
52643 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52645 2011-07-06 Marek Polacek <mpolacek@redhat.com>
52647 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52649 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52652 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52654 * Makefile (strop-tests): Add strncat.
52655 * string/test-strncat.c: New file.
52657 2011-06-30 Marek Polacek <mpolacek@redhat.com>
52659 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52661 2011-06-21 Andreas Jaeger <aj@suse.de>
52663 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52664 Copy rule from iconvdata/Makefile.
52666 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52669 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52670 but no long options are defined, just return 'W'.
52672 2011-06-22 Marek Polacek <mpolacek@redhat.com>
52675 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52677 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52679 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52681 (innetgr): Likewise.
52683 2011-07-05 Roland McGrath <roland@hack.frob.com>
52685 * config.make.in (install_root): Default to $(DESTDIR).
52687 2011-07-05 Ulrich Drepper <drepper@gmail.com>
52689 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52691 2011-07-02 Roland McGrath <roland@hack.frob.com>
52693 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52695 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52696 containing directory rather than embedding absolute directory names.
52698 * scripts/check-local-headers.sh: Rewritten using awk.
52699 Match by word, not by line. Print error messages for matches.
52700 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52702 * Makerules [shlib-lds-flags empty]:
52703 ($(common-objpfx)libc_pic.opts): New target.
52704 ($(common-objpfx)libc_pic.os.clean): New target.
52705 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52707 * config.make.in (OBJCOPY): New variable.
52708 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52709 * configure: Regenerated.
52711 * config.make.in (use-default-link): New variable.
52712 * configure.in (use_default_link): Grok --with-default-link to set it.
52713 * configure: Regenerated.
52714 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52715 (shlib-lds, shlib-lds-flags): Define to empty.
52717 * Makerules (shlib-lds): New variable.
52718 (shlib-lds-flags): New variable.
52719 (build-shlib, build-moduile, build-module-asneeded): Use it.
52720 ($(common-objpfx)libc.so): Use $(shlib-lds).
52721 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52722 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52724 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52725 DT_FLAGS/DT_FLAGS_1 with zero flags.
52727 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52728 linker script munging.
52730 2011-07-02 Ulrich Drepper <drepper@gmail.com>
52732 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52734 * crypt/sha512.c (sha512_process_block): Perform total addition using
52735 128-bit if possible.
52736 (__sha512_finish_ctx): Likewise.
52737 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52739 * crypt/sha256.c (SWAP64): Define.
52740 (sha256_process_block): Perform total addition using 64-bit if
52742 (__sha256_finish_ctx): Likewise.
52744 2011-07-01 Ulrich Drepper <drepper@gmail.com>
52746 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52747 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52748 * nscd/hstcache.c (cache_addhst): Likewise.
52749 * nscd/grpcache.c (cache_addgr): Likewise.
52750 * nscd/aicache.c (addhstaiX): Likewise
52751 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52753 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
52755 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52756 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52757 * nscd/hstcache.c (cache_addhst): Likewise.
52758 * nscd/grpcache.c (cache_addgr): Likewise.
52759 * nscd/aicache.c (addhstaiX): Likewise
52761 2011-07-01 Andreas Schwab <schwab@redhat.com>
52763 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52764 domain only when needed.
52766 2011-06-30 Andreas Schwab <schwab@redhat.com>
52768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52769 is always restored.
52771 2011-06-29 Ulrich Drepper <drepper@gmail.com>
52773 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52774 are re-adding the entry.
52775 * nscd/servicescache.c (cache_addserv): Likewise.
52777 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52779 * sysdeps/generic/dl-irel.h: fix protection against multiple
52781 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52783 2011-06-28 Ulrich Drepper <drepper@gmail.com>
52786 * malloc/memusage.sh: Fix quoting in message.
52787 * debug/xtrace.sh: Likewise.
52789 * configure.in: Remove support for --experimental-malloc option, make
52791 * config.make.in: Likewise.
52792 * malloc/Makefile: Likewise.
52794 2011-06-27 Andreas Schwab <schwab@redhat.com>
52796 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52797 two-byte characters.
52799 2011-06-27 Roland McGrath <roland@hack.frob.com>
52801 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52802 AC_CACHE_CHECK invocation.
52803 * configure: Regenerated.
52805 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52807 2011-06-27 Ulrich Drepper <drepper@gmail.com>
52810 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52811 bit from old_res_options.
52813 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52815 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52816 value type for setfct.
52818 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52820 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52821 __gettimeofday instead of gettimeofday.
52823 2011-06-26 Ulrich Drepper <drepper@gmail.com>
52825 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52827 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52829 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52831 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52834 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52837 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52838 strcpy-sse2-unaligned strncpy-sse2-unaligned
52839 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52840 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52841 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52842 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52843 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52844 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52845 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52846 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52847 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52848 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52849 (STRCPY): Support SSE2 and SSSE3 versions.
52851 2011-06-24 Ulrich Drepper <drepper@gmail.com>
52854 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52855 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52856 kernels which artificially limit size of requests.
52858 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52860 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52861 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52862 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52863 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52864 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52865 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52866 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52867 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52868 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52869 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52870 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52871 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52872 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52873 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52874 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52876 Enable unaligned load optimization for Intel Core i3, i5 and i7
52878 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52880 (index_Fast_Unaligned_Load): Define.
52881 (HAS_FAST_UNALIGNED_LOAD): Define.
52883 2011-06-23 Marek Polacek <mpolacek@redhat.com>
52885 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52887 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52890 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52891 until it is clear that the information is realy needed.
52892 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52894 2011-06-22 Andreas Schwab <schwab@redhat.com>
52896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52898 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52900 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52901 /sys/devices/system/cpu/online if it is usable.
52903 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52904 reading the information from the /proc filesystem to once a second.
52906 2011-06-21 Andreas Jaeger <aj@suse.de>
52908 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52909 NULL after inclusion of kernel headers.
52911 2011-06-21 Ulrich Drepper <drepper@gmail.com>
52913 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52914 calls to internal_setent.
52917 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52918 addresses using gethostbyname4_r ignore IPv4 addresses.
52920 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52921 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52923 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52925 2011-06-20 David S. Miller <davem@davemloft.net>
52927 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52929 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52931 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52932 (elf_irel): Use it.
52933 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52934 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52935 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52936 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52937 * sysdeps/x86_64/dl-irel.h: Likewise.
52939 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52940 * elf/dl-sym.c: Likewise.
52942 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52944 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52945 need to dereference resplen2.
52947 2011-06-14 Andreas Schwab <schwab@redhat.com>
52949 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52951 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52953 * Makeconfig: Define vardbdir and inst_vardbdir.
52954 * nss/Makefile: Add rules to install db-Makefile.
52956 * nss/nss_db/db-XXX.c: Cleanup.
52958 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52959 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52961 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52962 * nss/makedb.c: Implement -g option to specify that value strings
52963 are generated and should not be added to table iterated over for
52965 * nss/nss_db/db-initgroups.c: New file.
52967 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52970 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52971 (internal_getgrouplist): Adjust to name change.
52972 Update use_initgroups_entry if this is not the first call.
52973 * nss/databases.def: Add initgroups entry.
52975 * nss/makedb.c (compute_tables): Check result of multiple hash table
52976 sizes to minimize maximum chain length.
52978 2011-06-14 Ulrich Drepper <drepper@gmail.com>
52980 * Versions.def: Add entry for libnss_db.
52981 * shlib-versions: Likewise.
52982 * nss/Makefile: Add rules to build libnss_db.
52983 * nss/Versions: Add libnss_db information. Organize libnss_files
52985 * nss/db-Makefile: Add gshadow support. Change rules for the new
52986 makedb progra. Some minor improvements to generate smaller files.
52987 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52989 * nss/makedb.c: ...here.
52990 Improve database format to be smaller and require less memory at
52992 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52994 * nss/nss_db/db-netgrp.c: Likewise.
52995 * nss/nss_db/db-open.c: Likewise.
52996 * nss/nss_files/flies-XXX.x: Adjust comments.
52997 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52998 * nss/nss_files/files-grp.c: Likewise.
52999 * nss/nss_files/files-hosts.c: Likewise.
53000 * nss/nss_files/files-network.c: Likewise.
53001 * nss/nss_files/files-proto.c: Likewise.
53002 * nss/nss_files/files-pwd.c: Likewise.
53003 * nss/nss_files/files-rpc.c: Likewise.
53004 * nss/nss_files/files-service.c: Likewise.
53005 * nss/nss_files/files-sgrp.c: Likewise.
53006 * nss/nss_files/files-spwd.c: Likewise.
53007 * nss/nss_db/db-alias.c: Removed.
53008 * nss/nss_db/dummy-db.h: Removed.
53010 2011-06-02 Ulrich Drepper <drepper@gmail.com>
53012 * nss/makedb.c: Rewritten to not use database library.
53013 * nss/Makefile: Update to build new makedb program.
53015 2011-06-14 Andreas Jaeger <aj@suse.de>
53017 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53018 memset declaration.
53020 2011-06-10 Andreas Schwab <schwab@redhat.com>
53022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53025 2011-06-10 Roland McGrath <roland@hack.frob.com>
53027 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53028 * elf/Makefile ($(objpfx)ld.so): Likewise.
53030 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53031 Don't list ld.so twice in dependencies.
53033 * posix/bug-regex31.c: Include <stdlib.h>.
53035 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53037 * nis/nss_compat/compat-spwd.c
53038 (getspent_next_nss_netgr): Remove unused variable.
53039 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53041 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53042 nonmembers" output to use the right array.
53044 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53046 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53048 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53049 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53050 * catgets/gencat.c (read_input_file): Likewise.
53051 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53053 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53054 variable definition inside #if's controlling its use.
53056 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53058 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53060 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53062 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53065 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53067 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53068 * configure: Regenerated.
53070 * Makerules: Revert last change.
53071 * elf/Makefile: Likewise.
53073 2011-06-09 Roland McGrath <roland@hack.frob.com>
53075 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53076 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53077 (reloc-link): Likewise.
53079 2011-06-09 Ulrich Drepper <drepper@gmail.com>
53081 * elf/Makefile: Add rules to build pldd.
53082 * elf/pldd.c: New file.
53083 * elf/pldd-xx.c: New file.
53085 2011-06-07 Ulrich Drepper <drepper@gmail.com>
53087 * version.h: Update for 2.15 development version.
53089 2011-06-07 David S. Miller <davem@davemloft.net>
53091 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53093 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53094 elf_machine_lazy_rel): Likewise.
53095 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53096 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53097 elf_machine_lazy_rel): Likewise.
53098 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53099 dl_hwcap via passed in argument.
53100 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53103 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53105 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53107 2011-06-06 Roland McGrath <roland@hack.frob.com>
53110 * manual/fdl-1.1.texi: New file, verbatim from:
53111 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53112 * manual/lgpl-2.1.texi: New file, verbatim from:
53113 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53114 * manual/Makefile (licenses): New variable, list those new file names.
53116 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53118 * manual/fdl.texi: File removed.
53119 * manual/lesser.texi: File removed.
53120 * manual/libc.texinfo (Copying, Documentation License):
53121 Use new @include file names, put @appendix directive before @include.
53123 2011-06-04 Jakub Jelinek <jakub@redhat.com>
53126 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53127 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53128 (mq_open): Add __NTH.
53130 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53133 Assume Intel Core i3/i5/i7 processor if AVX is available.
53135 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53137 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53140 2011-05-31 Andreas Schwab <schwab@redhat.com>
53142 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53143 memory. Use alloca_account. Fix memory leak when retrying.
53145 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53147 * version.h (RELEASE): Bump for 2.14 release.
53148 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53150 * config.make.in (RANLIB): Remove entry.
53152 2011-05-30 Ulrich Drepper <drepper@gmail.com>
53154 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53155 (libc.pot): Work around missing support for .ksh extension in xgettext.
53158 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53159 if both request failed.
53160 (send_dg): In case of server errors clear resplen or *resplen2.
53163 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53164 when there are multiple maps.
53165 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53166 (_dl_fini): Remove test here.
53168 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53170 2011-05-29 Ulrich Drepper <drepper@gmail.com>
53173 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53174 bit from old_res_options.
53175 (gaih_inet): Likewise.
53178 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53181 * resolv/res_init.c (res_setoptions): Make the code more compact.
53184 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53188 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53190 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53193 * malloc/malloc.h: Declare malloc hook variables as volatile.
53195 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53199 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53200 raise in the comment.
53201 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53202 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53203 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53205 2011-05-28 Ulrich Drepper <drepper@gmail.com>
53208 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53209 grow the buffers more if it already has to be sufficient.
53210 (build_wcs_upper_buffer): Likewise.
53211 * posix/regexec.c (check_matching): Likewise.
53212 (clean_state_log_if_needed): Likewise.
53213 (extend_buffers): Don't enlarge buffers beyond size of the input
53215 Patches mostly by Emil Wojak <emil@wojak.eu>.
53216 * posix/bug-regex32.c: New file.
53217 * posix/Makefile (tests): Add bug-regex32.
53219 * locale/findlocale.c (_nl_find_locale): Return right away if
53220 _nl_explode_name failed.
53221 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53223 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53225 * debug/xtrace.sh: Unify messages.
53226 * malloc/memusage.sh: Likewise.
53229 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53230 time symbol from vDSO. Substitute with vsyscall if not available.
53231 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53234 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53235 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53236 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53237 Add sendmmsg and internal_sendmmsg.
53238 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53239 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53240 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53242 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53243 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53244 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53246 2011-05-27 Ulrich Drepper <drepper@gmail.com>
53249 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53250 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53252 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53256 * iconvdata/Makefile (tests): Add bug-iconv9.
53257 * iconvdata/bug-iconv9.c: New file.
53259 2011-05-27 Andreas Schwab <schwab@redhat.com>
53262 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53264 2011-05-25 Jakub Jelinek <jakub@redhat.com>
53266 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53267 (struct user_regs_struct): Change intcs field back to cs.
53269 2011-05-25 Ulrich Drepper <drepper@gmail.com>
53271 * po/ja.po: Update from translation team.
53273 2011-05-23 Ulrich Drepper <drepper@gmail.com>
53276 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53277 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53279 2011-05-20 Andreas Schwab <schwab@redhat.com>
53281 * stdlib/longlong.h: Update from GCC.
53283 2011-05-23 Andreas Schwab <schwab@redhat.com>
53285 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53287 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53288 Add parameter name.
53289 (__sysconf): Pass it down.
53291 2011-05-22 Ulrich Drepper <drepper@gmail.com>
53294 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53296 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53297 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53298 add in in __libc_use_alloca calls. Adjust callers.
53299 (glob): Use malloc in some situations.
53301 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53302 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53305 2011-05-21 Ulrich Drepper <drepper@gmail.com>
53307 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53308 and CLOCK_BOOTTIME_ALARM.
53311 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53314 * string/_strerror.c (__strerror_r): Print negative errors as signed
53318 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53319 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53320 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53322 * configure.in: Fix typo in redirection and correct removal of test
53323 files in two cases.
53326 * locale/setlocale.c (new_composite_name): Fix test to check for
53327 identical name of all categories.
53330 * libio/filedoalloc.c (local_isatty): New function.
53331 (_IO_file_doallocate): Use local_isatty.
53332 * stdio-common/perror.c (perror): In case a new stream is used
53333 forward the stream error.
53334 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53337 2011-05-20 Ulrich Drepper <drepper@gmail.com>
53340 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53342 * include/alloca.h (extend_alloca_account): Define.
53345 * posix/regex.h: Fix comments with documentation of user-accessible
53346 fields after compilation and describe correct free'ing of pattern
53347 after re_compile_pattern.
53348 Patch by Reuben Thomas <rrt@sc3d.org>.
53350 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53352 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53353 and -mno-altivec to prevent the compiler from using Altivec and/or
53354 VSX instructions when the corresponding registers are not available.
53356 2011-05-19 Andreas Schwab <schwab@redhat.com>
53358 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53360 2011-05-19 Ulrich Drepper <drepper@gmail.com>
53362 * libio/freopen.c (freopen): Use __dup2, not dup2.
53363 * libio/freopen64.c (freopen64): Likewise.
53365 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53368 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53369 * math/Makefile (tests): Add test-powl.
53370 (CFLAGS-test-powl.c): Define.
53371 * math/test-powl.c: New file.
53373 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53375 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53377 2011-05-17 Ulrich Drepper <drepper@gmail.com>
53380 * iconvdata/gb18030.c: Update to GB18020-2005.
53382 2011-05-16 Ulrich Drepper <drepper@gmail.com>
53384 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53385 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53386 Patch by Aharon Robbins <arnold@skeeve.com>.
53389 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53393 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53394 through underflows.
53397 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53398 point to strings before performing equality test for error_one_per_line
53402 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53405 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53406 (struct user_fpregs_struct): Avoid __uint*_t types.
53409 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53410 symbol info. Use it instead of calling _dl_addr locally.
53411 (lock_and_info): New function.
53412 (tr_freehook): Call lock_and_info and pass symbol info as additional
53413 parameter to tr_where.
53414 (tr_mallochook): Likewise.
53415 (tr_reallochook): Likewise.
53416 (tr_memalignhook): Likewise.
53418 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53419 used and couldn't be at all thread-safe.
53421 2011-05-15 Ulrich Drepper <drepper@gmail.com>
53423 * libio/freopen.c (freopen): Don't close old file descriptor
53424 before the new one is opened. Instead dup the new file descriptor
53425 to the old one after the new stream is created.
53426 * libio/freopen64.c (freopen64): Likewise.
53427 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53428 * libio/fileops.c (_IO_new_file_close_it): Handle new
53429 _IO_FLAGS2_NOCLOSE flag.
53430 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53431 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53432 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53433 _IO_FLAGS2_NOCLOSE flag.
53434 * include/unistd.h: Add hidden_proto for dup3.
53435 Define __have_dup3.
53436 * io/dup3.c: Define hidden symbol.
53437 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53440 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53441 when an incomplete long option is used.
53442 * posix/tst-getopt_long1.c: New file.
53443 * posix/Makefile (tests): Add tst-getopt_long1.
53446 * scripts/config.guess: Update from autoconf-2.68.
53447 * scripts/config.sub: Likewise.
53450 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53452 (has_cpuclock): ...this. New function.
53453 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53454 macro here based on has_cpuclock code.
53457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53458 First byte (not low byte) is now always NUL.
53459 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53461 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53462 Use non-cancelable interfaces.
53465 * locale/iso-639.def: Add entry for Sorani.
53468 * include/stdlib.h: Move include protection to the right place.
53469 Define abort_msg_s. Declare __abort_msg with it.
53470 * stdlib/abort.c (__abort_msg): Adjust type.
53471 * assert/assert.c (__assert_fail_base): New function. Majority
53472 of code from __assert_fail. Allocate memory for __abort_msg with
53474 (__assert_fail): Now call __assert_fail_base.
53475 * assert/assert-perr.c: Remove bulk of implementation. Use
53476 __assert_fail_base.
53477 * include/assert.hL Declare __assert_fail_base.
53478 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53480 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53482 2011-05-14 Ulrich Drepper <drepper@gmail.com>
53486 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53487 until all modules are registered in the DTV.
53488 * elf/Makefile: Add rules to build and run tst-tls19.
53489 * elf/tst-tls19.c: New file.
53490 * elf/tst-tls19mod1.c: New file.
53491 * elf/tst-tls19mod2.c: New file.
53492 * elf/tst-tls19mod3.c: New file.
53493 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53496 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53500 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53501 two-byte sequence errors.
53502 * iconvdata/Makefile (tests): Add bug-iconv8.
53503 * iconvdata/bug-iconv8.c: New file.
53506 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53509 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53512 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53513 (dummy_getcfa): New function.
53514 (init): Get _Unwind_GetCFA address, use dummy if not found.
53515 (backtrace_helper): In recursion check, also check whether CFA changes.
53516 (__backtrace): Completely initialize arg.
53518 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53519 storing incomplete byte sequence in state object. Avoid testing for
53520 guaranteed too small input if we know there is enough data available.
53522 2011-05-11 Andreas Schwab <schwab@redhat.com>
53524 * Makeconfig (+link-pie): Indent.
53525 * Rules (binaries-pie): Define if $(have-fpie) and
53527 (binaries-shared): Also filter out $(binaries-pie).
53528 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53529 * nscd/Makefile (others-pie): Add nscd.
53530 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53531 ($(objpfx)nscd): Remove command override.
53532 * login/Makefile (others-pie): Add pt_chown.
53533 ($(objpfx)pt_chown): Remove command override.
53534 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53535 remove command overrides.
53537 2011-05-13 Ulrich Drepper <drepper@gmail.com>
53539 * libio/tst_putwc.c: Fix error messages.
53542 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53543 currently writing and seek to current position when not.
53544 * libio/Makefile (tests): Add bug-fclose1.
53545 * libio/bug-fclose1.c: New file.
53547 2011-05-12 Ulrich Drepper <drepper@gmail.com>
53550 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53551 don't set DF_1_NODELETE here.
53552 (do_lookup_x): When entering new entry test for copy relocation
53553 and if necessary set DF_1_NODELETE flag.
53554 * elf/tst-unique4.cc: New file.
53555 * elf/tst-unique4.h: New file.
53556 * elf/tst-unique4lib.cc: New file.
53557 * elf/Makefile: Add rules to build and run tst-unique4.
53558 Patch by Piotr Bury <pbury@goahead.com>.
53560 2011-05-11 Ulrich Drepper <drepper@gmail.com>
53563 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53566 * misc/mntent_r.c (addmntent): Flush the stream after the output
53569 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53570 (is_trusted_path_normalize): Skip initial colon. Append slash
53571 to empty buffer. Duplicate is_trusted_path code but allow
53572 constructed patch to be prefix.
53573 (is_dst): Allow $ORIGIN followed by /.
53574 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53575 Correct testing of result of is_trusted_path_normalize
53576 (decompose_rpath): Fix warning.
53578 2011-05-10 Ulrich Drepper <drepper@gmail.com>
53581 * grp/initgroups.c (internal_getgrouplist): When we found the service
53582 list through the initgroups entry in nsswitch.conf do not always
53583 continue on a successful lookup. Don't always use the
53584 __nss_group_database value if it is set.
53585 * nss/nsswitch.conf (initgroups): Change action for successful db
53586 lookup to continue for compatibility.
53588 2011-05-09 Ulrich Drepper <drepper@gmail.com>
53591 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53593 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53595 * iconvdata/tst-tables.sh: Likewise.
53596 * iconvdata/cp770.c: New file.
53597 * iconvdata/cp771.c: New file.
53598 * iconvdata/cp772.c: New file.
53599 * iconvdata/cp773.c: New file.
53600 * iconvdata/cp774.c: New file.
53601 * iconvdata/testdata/CP770: New file.
53602 * iconvdata/testdata/CP770..UTF8: New file.
53603 * iconvdata/testdata/CP771: New file.
53604 * iconvdata/testdata/CP771..UTF8: New file.
53605 * iconvdata/testdata/CP772: New file.
53606 * iconvdata/testdata/CP772..UTF8: New file.
53607 * iconvdata/testdata/CP773: New file.
53608 * iconvdata/testdata/CP773..UTF8: New file.
53609 * iconvdata/testdata/CP774: New file.
53610 * iconvdata/testdata/CP774..UTF8: New file.
53612 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53614 * iconvdata/gen-8bit-gap.sh: Likewise.
53615 * iconvdata/gen-8bit.sh: Likewise.
53617 * locale/iso-639.def: Add ary entry.
53620 * locale/C-translit.h.in: Add U20A1 transliteration.
53623 * locale/iso-639.def: Add wae entry.
53624 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53627 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53631 * locale/C-translit.h.in: Add entry for U20B9.
53632 Patch by pravin.d.s@gmail.com.
53634 2011-05-08 Ulrich Drepper <drepper@gmail.com>
53637 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53638 ENAMETOOLONG use generic getcwd.
53639 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53640 in rtld. Use *stat64.
53641 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53642 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53643 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53644 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53645 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53646 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53647 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53648 __fstatat64 macros.
53649 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53650 * dirent/rewinddir.c: Add libc_hidden_def.
53651 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53652 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53654 * include/dirent.h (__alloc_dir): Add flags parameter.
53655 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53656 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53658 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53659 from fdopendir if O_CLOEXEC is already set.
53661 2011-03-15 Alan Modra <amodra@gmail.com>
53663 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53664 l_tls_firstbyte_offset non-zero. Save padding offset in
53665 l_tls_firstbyte_offset for later use.
53666 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53667 freeing static tls block.
53669 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53671 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53672 where #ifdef was intended. The intent is to prevent ARG_MAX from
53673 being defined by the kernel headers.
53675 2011-05-07 Ulrich Drepper <drepper@gmail.com>
53678 * resolv/resolv.h: Define RES_NOTLDQUERY.
53679 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53680 no-tld-query and set RES_NOTLDQUERY.
53681 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53682 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53683 modern BIND to search name as TLD unless forbidden.
53685 2011-05-07 Petr Baudis <pasky@suse.cz>
53686 Ulrich Drepper <drepper@gmail.com>
53689 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53690 (is_trusted_path): ...to here.
53691 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53692 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53693 using is_trusted_path_normalize() in setuid scripts.
53695 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53697 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53698 __BEGIN/__END_DECLS.
53700 2011-05-06 Ulrich Drepper <drepper@gmail.com>
53702 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53703 NSS_STATUS_NOTFOUND if no record was found.
53705 2011-05-05 Andreas Schwab <schwab@redhat.com>
53707 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53708 (headers-not-in-tirpc): Remove rpc/netdb.h
53709 * resolv/netdb.h: Revert last change.
53711 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53713 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53714 circular dependency between libgcc.a and libc.a.
53716 2011-05-05 Andreas Schwab <schwab@redhat.com>
53718 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53719 * nis/Makefile: Don't install rpcsvc/*.
53720 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53721 instead of <rpc/types.h>.
53722 (MAXHOSTNAMELEN): Define.
53724 2011-05-03 Andreas Schwab <schwab@redhat.com>
53726 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53728 2011-04-28 Maciej Babinski <mbabinski@google.com>
53731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53732 gethostbyname4_r when IPv6 results are possible.
53734 2011-05-02 Ulrich Drepper <drepper@gmail.com>
53737 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53738 _PC_PIPE_BUF handling.
53740 2011-04-30 Bruno Haible <bruno@clisp.org>
53743 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53744 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53746 * inet/getnameinfo.c (getnameinfo): Likewise.
53748 2011-04-29 Ulrich Drepper <drepper@gmail.com>
53750 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53751 to groups setting in database lookup.
53752 * nss/nsswitch.conf: Add initgroups entry.
53754 2011-04-22 Ulrich Drepper <drepper@gmail.com>
53757 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53759 Patch by Eric Blake <eblake@redhat.com>.
53761 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53763 * sunrpc/Makefile (need-export-routines): Add svc_run.
53764 (routines): Remove svc_run.
53765 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53766 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53767 * sunrpc/svc_run.c (svc_run): Likewise.
53768 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53770 2011-04-21 Ulrich Drepper <drepper@gmail.com>
53772 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53773 problem in reallocation in last patch.
53775 2011-04-20 Ulrich Drepper <drepper@gmail.com>
53777 * sunrpc/Makefile: Move inclusion of Rules.
53779 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53781 * nss/nss_files/files-initgroups.c: New file.
53782 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53783 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53784 _nss_files_initgroups_dyn.
53786 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53788 * elf/elf.h (R_ARM_IRELATIVE): Define.
53790 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53792 * po/ru.po: Update from translation team.
53794 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53796 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53799 2011-02-06 Mike Frysinger <vapier@gentoo.org>
53802 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53803 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53804 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53805 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53806 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53808 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53810 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53812 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53813 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53814 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53816 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53819 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53821 * stdlib/bug-getcontext.c: New file.
53822 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53824 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53826 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53827 instructions into .machine "z9-109".
53828 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53829 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53831 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53833 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53834 between environment variables and auxiliary vector.
53836 2011-04-16 Ulrich Drepper <drepper@gmail.com>
53838 * Makefile: Add rules to build linkobj/libc.so.
53839 * include/libc-symbols.h: Define libc_hidden_nolink.
53840 * include/rpc/auth.h: Mark functions which are to be hidden.
53841 * include/rpc/auth_des.h: Likewise.
53842 * include/rpc/auth_unix.h: Likewise.
53843 * include/rpc/clnt.h: Likewise.
53844 * include/rpc/des_crypt.h: Likewise.
53845 * include/rpc/key_prot.h: Likewise.
53846 * include/rpc/pmap_clnt.h: Likewise.
53847 * include/rpc/pmap_prot.h: Likewise.
53848 * include/rpc/pmap_rmt.h: Likewise.
53849 * include/rpc/rpc_msg.h: Likewise.
53850 * include/rpc/svc.h: Likewise.
53851 * include/rpc/svc_auth.h: Likewise.
53852 * include/rpc/xdr.h: Likewise.
53853 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53854 * nss/Makefile: Likewise.
53855 * sunrpc/Makefile: Don't install headers. Build library with normal
53856 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53857 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53858 for the compat linking library. Remove use of INTDEF/INTUSE.
53859 * sunrpc/auth_none.c: Likewise.
53860 * sunrpc/auth_unix.c: Likewise.
53861 * sunrpc/authdes_prot.c: Likewise.
53862 * sunrpc/authuxprot.c: Likewise.
53863 * sunrpc/clnt_gen.c: Likewise.
53864 * sunrpc/clnt_perr.c: Likewise.
53865 * sunrpc/clnt_raw.c: Likewise.
53866 * sunrpc/clnt_simp.c: Likewise.
53867 * sunrpc/clnt_tcp.c: Likewise.
53868 * sunrpc/clnt_udp.c: Likewise.
53869 * sunrpc/clnt_unix.c: Likewise.
53870 * sunrpc/des_crypt.c: Likewise.
53871 * sunrpc/des_soft.c: Likewise.
53872 * sunrpc/get_myaddr.c: Likewise.
53873 * sunrpc/key_call.c: Likewise.
53874 * sunrpc/key_prot.c: Likewise.
53875 * sunrpc/netname.c: Likewise.
53876 * sunrpc/pm_getmaps.c: Likewise.
53877 * sunrpc/pm_getport.c: Likewise.
53878 * sunrpc/pmap_clnt.c: Likewise.
53879 * sunrpc/pmap_prot.c: Likewise.
53880 * sunrpc/pmap_prot2.c: Likewise.
53881 * sunrpc/pmap_rmt.c: Likewise.
53882 * sunrpc/publickey.c: Likewise.
53883 * sunrpc/rpc_cmsg.c: Likewise.
53884 * sunrpc/rpc_common.c: Likewise.
53885 * sunrpc/rpc_dtable.c: Likewise.
53886 * sunrpc/rpc_prot.c: Likewise.
53887 * sunrpc/rpc_thread.c: Likewise.
53888 * sunrpc/rtime.c: Likewise.
53889 * sunrpc/svc.c: Likewise.
53890 * sunrpc/svc_auth.c: Likewise.
53891 * sunrpc/svc_authux.c: Likewise.
53892 * sunrpc/svc_raw.c: Likewise.
53893 * sunrpc/svc_run.c: Likewise.
53894 * sunrpc/svc_simple.c: Likewise.
53895 * sunrpc/svc_tcp.c: Likewise.
53896 * sunrpc/svc_udp.c: Likewise.
53897 * sunrpc/svc_unix.c: Likewise.
53898 * sunrpc/svcauth_des.c: Likewise.
53899 * sunrpc/xcrypt.c: Likewise.
53900 * sunrpc/xdr.c: Likewise.
53901 * sunrpc/xdr_array.c: Likewise.
53902 * sunrpc/xdr_float.c: Likewise.
53903 * sunrpc/xdr_intXX_t.c: Likewise.
53904 * sunrpc/xdr_mem.c: Likewise.
53905 * sunrpc/xdr_rec.c: Likewise.
53906 * sunrpc/xdr_ref.c: Likewise.
53907 * sunrpc/xdr_sizeof.c: Likewise.
53908 * sunrpc/xdr_stdio.c: Likewise.
53910 2011-04-10 Ulrich Drepper <drepper@gmail.com>
53913 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53914 * sysdeps/ia64/dl-tls.h: Likewise.
53915 * sysdeps/powerpc/dl-tls.h: Likewise.
53916 * sysdeps/s390/dl-tls.h: Likewise.
53917 * sysdeps/sh/dl-tls.h: Likewise.
53918 * sysdeps/sparc/dl-tls.h: Likewise.
53919 * sysdeps/x86_64/dl-tls.h: Likewise.
53920 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53922 2011-03-14 Andreas Schwab <schwab@redhat.com>
53924 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53925 rpath element also skip the following colon.
53926 (expand_dynamic_string_token): Add is_path parameter and pass
53927 down to DL_DST_REQUIRED and _dl_dst_substitute.
53928 (decompose_rpath): Call expand_dynamic_string_token with
53929 non-zero is_path. Ignore empty rpaths.
53930 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53933 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53938 2011-04-09 Ulrich Drepper <drepper@gmail.com>
53941 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53942 Patch by Filipe David Manana <fdmanana@apache.org>.
53944 2011-04-07 Andreas Schwab <schwab@redhat.com>
53946 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53947 Maintain aligned stack.
53948 (CHECK_RSP): Remove unused macro.
53950 2011-04-03 Ulrich Drepper <drepper@gmail.com>
53952 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53953 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53955 2011-04-02 Ulrich Drepper <drepper@gmail.com>
53957 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53959 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53961 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53964 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53965 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53966 * sysdeps/x86_64/memmove.c: New file.
53967 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53968 (memcpy): Renamed to ...
53969 (__new_memcpy): This.
53970 (memcpy): Provide GLIBC_2_14 memcpy.
53971 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53972 (memcpy): Provide GLIBC_2_2_5 memcpy.
53974 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53977 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53979 2011-03-30 Andreas Schwab <schwab@redhat.com>
53981 * misc/syncfs.c: New file.
53982 * misc/Makefile (routines): Add syncfs.
53983 * posix/unistd.h: Declare syncfs.
53984 * sysdeps/unix/syscalls.list: Add syncfs.
53986 2011-04-01 Andreas Schwab <schwab@redhat.com>
53988 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53990 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53991 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53992 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53993 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53995 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53996 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53998 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54000 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54001 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54002 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54004 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54005 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54006 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54008 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54009 sync_file_range.c with -fexceptions.
54010 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54011 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54012 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54013 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54014 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54015 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54016 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54017 sync_file_range as cancellation point
54018 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54019 now a wrapper around __call_sync_file_range with cancellation handling.
54020 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54021 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54022 function name to __call_sync_file_range.
54023 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54024 Add call_sync_file_range.
54026 2011-04-01 Andreas Schwab <schwab@redhat.com>
54028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54031 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54033 * iconv/iconv.h: Fix typo in comment.
54034 * io/fcntl.h: Likewise.
54035 * libio/stdio.h: Likewise.
54036 * posix/spawn.h: Likewise.
54037 * posix/unistd.h: Likewise.
54038 * stdlib/stdlib.h: Likewise.
54039 * time/time.h: Likewise.
54040 * wcsmbs/wchar.h: Likewise.
54042 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54043 open_by_handle): Add.
54044 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54045 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54046 Augment a few comments.
54047 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54048 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54049 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54051 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54052 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54055 * io/fcntl.h (AT_EMPTY_PATH): Define.
54057 2011-03-30 Ulrich Drepper <drepper@gmail.com>
54059 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54060 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54061 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54063 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
54064 * Versions.def: Add GLIBC_2.14.
54065 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54068 2011-03-22 Ulrich Drepper <drepper@gmail.com>
54070 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54072 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54074 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54077 * string/test-strncmp.c (do_page_test): New function.
54078 (check2): Likewise.
54079 (test_main): Call check2.
54080 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54082 2011-03-20 Ulrich Drepper <drepper@gmail.com>
54085 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54086 Handle cache information in CPU leaf 4.
54087 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54089 2011-03-18 Ulrich Drepper <drepper@gmail.com>
54092 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54093 character representation.
54094 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54096 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54098 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54099 END(__isnan) to END(__isnanf) to match function entry point/label
54100 EALIGN(__isnanf,...).
54102 2011-03-10 Jakub Jelinek <jakub@redhat.com>
54104 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54106 2011-03-10 Ulrich Drepper <drepper@gmail.com>
54109 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54110 copy from the symbol referenced in the relocation to initialize the
54112 Patch by Piotr Bury <pbury@goahead.com>.
54113 * elf/Makefile: Add rules to build and tst-unique3.
54114 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54115 * elf/tst-unique3.cc: New file.
54116 * elf/tst-unique3.h: New file.
54117 * elf/tst-unique3lib.cc: New file.
54118 * elf/tst-unique3lib2.cc: New file.
54120 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54122 2011-03-10 Mike Frysinger <vapier@gentoo.org>
54124 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54125 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54128 2011-03-06 Ulrich Drepper <drepper@gmail.com>
54130 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54131 to-be-loaded object along a path to loader is ld.so.
54133 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54134 Ulrich Drepper <drepper@gmail.com>
54136 * sysdeps/x86_64/memset.S: After aligning destination, code
54137 branches to different locations depending on the value of
54138 misalignment, when multiarch is enabled. Fix this.
54140 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54142 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54143 Set _x86_64_preferred_memory_instruction for AMD processsors.
54144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54145 Set bit_Prefer_SSE_for_memop for AMD processors.
54147 2011-03-04 Ulrich Drepper <drepper@gmail.com>
54149 * libio/fmemopen.c (fmemopen): Optimize a bit.
54151 2011-03-03 Andreas Schwab <schwab@redhat.com>
54153 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54155 2011-03-03 Roland McGrath <roland@redhat.com>
54157 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54159 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54161 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54162 __bzero_ultra1 instead of __memset_ultra1.
54164 2011-02-23 Andreas Schwab <schwab@redhat.com>
54165 Ulrich Drepper <drepper@gmail.com>
54168 * include/link.h (struct link_map): Add l_orig_initfini.
54169 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54170 returning unsuccessfully.
54171 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54172 close of a file loaded at startup, restore the original l_initfini
54174 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54175 list, store the pointer.
54176 * elf/Makefile ($(objpfx)noload-mem): New rule.
54177 (noload-ENV): Define.
54178 (tests): Add $(objpfx)noload-mem.
54179 * elf/noload.c: Include <memcheck.h>.
54180 (main): Call mtrace. Close all opened handles.
54182 2011-02-17 Andreas Schwab <schwab@redhat.com>
54185 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54186 dependencies are missing.
54188 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54190 Fix __if_freereq crash: Unlike the generic version which uses free,
54192 * sysdeps/mach/hurd/ifreq.h: New file.
54194 2011-01-27 Petr Baudis <pasky@suse.cz>
54195 Ulrich Drepper <drepper@gmail.com>
54198 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54199 to extend_alloca().
54200 * stdio-common/bug23.c: New file.
54201 * stdio-common/Makefile (tests): Add bug23.
54203 2010-09-28 Andreas Schwab <schwab@redhat.com>
54204 Ulrich Drepper <drepper@gmail.com>
54207 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54208 before performing relro protection. At old place add assertion
54209 to make sure nothing changed.
54211 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54212 Glauber de Oliveira Costa <glommer@gmail.com>
54214 * elf/elf.h: Add new ARM TLS relocs.
54216 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54219 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54221 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54223 * sysdeps/wordsize-64/tst-writev.c: New file.
54225 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54227 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54228 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54229 insns in _dl_start to prevent a TOC reference before relocs are
54232 2011-02-15 Ulrich Drepper <drepper@gmail.com>
54235 * Makeconfig: Remove RANLIB definition.
54236 * Makerules: Don't use RANLIB.
54237 * aclocal.m4: Remove ranlib test.
54238 * configure.in: No need to check for ranlib.
54239 * elf/rtld-Rules: Don't use RANLIB.
54241 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54243 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54245 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54246 inclusion protection macro.
54248 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54249 SIGRTMIN and SIGRTMAX and print information in that case only when
54250 SIGRTMIN is defined.
54252 2011-02-11 Jakub Jelinek <jakub@redhat.com>
54254 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54255 arginfo fn returning -1.
54257 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54258 and thousands string is zero terminated.
54260 2011-02-03 Andreas Schwab <schwab@redhat.com>
54262 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54263 sysdeps/unix/sysv/linux/bits/socket.h.
54265 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54267 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54268 (__CPU_COUNT): Remove old macros.
54269 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54270 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54271 (__CPU_ALLOC, __CPU_FREE): Add macros.
54272 (__sched_cpualloc, __sched_cpufree): Add declarations.
54274 2011-02-05 Ulrich Drepper <drepper@gmail.com>
54276 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54277 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54278 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54279 (readdhstai): Return value of addhstaiX call.
54280 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54281 (addgrbyX): Return value returned by cache_addgr.
54282 (readdgrbyname): Return value returned by addgrbyX.
54283 (readdgrbygid): Likewise.
54284 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54285 (addpwbyX): Return value returned by cache_addpw.
54286 (readdpwbyname): Return value returned by addhstbyX.
54287 (readdpwbyuid): Likewise.
54288 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54289 (addservbyX): Return value returned by cache_addserv.
54290 (readdservbyname): Return value returned by addservbyX:
54291 (readdservbyport): Likewise.
54292 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54293 (addhstbyX): Return value returned by cache_addhst.
54294 (readdhstbyname): Return value returned by addhstbyX.
54295 (readdhstbyaddr): Likewise.
54296 (readdhstbynamev6): Likewise.
54297 (readdhstbyaddrv6): Likewise.
54298 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54299 (readdinitgroups): Return value returned by addinitgroupsX.
54300 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54301 (prune_cache): Keep track of timeout value of re-added entries.
54302 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54303 * nscd/nscd.h: Adjust prototypes of readd* functions.
54305 2011-02-04 Roland McGrath <roland@redhat.com>
54307 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54308 (nis_stats): Likewise.
54309 * nis/nis_modify.c (nis_modify): Likewise.
54310 * nis/nis_remove.c (nis_remove): Likewise.
54311 * nis/nis_add.c (nis_add): Likewise.
54313 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54315 * posix/fnmatch_loop.c: Add some consts.
54317 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54319 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54322 * config.make.in (config-cflags-novzeroupper): Define.
54323 * configure.in: Substitute libc_cv_cc_novzeroupper.
54324 * elf/Makefile (AVX-CFLAGS): Define.
54325 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54326 (CFLAGS-tst-auditmod4a.c): Likewise.
54327 (CFLAGS-tst-auditmod4b.c): Likewise.
54328 (CFLAGS-tst-auditmod6b.c): Likewise.
54329 (CFLAGS-tst-auditmod6c.c): Likewise.
54330 (CFLAGS-tst-auditmod7b.c): Likewise.
54331 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54333 2011-02-02 Ulrich Drepper <drepper@gmail.com>
54335 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54336 function to the callback.
54337 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54339 2011-02-02 Andreas Schwab <schwab@redhat.com>
54341 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54344 2011-01-19 Ulrich Drepper <drepper@gmail.com>
54347 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54349 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54351 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54354 * elf/Makefile: Add rules to build and run new test.
54355 * elf/tst-initorder.c: New file.
54356 * elf/tst-initorder.exp: New file.
54357 * elf/tst-initordera1.c: New file.
54358 * elf/tst-initordera2.c: New file.
54359 * elf/tst-initordera3.c: New file.
54360 * elf/tst-initordera4.c: New file.
54361 * elf/tst-initorderb1.c: New file.
54362 * elf/tst-initorderb2.c: New file.
54363 * elf/tst-order-a1.c: New file.
54364 * elf/tst-order-a2.c: New file.
54365 * elf/tst-order-a3.c: New file.
54366 * elf/tst-order-a4.c: New file.
54367 * elf/tst-order-b1.c: New file.
54368 * elf/tst-order-b2.c: New file.
54369 * elf/tst-order-main.c: New file.
54370 New test case by George Gensure <werkt0@gmail.com>.
54372 2010-10-01 Andreas Schwab <schwab@redhat.com>
54374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54375 decoding ACE if AI_CANONIDN.
54377 2011-01-18 Ulrich Drepper <drepper@gmail.com>
54379 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54381 2011-01-17 Ulrich Drepper <drepper@gmail.com>
54383 * version.h (RELEASE): Bump for 2.13 release.
54384 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54386 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54388 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54390 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54391 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54392 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54393 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54394 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54395 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54397 * posix/getconf.c: Update copyright year.
54398 * catgets/gencat.c: Likewise.
54399 * csu/version.c: Likewise.
54400 * debug/catchsegv.sh: Likewise.
54401 * debug/xtrace.sh: Likewise.
54402 * elf/ldconfig.c: Likewise.
54403 * elf/ldd.bash.in: Likewise.
54404 * elf/sprof.c (print_version): Likewise.
54405 * iconv/iconv_prog.c: Likewise.
54406 * iconv/iconvconfig.c: Likewise.
54407 * locale/programs/locale.c: Likewise.
54408 * locale/programs/localedef.c: Likewise.
54409 * malloc/memusage.sh: Likewise.
54410 * malloc/mtrace.pl: Likewise.
54411 * nscd/nscd.c (print_version): Likewise.
54412 * nss/getent.c: Likewise.
54414 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54415 PF_CAIF, and PF_ALG.
54416 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54418 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54420 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54421 (modules-names): Use them.
54422 (ifunc-test-modules, ifunc-pie-tests): Define.
54423 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54424 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54425 (test-extras): Likewise.
54426 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54427 $(compile-command.c).
54428 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54429 (all-built-dso): Define.
54430 (check-textrel.out, check-execstack.out): Depend on it.
54432 * configure.in: Don't override --enable-multi-arch.
54434 2011-01-15 Ulrich Drepper <drepper@gmail.com>
54437 * nscd/hstcache.c (tryagain): Define.
54438 (cache_addhst): Return tryagain not notfound for temporary errors.
54439 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54442 2011-01-14 Ulrich Drepper <drepper@gmail.com>
54445 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54446 to make the syscall.
54447 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54450 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54451 and fall back to matching as normal character if the string ends before
54452 the matching ']' is found. This is what POSIX requires.
54453 * posix/testfnm.c: Adjust test result.
54454 * posix/globtest.sh: Adjust test result. Add new test.
54455 * posix/tst-fnmatch.input: Likewise.
54456 * posix/tst-fnmatch2.c: Add new test.
54458 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54460 * elf/Makefile (check-execstack): Revert last change. Depend on
54462 (check-execstack.h): New target.
54463 (generated): Add check-execstack.h.
54464 * elf/check-execstack.c: Include "check-execstack.h".
54465 (main): Revert last change.
54466 (handle_file): Return zero if GNU_STACK is absent and
54467 DEFAULT_STACK_PERMS doesn't include PF_X.
54469 2011-01-13 Ulrich Drepper <drepper@gmail.com>
54471 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54472 in child fails because the descriptor is already closed.
54473 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54474 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54475 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54478 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54482 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54483 temporary buffer used to handle multi lookups locally.
54484 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54486 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54488 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54491 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54493 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54494 alignment for SSE2.
54496 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54499 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54500 characters. When rounding increased number of integer digits recompute
54502 * stdio-common/tst-grouping.c: New file.
54503 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54505 2011-01-09 Ulrich Drepper <drepper@gmail.com>
54507 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54508 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54510 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54512 * bits/select.h: Likewise.
54514 2011-01-08 Ulrich Drepper <drepper@gmail.com>
54516 * po/ja.po: Update from translation team.
54518 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
54521 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54522 implementation just like for lxstat, fxstatat, et al.
54524 2010-12-27 Jim Meyering <meyering@redhat.com>
54527 * posix/regexec.c (build_trtable): Return failure indication upon
54528 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54530 2010-12-25 Ulrich Drepper <drepper@gmail.com>
54533 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54534 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54535 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54536 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54539 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54542 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54543 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54545 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54547 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54548 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54549 script has SORT_BY_INIT_PRIORITY.
54550 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54551 NO_CTORS_DTORS_SECTIONS is defined.
54552 * elf/soinit.c: Likewise.
54553 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54554 NO_CTORS_DTORS_SECTIONS is defined.
54555 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54556 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54557 * sysdeps/sh/init-first.c: Likewise.
54558 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54560 2010-12-24 Ulrich Drepper <drepper@gmail.com>
54562 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54563 always use the slow path.
54565 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54567 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54568 similar rule which adds the sysdep directories to the header search in
54569 order to pick up the correct platform stackinfo.h.
54570 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54571 perform test if it is, otherwise return successfully without testing.
54572 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54573 DEFAULT_STACK_PERMS define in stackinfo.h.
54574 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54575 defined in stackinfo.h.
54576 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54577 DEFAULT_STACK_PERMS defined in stackinfo.h.
54578 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54579 * sysdeps/ia64/stackinfo.h: Likewise.
54580 * sysdeps/s390/stackinfo.h: Likewise.
54581 * sysdeps/sh/stackinfo.h: Likewise.
54582 * sysdeps/sparc/stackinfo.h: Likewise.
54583 * sysdeps/x86_64/stackinfo.h: Likewise.
54584 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54585 PF_X for powerpc64. Retain PF_X for powerpc32.
54587 2010-12-19 Ulrich Drepper <drepper@gmail.com>
54589 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54591 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54592 GETDENTS_64BIT_ALIGNED.
54594 2010-12-14 Ulrich Drepper <dreper@gmail.com>
54596 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54598 2010-12-10 Andreas Schwab <schwab@redhat.com>
54600 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54603 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54604 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54606 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54607 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54609 2010-12-09 Ulrich Drepper <drepper@gmail.com>
54612 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54615 2010-12-09 Jakub Jelinek <jakub@redhat.com>
54617 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54619 2010-12-03 Ulrich Drepper <drepper@gmail.com>
54621 * po/it.po: Update from translation team.
54623 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54625 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54628 2010-11-30 Ulrich Drepper <drepper@gmail.com>
54630 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54632 2010-11-24 Andreas Schwab <schwab@redhat.com>
54634 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54636 (gaih_getanswer_slice): Likewise.
54638 2010-10-20 Jakub Jelinek <jakub@redhat.com>
54640 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54642 2010-05-31 Petr Baudis <pasky@suse.cz>
54645 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54646 silently even in the chroot mode.
54648 2010-11-22 Ulrich Drepper <drepper@gmail.com>
54650 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54651 last patch a bit. Pretty printing
54653 2010-05-31 Petr Baudis <pasky@suse.cz>
54656 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54657 initialization of skip_initgroups_dyn.
54659 2010-11-19 Ulrich Drepper <drepper@gmail.com>
54661 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54662 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54664 2010-11-16 Ulrich Drepper <drepper@gmail.com>
54666 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54668 2010-11-11 Andreas Schwab <schwab@redhat.com>
54670 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54671 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54672 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54673 ($(objpfx)tst-fnmatch-mem): New rule.
54674 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54675 * posix/tst-fnmatch.c (main): Call mtrace.
54677 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54680 Support Intel processor model 6 and model 0x2c.
54682 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
54684 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54687 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54690 * string/test-strncasecmp.c (check_result): New function.
54691 (do_one_test): Use it.
54692 (check1): New function.
54693 (test_main): Use it.
54694 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54695 Support strcasecmp and strncasecmp.
54697 2010-11-08 Ulrich Drepper <drepper@gmail.com>
54700 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54701 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54703 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54705 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54709 * sysdeps/x86_64/multiarch/bzero.S: New file.
54710 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54711 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54712 * sysdeps/x86_64/multiarch/memset.S: New file.
54713 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54715 Set bit_Prefer_SSE_for_memop for Intel processors.
54716 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54718 (index_Prefer_SSE_for_memop): Define.
54719 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54721 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
54723 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54724 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54726 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54729 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54730 (__x86_64_raw_data_cache_size_half): Likewise.
54731 (__x86_64_raw_shared_cache_size): Likewise.
54732 (__x86_64_raw_shared_cache_size_half): Likewise.
54734 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54735 (__x86_64_raw_data_cache_size_half): Likewise.
54736 (__x86_64_raw_shared_cache_size): Likewise.
54737 (__x86_64_raw_shared_cache_size_half): Likewise.
54738 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54739 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54740 and __x86_64_raw_shared_cache_size_half. Round
54741 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54742 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54743 to multiple of 256 bytes.
54745 2010-11-03 Ulrich Drepper <drepper@gmail.com>
54748 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54749 of inacessible symlinks. Verify result of symlink before returning it.
54750 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54751 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54753 2010-10-28 Erich Ritz <erichritz@gmail.com>
54755 * math/math.h (isinf): Fix typo in comment.
54757 2010-11-01 Ulrich Drepper <drepper@gmail.com>
54759 * po/da.po: Update from translation team.
54761 2010-10-26 Ulrich Drepper <drepper@gmail.com>
54763 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54764 is added to the list.
54766 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54767 Ulrich Drepper <drepper@gmail.com>
54769 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54770 the global list here. Move code to...
54771 (_dl_add_to_namespace_list): ...here. New function.
54772 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54773 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54774 * elf/dl-load.c (lose): Don't remove the element from the list.
54775 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54776 (_dl_map_object): Likewise.
54778 2010-10-25 Ulrich Drepper <drepper@gmail.com>
54781 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54782 into all bytes of SSE register.
54783 Patch by Richard Li <richardpku@gmail.com>.
54785 2010-10-24 Ulrich Drepper <drepper@gmail.com>
54788 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54791 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54793 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54794 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54795 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54796 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54801 2010-10-22 Andreas Schwab <schwab@redhat.com>
54803 * include/dlfcn.h (__RTLD_SECURE): Define.
54804 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54805 mode & __RTLD_SECURE instead.
54806 (open_path): Rename preloaded parameter to secure.
54807 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54808 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54809 * elf/dl-deps.c (openaux): Likewise.
54810 * elf/rtld.c (struct map_args): Remove is_preloaded.
54811 (map_doit): Don't use it.
54812 (dl_main): Likewise.
54813 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54814 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54816 2010-09-09 Andreas Schwab <schwab@redhat.com>
54818 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54819 (sysd-rules-targets): Remove duplicates.
54820 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54821 rtld-%.$o dependency.
54823 2010-10-18 Andreas Schwab <schwab@redhat.com>
54825 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54826 _dl_map_object do it.
54828 2010-10-19 Ulrich Drepper <drepper@gmail.com>
54830 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54831 fast fma builtins, define the macros in the C99 standard.
54832 (FP_FAST_FMAF): Likewise.
54833 (FP_FAST_FMAL): Likewise.
54834 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54836 * bits/mathdef.h: Update copyright year.
54837 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54839 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54841 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54842 builtins, define the macros in the C99 standard.
54843 (FP_FAST_FMAF): Likewise.
54844 (FP_FAST_FMAL): Likewise.
54845 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54847 (FP_FAST_FMAF): Likewise.
54849 2010-10-15 Jakub Jelinek <jakub@redhat.com>
54852 * math/libm-test.inc (fma_test): Some new testcases.
54853 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54854 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54855 y and infinite z. Do multiplication by C already in long double.
54856 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54858 y and infinite z. Do bitwise or of inexact bit into u.d.
54859 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54860 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54861 * sysdeps/i386/fpu/s_fma.S: Removed.
54862 * sysdeps/i386/fpu/s_fmal.S: Removed.
54864 2010-10-16 Jakub Jelinek <jakub@redhat.com>
54867 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54868 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54869 computation is not scheduled after fetestexcept. Fix value
54870 of minimum denormal long double.
54872 2010-10-14 Jakub Jelinek <jakub@redhat.com>
54875 * math/libm-test.inc (fma_test): Add some more tests.
54876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54879 2010-10-15 Andreas Schwab <schwab@redhat.com>
54881 * scripts/data/localplt-s390-linux-gnu.data: New file.
54882 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54884 2010-10-13 Jakub Jelinek <jakub@redhat.com>
54887 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54888 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54890 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54892 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54894 if one of x and y is very large and the other is subnormal.
54895 * sysdeps/s390/fpu/s_fmaf.c: New file.
54896 * sysdeps/s390/fpu/s_fma.c: New file.
54897 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54898 * sysdeps/powerpc/fpu/s_fma.S: New file.
54899 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54900 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54901 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54903 2010-10-12 Jakub Jelinek <jakub@redhat.com>
54906 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54908 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54909 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54910 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54911 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54912 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54913 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54914 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54916 2010-10-12 Ulrich Drepper <drepper@redhat.com>
54919 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54920 * posix/bug-regex31.input: Add test case.
54922 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54924 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54925 * posix/bug-regex31.input: New file.
54928 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54929 (parse_sub_exp): Fix last change, use postorder.
54931 * posix/bug-regex31.c: New file.
54932 * posix/Makefile: Add rules to build and run bug-regex31.
54934 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54937 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54940 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54941 to have entries in sys_siglist.
54944 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54947 2010-10-07 Jakub Jelinek <jakub@redhat.com>
54950 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54951 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54952 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54953 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54954 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54955 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54956 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54957 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54958 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54959 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54960 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54961 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54962 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54963 * math/ftestexcept.c (fetestexcept): Likewise.
54964 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54965 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54966 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54967 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54968 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54969 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54970 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54972 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54975 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54978 2010-10-06 Ulrich Drepper <drepper@gmail.com>
54980 * string/bug-strstr1.c: New file.
54981 * string/Makefile: Add rules to build and run bug-strstr1.
54983 2010-10-05 Eric Blake <eblake@redhat.com>
54986 * string/str-two-way.h (two_way_long_needle): Always clear memory
54987 when skipping input due to the shift table.
54989 2010-10-03 Ulrich Drepper <drepper@gmail.com>
54992 * malloc/mcheck.c: Handle large requests.
54995 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54996 for strncmp and strncasecmp.
54997 * string/stratcliff.c: Add tests for strcmp and strncmp.
54998 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55000 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55002 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55005 2010-09-30 Andreas Jaeger <aj@suse.de>
55007 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55008 (CGROUP_SUPER_MAGIC): Define.
55009 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55010 Handle btrfs and cgroup file systems.
55011 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55014 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
55016 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55017 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55019 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55022 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55023 trying to locate the ELF header.
55025 2010-09-27 Andreas Schwab <schwab@redhat.com>
55028 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55029 Mask out sign-bit copies when constructing f_fsid.
55031 2010-09-24 Petr Baudis <pasky@suse.cz>
55033 * debug/stack_chk_fail_local.c: Add missing licence exception.
55034 * debug/warning-nop.c: Likewise.
55036 2010-09-15 Joseph Myers <joseph@codesourcery.com>
55038 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55039 implementing getdents64 using getdents syscall, set d_type if
55040 __ASSUME_GETDENTS32_D_TYPE.
55042 2010-09-16 Andreas Schwab <schwab@redhat.com>
55044 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55045 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55047 2010-09-21 Ulrich Drepper <drepper@redhat.com>
55050 * posix/unistd.h: Undo change of feature selection for ftruncate from
55053 2010-09-20 Ulrich Drepper <drepper@redhat.com>
55055 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55058 2010-09-20 Andreas Schwab <schwab@redhat.com>
55060 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55062 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55064 2010-09-14 Andreas Schwab <schwab@redhat.com>
55066 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55067 variables after CHECK_SP call.
55068 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55070 2010-09-13 Andreas Schwab <schwab@redhat.com>
55071 Ulrich Drepper <drepper@redhat.com>
55073 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55074 re-relocationg ld.so.
55075 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55076 _dl_init_paths call.
55077 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55080 2010-09-14 Ulrich Drepper <drepper@redhat.com>
55082 * resolv/res_init.c (__res_vinit): Count the default server we added.
55084 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55085 Ulrich Drepper <drepper@redhat.com>
55088 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55089 (____longjmp_chk): Use %ebx for saving value across system call.
55092 2010-09-06 Andreas Schwab <schwab@redhat.com>
55094 * manual/Makefile: Don't mix pattern rules with normal rules.
55096 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55098 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55100 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55101 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55102 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55103 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55104 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55107 2010-09-04 Ulrich Drepper <drepper@redhat.com>
55110 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55111 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55113 2010-09-02 Ulrich Drepper <drepper@redhat.com>
55115 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55116 * sysdeps/x86_64/addmul_1.S: Likewise.
55117 * sysdeps/x86_64/lshift.S: Likewise.
55118 * sysdeps/x86_64/mul_1.S: Likewise.
55119 * sysdeps/x86_64/rshift.S: Likewise.
55120 * sysdeps/x86_64/sub_n.S: Likewise.
55121 * sysdeps/x86_64/submul_1.S: Likewise.
55123 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55125 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55126 Define __sched_param instead of SCHED_* and sched_param when
55127 <bits/sched.h> is included with __need_schedparam defined.
55128 * bits/sched.h [__need_schedparam]
55129 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55130 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55131 (__defined_schedparam): Define to 1.
55132 (__sched_param): New structure, identical to sched_param.
55133 (__need_schedparam): Undefine.
55135 2010-08-31 Mike Frysinger <vapier@gentoo.org>
55137 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55138 (epoll_create1): Declare.
55140 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55142 2010-08-31 Andreas Schwab <schwab@redhat.com>
55145 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55146 shifting retval into place.
55148 2010-09-01 Ulrich Drepper <drepper@redhat.com>
55150 * nis/rpcsvc/nis.h: Update copyright notice.
55151 * nis/rpcsvc/nis.x: Likewise.
55152 * nis/rpcsvc/nis_callback.h: Likewise.
55153 * nis/rpcsvc/nis_callback.x: Likewise.
55154 * nis/rpcsvc/nis_object.x: Likewise.
55155 * nis/rpcsvc/nis_tags.h: Likewise.
55156 * nis/rpcsvc/yp.h: Likewise.
55157 * nis/rpcsvc/yp.x: Likewise.
55158 * nis/rpcsvc/ypupd.h: Likewise.
55159 * nis/yp_xdr.c: Likewise.
55160 * nis/ypupdate_xdr.c: Likewise.
55162 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55163 mainly the body of pmap_getport. Add parameters to specify timeouts.
55164 (pmap_getport): Use __libc_rpc_getport.
55165 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55166 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55167 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55169 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55174 2010-08-27 Roland McGrath <roland@redhat.com>
55176 * sysdeps/i386/i686/multiarch/Makefile
55177 (CFLAGS-varshift.c): New variable.
55179 2010-08-27 Ulrich Drepper <drepper@redhat.com>
55181 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55182 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55184 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55186 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55188 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55190 * sysdeps/x86_64/strlen.S: Unroll the loop.
55191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55192 strlen-sse2 strlen-sse2-bsf.
55193 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55194 __strlen_no_bsf if bit_Slow_BSF is set.
55195 (__strlen_sse42): Removed.
55196 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55197 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55199 2010-08-25 Roland McGrath <roland@redhat.com>
55201 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55202 * sysdeps/x86_64/multiarch/varshift.c: New file.
55203 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55204 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55205 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55206 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55208 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55211 strlen-sse2 strlen-sse2-bsf.
55212 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55213 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55214 (__strlen_sse2): Removed.
55215 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55216 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55218 bit_Slow_BSF for Atom.
55219 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55220 (index_Slow_BSF): Define.
55221 (HAS_SLOW_BSF): Define.
55223 2010-08-25 Ulrich Drepper <drepper@redhat.com>
55226 * resolv/res_init.c (__res_vinit): When no server address at all
55227 is given default to loopback.
55229 2010-08-24 Roland McGrath <roland@redhat.com>
55231 * configure.in: Remove config-name.h generation.
55232 * configure: Regenerated.
55233 * config-name.in: File removed.
55234 * scripts/config-uname.sh: New file.
55235 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55236 ($(objdir)config-name.h): New target.
55238 * sunrpc/rpc_parse.h: Avoid nested comment.
55240 2010-08-24 Richard Henderson <rth@redhat.com>
55241 Ulrich Drepper <drepper@redhat.com>
55242 H.J. Lu <hongjiu.lu@intel.com>
55244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55246 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55247 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55248 _mm_alignr_epi8 with _mm_loadu_si128.
55249 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55250 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55251 (__m128i_shift_right): Removed.
55252 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55253 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55254 * sysdeps/x86_64/multiarch/varshift.h: New file.
55255 * sysdeps/x86_64/multiarch/varshift.S: New file.
55257 2010-08-21 Mike Frysinger <vapier@gentoo.org>
55259 * configure.in: Move assembler checks to before sysdep dir checking.
55261 2010-08-20 Petr Baudis <pasky@suse.cz>
55263 * LICENSES: Sync the sunrpc license.
55265 2010-08-19 Ulrich Drepper <drepper@redhat.com>
55267 * sunrpc/auth_des.c: Update copyright notice once again.
55268 * sunrpc/auth_none.c: Likewise.
55269 * sunrpc/auth_unix.c: Likewise.
55270 * sunrpc/authdes_prot.c: Likewise.
55271 * sunrpc/authuxprot.c: Likewise.
55272 * sunrpc/bindrsvprt.c: Likewise.
55273 * sunrpc/clnt_gen.c: Likewise.
55274 * sunrpc/clnt_perr.c: Likewise.
55275 * sunrpc/clnt_raw.c: Likewise.
55276 * sunrpc/clnt_simp.c: Likewise.
55277 * sunrpc/clnt_tcp.c: Likewise.
55278 * sunrpc/clnt_udp.c: Likewise.
55279 * sunrpc/clnt_unix.c: Likewise.
55280 * sunrpc/des_crypt.c: Likewise.
55281 * sunrpc/des_soft.c: Likewise.
55282 * sunrpc/get_myaddr.c: Likewise.
55283 * sunrpc/getrpcport.c: Likewise.
55284 * sunrpc/key_call.c: Likewise.
55285 * sunrpc/key_prot.c: Likewise.
55286 * sunrpc/openchild.c: Likewise.
55287 * sunrpc/pm_getmaps.c: Likewise.
55288 * sunrpc/pm_getport.c: Likewise.
55289 * sunrpc/pmap_clnt.c: Likewise.
55290 * sunrpc/pmap_prot.c: Likewise.
55291 * sunrpc/pmap_prot2.c: Likewise.
55292 * sunrpc/pmap_rmt.c: Likewise.
55293 * sunrpc/rpc/auth.h: Likewise.
55294 * sunrpc/rpc/auth_unix.h: Likewise.
55295 * sunrpc/rpc/clnt.h: Likewise.
55296 * sunrpc/rpc/des_crypt.h: Likewise.
55297 * sunrpc/rpc/key_prot.h: Likewise.
55298 * sunrpc/rpc/netdb.h: Likewise.
55299 * sunrpc/rpc/pmap_clnt.h: Likewise.
55300 * sunrpc/rpc/pmap_prot.h: Likewise.
55301 * sunrpc/rpc/pmap_rmt.h: Likewise.
55302 * sunrpc/rpc/rpc.h: Likewise.
55303 * sunrpc/rpc/rpc_des.h: Likewise.
55304 * sunrpc/rpc/rpc_msg.h: Likewise.
55305 * sunrpc/rpc/svc.h: Likewise.
55306 * sunrpc/rpc/svc_auth.h: Likewise.
55307 * sunrpc/rpc/types.h: Likewise.
55308 * sunrpc/rpc/xdr.h: Likewise.
55309 * sunrpc/rpc_clntout.c: Likewise.
55310 * sunrpc/rpc_cmsg.c: Likewise.
55311 * sunrpc/rpc_common.c: Likewise.
55312 * sunrpc/rpc_cout.c: Likewise.
55313 * sunrpc/rpc_dtable.c: Likewise.
55314 * sunrpc/rpc_hout.c: Likewise.
55315 * sunrpc/rpc_main.c: Likewise.
55316 * sunrpc/rpc_parse.c: Likewise.
55317 * sunrpc/rpc_parse.h: Likewise.
55318 * sunrpc/rpc_prot.c: Likewise.
55319 * sunrpc/rpc_sample.c: Likewise.
55320 * sunrpc/rpc_scan.c: Likewise.
55321 * sunrpc/rpc_scan.h: Likewise.
55322 * sunrpc/rpc_svcout.c: Likewise.
55323 * sunrpc/rpc_tblout.c: Likewise.
55324 * sunrpc/rpc_util.c: Likewise.
55325 * sunrpc/rpc_util.h: Likewise.
55326 * sunrpc/rpcinfo.c: Likewise.
55327 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55328 * sunrpc/rpcsvc/key_prot.x: Likewise.
55329 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55330 * sunrpc/rpcsvc/mount.x: Likewise.
55331 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55332 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55333 * sunrpc/rpcsvc/rex.x: Likewise.
55334 * sunrpc/rpcsvc/rstat.x: Likewise.
55335 * sunrpc/rpcsvc/rusers.x: Likewise.
55336 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55337 * sunrpc/rpcsvc/spray.x: Likewise.
55338 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55339 * sunrpc/rtime.c: Likewise.
55340 * sunrpc/svc.c: Likewise.
55341 * sunrpc/svc_auth.c: Likewise.
55342 * sunrpc/svc_authux.c: Likewise.
55343 * sunrpc/svc_raw.c: Likewise.
55344 * sunrpc/svc_run.c: Likewise.
55345 * sunrpc/svc_simple.c: Likewise.
55346 * sunrpc/svc_tcp.c: Likewise.
55347 * sunrpc/svc_udp.c: Likewise.
55348 * sunrpc/svc_unix.c: Likewise.
55349 * sunrpc/svcauth_des.c: Likewise.
55350 * sunrpc/xcrypt.c: Likewise.
55351 * sunrpc/xdr.c: Likewise.
55352 * sunrpc/xdr_array.c: Likewise.
55353 * sunrpc/xdr_float.c: Likewise.
55354 * sunrpc/xdr_mem.c: Likewise.
55355 * sunrpc/xdr_rec.c: Likewise.
55356 * sunrpc/xdr_ref.c: Likewise.
55357 * sunrpc/xdr_sizeof.c: Likewise.
55358 * sunrpc/xdr_stdio.c: Likewise.
55360 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55363 2010-08-19 Andreas Schwab <schwab@redhat.com>
55365 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55367 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
55369 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55370 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55371 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55372 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55373 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55374 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55375 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55376 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55377 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55378 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55379 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55380 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55381 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55382 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55384 2010-07-26 Anton Blanchard <anton@samba.org>
55386 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55387 * malloc/arena.c (heap_trim): Likewise.
55389 2010-08-16 Ulrich Drepper <drepper@redhat.com>
55391 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55393 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55394 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55396 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55398 * sysdeps/i386/elf/Makefile: New file.
55400 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55402 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55403 from fanotify_init.
55404 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55405 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55407 2010-08-15 Ulrich Drepper <drepper@redhat.com>
55409 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55411 * sysdeps/multiarch/strcmp.S: Likewise.
55413 2010-08-14 Ulrich Drepper <drepper@redhat.com>
55415 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55416 strncase_l-nonascii.
55417 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55418 Add strncase_l-ssse3.
55419 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55420 * sysdeps/x86_64/strcmp.S: Likewise.
55421 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55422 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55423 * sysdeps/x86_64/strncase.S: New file.
55424 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55425 * sysdeps/x86_64/strncase_l.S: New file.
55426 * string/Makefile (strop-tests): Add strncasecmp.
55427 * string/test-strncasecmp.c: New file.
55429 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55432 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55433 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55435 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55437 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55439 2010-08-12 Ulrich Drepper <drepper@redhat.com>
55441 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55442 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55443 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55445 2010-05-01 Alan Modra <amodra@gmail.com>
55447 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55448 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55449 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55450 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55451 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55452 tidying. Don't tail-call __sigjmp_save for static lib.
55453 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55455 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55456 (CALL_MCOUNT): Add eh info, and nop after bl.
55457 (TAIL_CALL_SYSCALL_ERROR): New macro.
55458 (PSEUDO_RET): Use it.
55459 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55460 Correct save location of integer regs and cr.
55461 (_dl_profile_resolve): Correct cr save location. Delete nops
55462 after bl when SHARED. Reduce cfi size a little by better
55463 placement of cfi directives.
55464 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55465 make a stack frame. Instead use parm save area as a temp.
55466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55467 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55469 Don't make a stack frame for parent, use parm save area.
55470 Increase child stack frame to 112 bytes. Don't save unused reg,
55471 and adjust reg usage. Set up cfi on error recovery and
55472 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55474 (__makecontext): Add dummy nop after jump to exit.
55475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55476 Use correct parm save area and cr save, reduce stack frame.
55477 Correct cfi for possible PSEUDO_RET frame setup.
55478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55479 Branch to local label emitted by PSEUDO_RET rather than
55482 2010-08-12 Andreas Schwab <schwab@redhat.com>
55485 * locale/programs/locale.c (print_assignment): New function.
55486 (show_locale_vars): Use it.
55488 2010-08-11 Ulrich Drepper <drepper@redhat.com>
55490 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55492 (struct statfs64): Likewise.
55493 (_STATFS_F_FLAGS): Define.
55494 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55495 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55496 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55497 (ST_VALID): Define locally.
55498 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55499 __statvfs_getflags, use the provided value.
55500 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55501 __ASSUME_STATFS_F_FLAGS.
55503 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55505 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55506 Add sys/fanotify.h.
55507 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55508 fanotify_mask for GLIBC_2.13.
55509 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55510 fanotify_init and fanotify_mark.
55511 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55512 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55514 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55516 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55517 prlimit64 for GLIBC_2.13.
55518 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55520 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55523 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55524 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55525 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55526 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55528 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55531 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55532 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55534 * nss/Makefile: Add rules to build and run tst-nss-test1.
55535 * shlib-versions: Add entry for libnss_test1.
55536 * nss/nss_test1.c: New file.
55537 * nss/tst-nss-test1.c: New file.
55539 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55540 (__nss_configure_lookup): Set appropriate entry in
55541 __nss_configure_lookup to true.
55542 * nss/nsswitch.h: Define enum with indeces of databases in
55543 databases and __nss_database_custom arrays. Declare
55544 __nss_database_custom.
55545 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55546 to avoid using nscd when custom rules are installed.
55547 * nss/getXXbyYY_r.c: Likewise.
55548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55550 * nss/nss_files/files-parse.c: Whitespace fixes.
55552 2010-08-09 Ulrich Drepper <drepper@redhat.com>
55555 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55556 * posix/fnmatch_loop.c: Likewise.
55558 2010-07-17 Andi Kleen <ak@linux.intel.com>
55560 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55561 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55562 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55563 * Versions.def [GLIBC_2.13]: Add.
55565 2010-08-06 Ulrich Drepper <drepper@redhat.com>
55567 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55568 Also fail if tpwd after pwuid call is NULL.
55570 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55572 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55573 when converting to ms.
55575 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55577 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55578 EOPNOTSUPP errors with ENOTTY.
55579 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55580 EOPNOTSUPP errors with ENOTTY.
55582 2010-07-31 Ulrich Drepper <drepper@redhat.com>
55584 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55585 Add strcasecmp_l-ssse3.
55586 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55588 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55589 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55590 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55592 2010-07-30 Ulrich Drepper <drepper@redhat.com>
55594 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55596 * string/Makefile (strop-tests): Add strcasecmp.
55597 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55598 strcasecmp_l-nonascii.
55599 (gen-as-const-headers): Add locale-defines.sym.
55600 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55601 * sysdeps/x86_64/strcasecmp.S: New file.
55602 * sysdeps/x86_64/strcasecmp_l.S: New file.
55603 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55604 * sysdeps/x86_64/locale-defines.sym: New file.
55605 * string/test-strcasecmp.c: New file.
55607 * string/test-strcasestr.c: Test both ends of the range of characters.
55608 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55610 2010-07-29 Roland McGrath <roland@redhat.com>
55613 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55615 2010-07-27 Ulrich Drepper <drepper@redhat.com>
55617 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55620 2010-07-27 Andreas Schwab <schwab@redhat.com>
55622 * manual/memory.texi (Malloc Tunable Parameters): Document
55625 2010-07-26 Roland McGrath <roland@redhat.com>
55628 * configure.in (-fgnu89-inline check): Set and substitute
55629 gnu89_inline, not libc_cv_gnu89_inline.
55630 * configure: Regenerated.
55631 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55633 2010-07-26 Ulrich Drepper <drepper@redhat.com>
55635 * string/test-strnlen.c: New file.
55636 * string/Makefile (strop-tests): Add strnlen.
55637 * string/tester.c (test_strnlen): Add a few more test cases.
55638 * string/tst-strlen.c: Better error reporting.
55640 * sysdeps/x86_64/strnlen.S: New file.
55642 2010-07-24 Ulrich Drepper <drepper@redhat.com>
55644 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55645 lower-latency instructions.
55647 2010-07-23 Ulrich Drepper <drepper@redhat.com>
55649 * string/test-strcasestr.c: New file.
55650 * string/test-strstr.c: New file.
55651 * string/Makefile (strop-tests): Add strstr and strcasestr.
55652 * string/str-two-way.h: Don't undefine MAX.
55653 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55655 2010-07-21 Andreas Schwab <schwab@redhat.com>
55657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55658 strcasestr-nonascii.
55659 (CFLAGS-strcasestr-nonascii.c): Define.
55660 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55661 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55662 Remove unused attribute.
55664 2010-07-20 Roland McGrath <roland@redhat.com>
55666 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55667 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55668 ld.so.cache was broken. With it, there is no way to disable dsocaps
55669 like LD_HWCAP_MASK can disable hwcaps.
55671 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55673 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55675 2010-07-16 Ulrich Drepper <drepper@redhat.com>
55677 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55678 call in strcasestr.
55679 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55680 __strcasestr_sse42_nonascii.
55681 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55682 strcasestr-nonascii.c.
55683 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55685 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
55687 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55688 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55689 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55690 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55692 2010-07-09 Ulrich Drepper <drepper@redhat.com>
55694 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55697 2010-07-06 Andreas Schwab <schwab@redhat.com>
55700 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55703 2010-07-06 Ulrich Drepper <drepper@redhat.com>
55705 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55706 _PC_PIPE_BUF using F_GETPIPE_SZ.
55708 2010-07-05 Roland McGrath <roland@redhat.com>
55710 * manual/arith.texi (Rounding Functions): Fix rint description
55711 implicit in round description.
55713 2010-07-02 Ulrich Drepper <drepper@redhat.com>
55715 * elf/Makefile: Fix linking for a few tests to make recent linker
55718 2010-06-30 Andreas Schwab <schwab@redhat.com>
55720 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55721 $(common-objpfx)libc_nonshared.a.
55723 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
55725 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55726 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55727 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55728 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55729 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55730 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55731 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55732 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55747 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55748 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55749 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55750 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55751 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55752 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55753 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55754 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55755 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55756 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55757 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55758 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55774 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55776 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55777 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55778 * string/memmove.c (memmove): Renamed to ...
55779 (MEMMOVE): ...this. Default to memmove.
55780 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55781 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55784 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55785 mempcpy-ssse3-back memmove-ssse3-back.
55786 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55787 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55788 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55789 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55790 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55791 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55792 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55793 * sysdeps/x86_64/multiarch/memmove.c: New file.
55794 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55795 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55796 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55797 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55798 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55799 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55801 (index_Fast_Copy_Backward): Define.
55802 (HAS_ARCH_FEATURE): Define.
55803 (HAS_FAST_REP_STRING): Define.
55804 (HAS_FAST_COPY_BACKWARD): Define.
55806 2010-06-21 Andreas Schwab <schwab@redhat.com>
55808 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55809 Restore proper fallback handling.
55811 2010-06-19 Ulrich Drepper <drepper@redhat.com>
55814 * posix/group_member.c (__group_member): Correct checking loop.
55816 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55817 OOM in getpwuid_r correctly. Return error number when the caller
55818 should return, otherwise -1.
55819 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55820 call returning > 0 value.
55821 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55823 2010-06-07 Andreas Schwab <schwab@redhat.com>
55825 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55826 libc_nonshared.a from targets in modules-names.
55828 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55830 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55833 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
55835 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55836 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55837 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55838 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55840 2010-06-02 Andreas Schwab <schwab@redhat.com>
55842 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55844 2010-06-14 Ulrich Drepper <drepper@redhat.com>
55846 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55849 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55852 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55853 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55855 2010-06-14 Roland McGrath <roland@redhat.com>
55857 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55859 2010-06-07 Jakub Jelinek <jakub@redhat.com>
55861 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55862 __REDIRECT followed by __THROW.
55863 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55864 * posix/getopt.h (getopt): Likewise.
55866 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55868 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55869 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55870 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55872 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55873 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55875 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
55877 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55879 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55883 Properly check family and model.
55885 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55887 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55889 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
55891 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55893 2010-05-21 Ulrich Drepper <drepper@redhat.com>
55895 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55898 2010-05-19 Andreas Schwab <schwab@redhat.com>
55900 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55903 2010-05-21 Andreas Schwab <schwab@redhat.com>
55905 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55906 and internal_recvmmsg.
55907 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55908 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55909 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55910 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55912 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55913 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55914 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55916 2010-05-20 Andreas Schwab <schwab@redhat.com>
55918 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55920 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
55922 POWER7 optimizations.
55923 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55924 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55926 2010-05-19 Ulrich Drepper <drepper@redhat.com>
55928 * version.h: Update for 2.13 development version.
55930 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
55932 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55933 exceptions. Return 0.
55935 2010-05-07 Roland McGrath <roland@redhat.com>
55937 * elf/ldconfig.c (main): Add a const.
55939 2010-05-06 Ulrich Drepper <drepper@redhat.com>
55941 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55942 (args_options): Add no-idn option.
55943 (ahosts_keys_int): Add idn_flags to ai_flags.
55944 (parse_option): Handle 'i' option to clear idn_flags.
55946 * malloc/malloc.c (_int_free): Possible race in the most recently
55947 added check. Only act on the data if no current modification
55950 See ChangeLog.17 for earlier changes.